globally in your pnpm rc file:
pnpm config set --global trustPolicy no-downgrade
locally in your project:
pnpm config set --location=project trustPolicy no-downgrade
(unfortunately this removes comments)
globally in your pnpm rc file:
pnpm config set --global trustPolicy no-downgrade
locally in your project:
pnpm config set --location=project trustPolicy no-downgrade
(unfortunately this removes comments)