DEV Community

Discussion on: Don't trust SemVersioning in NPM Modules

Collapse
 
tinmanjk profile image
Ivan Petrov

I am just wondering - is there a downside to doing this locking down of dependencies by default?

Collapse
 
obsessiveprogrammer profile image
Tom Bonanno

Yes. You cannot use npm update to automatically update based on the semver. I prefer using package-lock.json to lock versions.

Collapse
 
tinmanjk profile image
Ivan Petrov

Thanks. Will look more into it.