Whats the Difference Between ~ Tilde and ^ Caret in Package-json
Whats the Difference Between ~ Tilde and ^ Caret in Package-json Explanation documentation ChrisCatto.com
Whats the Difference Between ~ Tilde and ^ Caret in Package-json Explanation documentation:
- ~version “Approximately equivalent to version”, will update you to all future patch versions, without incrementing the minor version. ~2.4.5 will use releases from 2.4.5 to <2.6.0. It provides us "bug-fix" releases.
- ^version “Compatible with version”, will update you to all future minor/patch versions, without incrementing the major version. ^2.4.5 will use releases from 2.4.5 to <3.0.0. It provides us "backward-compatible" new functionality.