News for hackers. Stuff that matters.
Re:We should all be using dependency cooldowns by K0nserv on Friday November 21, 2025 @12:21PM (#46006523)
This is not how `npm install` works. This misunderstanding is so pervasive. Unless you change stuff in `package.json` `npm install` will not update anything, it still installs based on package-lock.json.

Quoting from the docs:

> This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap file, or a yarn lock file, the installation of dependencies will be driven by that [..]

There are no comments on this comment yet.