Repository navigation
fix: update pnpm - #10738
fix: update pnpm#10738
Conversation
PR Summary by QodoUpdate @pnpm/napi to 12.8.1
AI Description
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can route each severity your way: inline, summary, both, or drop |
|
Code review by qodo was updated up to the latest commit d142ee7 |
|
Code review by qodo was updated up to the latest commit ab91118 |
|
Heads-up: this bump carries a peak-memory regression that is invisible on master but red elsewhere.
It stays invisible here because master's e2e never installs a full env closure. On a branch where the envs are regular packages, each such install is already ~3.3 GB against a 4 GB container, so the extra ~200 MB tips it over: same commit, 12.8.2 -> 21 suites killed by the OOM killer, 12.5.1 -> 2432 tests, 0 failures, 0 OOM. Filed upstream as pnpm/pnpm#16528. Nothing to change here - the bump fixes a real capsule bug - but worth knowing before e2e memory gets raised to compensate. |
Proposed Changes
Updates
@pnpm/napifrom 12.5.1 to 12.8.1. This fixes the intermittentERR_PNPM_PACKAGE_MANAGER_UNSAFE_IMPORTER_PATHerror that capsule installs throw for the..importer, right after "Already up to date".What caused it:
..importer. Which capsule goes first changes from run to run...is not first,..is not passed in. The lockfile otherwise matches, so pnpm takes the frozen path ("Already up to date")...is outside the capsule and was not passed in, so pnpm refused it.pnpm 12.8.0 (pnpm/pnpm#15249) makes a frozen install use only the projects the caller passes in. A stale
..importer is skipped, and the install succeeds without writing outside the capsule. pnpm/pnpm#16401 adds a test for this scenario. With the 12.5.1 behavior it fails with the same error.The lockfile is regenerated. Besides the
@pnpm/napibump, the peer suffixes of many entries change, for example the[email protected]suffix is dropped.Written by an agent (Claude Code, claude-opus-5-5).