Use liberal and semver-correct version string for dependencies. #12
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.
"latest" was used previously which worked in
npm install. The reasonfor that is the registry (http://registry.npmjs.org/) can deal with both
version specifications as well as tags. "latest" has a special meaning
of "latest published package" as can be seen here:
However, the string "latest" is not a semver-recognised
(http://semver.org/) version specification. When
npm shrinkwrapornpm lsis used within a parent package/repository, both commands failas the dependencies are not met, e.g.:
By using a more liberal (yet very generic) version specification, the
installed version is ensured to always be the latest available in the
registry. In addition, any semver expressions will also parse.