When I’m trying to install some package, all dependencies in my
package-lock.json update with not exact versions. Here is git diff after
npm install --save-dev *any-package-name*:
Full Credits to the author of https://github.com/npm/npm/issues/21110 from which the content of this issue was copied.
I would have tagged this one with
security as it is a potential of unrecognised version mismatches. And the wrong version of a dependency might be a security issue, as we all know. As I have learned, only staff can add the
security tag ¯_(ツ)_/¯