V
V
Vitaly2021-08-11 14:16:29
Node.js
Vitaly, 2021-08-11 14:16:29

Why are libraries not updated via npm?

On the nodejs project, libraries have not been updated for a long time, I started to fix it and there was such a problem. I execute I see, for example, a very old version of mongo: I

install : Installation passed:npm audit
6113ae6cd246d648231385.png

npm i [email protected]

+ [email protected]
updated 1 package and audited 1527 packages in 2.513s


I run it again npm auditand I see this mongodb again I update
6113ae6cd246d648231385.png

it globally just in case npm i [email protected] -g
Everything gives the same thing

npm audit fixhere:
mongodb is among those 9 packages that it could not update
126 packages are looking for funding
  run `npm fund` for details

fixed 0 of 9 vulnerabilities in 1539 scanned packages
  9 vulnerabilities required manual review and could not be updated


How to eventually update these libraries in the project?

UPD: the question is removed, the problem turned out to be an obsolete dependency that is used in another dependency.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
abberati, 2021-08-11
@abberati

Good article , I advise

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question