(lost in beta)
The audit command submits a description of the dependencies configured in your project to your default registry and asks for a report of known vulnerabilities. The report returned includes instructions on how to act on this information. Heat-shield automatically solves these security vulnerabilities by suggested patches.
$ npm install heat-shield
Node.js, respectively package.json:Using in
...}"scripts":"test": "echo \"Error: no test specified\" && exit 1""fix": "heat-shield""postinstall": "heat-shield"...
To use the
heat-shield binary in your shell, simply install heat-shield globally using npm:
$ npm install -g heat-shield
After that you’re able to execute
heat-shield from the command line:
(Please note, you have to be in the directory with the npm-shrinkwrap.json or package-lock.json.)
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.