pnpm audit
Added in: 4.3.0
Checks for known security issues with the installed packages.
#
Options#
--audit-level <severity>- Type: low, moderate, high, critical
- Default: low
Only print advisories with severity greater than or equal to <severity>
.
#
--jsonOutput audit report in JSON format.
#
--dev, -DOnly audit dev dependencies.
#
--prod, -POnly audit production dependencies.
#
--no-optionalDon't audit optionalDependencies
.