Difference between revisions of "Npm audit"
Jump to navigation
Jump to search
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 == |
Revision as of 16:01, 9 October 2022
https://docs.npmjs.com/cli/v8/commands/npm-audit
Examples
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
- Auditing
docker scan
- GitHub dependabot
- Turn off audit for a package:
npm install example-package-name --no-audit
npm run audit:check
See also
npm audit [ fix ] npm audit --help
npm
,npx
,npm [ init
|audit
|install
|link | config | token
|start | publish | run start
|update | rebuild
|ci
|run build
].env/
,list
|ls | --version
,package.json
,$HOME/.npmrc
,npm help
, NPM Registry, npm ERR!- Software Composition Analysis (SCA): Flexera, FOSSA, GitLab Ultimate, JFrog Xray, Snyk, Sonatype, Synopsys: Black Duck, Veracode, WhiteHat Security, WhiteSource, Bill of Materials (BOM), Semgrep, Clair
Advertising: