J
J
Joonys2019-12-01 12:43:04
Node.js
Joonys, 2019-12-01 12:43:04

Why are there outdated versions of plugins in the package manager (NPM) in the package-lock.json file?

By reviewing the created package-lock.json file after the npm install command. Came across old versions of plugins and wondered. Why aren't they updated? After all, because of this, errors and various kinds of failures can occur.5de38afb0e43c904951256.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
abberati, 2019-12-01
@abberati

Because you see dependency dependencies. It is these versions that are described in the library that you included in the project. It is with these versions that the library works stably.
Well, or you yourself installed the old version with your hands - it is not visible due to an incomplete listing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question