Dependencycheck: Add support for npm-shrinkwrap.json files

Created on 26 Aug 2015  路  4Comments  路  Source: jeremylong/DependencyCheck

In writing documentation for the new Node.js analyzer, I added a link to nsp. Reading that page, I noticed that nsp also handles a thing called a NPM shrinkwrap file, which seems akin to a Ruby Bundler Gemfile.lock file. It might be straightforward to extend D-C analysis to these files.

enhancement

Most helpful comment

This was recently merged into the master branch (see https://github.com/jeremylong/DependencyCheck/pull/1006). We have not yet performed a release with this update yet; I'm hoping in about 1 week.

All 4 comments

@jeremylong Any sign of shrinkwrap being supported? When DependencyCheck finds vulnerabilities in nested dependencies the only course of action in npm is to override them with shrinkwrap. (Unless you have come across another way?) Currently DependencyCheck doesn't support shrinkwraps and therefore continues to fail the tests. This is huge, and a major blocker to continued usage of DependencyCheck.

This was recently merged into the master branch (see https://github.com/jeremylong/DependencyCheck/pull/1006). We have not yet performed a release with this update yet; I'm hoping in about 1 week.

Great work, looking forward to the release! Thank you.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings