This repository was archived by the owner on Oct 14, 2025. It is now read-only.
[Snyk] Upgrade arg from 5.0.0 to 5.0.2 #6
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 arg from 5.0.0 to 5.0.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 2 versions ahead of your current version.
The recommended version was released 3 years ago.
Release notes
Package name: arg
-
5.0.2 - 2022-06-05
- Fix(types): export flagSymbol: #63
-
5.0.1 - 2021-08-17
- Update all deps, run Prettier.: #58
- Ci: move to GitHub actions: #57
-
5.0.0 - 2020-11-17
- All errors are now of type
- All errors now start with a lowercase letter instead of an uppercase letter to match common Node.js convention.
- The CircleCI badge image and link were fixed.
- All mentions of "ZEIT" were changed to "Vercel" (https://vercel.com/blog/zeit-is-now-vercel)
- Copyright date and associated name were updated
from arg GitHub release notesPatches
Credits
Huge thanks to @ jakehamilton for helping!
Patches
Credits
Huge thanks to @ yuler for helping!
5.0.0 Major Release
tl;dr unless you are checking/validating the types or messages of errors thrown by
arg, it is safe to upgrade with no changes to your codebase. In such cases,argwill behave exactly the same as the previous version.Despite the major release bump, the changes here should affect only the most remote corner cases. Nonetheless, this release was a major bump out of an abundance of caution.
require('arg').ArgError. Allarg-related (non-TypeError) errors are an instance of this class, and each has a.codeproperty with a uniquearg-related failure. All errors relating to the configuration ofargitself (and thus cannot be fixed by changing user input) begin withARG_CONFIG_. The circumstances under which the errors are thrown, or the variety of errors, remain unchanged.If any of these changes have broken you in any way, feel free to open an issue on the
argissue tracker.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: