Fred Schott 2/21/2014

"npm install --save" No Longer Using Tildes

Read Original

This article details a 2014 npm update where the default behavior of 'npm install --save' changed from using a tilde (~) to a caret (^) for versioning. It explains the semantic versioning (SemVer) differences: the tilde matches the most recent minor version, while the caret matches any version within the major version. It also covers the special case for major version zero (0.y.z) software.

"npm install --save" No Longer Using Tildes

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week