Node.js · Junior · Question 30 of 75

What does npm audit do?

Explanation

npm audit fix tries to upgrade to safe versions within your ranges. Not every warning is relevant: check whether the vulnerable code is actually reachable in your app.

Further reading

Problem with a question

Node.js · Junior · question 30

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz