[Snyk] Upgrade zx from 8.1.0 to 8.1.1 #7
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade zx from 8.1.0 to 8.1.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: zx
This release brings a pinch of sugar and minor fixes.
Features
$.preferLocal
option to prefernode_modules/.bin
located binaries over globally system installed ones.#798
await $
c8 npm test
await $({ preferLocal: true })
eslint .
ProcessPromise
:#764, #811, #815
echo 'foo\nbar'
await p.text() // foo\n\bar\n
await p.text('hex') // 666f6f0a0861720a
await p.buffer() // Buffer.from('foo\n\bar\n')
await p.lines() // ['foo', 'bar']
await $
echo '{"foo": "bar"}'
.json() // {foo: 'bar'}ProcessPromise
now exposes itssignal
reference.#816
setTimeout(() => p.abort('reason'), 1000)">
Fixes
--quiet
is mapped to$.quiet
option. #813ProcessPromise
if it's missing. #810This new release is a big deal. It brings significant improvements in reliability and compatibility.
New features
Added
usePwsh()
helper to switch to PowerShell v7+ #790usePwsh()
$.shell // 'pwsh'
useBash()
$.shell // 'bash'
timeout
is now configurable$
opts #796await $({ timeout: 100 })
sleep 999
$.timeout = 1000 // Sets default timeout for all commands
$.timeoutSignal = 'SIGKILL' // Sets signal to send on timeout
await $
sleep 999
Added
--cwd
option for CLI #804Introduced
tmpdir
andtmpfile
helpers #803t1 = tmpdir() // /os/based/tmp/zx-1ra1iofojgg/
t2 = tmpdir('foo') // /os/based/tmp/zx-1ra1iofojgg/foo/
f1 = tmpfile() // /os/based/tmp/zx-1ra1iofojgg
f2 = tmpfile('f.txt') // /os/based/tmp/zx-1ra1iofojgg/foo.txt
f3 = tmpfile('f.txt', 'string or buffer')
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: