Skip to content

Commit 13245fe

Browse files
committed
chore(repo): catalog query-core dependency
1 parent 25ffed3 commit 13245fe

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

.changeset/raise-query-core-floor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
'@clerk/clerk-js': patch
44
---
55

6-
Raise the `@tanstack/query-core` floor to `^5.100.6` in `@clerk/shared` and `@clerk/clerk-js` so the version baked into the production `clerk-js` CDN bundle stays in lockstep with what consumer-side `@clerk/shared` resolves to.
6+
Raise the `@tanstack/query-core` floor to `^5.100.6` in the repo catalog and consume it from `@clerk/shared` and `@clerk/clerk-js` so the version baked into the production `clerk-js` CDN bundle stays in lockstep with what consumer-side `@clerk/shared` resolves to.
77

88
Fixes a runtime crash (`TypeError: e.isFetched is not a function`) introduced when consumer dedupe resolved `query-core` to `5.100.x` (which adds `Query.isFetched()`) while the published CDN bundle still embedded `5.90.16`. The new `QueryObserver` then called `isFetched()` on `Query` objects from the older bundled version.

packages/clerk-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"@solana/wallet-standard": "catalog:module-manager",
9292
"@stripe/stripe-js": "5.6.0",
9393
"@swc/helpers": "catalog:repo",
94-
"@tanstack/query-core": "^5.100.6",
94+
"@tanstack/query-core": "catalog:repo",
9595
"@wallet-standard/core": "catalog:module-manager",
9696
"@zxcvbn-ts/core": "catalog:module-manager",
9797
"@zxcvbn-ts/language-common": "catalog:module-manager",

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"test:coverage": "vitest --collectCoverage && open coverage/lcov-report/index.html"
141141
},
142142
"dependencies": {
143-
"@tanstack/query-core": "^5.100.6",
143+
"@tanstack/query-core": "catalog:repo",
144144
"dequal": "2.0.3",
145145
"glob-to-regexp": "0.4.1",
146146
"js-cookie": "3.0.5",

pnpm-lock.yaml

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ catalogs:
1212
react-dom: 18.3.1
1313
repo:
1414
'@swc/helpers': 0.5.21
15+
'@tanstack/query-core': ^5.100.6
1516
core-js: 3.47.0
1617
rolldown: 1.0.0-beta.47
1718
tsdown: 0.15.7

0 commit comments

Comments
 (0)