pnpm-audit
Scan project dependencies. tldr-pages
On several platforms
Several platforms
Scan project dependencies. Check for known security issues with the installed packages.
Identify vulnerabilities in the project
pnpm auditIdentifyAutomatically fix vulnerabilities
pnpm audit fixIdentifyGenerate a security report in JSON format
pnpm audit --json >path/to/audit-report.jsonIdentifyAudit only dev dependencies
pnpm audit --devIdentifyAudit only production dependencies
pnpm audit --prodIdentifyExclude optional dependencies from the audit
pnpm audit --no-optionalIdentifyIgnore registry errors during the audit process
pnpm audit --ignore-registry-errorsIdentifyFilter advisories by severity (low, moderate, high, critical)
pnpm audit --audit-level severityIdentify