developerasun / myCodeBox-web

Open source code box for web developers.
Apache License 2.0
5 stars 0 forks source link

[RESEARCH] npm/version: semantic versioning #257

Open developerasun opened 2 years ago

developerasun commented 2 years ago

topic : understanding semantic version with tilde(~) and caret(^)

read this

~version “Approximately equivalent to version”, will update you to all future patch versions, without incrementing the minor version. ~1.2.3 will use releases from 1.2.3 to <1.3.0.

^version “Compatible with version”, will update you to all future minor/patch versions, without incrementing the major version. ^2.3.4 will use releases from 2.3.4 to <3.0.0.

^0.8.0 // from 0.8.0 to < 0.9.0

sem-ver

reference