Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency zx to v8.1.9 #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
zx (source) 8.1.3 -> 8.1.9 age adoption passing confidence

Release Notes

google/zx (zx)

v8.1.9

Compare Source

Today's release is a minor update that includes:

Enhancements

  • We have replaced ProcessOutput fields with lazy getters to reduce mem consumption #​903, #​908
  • Reduced ReDos risks for codeblock patterns #​906
  • Kept argv reference on update #​916
  • Strengthened Shell interface to properly handle sync mode #​915:
expectType<ProcessPromise>($`cmd`)
expectType<ProcessPromise>($({ sync: false })`cmd`)
expectType<ProcessOutput>($({ sync: true })`cmd`)
expectType<ProcessOutput>($.sync`cmd`)

Fixes

v8.1.8

Compare Source

  • Apply the proper TeplateStringArray detection #​904, #​905
  • PromiseProcess got lazy getters to optimize mem usage #​903

v8.1.7

Compare Source

Step by step on the road to improvements

Fixes

Finally, we've fixed the issue with piped process rejection #​640 #​899:

const p1 = $`exit 1`.pipe($`echo hello`)
try {
  await p1
} catch (e) {
  assert.equal(e.exitCode, 1)
}

const p2 = await $({ nothrow: true })`echo hello && exit 1`.pipe($`cat`)
assert.equal(p2.exitCode, 0)
assert.equal(p2.stdout.trim(), 'hello')

Enhancements

Added cmd display to ProcessPromise #​891:

const foo = 'bar'
const p = $`echo ${foo}`

p.cmd // 'echo bar'

and duration field to ProcessOutput #​892:

const p = $`sleep 1`.nothrow()
const o = await p

o.duration // ~1000 (in ms)

Enabled zurk-like pipe string literals #​900:

const p = await $`echo foo`.pipe`cat`
p.stdout.trim() // 'foo'

v8.1.6

Compare Source

Improvements & Fixes
  • The $.preferLocal option now also accepts a directory #​886, #​887.
$.preferLocal = true             // injects node_modules/.bin to the $PATH
$.preferLocal = '/foo/bar'       // attaches /foo/bar to the $PATH
$.preferLocal = ['/bar', '/baz'] // now the $PATH includes both /bar and /baz

Why not just $.env['PATH'] = 'extra:' + '$.env['PATH']?
Well, the API internally does the same, but also handles the win paths peculiarities.

  • Provided $.killSignal option for the symmetry with the $.timeoutSignal. You can override the default termination flow #​885:
$.killSignal = 'SIGKILL'

const p = $({nothrow: true})`sleep 10000`
setTimeout(p.kill, 100)
  
(await p).signal // SIGKILL
  • $ opt presets became chainable #​883:
const $$ = $({ nothrow: true })
assert.equal((await $$`exit 1`).exitCode, 1)

const $$$ = $$({ sync: true }) // Both {nothrow: true, sync: true} are applied
assert.equal($$$`exit 2`.exitCode, 2)
  • Enhanced the internal Duration parser #​884:
const p = $({timeout: '1mss'})`sleep 999` // raises an error now
  • Abortion signal listeners are now removed after the process completes #​881, #​889, zurk#12, zurk#13.
  • Extended integration tests matrix, added nodejs-nightly builds and TS dev snapshots #​888

v8.1.5

Compare Source

We've rolled out a new release!

Fixes

  • Added the minimist typings to the dts bundle. #​872 brings the fix.
  • Re-enabled the YAML extra
    API. #​870 #​879

Chores

  • Clarified cd(), within() and syncProcessCwd() interactions. #​878
  • Included mention of the cwd option in the documentation. #​868
  • Test enhancements. #​877 #​880

v8.1.4

Compare Source

We continue optimizing bundles and CI/CD pipelines.

  • Update @​webpod/ps to v0.0.0-beta.7 to sync internal zurk version. #​855
  • Split vendor chunk to reduce the zx/core entry size. #​856
  • Add bundle size check. #​857
  • Refactor the testing flow, remove duplicated tasks. #​861
  • Add missing types for the global defaults. #​864
  • Omit redundant YAML API extras. #​866

Which gives us: 897 kB → 829 kB (-7.58%)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/zx-8.x-lockfile branch from f22fe4a to 8c620a4 Compare August 28, 2024 22:01
@renovate renovate bot changed the title chore(deps): update dependency zx to v8.1.4 chore(deps): update dependency zx to v8.1.5 Aug 28, 2024
Copy link
Contributor Author

renovate bot commented Sep 5, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
undefined
 ERROR  Couldn't get tarball URL from dependency path bluebird@https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz

Error: Couldn't get tarball URL from dependency path bluebird@https://registry.npmmirror.com/bluebird/-/bluebird-3.7.2.tgz
    at getTarball (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:116856:17)
    at pkgSnapshotToResolution (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:116845:19)
    at getInfoFromLockfile (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:181545:101)
    at getDepsToResolve (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:181479:34)
    at /opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:181063:36
    at Array.map (<anonymous>)
    at resolveDependenciesOfImporters (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:181062:58)
    at resolveRootDependencies (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:180985:80)
    at resolveDependencyTree (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:182014:105)
    at resolveDependencies (/opt/containerbase/tools/pnpm/9.12.0/20.18.0/node_modules/pnpm/dist/pnpm.cjs:194229:219)

@renovate renovate bot force-pushed the renovate/zx-8.x-lockfile branch 2 times, most recently from d90a4ff to 9f8c690 Compare September 11, 2024 17:20
@renovate renovate bot changed the title chore(deps): update dependency zx to v8.1.5 chore(deps): update dependency zx to v8.1.6 Sep 11, 2024
@renovate renovate bot changed the title chore(deps): update dependency zx to v8.1.6 chore(deps): update dependency zx to v8.1.7 Sep 17, 2024
@renovate renovate bot changed the title chore(deps): update dependency zx to v8.1.7 chore(deps): update dependency zx to v8.1.8 Sep 19, 2024
@renovate renovate bot force-pushed the renovate/zx-8.x-lockfile branch from a5e32e0 to a42a5c5 Compare October 6, 2024 22:27
@renovate renovate bot changed the title chore(deps): update dependency zx to v8.1.8 chore(deps): update dependency zx to v8.1.9 Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants