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
{{ message }}
Repository navigation
pnpm overrides silently outrank catalog entries — audit the pairs, and make dependabot stop fighting the pins #508
An entry in pnpm.overrides (root package.json) silently outranks the corresponding pnpm-workspace.yaml catalog entry. When the two disagree, the catalog line is decorative — it reads like the version in use and isn't. This has now bitten three separate times:
override pinned 56.0.12 while expo moved to 56.0.18; every web export broke.
this
@supabase/supabase-js again
dependabot bumped the catalog to ~2.110.9, override still ~2.86.0 — re-introducing exactly what #453 fixed.
Plus one found by audit during the batch: expo-modules-core catalog 56.0.12 vs override 56.0.22 — leftover from #502's fix, harmless (override was the newer one) but the catalog was lying again.
Two things worth doing
1. A lint check for the class. Compare every pnpm.overrides key against the catalog and fail when a pin disagrees. It has to understand pnpm's selector syntax to avoid false positives — fast-xml-parser@>=4.0.0-beta.3 <=5.5.7 is a CVE floor that legitimately differs from the catalog, and react-dom: 19.2.3 pinning inside catalog ^19.2.3 is intentional. A naive string compare flags both. Natural home is alongside lint:sorted-keys / lint:routes, or in prepush next to the autolinking guard added in #506.
2. Stop dependabot bumping catalog entries that an override pins. Otherwise this recurs every time it runs. Either add the pinned packages to ignore in .github/dependabot.yml, or drop the override whenever the pin is no longer needed — @supabase/supabase-js's pin turned out to be unnecessary (typecheck passes clean at 2.110.9, so the batch lifted it).
Note
The pins are undocumented, unlike the pnpmOverrideNotes block in package.json that explains @docusaurus/* and webpackbar. Whatever lands here, new pins should be required to carry a note there — that block is the reason those two were easy to reason about and these were not.
Activity
chore(deps): batch dependabot #495, #500, #503, #505 — holding two bu…