InfoSec812 / npm-audit-ci-wrapper

A wrapper for 'npm audit' which can be configurable for use in a CI/CD tool like Jenkins
Apache License 2.0
13 stars 11 forks source link

Add whitelist - feature request #5

Closed d0tkom closed 5 years ago

d0tkom commented 5 years ago

Hi,

It would be very useful for specific cases when you can't update a package, to just be able to whitelist that given package. I already have a crude implementation for this, if you'd consider including it.

InfoSec812 commented 5 years ago

Submit it as a PR and I would be happy to take a look.

InfoSec812 commented 5 years ago

@d0tkom I have implemented this feature as requested. Please give it a try and let me know if it works for you. It has not been merged/released yet, so here's how to install it:

npm uninstall -g npm-audit-ci-wrapper
npm install -g git+https://github.com/InfoSec812/npm-audit-ci-wrapper.git#Issue-5_-_Add_whitelist_feature

Once I get your review/evaluation I will work on getting it merged and released to NPM.

Cheers!

d0tkom commented 5 years ago

Thanks a lot for implementing this!

InfoSec812 commented 5 years ago

My pleasure! I hope it meets your needs!