Skip to content

🧷 chore: Pin TanStack Dependency Versions#51

Merged
danny-avila merged 1 commit into
mainfrom
danny-avila/pin-tanstack-versions
May 11, 2026
Merged

🧷 chore: Pin TanStack Dependency Versions#51
danny-avila merged 1 commit into
mainfrom
danny-avila/pin-tanstack-versions

Conversation

@danny-avila
Copy link
Copy Markdown
Contributor

@danny-avila danny-avila commented May 11, 2026

Summary

See TanStack/router#7383

I pinned TanStack dependency versions to the safe versions already resolved in bun.lock to reduce exposure to the active TanStack npm supply-chain incident.

  • Pinned all direct @tanstack/* dependencies in package.json to exact versions already present in bun.lock.
  • Added overrides for the resolved TanStack Router/Start dependency graph so transitive ranges cannot drift to compromised latest versions.
  • Updated the root workspace entries in bun.lock to mirror the exact dependency specs without changing resolved package artifacts.

Change Type

  • Bug fix (non-breaking change which fixes an issue)

Testing

I validated the metadata-only change without installing or updating packages after the override patch.

Test Configuration:

  • Ran node -e 'JSON.parse(require("fs").readFileSync("package.json", "utf8")); console.log("package.json ok")'
  • Ran git diff --check -- package.json bun.lock
  • Scanned package.json, bun.lock, node_modules/.bun, and node_modules/@tanstack for the reported compromised TanStack versions; no matches were found.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • My changes do not introduce new warnings

@danny-avila danny-avila marked this pull request as ready for review May 11, 2026 23:02
@danny-avila danny-avila merged commit bb70b66 into main May 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants