[Snyk] Upgrade arg from 4.1.3 to 5.0.1 #37
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 4.1.3 to 5.0.1.
ℹ️ 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 is a major version upgrade, and may be a breaking change.
Release notes
Package name: arg
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,arg
will 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.code
property with a uniquearg
-related failure. All errors relating to the configuration ofarg
itself (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
arg
issue tracker.4.1.3
Commit messages
Package name: arg
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs