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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This upgrade to
yargs@13.1.0introduces a critical compatibility issue.Node.js Version Support:
yargs@13.xdrops support for Node.js versions below 6. However, this project'spackage.jsonstill specifies"node": ">=4.3.2"in theenginesfield. This will cause installation failures or runtime errors for users on Node.js 4 or 5. Theenginesfield should be updated to">=6"to reflect this new requirement.Security Fix Version: The security vulnerability this PR aims to fix is in the
yargs-parsersub-dependency.yargs@13.1.0has a dependency onyargs-parser: '^13.0.0'. The vulnerability is fixed inyargs-parser@13.1.2. While a freshnpm installmight resolve to the fixed version, it's not guaranteed.To ensure the security fix is applied and to be more explicit, I recommend upgrading to
yargs@13.3.2, which is the last release in the v13 series and depends on the fixedyargs-parser@^13.1.2.Please also update the
enginesfield inpackage.jsonto">=6"to avoid breaking the package for users on older Node.js versions.