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
With NPM v7.5.4 out now, the npm audit --json output has changed. I am using this in my CI Pipeline on Gitlab and currently not getting the expected results output from this library which are compatible with GitLab.
Example of new npm audit --json format with npm v7.5.4
NOTE: NPM now has a concept of metavulnerabilities which causes some duplicate results that the 1 vulnerability in the immer package creates 3 official vulnerabilities here. I understand an underlying vulnerability causes issues in the higher layers but if you fix the 1, don't you fix all 3? Food for thought...
Also I'm not certain the exact expected output that should exist now that there are 3 vulnerabilities for npm 7 vs in npm 6. The expected output I generated using npm 6 but should be modified to fit the new results. Thanks for all your work!
The text was updated successfully, but these errors were encountered:
With NPM v7.5.4 out now, the
npm audit --json
output has changed. I am using this in my CI Pipeline on Gitlab and currently not getting the expected results output from this library which are compatible with GitLab.Example of new
npm audit --json
format with npm v7.5.4Current invalid parser output in my pipeline:
Expected output: Gitlab dependency_scanner regular array of vulnerability objects
NOTE: NPM now has a concept of metavulnerabilities which causes some duplicate results that the 1 vulnerability in the immer package creates 3 official vulnerabilities here. I understand an underlying vulnerability causes issues in the higher layers but if you fix the 1, don't you fix all 3? Food for thought...
Also I'm not certain the exact expected output that should exist now that there are 3 vulnerabilities for npm 7 vs in npm 6. The expected output I generated using npm 6 but should be modified to fit the new results. Thanks for all your work!
The text was updated successfully, but these errors were encountered: