[Snyk] Upgrade yargs from 16.2.0 to 18.0.0 #71
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 16.2.0 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 47 versions ahead of your current version.
The recommended version was released 3 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-ANSIREGEX-1583908
SNYK-JS-ANSIREGEX-1583908
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-ELLIPTIC-8172694
SNYK-JS-LOADERUTILS-3043105
SNYK-JS-LOADERUTILS-3043105
SNYK-JS-ELLIPTIC-1064899
SNYK-JS-LOADERUTILS-3042992
SNYK-JS-MINIMATCH-3050818
SNYK-JS-BRACEEXPANSION-9789073
SNYK-JS-ELLIPTIC-7577916
SNYK-JS-ELLIPTIC-7577917
SNYK-JS-ELLIPTIC-7577918
SNYK-JS-ELLIPTIC-8720086
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-SSRI-1246392
SNYK-JS-SSRI-1246392
SNYK-JS-TAR-1536528
SNYK-JS-TAR-1536531
SNYK-JS-TAR-1579147
SNYK-JS-TAR-1579152
SNYK-JS-TAR-1579155
SNYK-JS-JSON5-3182856
SNYK-JS-JSON5-3182856
SNYK-JS-LOADERUTILS-3105943
SNYK-JS-LOADERUTILS-3042992
SNYK-JS-LOADERUTILS-3105943
SNYK-JS-TERSER-2806366
SNYK-JS-MINIMIST-2429795
SNYK-JS-PBKDF2-10495496
SNYK-JS-PBKDF2-10495498
SNYK-JS-TAR-1536758
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)
-
17.7.1 - 2023-02-21
- address display bug with default sub-commands (#2303) (9aa2490)
-
17.7.0 - 2023-02-16
- add method to hide option extras (#2156) (2c144c4)
- convert line break to whitespace for the description of the option (#2271) (4cb41dc)
- copy the description of the option to its alias in completion (#2269) (f37ee6f)
-
17.6.2 - 2022-11-03
- 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
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
17.7.1 (2023-02-21)
Bug Fixes
17.7.0 (2023-02-13)
Features
Bug Fixes
17.6.2 (2022-11-03)
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: