Reputation: 1331
The package-lock.json file has the particular version of a package, however after running "npm i" a later version is installed, and the package-lock.json file has been updated to reflect the later version.
Why is this happening? I thought the package-lock.json file was the absolute source of truth.
How to prevent it?
Upvotes: 1
Views: 227