Difference between revisions of "Npm audit"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
* <code>[[npm audit fix --dry-run]]</code> | * <code>[[npm audit fix --dry-run]]</code> | ||
* <code>[[npm audit --audit-level=moderate]]</code> | * <code>[[npm audit --audit-level=moderate]]</code> | ||
+ | * <code>[[npm audit --audit-level=critical --parseable --prod]]</code> | ||
== Related terms == | == Related terms == | ||
Line 15: | Line 16: | ||
* [[GitHub]] [[dependabot]] | * [[GitHub]] [[dependabot]] | ||
* Turn off audit for a package: <code>[[npm install]] example-package-name --no-audit</code> | * Turn off audit for a package: <code>[[npm install]] example-package-name --no-audit</code> | ||
+ | * <code>[[npm run audit:check]]</code> | ||
+ | * <code>[[better-npm-audit]]</code> | ||
== See also == | == See also == | ||
− | * {{npm}} | + | * {{npm audit}} |
+ | * {{Auditing}} | ||
* {{SCA}} | * {{SCA}} | ||
[[Category:JavaScript]] | [[Category:JavaScript]] |
Latest revision as of 14:43, 21 November 2022
https://docs.npmjs.com/cli/v8/commands/npm-audit
Examples[edit]
npm audit --help
npm audit
npm audit --production
npm audit fix
npm audit fix --dry-run
npm audit --audit-level=moderate
npm audit --audit-level=critical --parseable --prod
Related terms[edit]
- Auditing
docker scan
- GitHub dependabot
- Turn off audit for a package:
npm install example-package-name --no-audit
npm run audit:check
better-npm-audit
See also[edit]
Advertising: