jeemok / better-npm-audit

The goal of this project is to provide additional features on top of the existing npm audit options
https://www.npmjs.com/package/better-npm-audit
MIT License
118 stars 26 forks source link

(Add option to) remove vulnerabilities below specified level in the table #64

Open Schweinepriester opened 3 years ago

Schweinepriester commented 3 years ago

While running

better-npm-audit audit --level "high"

leads to a different output at the end (e.g. "12 vulnerabilities found") versus

better-npm-audit audit

(e.g. "25 vulnerabilities found"), all vulnerabilities with a severity/level below "high" are still present in the displayed table.

So I'd like (an option) to get the table with only the level specified (and higher).