[Snyk] Upgrade yargs from 17.7.2 to 18.0.0 #21
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.
Snyk has created this PR to upgrade yargs from 17.7.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.
The recommended version is 11 versions ahead of your current version.
The recommended version was released 5 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-BRACEEXPANSION-9789073
SNYK-JS-BRACEEXPANSION-9789073
Release notes
Package name: yargs
-
18.0.0 - 2025-05-27
- command names are not derived from modules passed to
- singleton usage of yargs yargs.foo, yargs().argv, has been removed.
- minimum node.js versions now
- yargs is now ESM first
- commandDir now works with ESM files (#2461) (27eec18)
- locale: adds hebrew translation (#2357) (4266485)
- yargs is now ESM first (d90af45)
- zsh: Add default completion as fallback (#2331) (e02c91b)
- 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)
- command names are not derived from modules passed to
- singleton usage of yargs yargs.foo, yargs().argv, has been removed. (d90af45)
- minimum node.js versions now
-
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
- do not crash completion when having negated options (#2322) (7f42848)
from yargs GitHub release notes18.0.0 (2025-05-26)
⚠ BREAKING CHANGES
command.^20.19.0 || ^22.12.0 || >=23.Features
Bug Fixes
Code Refactoring
command. (d90af45)Build System
^20.19.0 || ^22.12.0 || >=23. (d90af45)17.7.2 (2023-04-27)
Bug Fixes
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: