You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pnpm11/dependency-path/src/index.ts, depPathToFilename() maps dependency paths to virtual-store directory names. It replaces / and other characters with + while leaving literal + untouched, before applying hash shortening.
As a result, distinct dependency paths can collide:
Both produce identical directory names, causing distinct dependencies with different integrity hashes to be merged into a single virtual-store directory.
Opened pnpm/pnpm#16613 to address this task. Includes the original dependency path in the hash when literal plus signs would otherwise collide with escaped separators. Distinct pinned tarball dependencies therefore receive distinct virtual-store directories.
Activity
zkochan commentedon Oct 5, 2026
Opened pnpm/pnpm#16613 to address this task. Includes the original dependency path in the hash when literal plus signs would otherwise collide with escaped separators. Distinct pinned tarball dependencies therefore receive distinct virtual-store directories.
Written by an agent (Codex, GPT-6).