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.
Add support for Node.js 10.x.x. Currently, when trying to use CLI with Node.js 10.x.x, error is thrown. The problem is that we are using npm-shrinkwrap.json to keep using same versions of all dependencies, no matter how they are defined in the package.json files.
The current problem is that the
unzip
package relies onfstream
package, which depends ongraceful-fs
3.0.11 version. This version ofgraceful-fs
depends onnatives
package by using the range^1.1.0
. In ournpm-shrinkwrap.json
this range is resolved to version 1.1.2. This version of thenatives
package does not work with Node.js 10.x.x. There's a newer one - 1.1.3 that fixes it. So the solution is to update the npm-shrinkwrap.json and use the latest version ofnatives
package.Also add version 10.x.x as supported in CLI's package.json, so we'll not show warning that it is not validated.
PR Checklist
What is the current behavior?
CLI cannot work with Node.js 10.x.x
What is the new behavior?
CLI works with Node.js 10.x.x
Fixes/Implements/Closes #3554.