Closed willowmck closed 4 years ago
@willowmck Looks like the npm-audit
module updated their Major version and made breaking changes in preparation for NPM v7: https://github.com/npm/npm-audit-report/tree/v2.0.0#break-from-version-1
Someone in the npm
upstream didn't read that very carefully and included it in 6.x.
oof
Another question on this - could we not just run npm audit with the appropriate options in this case?
npm audit --only=prod
Testing was incomplete/flawed
This test will no longer work since the "dev" attribute is not available in the list of advisories.
return (!(advisory[1].findings[0].dev && ignoreDev));
We will now need to track the offending package back to the list of actions to determine whether it is a dev dependency. For example, here is an action from npm audit with npm version 6.14.