grunt-retire
grunt-retire copied to clipboard
Added support for severity
Usage:
On Gruntfile add severity in retire configuration to indicate the minimum severity that will cause grunt task to fail. Note that all vulnerabilities are still displayed for reference.
Not passing the severity value will trigger default of 'all' which keeps the task behaving as it is now; i.e., any vulnerability found will cause grunt to fail regardless of the severity.
On the other hand, severity of 'none' will cause grunt task to always pass.