naugtur / npm-audit-resolver

Apache License 2.0
121 stars 28 forks source link

support audit-level when running check-audit? #65

Closed ptc-tyourchuck closed 1 year ago

ptc-tyourchuck commented 1 year ago

Can check-audit behave similar to npm audit when given an audit-level arg? i.e. non-zero exit code only if there are un-ignored issues left at that level or above ?

https://docs.npmjs.com/cli/v9/commands/npm-audit#audit-level

naugtur commented 1 year ago

AFAIR it was implemented. Make sure you're testing v3x not v2 - npm install npm-audit-resolver@next

joebowbeer commented 1 year ago

Dup of #22

ptc-tyourchuck commented 1 year ago

great! Thanks, replied in https://github.com/naugtur/npm-audit-resolver/issues/22#issuecomment-1450622391