pnpm audit

Checks for known security issues with the installed packages. If security issues are found, try to update your dependencies via pnpm update. If a simple update does not fix all the issues, use overrides to force versions that are not vulnerable. For instance, if lodash@<2.1.0 is vulnerable, use overrides to force lodash@^2.1.0. Details at: https://pnpm.io/cli/audit

Options

NameDescription
--audit-level <Audit Level>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
--ignore-registry-errorsIf the registry responds with a non-200 status code, the process should exit with 0. So the process will fail only if the registry actually successfully responds with found vulnerabilities