mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-27 19:41:44 -04:00
When a package has an injected self-referencing dependency (e.g. "pkg": "file:" with dependenciesMeta injected: true), the lockfile resolves it as "link:". The linkedPackagesAreUpToDate() function incorrectly reported these projects as not up-to-date because refToRelative() returns null for link: refs, causing pnpm to skip the fast headless install path and do full resolution instead.