pnpm audit --json
doesn't ignore cves when pnpm.auditConfig.ignoreCves is set
#5734
Labels
pnpm audit --json
doesn't ignore cves when pnpm.auditConfig.ignoreCves is set
#5734
The
pnpm audit --json
doesn't ignore the cves whenpnpm.auditConfig.ignoreCves
is set.The fix #5592 does not work fully.
It only ignores the cves in the table output and not in
--json
and exits with an error code.pnpm version: 7.16.0
Code to reproduce the issue:
set the below config in
package.json
execute below command
pnpm audit --json
Expected behavior:
The JSON output should not contain the ignored
cves
Actual behavior:
The JSON output contains the ignored cves.
The text was updated successfully, but these errors were encountered: