Pular para o conteúdo principal
Version: 5.x

pnpm audit

Added in: 4.3.0

Verifica problemas de segurança conhecidos nos pacotes instalados.

Options

--audit-level <severity>

  • Tipo: low, moderate, high, critical
  • Padrão: low

Only print advisories with severity greater than or equal to <severity>.

--json

Output audit report in JSON format.

--dev, -D

Only audit dev dependencies.

--prod, -P

Only audit production dependencies.

--no-optional

Don't audit optionalDependencies.