pump.io icon indicating copy to clipboard operation
pump.io copied to clipboard

[Snyk] Upgrade yargs from 15.4.1 to 18.0.0

Open strugee opened this issue 3 months ago • 0 comments

snyk-top-banner

Snyk has created this PR to upgrade yargs from 15.4.1 to 18.0.0.

:information_source: 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 64 versions ahead of your current version.

  • The recommended version was released 4 months ago.

⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

Release notes
Package name: yargs
  • 18.0.0 - 2025-05-27

    18.0.0 (2025-05-26)

    ⚠ BREAKING CHANGES

    • command names are not derived from modules passed to command.
    • singleton usage of yargs yargs.foo, yargs().argv, has been removed.
    • minimum node.js versions now ^20.19.0 || ^22.12.0 || >=23.
    • yargs is now ESM first

    Features

    Bug Fixes

    • addDirectory do not support absolute command dir (#2465) (3a40a78)
    • allows ESM modules commands to be extensible using visit option (#2468) (200e1aa)
    • browser: fix shims so that yargs continues working in browser context (#2457) (4ae5f57)
    • build: address problems with typescript compilation (#2445) (8d72fb3)
    • coerce should play well with parser configuration (#2308) (8343c66)
    • deps: update dependency yargs-parser to v22 (#2470) (639130d)
    • exit after async handler done (#2313) (e326cde)
    • handle spaces in bash completion (#2452) (83b7788)
    • parser-configuration should work well with generated completion script (#2332) (888db19)
    • propagate Dictionary including undefined in value type (#2393) (2b2f7f5)
    • zsh: completion no longer requires double tab when using autoloaded (0dd8fe4)

    Code Refactoring

    • command names are not derived from modules passed to command. (d90af45)
    • singleton usage of yargs yargs.foo, yargs().argv, has been removed. (d90af45)

    Build System

    • minimum node.js versions now ^20.19.0 || ^22.12.0 || >=23. (d90af45)
  • 18.0.0-candidate.7 - 2025-04-25
  • 18.0.0-candidate.6 - 2025-04-24
  • 18.0.0-candidate.5 - 2025-04-23
  • 18.0.0-candidate.4 - 2025-04-16
  • 18.0.0-candidate.3 - 2025-04-11
  • 18.0.0-candidate.2 - 2025-04-10
  • 18.0.0-candidate.1 - 2025-04-09
  • 18.0.0-browser.2 - 2025-04-11
  • 18.0.0-browser.1 - 2025-04-11
  • 18.0.0-browser.0 - 2025-04-10
  • 17.7.2 - 2023-04-27

    17.7.2 (2023-04-27)

    Bug Fixes

    • do not crash completion when having negated options (#2322) (7f42848)
  • 17.7.1 - 2023-02-21

    17.7.1 (2023-02-21)

    Bug Fixes

    • address display bug with default sub-commands (#2303) (9aa2490)
  • 17.7.0 - 2023-02-16

    17.7.0 (2023-02-13)

    Features

    • add method to hide option extras (#2156) (2c144c4)
    • convert line break to whitespace for the description of the option (#2271) (4cb41dc)

    Bug Fixes

    • copy the description of the option to its alias in completion (#2269) (f37ee6f)
  • 17.6.2 - 2022-11-03

    17.6.2 (2022-11-03)

    Bug Fixes

    • deps: update dependency yargs-parser to v21.1.1 (#2231) (75b4d52)
    • lang: typo in Finnish unknown argument singular form (#2222) (a6dfd0a)
  • 17.6.1 - 2022-11-02
  • 17.6.0 - 2022-10-01
  • 17.5.1 - 2022-05-16
  • 17.5.0 - 2022-05-11
  • 17.4.1 - 2022-04-09
  • 17.4.0 - 2022-03-19
  • 17.3.1 - 2021-12-23
  • 17.3.0 - 2021-11-30
  • 17.2.1 - 2021-09-25
  • 17.2.0 - 2021-09-23
  • 17.1.1 - 2021-08-13
  • 17.1.1-candidate.0 - 2021-08-13
  • 17.1.0 - 2021-08-04
  • 17.1.0-candidate.0 - 2021-07-15
  • 17.0.2-candidate.1 - 2021-07-15
  • 17.0.2-candidate - 2021-07-10
  • 17.0.1 - 2021-05-03
  • 17.0.0 - 2021-05-02
  • 17.0.0-candidate.13 - 2021-04-26
  • 17.0.0-candidate.12 - 2021-04-12
  • 17.0.0-candidate.11 - 2021-04-11
  • 17.0.0-candidate.10 - 2021-04-04
  • 17.0.0-candidate.9 - 2021-04-04
  • 17.0.0-candidate.8 - 2021-03-26
  • 17.0.0-candidate.7 - 2021-03-14
  • 17.0.0-candidate.6 - 2021-03-11
  • 17.0.0-candidate.5 - 2021-03-10
  • 17.0.0-candidate.4 - 2021-03-08
  • 17.0.0-candidate.3 - 2021-02-22
  • 17.0.0-candidate.2 - 2021-02-16
  • 17.0.0-candidate.1 - 2021-02-15
  • 17.0.0-candidate.0 - 2021-01-09
  • 16.2.0 - 2020-12-05
  • 16.1.1 - 2020-11-15
  • 16.1.0 - 2020-10-16
  • 16.0.4-candidate.0 - 2020-09-21
  • 16.0.3 - 2020-09-10
  • 16.0.2 - 2020-09-09
  • 16.0.1 - 2020-09-09
  • 16.0.0 - 2020-09-09
  • 16.0.0-beta.3 - 2020-09-08
  • 16.0.0-beta.2 - 2020-09-08
  • 16.0.0-beta.1 - 2020-08-27
  • 16.0.0-beta.0 - 2020-08-22
  • 16.0.0-alpha.3 - 2020-08-19
  • 16.0.0-alpha.2 - 2020-08-17
  • 16.0.0-alpha.1 - 2020-08-17
  • 16.0.0-alpha.0 - 2020-08-17
  • 15.5.0-candidate.0 - 2021-02-22
  • 15.4.1 - 2020-07-10
from yargs GitHub release notes

[!IMPORTANT]

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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:

strugee avatar Oct 02 '25 10:10 strugee