DEV Community

Discussion on: Don't trust SemVersioning in NPM Modules

Collapse
 
qm3ster profile image
Mihail Malo

For projects that stay in major 0 for too long, use ~0.x.y instead of ^0.x.y.
Locking them down to 0.x.y is basically always overkill until something literally breaks.
And, to just parrot everyone else in the comments, shrinkwrap and have tests :)