68 vulnerabilities (15 low, 34 moderate, 12 high, 7 critical)
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Is there a solution to fix this at all?
68 vulnerabilities (15 low, 34 moderate, 12 high, 7 critical)
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Is there a solution to fix this at all?
npm outdated // run to check outdated npm packages
npx npm-check-updates -u // run to check updates outdated npm packages
npm install // run to update npm packages
npm provides list of known vulnerability through this and suggest the issues based on the version you are using. It will suggest you to update the library with the known fix version. so running the suggestion should be fine for basic cases.
If you want to go beyond this, check if the listed issue may affect you or not. based on that you can contribute to the library to solve the issue for yourself & others.
I think it depends what dependencies you have. In my experience, I had fixed all vulnerabilities by manual. It means you should check your package.json and version up if needed. If you want to show your package list, this command helps you.
npm ls
npm ls --depth=0