DEV Community

Discussion on: Semantic Versioning using npm

Collapse
 
ankurk91 profile image
Ankur K • Edited

According to semver docs

^0.2.3 := >=0.2.3 <0.3.0

That means npm update won't pick 0.3.0 or above.
However this behavior is different when version is
^2.0.0, in this case npm will pick 2.999.999 but below 3.0.0