npm installation (high severity) high-risk vulnerability reminder

Install axios using the command:

npm i axios -S

npm install axios

question

When npm installs axios, a 1 high severity vulnerability reminder will appear

 

solve:

npm audit fix

// Detect vulnerabilities in project dependencies and automatically install vulnerable dependencies that need to be updated without tracking and fixing them yourself.
npm audit   

// Allows developers to analyze complex code and view vulnerabilities and defects.
So I just need to follow the prompt npm audit fix 

At this time, re-download and find the following:

Guess you like

Origin blog.csdn.net/weixin_46474921/article/details/129728223