"npm install --save" No Longer Using Tildes
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser