I have a front-end app with NodeJS and I am trying to make the npm audit break only on high or critical vulnerabilities, so I tried to change the audit-level as specified in the documentation, but it would still return the low vulnerabilities as you can see here
npm set audit-level high
npm config set audit-level high
npm audit
Is there something I am doing wrong?
My npm version is 6.14.5 My NodeJS version is 10.17.0
--audit-level
parameter, but--parseable
does not have any effect on the output of the audit in NPM version9.6.7
. There is a--json
flag that I'm currently playing with on Pomodoro breaks, to see if I can coax it into providing useable, filtered output... – Elrod