How to check if npm packages installed in the app have vulnerabilities?
问题 I have a React Js app and I will like to know if the npm packages installed and third-party libraries have vulnerabilities. Thank you. 回答1: Run npm audit. From the docs: Scan your project for vulnerabilities and automatically install any compatible updates to vulnerable dependencies 来源: https://stackoverflow.com/questions/63256685/how-to-check-if-npm-packages-installed-in-the-app-have-vulnerabilities