Closed ghost closed 2 years ago
+1 on this update. Would help us tremendously. Thanks @alexburkowskypolysign
this is a great feature, thank you for contributing @alexburkowskypolysign !
You are very welcome @jeemok! Thanks for merging
will it support if we include in .nsprc file as well ?
@Sujay-shetty not currently, but definitely sounds like a good feature. Can you help to create a new issue and we can track it from there?
Description To address feature request: https://github.com/jeemok/better-npm-audit/issues/69
This fixes the issue where vulnerabilities disputed by package owners causes ever changing vulnerability ids in the audit report. In my repo I have to a seemingly infinite number of ids to my
.nsprc
to manage the currently disputedlodash
issue:Having a single flag to ignore
lodash
rather than w/e next id pops up for the same vulnerability is a huge time saver in a team environment :).TODO
Screenshots Tested via
npm link
No flags, remove nsprc code for lodash (1 module):-m
flag 1 module:--module-ignore
flag 1 module:--module-ignore
flag 2 modules (removedlodash
andhermes-engine
ids fromnsprc
):@jeemok @GrzesiekP @IPWright83