

Because of this, the above command promotes manually updating packages. So if we have a major version change like 1.0.5 to 3.1.3, this command will only update to the highest version before 2.0.0.Ī major version can introduce breaking changes to packages that can break your project. Though this only updates to the latest minor version. NPM does provide a command to update packages.

So you need to update all your packages, how can we do that?

That's just the speed at which web development moves. You come back to a 6-month-old project that you haven't touched in a while and now all of your NPM packages are vastly out of date.
