3 ms·
I don't use npm much, but once I'm out of the initial development phase with any package manager and am "feature complete" we generally lock versions down so at
by fortran77 6y ago
I don't use npm much, but once I'm out of the initial development phase with any package manager and am "feature complete" we generally lock versions down so at least we're always pulling a specific version in.
And, of course, on production build machines, all packages are local.
This isn't just for "security" -- it's to ensure we can always build the same bits we shipped, and to avoid any surprises when something has a legitimate update that breaks something else.