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

[Snyk] Upgrade zx from 8.1.1 to 8.1.2 #8

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

WeiLunSnyk
Copy link
Collaborator

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.1 to 8.1.2.

ℹ️ 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 6 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: zx
  • 8.1.2 - 2024-05-27

    Every new zx version is better than previous one. What have we here?

    Features

    • Added ProcessPromise.verbose() to enhance debugging experience.

      #820, #710
    const p = $echo foo
    p.quiet() // enable silent mode
    p.quiet(false) // then disable
    p.verbose() // enable verbose/debug mode
    p.verbose(false) // and turn it off

    await p

    • Aligned ProcessPromise.isSmth() API:

      #823
    const p = $echo foo

    p.isHalted()
    p.isVerbose()
    p.isQuiet()
    p.isNothrow()

    Bug Fixes

    • fix: apply EOL ensurer to the last chunk only #825
    • fix(cli): return exit code 1 on incorrect inputs #826
    • fix: set cjs bundle as legacy main entrypoint #827

    Chore

  • 8.1.2-dev.e82f701 - 2024-05-29
  • 8.1.2-dev.d8311ce - 2024-06-07
  • 8.1.2-dev.b3fcad2 - 2024-05-27
  • 8.1.2-dev.a54c7ff - 2024-05-28
  • 8.1.2-dev.3931b9d - 2024-06-18
  • 8.1.1 - 2024-05-23

    This release brings a pinch of sugar and minor fixes.

    Features

    • Introduced $.preferLocal option to prefer node_modules/.bin located binaries over globally system installed ones.

      #798
    $.preferLocal = true

    await $c8 npm test

    await $({ preferLocal: true })eslint .

    • Added some formatter shortcuts for ProcessPromise:

      #764, #811, #815
    const p = $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 its signal reference.

      #816
    https://example.com', {signal})

    setTimeout(() => p.abort('reason'), 1000)">

    const p = $sleep 999
    const {signal} = p

    const res = fetch('https://example.com', {signal})

    setTimeout(() => p.abort('reason'), 1000)

    Fixes

    • CLI flag --quiet is mapped to $.quiet option. #813
    • Module conditional exports are properly sorted now. #812
    • A newline character is appended to the output of ProcessPromise if it's missing. #810
from zx GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

@Shoreasg Shoreasg merged commit 8bd323a into main Jul 1, 2024
4 checks passed
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.

None yet

3 participants