better-npm-audit
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "better-npm-audit", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"author": "Jee Mok <jee.ict@hotmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Made to allow skipping certain vulnerabilities, and any extra handling that are not supported by the default npm audit in the future.", |
@@ -7,5 +7,4 @@ # Better NPM Audit | ||
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) | ||
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) ![GitHub issues](https://img.shields.io/github/issues/jeemok/better-npm-audit?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/better-npm-audit?style=flat-square) | ||
## Installation | ||
@@ -20,3 +19,3 @@ | ||
## Useage | ||
### Package.json | ||
@@ -37,6 +36,6 @@ | ||
## Flags | ||
#### Ignore certain vulnerabilities | ||
For skipping certain advisories, you can use `-i` or verbose `--ignore` flags | ||
@@ -49,2 +48,3 @@ | ||
#### Display full report | ||
To avoid waterfall logging on your console screen, there is a character limit set to the output. To view the full audit logs, you can use `-f` or verbose `--full` flags | ||
@@ -57,3 +57,5 @@ | ||
#### Minimum audit level (`--audit-level`) | ||
Fail an audit only if the results include a vulnerability with a level of moderate or higher: | ||
``` | ||
@@ -64,3 +66,5 @@ node node_modules/better-npm-audit audit -l critical | ||
#### Production mode (`--production`) | ||
Skip checking `devDependencies` | ||
``` | ||
@@ -176,2 +180,9 @@ node node_modules/better-npm-audit audit -p | ||
## Special thanks | ||
Thank you [@IPWright83](https://github.com/IPWright83) for his solutions in improving the vulnerability validation for us to have the minimum-audit-level and production-mode flags. | ||
--- | ||
If you like this project, | ||
<a href="https://www.buymeacoffee.com/jeemok" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a> |
12764
182