puppeteer 25 does not install. It stays on 24.x in examples/ts-code-mode-web.
What fails#
pnpm update --latest stops on the trustPolicy: no-downgrade check in pnpm-workspace.yaml:
High-risk trust downgrade for "chromium-bidi@157.0.8090-0" (possible package takeover)
This error happened while installing the dependencies of puppeteer@25.17.0
chromium-bidi@157.0.8090-0 is published with weaker provenance than earlier versions. That can be a release-process change, or a takeover.
To do#
- Check how
chromium-bidi 157 was published (npm provenance, publisher, the upstream repo's release workflow).
- If it is legitimate, add
chromium-bidi@157.0.8090-0 to trustPolicyExclude with a comment that says why. Then bump puppeteer to 25.
- If it is not, wait for a release that passes the check.
Do not add a broad exclude for chromium-bidi.
Found during the all-dependencies update on chore/renovate-all-deps.