You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to solve this issue while they don`t have this fixed we could use an intermediate help script that parse the audit json result and generate a final result without the dev dependencies...
npm audit --json >> /tmp/audit_report.json
npm run audit:process
In our huskyCI/api/config.yaml file the
npm audit
try to only analyse the prod dependency using the command:but this command stay reporting vulnerability from dev dependencies 😭 ...
reference: npm/cli#125
to solve this issue while they don`t have this fixed we could use an intermediate help script that parse the audit json result and generate a final result without the dev dependencies...
like this:
https://medium.com/@linzhao/npm-audit-with-travis-ci-d7acc3e2195a
** to reproduce the npm audit problem ignoring the only=prod :
this will print dev dependencies vulnerabilities...
The text was updated successfully, but these errors were encountered: