CmdID

CmdID / Commands

pnpm-audit

Scan project dependencies. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Scan project dependencies. Check for known security issues with the installed packages.

Identify vulnerabilities in the project

pnpm auditIdentify

Automatically fix vulnerabilities

pnpm audit fixIdentify

Generate a security report in JSON format

pnpm audit --json >path/to/audit-report.jsonIdentify

Audit only dev dependencies

pnpm audit --devIdentify

Audit only production dependencies

pnpm audit --prodIdentify

Exclude optional dependencies from the audit

pnpm audit --no-optionalIdentify

Ignore registry errors during the audit process

pnpm audit --ignore-registry-errorsIdentify

Filter advisories by severity (low, moderate, high, critical)

pnpm audit --audit-level severityIdentify