M
M
MyQuestion2021-06-25 23:38:08
GitHub
MyQuestion, 2021-06-25 23:38:08

GitHub pages: Why is there a warning for the contents of the package-lock.json file?

Good afternoon!

Mistake:

Dependabot alerts surface known security vulnerabilities in some dependency manifest files. Dependabot security updates automatically keep your application up-to-date by updating dependencies in response to these alerts. Dependabot version updates can also help keep dependencies updated.


Writes about a security vulnerability.

He doesn't like modules:
- trim-newlines
- normalize-url
- xmldom
- lodash.template

What to do with it, update somehow? Remove package-lock? - Because, I don't understand why the installed module is safe, but a couple of package-lock entries about this module are not... Or to ignore the entire file?
Does anyone have information about this vulnerability, and what can you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-06-26
@vabka

Remove package-lock?

Remove package-lock and update packages to latest versions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question