Skip to content

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Aug 13, 2025

snyk-top-banner

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

ℹ️ 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.


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

  • The recommended version is 106 versions ahead of your current version.

  • The recommended version was released 3 months ago.

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
  • 15.4.0 - 2020-07-02
  • 15.4.0-beta.1 - 2020-07-01
  • 15.4.0-beta.0 - 2020-05-15
  • 15.3.2-beta.0 - 2020-04-17
  • 15.3.1 - 2020-03-16
  • 15.3.1-beta.0 - 2020-03-12
  • 15.3.0 - 2020-03-08
  • 15.3.0-beta.1 - 2020-03-08
  • 15.3.0-beta.0 - 2020-03-02
  • 15.2.0 - 2020-03-01
  • 15.2.0-beta.2 - 2020-03-01
  • 15.2.0-beta.1 - 2020-02-29
  • 15.2.0-beta.0 - 2020-02-24
  • 15.1.0 - 2020-01-02
  • 15.0.2 - 2019-11-19
  • 15.0.1 - 2019-11-16
  • 15.0.0 - 2019-11-10
  • 14.2.3 - 2020-03-13
  • 14.2.2 - 2019-11-19
  • 14.2.1 - 2019-10-30
  • 14.2.0 - 2019-10-07
  • 14.1.0 - 2019-09-06
  • 14.0.0 - 2019-07-30
  • 13.3.2 - 2020-03-13
  • 13.3.0 - 2019-06-10
  • 13.2.4 - 2019-05-13
  • 13.2.2 - 2019-03-06
  • 13.2.1 - 2019-02-18
  • 13.2.0 - 2019-02-15
  • 13.1.0 - 2019-02-12
  • 13.0.0-candidate.0 - 2019-02-02
  • 12.0.5 - 2018-11-19
  • 12.0.4 - 2018-11-10
  • 12.0.3-candidate.0 - 2018-10-06
  • 12.0.2 - 2018-09-04
  • 12.0.1 - 2018-06-29
  • 12.0.0 - 2018-06-26
  • 12.0.0-candidate.0 - 2018-04-04
  • 11.1.1 - 2019-10-07
  • 11.1.0 - 2018-03-04
  • 11.0.0 - 2018-01-22
  • 10.1.2 - 2018-01-17
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:

@semanticdiff-com
Copy link

semanticdiff-com bot commented Aug 13, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  samples/package.json  40% smaller

@snyk-io
Copy link
Author

snyk-io bot commented Aug 13, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

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.

1 participant