You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
According to documentation here https://docs.npmjs.com/cli/update
the update command is suppose to update and save versions according to the sym ver settings I currently have set in my package.json; however, it actually seems to just ignore this and append ^s to everything.
And delete the node_modules folder. Then run npm upgrade --save and notice that something like "zone.js": "0.8.12"
is transformed into "zone.js": "^0.8.13"
The carrot now ruins the statically set semantic versioned value of "0.8.12"
I'm opening this issue because:
What's going wrong?
According to documentation here https://docs.npmjs.com/cli/update
the update command is suppose to update and save versions according to the sym ver settings I currently have set in my package.json; however, it actually seems to just ignore this and append
^
s to everything.How can the CLI team reproduce the problem?
Take something like this package.json
And delete the
node_modules
folder. Then runnpm upgrade --save
and notice that something like"zone.js": "0.8.12"
is transformed into
"zone.js": "^0.8.13"
The carrot now ruins the statically set semantic versioned value of "0.8.12"
supporting information:
npm -v
prints: 5.3.0node -v
prints: 6.9.1npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: