Skip to content

Commit

Permalink
Update npm-audit.md
Browse files Browse the repository at this point in the history
--parseable is left from v6 and is not supported in v7. It was removed from the docs further down and thus should also not be used further up in the Synopsis.
Compare: https://docs.npmjs.com/cli/v6/commands/npm-audit

PR-URL: #2179
Credit: @Primajin
Close: #2179
Reviewed-by: @ruyadorno
  • Loading branch information
Primajin authored and ruyadorno committed Nov 17, 2020
1 parent 7b89576 commit 4e522fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/commands/npm-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ description: Run a security audit
### Synopsis

```bash
npm audit [--json|--parseable|--audit-level=(low|moderate|high|critical)]
npm audit fix [--force|--package-lock-only|--dry-run]
npm audit [--json] [--production] [--audit-level=(low|moderate|high|critical)]
npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]

common options: [--production] [--only=(dev|prod)]
```
Expand Down

0 comments on commit 4e522fd

Please sign in to comment.