When you I execute npm install using new npm 6 i got a messages that tell me I have some vulnerabilities :
[!] 75 vulnerabilities found [4867 packages audited]
Severity: 66 Low | 4 Moderate | 5 High
Run
npm auditfor more detail
I ran npm audit but got a truncated list of vulnerabilities.
How I can check for only High vulnerabilities list ?
Thanks
You can also run npm audit manually on your locally installed packages to conduct a security audit of the package and produce a report of dependency vulnerabilities and, if available, suggested patches. On the command line, navigate to your package directory by typing cd path/to/your-package-name and pressing Enter.
Not the answer you are looking for, but it will do the same:
npm audit | grep -B 1 -A 10 High
This one worked for me:
Show High Only
npm audit | grep -E "(High)" -B3 -A10 Show both Critical and High Issues
npm audit | grep -E "(High | Critical)" -B3 -A10 Look at the issue discussion where this solution is proposed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With