From e491acae20149f8ea68780d9a4b2274e060a6014 Mon Sep 17 00:00:00 2001 From: Jacek Date: Thu, 30 Apr 2026 11:16:46 -0500 Subject: [PATCH 1/9] fix(shared,clerk-js): raise @tanstack/query-core floor to ^5.100.5 --- .changeset/raise-query-core-floor.md | 8 + packages/clerk-js/package.json | 2 +- packages/shared/package.json | 2 +- pnpm-lock.yaml | 341 +++++++++++++++------------ 4 files changed, 200 insertions(+), 153 deletions(-) create mode 100644 .changeset/raise-query-core-floor.md diff --git a/.changeset/raise-query-core-floor.md b/.changeset/raise-query-core-floor.md new file mode 100644 index 00000000000..4be941e8936 --- /dev/null +++ b/.changeset/raise-query-core-floor.md @@ -0,0 +1,8 @@ +--- +'@clerk/shared': patch +'@clerk/clerk-js': patch +--- + +Raise the `@tanstack/query-core` floor to `^5.100.5` 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. + +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. diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index 31762e0ef6b..322b41b9397 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -91,7 +91,7 @@ "@solana/wallet-standard": "catalog:module-manager", "@stripe/stripe-js": "5.6.0", "@swc/helpers": "catalog:repo", - "@tanstack/query-core": "^5.90.16", + "@tanstack/query-core": "^5.100.5", "@wallet-standard/core": "catalog:module-manager", "@zxcvbn-ts/core": "catalog:module-manager", "@zxcvbn-ts/language-common": "catalog:module-manager", diff --git a/packages/shared/package.json b/packages/shared/package.json index 80cdeb1331e..833603083cd 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -140,7 +140,7 @@ "test:coverage": "vitest --collectCoverage && open coverage/lcov-report/index.html" }, "dependencies": { - "@tanstack/query-core": "^5.90.16", + "@tanstack/query-core": "^5.100.5", "dequal": "2.0.3", "glob-to-regexp": "0.4.1", "js-cookie": "3.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c19dcc06c18..42254765f3e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -151,10 +151,10 @@ importers: version: 18.3.7(@types/react@18.3.28) '@vitejs/plugin-react': specifier: ^4.5.2 - version: 4.7.0(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + version: 4.7.0(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) '@vitest/coverage-v8': specifier: 3.2.4 - version: 3.2.4(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + version: 3.2.4(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) chalk: specifier: 4.1.2 version: 4.1.2 @@ -316,7 +316,7 @@ importers: version: 8.3.2 vitest: specifier: 3.2.4 - version: 3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + version: 3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) zx: specifier: catalog:repo version: 8.8.5 @@ -341,7 +341,7 @@ importers: version: link:../ui astro: specifier: ^5.18.1 - version: 5.18.1(@types/node@25.6.0)(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(yaml@2.8.3) + version: 5.18.1(@types/node@25.6.0)(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(yaml@2.8.3) packages/backend: dependencies: @@ -372,7 +372,7 @@ importers: version: 9.0.2 vitest-environment-miniflare: specifier: 2.14.4 - version: 2.14.4(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + version: 2.14.4(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) packages/chrome-extension: dependencies: @@ -438,8 +438,8 @@ importers: specifier: catalog:repo version: 0.5.21 '@tanstack/query-core': - specifier: ^5.90.16 - version: 5.90.16 + specifier: ^5.100.5 + version: 5.100.5 '@wallet-standard/core': specifier: catalog:module-manager version: 1.1.1 @@ -738,7 +738,7 @@ importers: devDependencies: nuxt: specifier: ^4.1.2 - version: 4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3) + version: 4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3) typescript: specifier: catalog:repo version: 5.8.3 @@ -811,8 +811,8 @@ importers: packages/shared: dependencies: '@tanstack/query-core': - specifier: ^5.90.16 - version: 5.90.16 + specifier: ^5.100.5 + version: 5.100.5 dequal: specifier: 2.0.3 version: 2.0.3 @@ -901,7 +901,7 @@ importers: version: 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-start': specifier: 1.157.16 - version: 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7)) + version: 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7)) esbuild-plugin-file-path-extensions: specifier: ^2.1.4 version: 2.1.4 @@ -1085,13 +1085,13 @@ importers: version: 8.1.0(@vue/compiler-sfc@3.5.33)(vue@3.5.33(typescript@5.8.3)) '@vitejs/plugin-vue': specifier: ^5.2.4 - version: 5.2.4(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) + version: 5.2.4(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) '@vue.ts/tsx-auto-props': specifier: ^0.6.0 version: 0.6.0(magicast@0.3.5)(rollup@4.53.1)(typescript@5.8.3)(vue@3.5.33(typescript@5.8.3)) unplugin-vue: specifier: 7.0.8 - version: 7.0.8(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(ms@2.1.3)(terser@5.46.1)(tsx@4.20.6)(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3) + version: 7.0.8(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(ms@2.1.3)(terser@5.46.2)(tsx@4.20.6)(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3) vue: specifier: catalog:repo version: 3.5.33(typescript@5.8.3) @@ -2588,7 +2588,7 @@ packages: '@expo/bunyan@4.0.1': resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==} - engines: {node: '>=0.10.0'} + engines: {'0': node >=0.10.0} '@expo/cli@0.22.28': resolution: {integrity: sha512-lvt72KNitGuixYD2l3SZmRKVu2G4zJpmg5V7WfUBNpmUU5oODBw/6qmiJ6kSLAlfDozscUk+BBGknBBzxUrwrA==} @@ -4881,8 +4881,8 @@ packages: resolution: {integrity: sha512-xyIfof8eHBuub1CkBnbKNKQXeRZC4dClhmzePHVOEel4G7lk/dW+TQ16da7CFdeNLv6u6Owf5VoBQxoo6DFTSA==} engines: {node: '>=12'} - '@tanstack/query-core@5.90.16': - resolution: {integrity: sha512-MvtWckSVufs/ja463/K4PyJeqT+HMlJWtw6PrCpywznd2NSgO3m4KwO9RqbFqGg6iDE8vVMFWMeQI4Io3eEYww==} + '@tanstack/query-core@5.100.5': + resolution: {integrity: sha512-t20KrhKkf0HXzqQkPbJ5erhFesup68BAbwFgYmTrS7bxMF7O5MdmL8jUkik4thsG7Hg00fblz30h6yF1d5TxGg==} '@tanstack/react-router@1.157.16': resolution: {integrity: sha512-xwFQa7S7dhBhm3aJYwU79cITEYgAKSrcL6wokaROIvl2JyIeazn8jueWqUPJzFjv+QF6Q8euKRlKUEyb5q2ymg==} @@ -5883,6 +5883,9 @@ packages: ajv@8.18.0: resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} + ajv@8.20.0: + resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} + alien-signals@2.0.6: resolution: {integrity: sha512-P3TxJSe31bUHBiblg59oU1PpaWPtmxF9GhJ/cB7OkgJ0qN/ifFSKUI25/v8ZhsT+lIG6ac8DpTOplXxORX6F3Q==} @@ -7634,8 +7637,8 @@ packages: resolution: {integrity: sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==} engines: {node: '>=10.13.0'} - enhanced-resolve@5.20.1: - resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==} + enhanced-resolve@5.21.0: + resolution: {integrity: sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==} engines: {node: '>=10.13.0'} enquirer@2.4.1: @@ -7989,8 +7992,8 @@ packages: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} - eventsource-parser@3.0.6: - resolution: {integrity: sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==} + eventsource-parser@3.0.8: + resolution: {integrity: sha512-70QWGkr4snxr0OXLRWsFLeRBIRPuQOvt4s8QYjmUlmlkyTZkRqS7EDVRZtzU3TiyDbXSzaOeF0XUKy8PchzukQ==} engines: {node: '>=18.0.0'} eventsource@3.0.7: @@ -8217,8 +8220,8 @@ packages: exponential-backoff@3.1.3: resolution: {integrity: sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==} - express-rate-limit@8.3.2: - resolution: {integrity: sha512-77VmFeJkO0/rvimEDuUC5H30oqUC4EyOhyGccfqoLebB0oiEYfM7nwPrsDsBL1gsTpwfzX8SFy2MT3TDyRq+bg==} + express-rate-limit@8.4.1: + resolution: {integrity: sha512-NGVYwQSAyEQgzxX1iCM978PP9AdO/hW93gMcF6ZwQCm+rFvLsBH6w4xcXWTcliS8La5EPRN3p9wzItqBwJrfNw==} engines: {node: '>= 16'} peerDependencies: express: '>= 4.11' @@ -8888,6 +8891,10 @@ packages: resolution: {integrity: sha512-am5zfg3yu6sqn5yjKBNqhnTX7Cv+m00ox+7jbaKkrLMRJ4rAdldd1xPd/JzbBWspqaQv6RSTrgFN95EsfhC+7w==} engines: {node: '>=16.9.0'} + hono@4.12.15: + resolution: {integrity: sha512-qM0jDhFEaCBb4TxoW7f53Qrpv9RBiayUHo0S52JudprkhvpjIrGoU1mnnr29Fvd1U335ZFPZQY1wlkqgfGXyLg==} + engines: {node: '>=16.9.0'} + hookable@5.5.3: resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} @@ -9564,8 +9571,8 @@ packages: join-component@1.1.0: resolution: {integrity: sha512-bF7vcQxbODoGK1imE2P9GS9aw4zD0Sd+Hni68IMZLj7zRnquH7dXUmMw9hDI5S/Jzt7q+IyTXN0rSg2GI0IKhQ==} - jose@6.2.2: - resolution: {integrity: sha512-d7kPDd34KO/YnzaDOlikGpOurfF0ByC2sEV4cANCtdqLlTfBlw2p14O/5d/zv40gJPbIQxfES3nSx1/oYNyuZQ==} + jose@6.2.3: + resolution: {integrity: sha512-YYVDInQKFJfR/xa3ojUTl8c2KoTwiL1R5Wg9YCydwH0x0B9grbzlg5HC7mMjCtUJjbQ/YnGEZIhI5tCgfTb4Hw==} joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} @@ -9980,8 +9987,8 @@ packages: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - loader-runner@4.3.1: - resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==} + loader-runner@4.3.2: + resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==} engines: {node: '>=6.11.5'} local-pkg@1.1.2: @@ -13073,6 +13080,10 @@ packages: resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==} engines: {node: '>=6'} + tapable@2.3.3: + resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + engines: {node: '>=6'} + tar-stream@3.1.7: resolution: {integrity: sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==} @@ -13110,8 +13121,8 @@ packages: resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} engines: {node: '>=8'} - terser-webpack-plugin@5.4.0: - resolution: {integrity: sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==} + terser-webpack-plugin@5.5.0: + resolution: {integrity: sha512-UYhptBwhWvfIjKd/UuFo6D8uq9xpGLDK+z8EDsj/zWhrTaH34cKEbrkMKfV5YWqGBvAYA3tlzZbs2R+qYrbQJA==} engines: {node: '>= 10.13.0'} peerDependencies: '@swc/core': '*' @@ -13131,6 +13142,11 @@ packages: engines: {node: '>=10'} hasBin: true + terser@5.46.2: + resolution: {integrity: sha512-uxfo9fPcSgLDYob/w1FuL0c99MWiJDnv+5qXSQc5+Ki5NjVNsYi66INnMFBjf6uFz6OnX12piJQPF4IpjJTNTw==} + engines: {node: '>=10'} + hasBin: true + test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -14194,8 +14210,8 @@ packages: resolution: {integrity: sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==} engines: {node: '>=10.0.0'} - webpack-sources@3.3.4: - resolution: {integrity: sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q==} + webpack-sources@3.4.0: + resolution: {integrity: sha512-gHwIe1cgBvvfLeu1Yz/dcFpmHfKDVxxyqI+kzqmuxZED81z2ChxpyqPaWcNqigPywhaEke7AjSGga+kxY55gjQ==} engines: {node: '>=10.13.0'} webpack-virtual-modules@0.6.2: @@ -17027,9 +17043,9 @@ snapshots: '@hapi/hoek': 9.3.0 optional: true - '@hono/node-server@1.19.14(hono@4.12.14)': + '@hono/node-server@1.19.14(hono@4.12.15)': dependencies: - hono: 4.12.14 + hono: 4.12.15 optional: true '@humanfs/core@0.19.1': {} @@ -17279,7 +17295,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.19.17 + '@types/node': 25.6.0 '@types/yargs': 15.0.20 chalk: 4.1.2 optional: true @@ -17510,18 +17526,18 @@ snapshots: '@modelcontextprotocol/sdk@1.26.0(@cfworker/json-schema@4.1.1)(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.14(hono@4.12.14) - ajv: 8.18.0 - ajv-formats: 3.0.1(ajv@8.18.0) + '@hono/node-server': 1.19.14(hono@4.12.15) + ajv: 8.20.0 + ajv-formats: 3.0.1(ajv@8.20.0) content-type: 1.0.5 cors: 2.8.6 cross-spawn: 7.0.6 eventsource: 3.0.7 - eventsource-parser: 3.0.6 + eventsource-parser: 3.0.8 express: 5.2.1 - express-rate-limit: 8.3.2(express@5.2.1) - hono: 4.12.14 - jose: 6.2.2 + express-rate-limit: 8.4.1(express@5.2.1) + hono: 4.12.15 + jose: 6.2.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.1 raw-body: 3.0.2 @@ -17682,11 +17698,11 @@ snapshots: '@nuxt/devalue@2.0.2': {} - '@nuxt/devtools-kit@3.1.0(magicast@0.5.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))': + '@nuxt/devtools-kit@3.1.0(magicast@0.5.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))': dependencies: '@nuxt/kit': 4.2.1(magicast@0.5.1) execa: 8.0.1 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - magicast @@ -17701,12 +17717,12 @@ snapshots: prompts: 2.4.2 semver: 7.7.4 - '@nuxt/devtools@3.1.0(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': + '@nuxt/devtools@3.1.0(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': dependencies: - '@nuxt/devtools-kit': 3.1.0(magicast@0.5.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + '@nuxt/devtools-kit': 3.1.0(magicast@0.5.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) '@nuxt/devtools-wizard': 3.1.0 '@nuxt/kit': 4.2.1(magicast@0.5.1) - '@vue/devtools-core': 8.0.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) + '@vue/devtools-core': 8.0.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) '@vue/devtools-kit': 8.0.3 birpc: 2.7.0 consola: 3.4.2 @@ -17731,9 +17747,9 @@ snapshots: sirv: 3.0.2 structured-clone-es: 1.0.0 tinyglobby: 0.2.16 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-plugin-inspect: 11.3.3(@nuxt/kit@4.2.1(magicast@0.5.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) - vite-plugin-vue-tracer: 1.1.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-plugin-inspect: 11.3.3(@nuxt/kit@4.2.1(magicast@0.5.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) + vite-plugin-vue-tracer: 1.1.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) which: 5.0.0 ws: 8.20.0(bufferutil@4.1.0)(utf-8-validate@5.0.10) transitivePeerDependencies: @@ -17819,7 +17835,7 @@ snapshots: transitivePeerDependencies: - magicast - '@nuxt/nitro-server@4.2.1(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(magicast@0.5.1)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(rolldown@1.0.0-beta.47)(typescript@5.8.3)': + '@nuxt/nitro-server@4.2.1(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(magicast@0.5.1)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(rolldown@1.0.0-beta.47)(typescript@5.8.3)': dependencies: '@nuxt/devalue': 2.0.2 '@nuxt/kit': 4.2.1(magicast@0.5.1) @@ -17837,7 +17853,7 @@ snapshots: klona: 2.0.6 mocked-exports: 0.1.1 nitropack: 2.12.9(idb-keyval@6.2.1)(rolldown@1.0.0-beta.47) - nuxt: 4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3) + nuxt: 4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3) pathe: 2.0.3 pkg-types: 2.3.0 radix3: 1.1.2 @@ -17908,12 +17924,12 @@ snapshots: transitivePeerDependencies: - magicast - '@nuxt/vite-builder@4.2.1(@types/node@25.6.0)(eslint@9.31.0(jiti@2.6.1))(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(vue-tsc@3.2.4(typescript@5.8.3))(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3)': + '@nuxt/vite-builder@4.2.1(@types/node@25.6.0)(eslint@9.31.0(jiti@2.6.1))(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(vue-tsc@3.2.4(typescript@5.8.3))(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3)': dependencies: '@nuxt/kit': 4.2.1(magicast@0.5.1) '@rollup/plugin-replace': 6.0.3(rollup@4.53.1) - '@vitejs/plugin-vue': 6.0.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) - '@vitejs/plugin-vue-jsx': 5.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) + '@vitejs/plugin-vue': 6.0.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) + '@vitejs/plugin-vue-jsx': 5.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) autoprefixer: 10.4.21(postcss@8.5.10) consola: 3.4.2 cssnano: 7.1.2(postcss@8.5.10) @@ -17928,7 +17944,7 @@ snapshots: magic-string: 0.30.21 mlly: 1.8.0 mocked-exports: 0.1.1 - nuxt: 4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3) + nuxt: 4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3) pathe: 2.0.3 pkg-types: 2.3.0 postcss: 8.5.10 @@ -17937,9 +17953,9 @@ snapshots: std-env: 3.10.0 ufo: 1.6.3 unenv: 2.0.0-rc.24 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-node: 5.0.0(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-plugin-checker: 0.11.0(eslint@9.31.0(jiti@2.6.1))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3)) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-node: 5.0.0(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-plugin-checker: 0.11.0(eslint@9.31.0(jiti@2.6.1))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3)) vue: 3.5.33(typescript@5.8.3) vue-bundle-renderer: 2.2.0 optionalDependencies: @@ -19622,7 +19638,7 @@ snapshots: '@tanstack/history@1.154.14': {} - '@tanstack/query-core@5.90.16': {} + '@tanstack/query-core@5.100.5': {} '@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: @@ -19657,19 +19673,19 @@ snapshots: transitivePeerDependencies: - crossws - '@tanstack/react-start@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7))': + '@tanstack/react-start@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7))': dependencies: '@tanstack/react-router': 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-start-client': 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-start-server': 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/router-utils': 1.154.7 '@tanstack/start-client-core': 1.157.16 - '@tanstack/start-plugin-core': 1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7)) + '@tanstack/start-plugin-core': 1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7)) '@tanstack/start-server-core': 1.157.16 pathe: 2.0.3 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - '@rsbuild/core' - crossws @@ -19707,7 +19723,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@tanstack/router-plugin@1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7))': + '@tanstack/router-plugin@1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7))': dependencies: '@babel/core': 7.28.5 '@babel/plugin-syntax-jsx': 7.27.1(@babel/core@7.28.5) @@ -19725,7 +19741,7 @@ snapshots: zod: 3.25.76 optionalDependencies: '@tanstack/react-router': 1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) webpack: 5.102.1(esbuild@0.27.7) transitivePeerDependencies: - supports-color @@ -19753,7 +19769,7 @@ snapshots: '@tanstack/start-fn-stubs@1.154.7': {} - '@tanstack/start-plugin-core@1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7))': + '@tanstack/start-plugin-core@1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7))': dependencies: '@babel/code-frame': 7.27.1 '@babel/core': 7.28.5 @@ -19761,7 +19777,7 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.40 '@tanstack/router-core': 1.157.16 '@tanstack/router-generator': 1.157.16 - '@tanstack/router-plugin': 1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7)) + '@tanstack/router-plugin': 1.157.16(@tanstack/react-router@1.157.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(webpack@5.102.1(esbuild@0.27.7)) '@tanstack/router-utils': 1.154.7 '@tanstack/start-client-core': 1.157.16 '@tanstack/start-server-core': 1.157.16 @@ -19772,8 +19788,8 @@ snapshots: srvx: 0.10.1 tinyglobby: 0.2.16 ufo: 1.6.3 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vitefu: 1.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vitefu: 1.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) xmlbuilder2: 4.0.3 zod: 3.25.76 transitivePeerDependencies: @@ -20058,7 +20074,6 @@ snapshots: '@types/node@25.6.0': dependencies: undici-types: 7.19.2 - optional: true '@types/normalize-package-data@2.4.4': {} @@ -20146,7 +20161,7 @@ snapshots: '@types/ws@7.4.7': dependencies: - '@types/node': 22.19.17 + '@types/node': 12.20.55 '@types/ws@8.18.1': dependencies: @@ -20357,7 +20372,7 @@ snapshots: - rollup - supports-color - '@vitejs/plugin-react@4.7.0(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))': + '@vitejs/plugin-react@4.7.0(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))': dependencies: '@babel/core': 7.28.5 '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.5) @@ -20365,34 +20380,34 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.27 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 - vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@5.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': + '@vitejs/plugin-vue-jsx@5.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': dependencies: '@babel/core': 7.28.5 '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.28.5) '@babel/plugin-transform-typescript': 7.28.5(@babel/core@7.28.5) '@rolldown/pluginutils': 1.0.0-beta.47 '@vue/babel-plugin-jsx': 1.5.0(@babel/core@7.28.5) - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vue: 3.5.33(typescript@5.8.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.2.4(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': + '@vitejs/plugin-vue@5.2.4(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': dependencies: - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vue: 3.5.33(typescript@5.8.3) - '@vitejs/plugin-vue@6.0.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': + '@vitejs/plugin-vue@6.0.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': dependencies: '@rolldown/pluginutils': 1.0.0-beta.29 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vue: 3.5.33(typescript@5.8.3) - '@vitest/coverage-v8@3.2.4(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))': + '@vitest/coverage-v8@3.2.4(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 1.0.2 @@ -20407,7 +20422,7 @@ snapshots: std-env: 3.10.0 test-exclude: 7.0.1 tinyrainbow: 2.0.0 - vitest: 3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vitest: 3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - supports-color @@ -20419,23 +20434,23 @@ snapshots: chai: 5.3.3 tinyrainbow: 2.0.0 - '@vitest/mocker@3.2.4(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))': + '@vitest/mocker@3.2.4(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))': dependencies: '@vitest/spy': 3.2.4 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: msw: 2.11.6(@types/node@22.19.17)(typescript@5.8.3) - vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) - '@vitest/mocker@3.2.4(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))': + '@vitest/mocker@3.2.4(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))': dependencies: '@vitest/spy': 3.2.4 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: msw: 2.11.6(@types/node@25.6.0)(typescript@5.8.3) - vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) '@vitest/pretty-format@3.2.4': dependencies: @@ -20602,14 +20617,14 @@ snapshots: '@vue/devtools-api@6.6.4': {} - '@vue/devtools-core@8.0.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': + '@vue/devtools-core@8.0.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3))': dependencies: '@vue/devtools-kit': 8.0.3 '@vue/devtools-shared': 8.0.3 mitt: 3.0.1 nanoid: 5.1.6 pathe: 2.0.3 - vite-hot-client: 2.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + vite-hot-client: 2.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) vue: 3.5.33(typescript@5.8.3) transitivePeerDependencies: - vite @@ -20886,6 +20901,11 @@ snapshots: optionalDependencies: ajv: 8.18.0 + ajv-formats@3.0.1(ajv@8.20.0): + optionalDependencies: + ajv: 8.20.0 + optional: true + ajv-keywords@5.1.0(ajv@8.18.0): dependencies: ajv: 8.18.0 @@ -20905,6 +20925,14 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 + ajv@8.20.0: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.1.0 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + optional: true + alien-signals@2.0.6: {} alien-signals@3.1.2: {} @@ -21137,7 +21165,7 @@ snapshots: astral-regex@2.0.0: {} - astro@5.18.1(@types/node@25.6.0)(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(yaml@2.8.3): + astro@5.18.1(@types/node@25.6.0)(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(jiti@2.6.1)(lightningcss@1.30.2)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(yaml@2.8.3): dependencies: '@astrojs/compiler': 2.13.0 '@astrojs/internal-helpers': 0.7.6 @@ -21194,8 +21222,8 @@ snapshots: unist-util-visit: 5.0.0 unstorage: 1.17.4(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2) vfile: 6.0.3 - vite: 6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vitefu: 1.1.1(vite@6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + vite: 6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vitefu: 1.1.1(vite@6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) xxhash-wasm: 1.1.0 yargs-parser: 21.1.1 yocto-spinner: 0.2.3 @@ -22933,10 +22961,10 @@ snapshots: graceful-fs: 4.2.11 tapable: 2.3.2 - enhanced-resolve@5.20.1: + enhanced-resolve@5.21.0: dependencies: graceful-fs: 4.2.11 - tapable: 2.3.2 + tapable: 2.3.3 enquirer@2.4.1: dependencies: @@ -23450,12 +23478,12 @@ snapshots: events@3.3.0: {} - eventsource-parser@3.0.6: + eventsource-parser@3.0.8: optional: true eventsource@3.0.7: dependencies: - eventsource-parser: 3.0.6 + eventsource-parser: 3.0.8 optional: true exec-async@2.2.0: {} @@ -23795,7 +23823,7 @@ snapshots: exponential-backoff@3.1.3: {} - express-rate-limit@8.3.2(express@5.2.1): + express-rate-limit@8.4.1(express@5.2.1): dependencies: express: 5.2.1 ip-address: 10.1.0 @@ -24649,6 +24677,9 @@ snapshots: hono@4.12.14: {} + hono@4.12.15: + optional: true + hookable@5.5.3: {} hosted-git-info@2.8.9: {} @@ -25324,7 +25355,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.19.17 + '@types/node': 25.6.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -25350,7 +25381,7 @@ snapshots: join-component@1.1.0: {} - jose@6.2.2: + jose@6.2.3: optional: true joycon@3.1.1: {} @@ -25811,7 +25842,7 @@ snapshots: load-tsconfig@0.2.5: {} - loader-runner@4.3.1: {} + loader-runner@4.3.2: {} local-pkg@1.1.2: dependencies: @@ -26330,7 +26361,7 @@ snapshots: metro-minify-terser@0.83.2: dependencies: flow-enums-runtime: 0.0.6 - terser: 5.46.1 + terser: 5.46.2 metro-minify-terser@0.83.3: dependencies: @@ -27265,16 +27296,16 @@ snapshots: nullthrows@1.1.1: {} - nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3): + nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3): dependencies: '@dxup/nuxt': 0.2.1(magicast@0.5.1) '@nuxt/cli': 3.30.0(magicast@0.5.1) - '@nuxt/devtools': 3.1.0(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) + '@nuxt/devtools': 3.1.0(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)) '@nuxt/kit': 4.2.1(magicast@0.5.1) - '@nuxt/nitro-server': 4.2.1(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(magicast@0.5.1)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(rolldown@1.0.0-beta.47)(typescript@5.8.3) + '@nuxt/nitro-server': 4.2.1(db0@0.3.4)(idb-keyval@6.2.1)(ioredis@5.8.2)(magicast@0.5.1)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(rolldown@1.0.0-beta.47)(typescript@5.8.3) '@nuxt/schema': 4.2.1 '@nuxt/telemetry': 2.6.6(magicast@0.5.1) - '@nuxt/vite-builder': 4.2.1(@types/node@25.6.0)(eslint@9.31.0(jiti@2.6.1))(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.1)(tsx@4.20.6)(typescript@5.8.3)(vue-tsc@3.2.4(typescript@5.8.3))(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3) + '@nuxt/vite-builder': 4.2.1(@types/node@25.6.0)(eslint@9.31.0(jiti@2.6.1))(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(nuxt@4.2.1(@parcel/watcher@2.5.1)(@types/node@25.6.0)(@vue/compiler-sfc@3.5.33)(bufferutil@4.1.0)(db0@0.3.4)(eslint@9.31.0(jiti@2.6.1))(idb-keyval@6.2.1)(ioredis@5.8.2)(lightningcss@1.30.2)(magicast@0.5.1)(meow@13.2.0)(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(utf-8-validate@5.0.10)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3))(yaml@2.8.3))(optionator@0.9.4)(rolldown@1.0.0-beta.47)(rollup@4.53.1)(terser@5.46.2)(tsx@4.20.6)(typescript@5.8.3)(vue-tsc@3.2.4(typescript@5.8.3))(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3) '@unhead/vue': 2.0.19(vue@3.5.33(typescript@5.8.3)) '@vue/shared': 3.5.33 c12: 3.3.1(magicast@0.5.1) @@ -29820,6 +29851,8 @@ snapshots: tapable@2.3.2: {} + tapable@2.3.3: {} + tar-stream@3.1.7: dependencies: b4a: 1.7.3 @@ -29869,12 +29902,12 @@ snapshots: ansi-escapes: 4.3.2 supports-hyperlinks: 2.3.0 - terser-webpack-plugin@5.4.0(esbuild@0.27.7)(webpack@5.102.1(esbuild@0.27.7)): + terser-webpack-plugin@5.5.0(esbuild@0.27.7)(webpack@5.102.1(esbuild@0.27.7)): dependencies: '@jridgewell/trace-mapping': 0.3.31 jest-worker: 27.5.1 schema-utils: 4.3.3 - terser: 5.46.1 + terser: 5.46.2 webpack: 5.102.1(esbuild@0.27.7) optionalDependencies: esbuild: 0.27.7 @@ -29886,6 +29919,13 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 + terser@5.46.2: + dependencies: + '@jridgewell/source-map': 0.3.11 + acorn: 8.16.0 + commander: 2.20.3 + source-map-support: 0.5.21 + test-exclude@6.0.0: dependencies: '@istanbuljs/schema': 0.1.3 @@ -30278,8 +30318,7 @@ snapshots: undici-types@6.21.0: {} - undici-types@7.19.2: - optional: true + undici-types@7.19.2: {} undici@5.28.4: dependencies: @@ -30454,14 +30493,14 @@ snapshots: transitivePeerDependencies: - vue - unplugin-vue@7.0.8(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(ms@2.1.3)(terser@5.46.1)(tsx@4.20.6)(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3): + unplugin-vue@7.0.8(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(ms@2.1.3)(terser@5.46.2)(tsx@4.20.6)(vue@3.5.33(typescript@5.8.3))(yaml@2.8.3): dependencies: '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 '@vue/reactivity': 3.5.33 obug: 2.0.0(ms@2.1.3) unplugin: 2.3.10 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vue: 3.5.33(typescript@5.8.3) transitivePeerDependencies: - '@types/node' @@ -30646,23 +30685,23 @@ snapshots: - utf-8-validate - zod - vite-dev-rpc@1.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)): + vite-dev-rpc@1.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)): dependencies: birpc: 2.7.0 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-hot-client: 2.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-hot-client: 2.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) - vite-hot-client@2.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)): + vite-hot-client@2.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)): dependencies: - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) - vite-node@3.2.4(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vite-node@3.2.4(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: cac: 6.7.14 debug: 4.4.3(supports-color@8.1.1) es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - '@types/node' - jiti @@ -30677,13 +30716,13 @@ snapshots: - tsx - yaml - vite-node@3.2.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vite-node@3.2.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: cac: 6.7.14 debug: 4.4.3(supports-color@8.1.1) es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - '@types/node' - jiti @@ -30698,13 +30737,13 @@ snapshots: - tsx - yaml - vite-node@5.0.0(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vite-node@5.0.0(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: cac: 6.7.14 debug: 4.4.3(supports-color@8.1.1) es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - '@types/node' - jiti @@ -30719,7 +30758,7 @@ snapshots: - tsx - yaml - vite-plugin-checker@0.11.0(eslint@9.31.0(jiti@2.6.1))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3)): + vite-plugin-checker@0.11.0(eslint@9.31.0(jiti@2.6.1))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue-tsc@3.2.4(typescript@5.8.3)): dependencies: '@babel/code-frame': 7.29.0 chokidar: 4.0.3 @@ -30728,7 +30767,7 @@ snapshots: picomatch: 4.0.4 tiny-invariant: 1.3.3 tinyglobby: 0.2.16 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vscode-uri: 3.1.0 optionalDependencies: eslint: 9.31.0(jiti@2.6.1) @@ -30737,7 +30776,7 @@ snapshots: typescript: 5.8.3 vue-tsc: 3.2.4(typescript@5.8.3) - vite-plugin-inspect@11.3.3(@nuxt/kit@4.2.1(magicast@0.5.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)): + vite-plugin-inspect@11.3.3(@nuxt/kit@4.2.1(magicast@0.5.1))(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)): dependencies: ansis: 4.2.0 debug: 4.4.3(supports-color@8.1.1) @@ -30747,24 +30786,24 @@ snapshots: perfect-debounce: 2.0.0 sirv: 3.0.2 unplugin-utils: 0.3.1 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-dev-rpc: 1.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-dev-rpc: 1.1.0(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) optionalDependencies: '@nuxt/kit': 4.2.1(magicast@0.5.1) transitivePeerDependencies: - supports-color - vite-plugin-vue-tracer@1.1.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)): + vite-plugin-vue-tracer@1.1.3(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3))(vue@3.5.33(typescript@5.8.3)): dependencies: estree-walker: 3.0.3 exsolve: 1.0.7 magic-string: 0.30.21 pathe: 2.0.3 source-map-js: 1.2.1 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vue: 3.5.33(typescript@5.8.3) - vite@6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vite@6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: esbuild: 0.25.12 fdir: 6.5.0(picomatch@4.0.4) @@ -30777,11 +30816,11 @@ snapshots: fsevents: 2.3.3 jiti: 2.6.1 lightningcss: 1.30.2 - terser: 5.46.1 + terser: 5.46.2 tsx: 4.20.6 yaml: 2.8.3 - vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: esbuild: 0.25.12 fdir: 6.5.0(picomatch@4.0.4) @@ -30794,11 +30833,11 @@ snapshots: fsevents: 2.3.3 jiti: 2.6.1 lightningcss: 1.30.2 - terser: 5.46.1 + terser: 5.46.2 tsx: 4.20.6 yaml: 2.8.3 - vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: esbuild: 0.25.12 fdir: 6.5.0(picomatch@4.0.4) @@ -30811,39 +30850,39 @@ snapshots: fsevents: 2.3.3 jiti: 2.6.1 lightningcss: 1.30.2 - terser: 5.46.1 + terser: 5.46.2 tsx: 4.20.6 yaml: 2.8.3 - vitefu@1.1.1(vite@6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)): + vitefu@1.1.1(vite@6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)): optionalDependencies: - vite: 6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 6.4.1(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) - vitefu@1.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)): + vitefu@1.1.1(vite@7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)): optionalDependencies: - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) vitest-chrome@0.1.0: dependencies: '@types/chrome': 0.0.114 - vitest-environment-miniflare@2.14.4(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)): + vitest-environment-miniflare@2.14.4(bufferutil@4.1.0)(utf-8-validate@5.0.10)(vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)): dependencies: '@miniflare/queues': 2.14.4 '@miniflare/runner-vm': 2.14.4 '@miniflare/shared': 2.14.4 '@miniflare/shared-test-environment': 2.14.4(bufferutil@4.1.0)(utf-8-validate@5.0.10) undici: 5.28.4 - vitest: 3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vitest: 3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) transitivePeerDependencies: - bufferutil - utf-8-validate - vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@22.19.17)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: '@types/chai': 5.2.3 '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + '@vitest/mocker': 3.2.4(msw@2.11.6(@types/node@22.19.17)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) '@vitest/pretty-format': 3.2.4 '@vitest/runner': 3.2.4 '@vitest/snapshot': 3.2.4 @@ -30861,8 +30900,8 @@ snapshots: tinyglobby: 0.2.16 tinypool: 1.1.1 tinyrainbow: 2.0.0 - vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-node: 3.2.4(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-node: 3.2.4(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) why-is-node-running: 2.3.0 optionalDependencies: '@edge-runtime/vm': 5.0.0 @@ -30883,11 +30922,11 @@ snapshots: - tsx - yaml - vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3): + vitest@3.2.4(@edge-runtime/vm@5.0.0)(@types/debug@4.1.12)(@types/node@25.6.0)(jiti@2.6.1)(jsdom@27.0.0(bufferutil@4.1.0)(utf-8-validate@5.0.10))(lightningcss@1.30.2)(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3): dependencies: '@types/chai': 5.2.3 '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3)) + '@vitest/mocker': 3.2.4(msw@2.11.6(@types/node@25.6.0)(typescript@5.8.3))(vite@7.2.2(@types/node@22.19.17)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3)) '@vitest/pretty-format': 3.2.4 '@vitest/runner': 3.2.4 '@vitest/snapshot': 3.2.4 @@ -30905,8 +30944,8 @@ snapshots: tinyglobby: 0.2.16 tinypool: 1.1.1 tinyrainbow: 2.0.0 - vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) - vite-node: 3.2.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.1)(tsx@4.20.6)(yaml@2.8.3) + vite: 7.2.2(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) + vite-node: 3.2.4(@types/node@25.6.0)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.2)(tsx@4.20.6)(yaml@2.8.3) why-is-node-running: 2.3.0 optionalDependencies: '@edge-runtime/vm': 5.0.0 @@ -31081,7 +31120,7 @@ snapshots: flat: 5.0.2 wildcard: 2.0.1 - webpack-sources@3.3.4: {} + webpack-sources@3.4.0: {} webpack-virtual-modules@0.6.2: {} @@ -31097,21 +31136,21 @@ snapshots: acorn-import-phases: 1.0.4(acorn@8.16.0) browserslist: 4.28.2 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.20.1 + enhanced-resolve: 5.21.0 es-module-lexer: 1.7.0 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.1 + loader-runner: 4.3.2 mime-types: 2.1.35 neo-async: 2.6.2 schema-utils: 4.3.3 - tapable: 2.3.2 - terser-webpack-plugin: 5.4.0(esbuild@0.27.7)(webpack@5.102.1(esbuild@0.27.7)) + tapable: 2.3.3 + terser-webpack-plugin: 5.5.0(esbuild@0.27.7)(webpack@5.102.1(esbuild@0.27.7)) watchpack: 2.5.1 - webpack-sources: 3.3.4 + webpack-sources: 3.4.0 transitivePeerDependencies: - '@swc/core' - esbuild From 36331b45036e090009c6152e4362abe55f730998 Mon Sep 17 00:00:00 2001 From: Jacek Date: Thu, 30 Apr 2026 11:59:13 -0500 Subject: [PATCH 2/9] refactor(shared,clerk-js,react): move QueryClient ownership into @clerk/shared --- .changeset/invert-clerk-rq-ownership.md | 11 +++ packages/clerk-js/package.json | 1 - packages/clerk-js/src/core/clerk.ts | 24 ----- packages/clerk-js/src/core/query-core.ts | 3 - packages/clerk-js/src/test/mock-helpers.ts | 22 +---- packages/react/src/isomorphicClerk.ts | 12 --- .../clerk-rq/__tests__/useBaseQuery.spec.tsx | 18 ++-- .../src/react/clerk-rq/clerk-query-client.ts | 66 +++++++++++++ .../react/clerk-rq/use-clerk-query-client.ts | 31 ++----- .../src/react/hooks/__tests__/mocks/clerk.ts | 58 ++++++------ packages/shared/src/react/index.ts | 7 ++ packages/ui/src/test/mock-helpers.ts | 22 +---- pnpm-lock.yaml | 93 ++++++------------- 13 files changed, 160 insertions(+), 208 deletions(-) create mode 100644 .changeset/invert-clerk-rq-ownership.md delete mode 100644 packages/clerk-js/src/core/query-core.ts create mode 100644 packages/shared/src/react/clerk-rq/clerk-query-client.ts diff --git a/.changeset/invert-clerk-rq-ownership.md b/.changeset/invert-clerk-rq-ownership.md new file mode 100644 index 00000000000..bac01150ab0 --- /dev/null +++ b/.changeset/invert-clerk-rq-ownership.md @@ -0,0 +1,11 @@ +--- +'@clerk/shared': patch +'@clerk/clerk-js': patch +'@clerk/react': patch +--- + +Move ownership of the clerk-rq `QueryClient` from `@clerk/clerk-js` into `@clerk/shared`. The `QueryObserver` (constructed in `@clerk/shared`) and the `Query` objects it observes now always come from a single `@tanstack/query-core` resolution — the cross-bundle API contract that produced #8428 (`Query.isFetched is not a function`) no longer exists. + +This removes the undocumented `clerk.__internal_queryClient` getter from both `@clerk/clerk-js` and `@clerk/react`'s `IsomorphicClerk`. The `QueryClient` is owned by an internal singleton in `@clerk/shared`, lazily instantiated on the browser only — server renders return `undefined`, preserving SSR safety and avoiding cross-request cache sharing. + +`@tanstack/query-core` is no longer a direct dependency of `@clerk/clerk-js`; it remains a dep of `@clerk/shared` and resolves consumer-side as before. diff --git a/packages/clerk-js/package.json b/packages/clerk-js/package.json index 322b41b9397..eb0f0ff4aa8 100644 --- a/packages/clerk-js/package.json +++ b/packages/clerk-js/package.json @@ -91,7 +91,6 @@ "@solana/wallet-standard": "catalog:module-manager", "@stripe/stripe-js": "5.6.0", "@swc/helpers": "catalog:repo", - "@tanstack/query-core": "^5.100.5", "@wallet-standard/core": "catalog:module-manager", "@zxcvbn-ts/core": "catalog:module-manager", "@zxcvbn-ts/language-common": "catalog:module-manager", diff --git a/packages/clerk-js/src/core/clerk.ts b/packages/clerk-js/src/core/clerk.ts index 47cbfb2515f..76775e26eb6 100644 --- a/packages/clerk-js/src/core/clerk.ts +++ b/packages/clerk-js/src/core/clerk.ts @@ -137,7 +137,6 @@ import type { import type { ClerkUI } from '@clerk/shared/ui'; import { addClerkPrefix, isAbsoluteUrl, stripScheme } from '@clerk/shared/url'; import { allSettled, handleValueOrFn, noop } from '@clerk/shared/utils'; -import type { QueryClient } from '@tanstack/query-core'; import { debugLogger, initDebugLogger } from '@/utils/debug'; import { ModuleManager } from '@/utils/moduleManager'; @@ -247,7 +246,6 @@ export class Clerk implements ClerkInterface { // converted to protected environment to support `updateEnvironment` type assertion protected environment?: EnvironmentResource | null; - #queryClient: QueryClient | undefined; #publishableKey = ''; #domain: DomainOrProxyUrl['domain']; #proxyUrl: DomainOrProxyUrl['proxyUrl']; @@ -267,28 +265,6 @@ export class Clerk implements ClerkInterface { #touchThrottledUntil = 0; #publicEventBus = createClerkEventBus(); - get __internal_queryClient(): { __tag: 'clerk-rq-client'; client: QueryClient } | undefined { - if (!this.#queryClient) { - void import('./query-core') - .then(module => module.QueryClient) - .then(QueryClient => { - if (this.#queryClient) { - return; - } - this.#queryClient = new QueryClient(); - // @ts-expect-error - queryClientStatus is not typed - this.#publicEventBus.emit('queryClientStatus', 'ready'); - }); - } - - return this.#queryClient - ? { - __tag: 'clerk-rq-client', - client: this.#queryClient, - } - : undefined; - } - public __internal_getCachedResources: | (() => Promise<{ client: ClientJSONSnapshot | null; environment: EnvironmentJSONSnapshot | null }>) | undefined; diff --git a/packages/clerk-js/src/core/query-core.ts b/packages/clerk-js/src/core/query-core.ts deleted file mode 100644 index 71a5e77cc2d..00000000000 --- a/packages/clerk-js/src/core/query-core.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { QueryClient } from '@tanstack/query-core'; - -export { QueryClient }; diff --git a/packages/clerk-js/src/test/mock-helpers.ts b/packages/clerk-js/src/test/mock-helpers.ts index d76dea115bb..496f2b629ac 100644 --- a/packages/clerk-js/src/test/mock-helpers.ts +++ b/packages/clerk-js/src/test/mock-helpers.ts @@ -1,7 +1,7 @@ +import { __createClerkTestQueryClient } from '@clerk/shared/react'; import type { ActiveSessionResource, LoadedClerk } from '@clerk/shared/types'; import { type Mocked, vi } from 'vitest'; -import { QueryClient } from '../core/query-core'; import type { RouteContextValue } from '../ui/router'; type FunctionLike = (...args: any) => any; @@ -46,19 +46,7 @@ export const mockClerkMethods = (clerk: LoadedClerk): DeepVitestMocked defaultQueryClient), - configurable: true, - }); - mockProp(clerkAny, 'navigate'); mockProp(clerkAny, 'setActive'); mockProp(clerkAny, 'redirectWithAuth'); diff --git a/packages/react/src/isomorphicClerk.ts b/packages/react/src/isomorphicClerk.ts index 32b050d36c4..89e4c7a3b97 100644 --- a/packages/react/src/isomorphicClerk.ts +++ b/packages/react/src/isomorphicClerk.ts @@ -343,11 +343,6 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk { return this.clerkjs?.isStandardBrowser || this.options.standardBrowser || false; } - get __internal_queryClient() { - // @ts-expect-error - __internal_queryClient is not typed - return this.clerkjs?.__internal_queryClient; - } - get isSatellite() { // This getter can run in environments where window is not available. // In those cases we should expect and use domain as a string @@ -655,13 +650,6 @@ export class IsomorphicClerk implements IsomorphicLoadedClerk { this.on('status', listener, { notify: true }); }); - // @ts-expect-error - queryClientStatus is not typed - this.#eventBus.internal.retrieveListeners('queryClientStatus')?.forEach(listener => { - // Since clerkjs exists it will call `this.clerkjs.on('queryClientStatus', listener)` - // @ts-expect-error - queryClientStatus is not typed - this.on('queryClientStatus', listener, { notify: true }); - }); - if (this.preopenSignIn !== null) { clerkjs.openSignIn(this.preopenSignIn); } diff --git a/packages/shared/src/react/clerk-rq/__tests__/useBaseQuery.spec.tsx b/packages/shared/src/react/clerk-rq/__tests__/useBaseQuery.spec.tsx index 0172ab99f30..b658b8eb7bd 100644 --- a/packages/shared/src/react/clerk-rq/__tests__/useBaseQuery.spec.tsx +++ b/packages/shared/src/react/clerk-rq/__tests__/useBaseQuery.spec.tsx @@ -3,6 +3,7 @@ import React from 'react'; import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; import { createMockClerk, createMockQueryClient } from '../../hooks/__tests__/mocks/clerk'; +import { __resetClerkQueryClientForTest, __setClerkQueryClientForTest } from '../clerk-query-client'; import { useClerkInfiniteQuery } from '../useInfiniteQuery'; import { useClerkQuery } from '../useQuery'; @@ -16,22 +17,15 @@ vi.mock('../../contexts', () => ({ const wrapper = ({ children }: { children: React.ReactNode }) => <>{children}; -const makeClerkWithoutQueryClient = () => { - const mockClerk = createMockClerk({ queryClient: null }); - Object.defineProperty(mockClerk, '__internal_queryClient', { - get: () => undefined, - configurable: true, - }); - return mockClerk; -}; - afterEach(() => { vi.clearAllMocks(); + __resetClerkQueryClientForTest(); }); describe('useBaseQuery - dummy result while query client is not attached', () => { beforeEach(() => { - activeClerk = makeClerkWithoutQueryClient(); + activeClerk = createMockClerk({ queryClient: null }); + __setClerkQueryClientForTest(undefined); }); it('reports isLoading: true when the query would be enabled', () => { @@ -109,8 +103,8 @@ describe('useBaseQuery - dummy result while query client is not attached', () => describe('useBaseQuery - normal behavior once query client attaches', () => { it('delegates to the real observer when the query client is loaded', async () => { - const queryClient = createMockQueryClient(); - activeClerk = createMockClerk({ queryClient }); + createMockQueryClient(); + activeClerk = createMockClerk({ queryClient: undefined }); const queryFn = vi.fn(async () => 'result'); const { result } = renderHook( diff --git a/packages/shared/src/react/clerk-rq/clerk-query-client.ts b/packages/shared/src/react/clerk-rq/clerk-query-client.ts new file mode 100644 index 00000000000..0648711868a --- /dev/null +++ b/packages/shared/src/react/clerk-rq/clerk-query-client.ts @@ -0,0 +1,66 @@ +import { QueryClient } from '@tanstack/query-core'; + +/** + * The QueryClient backing every clerk-rq hook. Owned by `@clerk/shared` so the + * `QueryObserver` that observes it and the `Query` objects inside it always + * resolve to the same `@tanstack/query-core` (no cross-bundle drift between + * the consumer-side `@clerk/shared` and the production CDN `clerk-js` bundle). + * + * Lazily instantiated on the client only. Server-side renders return + * `undefined` so per-request renders never share a cache across requests. + */ +let clerkQueryClient: QueryClient | undefined; +let initialized = false; + +export function getClerkQueryClient(): QueryClient | undefined { + if (typeof window === 'undefined') { + return undefined; + } + if (!initialized) { + clerkQueryClient = new QueryClient(); + initialized = true; + } + return clerkQueryClient; +} + +/** + * Test-only: install a custom client (for deterministic defaults like + * `staleTime: Infinity`) or pass `undefined` to simulate the "no client" + * state without triggering lazy creation on subsequent reads. + */ +export function __setClerkQueryClientForTest(client: QueryClient | undefined): void { + clerkQueryClient = client; + initialized = true; +} + +/** + * Test-only: build and install a fresh `QueryClient` with deterministic + * defaults (no retries, infinite stale time, no refetching). Returns the + * client so the spec can read/write its cache directly. + * + * Avoids forcing every test consumer to depend on `@tanstack/query-core`. + */ +export function __createClerkTestQueryClient(): QueryClient { + const client = new QueryClient({ + defaultOptions: { + queries: { + retry: false, + staleTime: Infinity, + refetchOnWindowFocus: false, + refetchOnReconnect: false, + refetchOnMount: false, + }, + }, + }); + __setClerkQueryClientForTest(client); + return client; +} + +/** + * Test-only: clear both the override and the initialization flag so the + * next read lazy-creates a fresh client. + */ +export function __resetClerkQueryClientForTest(): void { + clerkQueryClient = undefined; + initialized = false; +} diff --git a/packages/shared/src/react/clerk-rq/use-clerk-query-client.ts b/packages/shared/src/react/clerk-rq/use-clerk-query-client.ts index 1875742240b..ede35b0a8f0 100644 --- a/packages/shared/src/react/clerk-rq/use-clerk-query-client.ts +++ b/packages/shared/src/react/clerk-rq/use-clerk-query-client.ts @@ -1,7 +1,6 @@ import type { QueryClient } from '@tanstack/query-core'; -import { useEffect, useState } from 'react'; -import { useClerkInstanceContext } from '../contexts'; +import { getClerkQueryClient } from './clerk-query-client'; export type RecursiveMock = { (...args: unknown[]): RecursiveMock; @@ -57,28 +56,14 @@ function createRecursiveProxy(label: string): RecursiveMock { const mockQueryClient = createRecursiveProxy('ClerkMockQueryClient') as unknown as QueryClient; +/** + * Returns `[client, isLoaded]`. The real client is owned by `@clerk/shared` + * and lazily instantiated on the browser only — SSR returns the proxy mock + * + `isLoaded: false` so per-request renders never share a query cache. + */ const useClerkQueryClient = (): [QueryClient, boolean] => { - const clerk = useClerkInstanceContext(); - - // @ts-expect-error - __internal_queryClient is not typed - const queryClient = clerk.__internal_queryClient as { __tag: 'clerk-rq-client'; client: QueryClient } | undefined; - const [, setQueryClientLoaded] = useState( - typeof queryClient === 'object' && '__tag' in queryClient && queryClient.__tag === 'clerk-rq-client', - ); - - useEffect(() => { - const _setQueryClientLoaded = () => setQueryClientLoaded(true); - // @ts-expect-error - queryClientStatus is not typed - clerk.on('queryClientStatus', _setQueryClientLoaded); - return () => { - // @ts-expect-error - queryClientStatus is not typed - clerk.off('queryClientStatus', _setQueryClientLoaded); - }; - }, [clerk, setQueryClientLoaded]); - - const isLoaded = typeof queryClient === 'object' && '__tag' in queryClient && queryClient.__tag === 'clerk-rq-client'; - - return [queryClient?.client || mockQueryClient, isLoaded]; + const client = getClerkQueryClient(); + return [client ?? mockQueryClient, Boolean(client)]; }; export { useClerkQueryClient }; diff --git a/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts b/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts index cf1a5c88c2e..81f3823bc85 100644 --- a/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts +++ b/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts @@ -1,33 +1,49 @@ import { QueryClient } from '@tanstack/query-core'; import { vi } from 'vitest'; +import { __setClerkQueryClientForTest } from '../../../clerk-rq/clerk-query-client'; + /** - * Shared query client configuration for tests + * Builds a deterministic QueryClient and installs it as the shared singleton. + * Returns the legacy `{__tag, client}` shape so existing specs that read + * `.client.setQueryData(...)` keep working without churn. */ export function createMockQueryClient() { + const client = new QueryClient({ + defaultOptions: { + queries: { + retry: false, + staleTime: Infinity, + refetchOnWindowFocus: false, + refetchOnReconnect: false, + refetchOnMount: false, + }, + }, + }); + __setClerkQueryClientForTest(client); return { __tag: 'clerk-rq-client' as const, - client: new QueryClient({ - defaultOptions: { - queries: { - retry: false, - staleTime: Infinity, - refetchOnWindowFocus: false, - refetchOnReconnect: false, - refetchOnMount: false, - }, - }, - }), + client, }; } /** - * Simple mock Clerk factory with common properties + * Simple mock Clerk factory with common properties. The clerk-rq query client + * is no longer attached to the Clerk instance — pass `queryClient: null` to + * reset the shared singleton, or omit the option to install a fresh default. */ export function createMockClerk(overrides: any = {}) { - const queryClient = overrides.queryClient || createMockQueryClient(); + if (overrides.queryClient === null) { + __setClerkQueryClientForTest(undefined); + } else if (overrides.queryClient === undefined) { + createMockQueryClient(); + } + // Caller-supplied queryClient (the {__tag, client} wrapper) is already + // installed by createMockQueryClient at the test's top-level — nothing to do. - const mockClerk: any = { + const { queryClient: _ignored, ...rest } = overrides; + + return { loaded: true, telemetry: { record: vi.fn() }, on: vi.fn(), @@ -47,18 +63,8 @@ export function createMockClerk(overrides: any = {}) { }, }, }, - ...overrides, + ...rest, }; - - // Add query client as getter if not already set - if (!Object.getOwnPropertyDescriptor(mockClerk, '__internal_queryClient')) { - Object.defineProperty(mockClerk, '__internal_queryClient', { - get: vi.fn(() => queryClient), - configurable: true, - }); - } - - return mockClerk; } export function createMockUser(overrides: any = {}) { diff --git a/packages/shared/src/react/index.ts b/packages/shared/src/react/index.ts index bdc007dc0f8..01e2ce9b3ba 100644 --- a/packages/shared/src/react/index.ts +++ b/packages/shared/src/react/index.ts @@ -18,3 +18,10 @@ export { ClerkContextProvider } from './ClerkContextProvider'; export * from './billing/payment-element'; export { UNSAFE_PortalProvider, usePortalRoot } from './PortalProvider'; + +export { + __createClerkTestQueryClient, + __resetClerkQueryClientForTest, + __setClerkQueryClientForTest, + getClerkQueryClient, +} from './clerk-rq/clerk-query-client'; diff --git a/packages/ui/src/test/mock-helpers.ts b/packages/ui/src/test/mock-helpers.ts index 35bcb54a8f6..0f3ca058649 100644 --- a/packages/ui/src/test/mock-helpers.ts +++ b/packages/ui/src/test/mock-helpers.ts @@ -1,7 +1,7 @@ +import { __createClerkTestQueryClient } from '@clerk/shared/react'; import type { ActiveSessionResource, LoadedClerk } from '@clerk/shared/types'; import { type Mocked, vi } from 'vitest'; -import { QueryClient } from '@/core/query-core'; import type { RouteContextValue } from '@/ui/router'; type FunctionLike = (...args: any) => any; @@ -46,19 +46,7 @@ export const mockClerkMethods = (clerk: LoadedClerk): DeepVitestMocked defaultQueryClient), - configurable: true, - }); - mockProp(clerkAny, 'navigate'); mockProp(clerkAny, 'setActive'); mockProp(clerkAny, 'redirectWithAuth'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42254765f3e..0ae23cece3e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -437,9 +437,6 @@ importers: '@swc/helpers': specifier: catalog:repo version: 0.5.21 - '@tanstack/query-core': - specifier: ^5.100.5 - version: 5.100.5 '@wallet-standard/core': specifier: catalog:module-manager version: 1.1.1 @@ -661,7 +658,7 @@ importers: devDependencies: hono: specifier: ^4.12.14 - version: 4.12.14 + version: 4.12.15 packages/localizations: dependencies: @@ -2588,7 +2585,7 @@ packages: '@expo/bunyan@4.0.1': resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==} - engines: {'0': node >=0.10.0} + engines: {node: '>=0.10.0'} '@expo/cli@0.22.28': resolution: {integrity: sha512-lvt72KNitGuixYD2l3SZmRKVu2G4zJpmg5V7WfUBNpmUU5oODBw/6qmiJ6kSLAlfDozscUk+BBGknBBzxUrwrA==} @@ -5880,9 +5877,6 @@ packages: ajv@6.14.0: resolution: {integrity: sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==} - ajv@8.18.0: - resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} - ajv@8.20.0: resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} @@ -8887,10 +8881,6 @@ packages: hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} - hono@4.12.14: - resolution: {integrity: sha512-am5zfg3yu6sqn5yjKBNqhnTX7Cv+m00ox+7jbaKkrLMRJ4rAdldd1xPd/JzbBWspqaQv6RSTrgFN95EsfhC+7w==} - engines: {node: '>=16.9.0'} - hono@4.12.15: resolution: {integrity: sha512-qM0jDhFEaCBb4TxoW7f53Qrpv9RBiayUHo0S52JudprkhvpjIrGoU1mnnr29Fvd1U335ZFPZQY1wlkqgfGXyLg==} engines: {node: '>=16.9.0'} @@ -13076,10 +13066,6 @@ packages: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} - tapable@2.3.2: - resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==} - engines: {node: '>=6'} - tapable@2.3.3: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} @@ -13137,11 +13123,6 @@ packages: uglify-js: optional: true - terser@5.46.1: - resolution: {integrity: sha512-vzCjQO/rgUuK9sf8VJZvjqiqiHFaZLnOiimmUuOKODxWL8mm/xua7viT7aqX7dgPY60otQjUotzFMmCB4VdmqQ==} - engines: {node: '>=10'} - hasBin: true - terser@5.46.2: resolution: {integrity: sha512-uxfo9fPcSgLDYob/w1FuL0c99MWiJDnv+5qXSQc5+Ki5NjVNsYi66INnMFBjf6uFz6OnX12piJQPF4IpjJTNTw==} engines: {node: '>=10'} @@ -13853,6 +13834,7 @@ packages: uuid@7.0.3: resolution: {integrity: sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true uuid@8.3.2: @@ -15888,7 +15870,7 @@ snapshots: '@commitlint/config-validator@20.5.0': dependencies: '@commitlint/types': 20.5.0 - ajv: 8.18.0 + ajv: 8.20.0 '@commitlint/ensure@20.5.0': dependencies: @@ -16977,8 +16959,8 @@ snapshots: '@fastify/ajv-compiler@4.0.5': dependencies: - ajv: 8.18.0 - ajv-formats: 3.0.1(ajv@8.18.0) + ajv: 8.20.0 + ajv-formats: 3.0.1(ajv@8.20.0) fast-uri: 3.1.0 '@fastify/busboy@2.1.1': {} @@ -17295,7 +17277,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 25.6.0 + '@types/node': 22.19.17 '@types/yargs': 15.0.20 chalk: 4.1.2 optional: true @@ -18802,7 +18784,7 @@ snapshots: dependencies: serialize-javascript: 6.0.2 smob: 1.5.0 - terser: 5.46.1 + terser: 5.46.2 optionalDependencies: rollup: 4.53.1 @@ -20074,6 +20056,7 @@ snapshots: '@types/node@25.6.0': dependencies: undici-types: 7.19.2 + optional: true '@types/normalize-package-data@2.4.4': {} @@ -20149,7 +20132,7 @@ snapshots: '@types/tapable@2.2.7': dependencies: - tapable: 2.3.2 + tapable: 2.3.3 '@types/unist@3.0.3': {} @@ -20161,7 +20144,7 @@ snapshots: '@types/ws@7.4.7': dependencies: - '@types/node': 12.20.55 + '@types/node': 22.19.17 '@types/ws@8.18.1': dependencies: @@ -20893,22 +20876,17 @@ snapshots: clean-stack: 4.2.0 indent-string: 5.0.0 - ajv-formats@2.1.1(ajv@8.18.0): - optionalDependencies: - ajv: 8.18.0 - - ajv-formats@3.0.1(ajv@8.18.0): + ajv-formats@2.1.1(ajv@8.20.0): optionalDependencies: - ajv: 8.18.0 + ajv: 8.20.0 ajv-formats@3.0.1(ajv@8.20.0): optionalDependencies: ajv: 8.20.0 - optional: true - ajv-keywords@5.1.0(ajv@8.18.0): + ajv-keywords@5.1.0(ajv@8.20.0): dependencies: - ajv: 8.18.0 + ajv: 8.20.0 fast-deep-equal: 3.1.3 ajv@6.14.0: @@ -20918,20 +20896,12 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 - ajv@8.18.0: - dependencies: - fast-deep-equal: 3.1.3 - fast-uri: 3.1.0 - json-schema-traverse: 1.0.0 - require-from-string: 2.0.2 - ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 fast-uri: 3.1.0 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - optional: true alien-signals@2.0.6: {} @@ -22959,7 +22929,7 @@ snapshots: enhanced-resolve@5.12.0: dependencies: graceful-fs: 4.2.11 - tapable: 2.3.2 + tapable: 2.3.3 enhanced-resolve@5.21.0: dependencies: @@ -23942,8 +23912,8 @@ snapshots: fast-json-stringify@6.1.1: dependencies: '@fastify/merge-json-schemas': 0.2.1 - ajv: 8.18.0 - ajv-formats: 3.0.1(ajv@8.18.0) + ajv: 8.20.0 + ajv-formats: 3.0.1(ajv@8.20.0) fast-uri: 3.1.0 json-schema-ref-resolver: 3.0.0 rfdc: 1.4.1 @@ -24675,10 +24645,7 @@ snapshots: dependencies: react-is: 16.13.1 - hono@4.12.14: {} - - hono@4.12.15: - optional: true + hono@4.12.15: {} hookable@5.5.3: {} @@ -25355,7 +25322,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 25.6.0 + '@types/node': 22.19.17 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -26366,7 +26333,7 @@ snapshots: metro-minify-terser@0.83.3: dependencies: flow-enums-runtime: 0.0.6 - terser: 5.46.1 + terser: 5.46.2 metro-resolver@0.83.2: dependencies: @@ -29024,9 +28991,9 @@ snapshots: schema-utils@4.3.3: dependencies: '@types/json-schema': 7.0.15 - ajv: 8.18.0 - ajv-formats: 2.1.1(ajv@8.18.0) - ajv-keywords: 5.1.0(ajv@8.18.0) + ajv: 8.20.0 + ajv-formats: 2.1.1(ajv@8.20.0) + ajv-keywords: 5.1.0(ajv@8.20.0) scule@1.3.0: {} @@ -29849,8 +29816,6 @@ snapshots: tapable@2.2.1: {} - tapable@2.3.2: {} - tapable@2.3.3: {} tar-stream@3.1.7: @@ -29912,13 +29877,6 @@ snapshots: optionalDependencies: esbuild: 0.27.7 - terser@5.46.1: - dependencies: - '@jridgewell/source-map': 0.3.11 - acorn: 8.16.0 - commander: 2.20.3 - source-map-support: 0.5.21 - terser@5.46.2: dependencies: '@jridgewell/source-map': 0.3.11 @@ -30318,7 +30276,8 @@ snapshots: undici-types@6.21.0: {} - undici-types@7.19.2: {} + undici-types@7.19.2: + optional: true undici@5.28.4: dependencies: From c93141d226117ce4faa1fa54731c04347f72cbb1 Mon Sep 17 00:00:00 2001 From: Jacek Date: Thu, 30 Apr 2026 13:48:39 -0500 Subject: [PATCH 3/9] chore: drop already-released changeset --- .changeset/raise-query-core-floor.md | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .changeset/raise-query-core-floor.md diff --git a/.changeset/raise-query-core-floor.md b/.changeset/raise-query-core-floor.md deleted file mode 100644 index 4be941e8936..00000000000 --- a/.changeset/raise-query-core-floor.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@clerk/shared': patch -'@clerk/clerk-js': patch ---- - -Raise the `@tanstack/query-core` floor to `^5.100.5` 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. - -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. From 3021aaf4f1ca1fb869272f1e0b38af35f49010e2 Mon Sep 17 00:00:00 2001 From: Jacek Date: Thu, 30 Apr 2026 21:10:44 -0500 Subject: [PATCH 4/9] fix(clerk-js): drop query-core-vendors chunk split --- packages/clerk-js/bundlewatch.config.json | 1 - packages/clerk-js/rspack.config.js | 6 ------ 2 files changed, 7 deletions(-) diff --git a/packages/clerk-js/bundlewatch.config.json b/packages/clerk-js/bundlewatch.config.json index 5b44126e81d..faea6f4e82c 100644 --- a/packages/clerk-js/bundlewatch.config.json +++ b/packages/clerk-js/bundlewatch.config.json @@ -9,7 +9,6 @@ { "path": "./dist/coinbase*.js", "maxSize": "36KB" }, { "path": "./dist/base-account-sdk*.js", "maxSize": "203KB" }, { "path": "./dist/stripe-vendors*.js", "maxSize": "1KB" }, - { "path": "./dist/query-core-vendors*.js", "maxSize": "11KB" }, { "path": "./dist/zxcvbn-ts-core*.js", "maxSize": "12KB" }, { "path": "./dist/zxcvbn-common*.js", "maxSize": "226KB" } ] diff --git a/packages/clerk-js/rspack.config.js b/packages/clerk-js/rspack.config.js index d0d50fc816e..ba99183e24a 100644 --- a/packages/clerk-js/rspack.config.js +++ b/packages/clerk-js/rspack.config.js @@ -110,12 +110,6 @@ const common = ({ mode, variant, disableRHC = false }) => { chunks: 'all', enforce: true, }, - queryCoreVendor: { - test: /[\\/]node_modules[\\/](@tanstack\/query-core)[\\/]/, - name: 'query-core-vendors', - chunks: 'all', - enforce: true, - }, defaultVendors: { minChunks: 1, test: module => { From b0a9abb2414c996631f1668c2fc30a76e01107e1 Mon Sep 17 00:00:00 2001 From: Jacek Date: Thu, 30 Apr 2026 21:46:41 -0500 Subject: [PATCH 5/9] fix(ui): bump bundlewatch limits for query-core ownership inversion --- packages/ui/bundlewatch.config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/bundlewatch.config.json b/packages/ui/bundlewatch.config.json index ef2cfab0ea3..fe02ae1b6d5 100644 --- a/packages/ui/bundlewatch.config.json +++ b/packages/ui/bundlewatch.config.json @@ -1,7 +1,7 @@ { "files": [ - { "path": "./dist/ui.browser.js", "maxSize": "36KB" }, - { "path": "./dist/ui.legacy.browser.js", "maxSize": "76KB" }, + { "path": "./dist/ui.browser.js", "maxSize": "42KB" }, + { "path": "./dist/ui.legacy.browser.js", "maxSize": "84KB" }, { "path": "./dist/framework*.js", "maxSize": "44KB" }, { "path": "./dist/vendors*.js", "maxSize": "73KB" }, { "path": "./dist/ui-common*.js", "maxSize": "130KB" }, From a87be02daa5efcd09da3a15cc10336907c6ebbc3 Mon Sep 17 00:00:00 2001 From: Jacek Date: Thu, 30 Apr 2026 22:16:22 -0500 Subject: [PATCH 6/9] fix(shared): use @/ alias in mocks/clerk.ts to satisfy lint depth rule --- packages/shared/src/react/hooks/__tests__/mocks/clerk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts b/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts index 81f3823bc85..fb03bc40cab 100644 --- a/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts +++ b/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts @@ -1,7 +1,7 @@ import { QueryClient } from '@tanstack/query-core'; import { vi } from 'vitest'; -import { __setClerkQueryClientForTest } from '../../../clerk-rq/clerk-query-client'; +import { __setClerkQueryClientForTest } from '@/react/clerk-rq/clerk-query-client'; /** * Builds a deterministic QueryClient and installs it as the shared singleton. From affd00d8c769041f0644ba1748803f4666b5ff4d Mon Sep 17 00:00:00 2001 From: Jacek Date: Fri, 1 May 2026 22:10:06 -0500 Subject: [PATCH 7/9] test(shared): cover clerk-rq QueryClient singleton invariants --- .../__tests__/clerk-query-client.spec.ts | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 packages/shared/src/react/clerk-rq/__tests__/clerk-query-client.spec.ts diff --git a/packages/shared/src/react/clerk-rq/__tests__/clerk-query-client.spec.ts b/packages/shared/src/react/clerk-rq/__tests__/clerk-query-client.spec.ts new file mode 100644 index 00000000000..0d3e8eba0ad --- /dev/null +++ b/packages/shared/src/react/clerk-rq/__tests__/clerk-query-client.spec.ts @@ -0,0 +1,84 @@ +import { QueryClient } from '@tanstack/query-core'; +import { afterEach, describe, expect, it, vi } from 'vitest'; + +import { + __createClerkTestQueryClient, + __resetClerkQueryClientForTest, + __setClerkQueryClientForTest, + getClerkQueryClient, +} from '../clerk-query-client'; + +afterEach(() => { + vi.unstubAllGlobals(); + __resetClerkQueryClientForTest(); +}); + +describe('getClerkQueryClient', () => { + it('returns undefined when window is not defined (SSR)', () => { + vi.stubGlobal('window', undefined); + + expect(getClerkQueryClient()).toBeUndefined(); + }); + + it('does not cache the SSR undefined — a later browser call still creates a client', () => { + vi.stubGlobal('window', undefined); + expect(getClerkQueryClient()).toBeUndefined(); + + vi.unstubAllGlobals(); + const client = getClerkQueryClient(); + expect(client).toBeInstanceOf(QueryClient); + }); + + it('lazy-creates a singleton on the browser and returns the same instance on repeated calls', () => { + const first = getClerkQueryClient(); + const second = getClerkQueryClient(); + + expect(first).toBeInstanceOf(QueryClient); + expect(second).toBe(first); + }); +}); + +describe('__resetClerkQueryClientForTest', () => { + it('clears the singleton so the next read lazy-creates a fresh client', () => { + const original = getClerkQueryClient(); + expect(original).toBeInstanceOf(QueryClient); + + __resetClerkQueryClientForTest(); + + const next = getClerkQueryClient(); + expect(next).toBeInstanceOf(QueryClient); + expect(next).not.toBe(original); + }); +}); + +describe('__setClerkQueryClientForTest', () => { + it('installs a caller-supplied client and returns it from getClerkQueryClient', () => { + const custom = new QueryClient(); + __setClerkQueryClientForTest(custom); + + expect(getClerkQueryClient()).toBe(custom); + }); + + it('installs the "no client" state without triggering lazy creation on subsequent reads', () => { + __setClerkQueryClientForTest(undefined); + + expect(getClerkQueryClient()).toBeUndefined(); + expect(getClerkQueryClient()).toBeUndefined(); + }); +}); + +describe('__createClerkTestQueryClient', () => { + it('returns a QueryClient with deterministic defaults and installs it as the singleton', () => { + const client = __createClerkTestQueryClient(); + + expect(client).toBeInstanceOf(QueryClient); + expect(getClerkQueryClient()).toBe(client); + + const defaults = client.getDefaultOptions().queries; + expect(defaults?.retry).toBe(false); + expect(defaults?.staleTime).toBe(Infinity); + expect(defaults?.refetchOnWindowFocus).toBe(false); + expect(defaults?.refetchOnReconnect).toBe(false); + expect(defaults?.refetchOnMount).toBe(false); + }); +}); From 550cbdd473d8a0098a3095f34dbbc083bddaff53 Mon Sep 17 00:00:00 2001 From: Jacek Date: Sat, 2 May 2026 07:24:52 -0500 Subject: [PATCH 8/9] refactor(shared): rename clerk-rq directory to query --- .changeset/rename-clerk-rq-to-query.md | 2 ++ .../src/react/billing/useInitializePaymentMethod.tsx | 6 +++--- packages/shared/src/react/billing/useStripeClerkLibs.tsx | 4 ++-- packages/shared/src/react/billing/useStripeLoader.tsx | 4 ++-- packages/shared/src/react/hooks/__tests__/mocks/clerk.ts | 4 ++-- .../hooks/__tests__/useClearQueriesOnSignOut.spec.ts | 2 +- .../shared/src/react/hooks/useClearQueriesOnSignOut.ts | 2 +- packages/shared/src/react/hooks/useOAuthConsent.tsx | 4 ++-- .../src/react/hooks/useOrganizationCreationDefaults.tsx | 4 ++-- packages/shared/src/react/hooks/usePagesOrInfinite.tsx | 8 ++++---- .../shared/src/react/hooks/usePaymentAttemptQuery.tsx | 4 ++-- packages/shared/src/react/hooks/usePlanDetailsQuery.tsx | 4 ++-- packages/shared/src/react/hooks/useStatementQuery.tsx | 4 ++-- packages/shared/src/react/hooks/useSubscription.tsx | 6 +++--- .../src/react/hooks/useUserEnterpriseConnections.tsx | 6 +++--- packages/shared/src/react/index.ts | 2 +- .../__tests__/clerk-query-client.spec.ts | 0 .../{clerk-rq => query}/__tests__/useBaseQuery.spec.tsx | 0 .../src/react/{clerk-rq => query}/clerk-query-client.ts | 2 +- .../src/react/{clerk-rq => query}/infiniteQueryOptions.ts | 0 .../src/react/{clerk-rq => query}/keep-previous-data.ts | 0 .../shared/src/react/{clerk-rq => query}/queryOptions.ts | 0 packages/shared/src/react/{clerk-rq => query}/types.ts | 0 .../react/{clerk-rq => query}/use-clerk-query-client.ts | 0 .../shared/src/react/{clerk-rq => query}/useBaseQuery.ts | 0 .../src/react/{clerk-rq => query}/useInfiniteQuery.ts | 0 packages/shared/src/react/{clerk-rq => query}/useQuery.ts | 0 27 files changed, 35 insertions(+), 33 deletions(-) create mode 100644 .changeset/rename-clerk-rq-to-query.md rename packages/shared/src/react/{clerk-rq => query}/__tests__/clerk-query-client.spec.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/__tests__/useBaseQuery.spec.tsx (100%) rename packages/shared/src/react/{clerk-rq => query}/clerk-query-client.ts (96%) rename packages/shared/src/react/{clerk-rq => query}/infiniteQueryOptions.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/keep-previous-data.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/queryOptions.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/types.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/use-clerk-query-client.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/useBaseQuery.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/useInfiniteQuery.ts (100%) rename packages/shared/src/react/{clerk-rq => query}/useQuery.ts (100%) diff --git a/.changeset/rename-clerk-rq-to-query.md b/.changeset/rename-clerk-rq-to-query.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/rename-clerk-rq-to-query.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/shared/src/react/billing/useInitializePaymentMethod.tsx b/packages/shared/src/react/billing/useInitializePaymentMethod.tsx index 7842b28126e..27eb89281ea 100644 --- a/packages/shared/src/react/billing/useInitializePaymentMethod.tsx +++ b/packages/shared/src/react/billing/useInitializePaymentMethod.tsx @@ -1,9 +1,9 @@ import { useCallback, useMemo } from 'react'; import type { BillingInitializedPaymentMethodResource, ForPayerType } from '../../types'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQueryClient } from '../clerk-rq/use-clerk-query-client'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQueryClient } from '../query/use-clerk-query-client'; +import { useClerkQuery } from '../query/useQuery'; import { useOrganizationBase } from '../hooks/base/useOrganizationBase'; import { useUserBase } from '../hooks/base/useUserBase'; import { useBillingIsEnabled } from '../hooks/useBillingIsEnabled'; diff --git a/packages/shared/src/react/billing/useStripeClerkLibs.tsx b/packages/shared/src/react/billing/useStripeClerkLibs.tsx index 3a499ae36bc..51493f2e034 100644 --- a/packages/shared/src/react/billing/useStripeClerkLibs.tsx +++ b/packages/shared/src/react/billing/useStripeClerkLibs.tsx @@ -1,7 +1,7 @@ import type { loadStripe } from '@stripe/stripe-js'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useClerk } from '../hooks/useClerk'; type LoadStripeFn = typeof loadStripe; diff --git a/packages/shared/src/react/billing/useStripeLoader.tsx b/packages/shared/src/react/billing/useStripeLoader.tsx index 7b6d9e097c7..2e624f9ed9c 100644 --- a/packages/shared/src/react/billing/useStripeLoader.tsx +++ b/packages/shared/src/react/billing/useStripeLoader.tsx @@ -1,8 +1,8 @@ import type { Stripe } from '@stripe/stripe-js'; import { useMemo } from 'react'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useBillingIsEnabled } from '../hooks/useBillingIsEnabled'; import type { UseStripeClerkLibsResult } from './useStripeClerkLibs'; diff --git a/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts b/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts index fb03bc40cab..f7dccfc1acc 100644 --- a/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts +++ b/packages/shared/src/react/hooks/__tests__/mocks/clerk.ts @@ -1,7 +1,7 @@ import { QueryClient } from '@tanstack/query-core'; import { vi } from 'vitest'; -import { __setClerkQueryClientForTest } from '@/react/clerk-rq/clerk-query-client'; +import { __setClerkQueryClientForTest } from '@/react/query/clerk-query-client'; /** * Builds a deterministic QueryClient and installs it as the shared singleton. @@ -28,7 +28,7 @@ export function createMockQueryClient() { } /** - * Simple mock Clerk factory with common properties. The clerk-rq query client + * Simple mock Clerk factory with common properties. The shared query client * is no longer attached to the Clerk instance — pass `queryClient: null` to * reset the shared singleton, or omit the option to install a fresh default. */ diff --git a/packages/shared/src/react/hooks/__tests__/useClearQueriesOnSignOut.spec.ts b/packages/shared/src/react/hooks/__tests__/useClearQueriesOnSignOut.spec.ts index 046d6e9c51a..e134f9cd4a0 100644 --- a/packages/shared/src/react/hooks/__tests__/useClearQueriesOnSignOut.spec.ts +++ b/packages/shared/src/react/hooks/__tests__/useClearQueriesOnSignOut.spec.ts @@ -6,7 +6,7 @@ import { createMockQueryClient } from './mocks/clerk'; const mockQueryClient = createMockQueryClient(); -vi.mock('../../clerk-rq/use-clerk-query-client', () => ({ +vi.mock('../../query/use-clerk-query-client', () => ({ useClerkQueryClient: () => [mockQueryClient.client], })); diff --git a/packages/shared/src/react/hooks/useClearQueriesOnSignOut.ts b/packages/shared/src/react/hooks/useClearQueriesOnSignOut.ts index ddf95198123..25ae0847e34 100644 --- a/packages/shared/src/react/hooks/useClearQueriesOnSignOut.ts +++ b/packages/shared/src/react/hooks/useClearQueriesOnSignOut.ts @@ -1,6 +1,6 @@ import { useEffect, useRef } from 'react'; -import { useClerkQueryClient } from '../clerk-rq/use-clerk-query-client'; +import { useClerkQueryClient } from '../query/use-clerk-query-client'; import { usePreviousValue } from './usePreviousValue'; export const withInfiniteKey = (key: T) => [key, `${key}-inf`] as const; diff --git a/packages/shared/src/react/hooks/useOAuthConsent.tsx b/packages/shared/src/react/hooks/useOAuthConsent.tsx index aba685682d9..0e4951e7aa3 100644 --- a/packages/shared/src/react/hooks/useOAuthConsent.tsx +++ b/packages/shared/src/react/hooks/useOAuthConsent.tsx @@ -1,7 +1,7 @@ import { eventMethodCalled } from '../../telemetry/events/method-called'; import type { LoadedClerk } from '../../types/clerk'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { useUserBase } from './base/useUserBase'; import { useOAuthConsentCacheKeys } from './useOAuthConsent.shared'; diff --git a/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx b/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx index 2a39e5ae187..78b6a1b9fc1 100644 --- a/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx +++ b/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx @@ -1,7 +1,7 @@ import { eventMethodCalled } from '../../telemetry/events/method-called'; import type { EnvironmentResource } from '../../types/environment'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { useUserBase } from './base/useUserBase'; import { useOrganizationCreationDefaultsCacheKeys } from './useOrganizationCreationDefaults.shared'; diff --git a/packages/shared/src/react/hooks/usePagesOrInfinite.tsx b/packages/shared/src/react/hooks/usePagesOrInfinite.tsx index 64b153227cf..9cd43da7f8e 100644 --- a/packages/shared/src/react/hooks/usePagesOrInfinite.tsx +++ b/packages/shared/src/react/hooks/usePagesOrInfinite.tsx @@ -1,10 +1,10 @@ import { useCallback, useMemo, useRef, useState } from 'react'; import type { ClerkPaginatedResponse } from '../../types'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQueryClient } from '../clerk-rq/use-clerk-query-client'; -import { useClerkInfiniteQuery } from '../clerk-rq/useInfiniteQuery'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQueryClient } from '../query/use-clerk-query-client'; +import { useClerkInfiniteQuery } from '../query/useInfiniteQuery'; +import { useClerkQuery } from '../query/useQuery'; import type { CacheSetter, ValueOrSetter } from '../types'; import { useClearQueriesOnSignOut, withInfiniteKey } from './useClearQueriesOnSignOut'; import type { UsePagesOrInfiniteSignature } from './usePageOrInfinite.types'; diff --git a/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx b/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx index 70644cbd1e7..75049e6bd9a 100644 --- a/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx +++ b/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx @@ -1,5 +1,5 @@ -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useClerkInstanceContext } from '../contexts'; import { useOrganizationBase } from './base/useOrganizationBase'; import { useUserBase } from './base/useUserBase'; diff --git a/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx b/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx index 9bffbc0e578..5f4c99cb5d2 100644 --- a/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx +++ b/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx @@ -1,5 +1,5 @@ -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useClerkInstanceContext } from '../contexts'; import { useBillingIsEnabled } from './useBillingIsEnabled'; import { usePlanDetailsQueryCacheKeys } from './usePlanDetailsQuery.shared'; diff --git a/packages/shared/src/react/hooks/useStatementQuery.tsx b/packages/shared/src/react/hooks/useStatementQuery.tsx index 864bfd894e3..938dfa615c9 100644 --- a/packages/shared/src/react/hooks/useStatementQuery.tsx +++ b/packages/shared/src/react/hooks/useStatementQuery.tsx @@ -1,5 +1,5 @@ -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQuery } from '../query/useQuery'; import { useClerkInstanceContext } from '../contexts'; import { useOrganizationBase } from './base/useOrganizationBase'; import { useUserBase } from './base/useUserBase'; diff --git a/packages/shared/src/react/hooks/useSubscription.tsx b/packages/shared/src/react/hooks/useSubscription.tsx index 62bbeff7c9a..86456bd9251 100644 --- a/packages/shared/src/react/hooks/useSubscription.tsx +++ b/packages/shared/src/react/hooks/useSubscription.tsx @@ -1,9 +1,9 @@ import { useCallback, useEffect, useRef } from 'react'; import { eventMethodCalled } from '../../telemetry/events'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQueryClient } from '../clerk-rq/use-clerk-query-client'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQueryClient } from '../query/use-clerk-query-client'; +import { useClerkQuery } from '../query/useQuery'; import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { useOrganizationBase } from './base/useOrganizationBase'; import { useUserBase } from './base/useUserBase'; diff --git a/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx b/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx index 101224a0ceb..5963128f29c 100644 --- a/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx +++ b/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx @@ -6,9 +6,9 @@ import type { EnterpriseConnectionResource, UpdateMeEnterpriseConnectionParams, } from '../../types/enterpriseConnection'; -import { defineKeepPreviousDataFn } from '../clerk-rq/keep-previous-data'; -import { useClerkQueryClient } from '../clerk-rq/use-clerk-query-client'; -import { useClerkQuery } from '../clerk-rq/useQuery'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQueryClient } from '../query/use-clerk-query-client'; +import { useClerkQuery } from '../query/useQuery'; import { useClerkInstanceContext } from '../contexts'; import { useUserBase } from './base/useUserBase'; import { useClearQueriesOnSignOut } from './useClearQueriesOnSignOut'; diff --git a/packages/shared/src/react/index.ts b/packages/shared/src/react/index.ts index 01e2ce9b3ba..41788b66de4 100644 --- a/packages/shared/src/react/index.ts +++ b/packages/shared/src/react/index.ts @@ -24,4 +24,4 @@ export { __resetClerkQueryClientForTest, __setClerkQueryClientForTest, getClerkQueryClient, -} from './clerk-rq/clerk-query-client'; +} from './query/clerk-query-client'; diff --git a/packages/shared/src/react/clerk-rq/__tests__/clerk-query-client.spec.ts b/packages/shared/src/react/query/__tests__/clerk-query-client.spec.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/__tests__/clerk-query-client.spec.ts rename to packages/shared/src/react/query/__tests__/clerk-query-client.spec.ts diff --git a/packages/shared/src/react/clerk-rq/__tests__/useBaseQuery.spec.tsx b/packages/shared/src/react/query/__tests__/useBaseQuery.spec.tsx similarity index 100% rename from packages/shared/src/react/clerk-rq/__tests__/useBaseQuery.spec.tsx rename to packages/shared/src/react/query/__tests__/useBaseQuery.spec.tsx diff --git a/packages/shared/src/react/clerk-rq/clerk-query-client.ts b/packages/shared/src/react/query/clerk-query-client.ts similarity index 96% rename from packages/shared/src/react/clerk-rq/clerk-query-client.ts rename to packages/shared/src/react/query/clerk-query-client.ts index 0648711868a..bb155d005f4 100644 --- a/packages/shared/src/react/clerk-rq/clerk-query-client.ts +++ b/packages/shared/src/react/query/clerk-query-client.ts @@ -1,7 +1,7 @@ import { QueryClient } from '@tanstack/query-core'; /** - * The QueryClient backing every clerk-rq hook. Owned by `@clerk/shared` so the + * The QueryClient backing every clerk-query hook. Owned by `@clerk/shared` so the * `QueryObserver` that observes it and the `Query` objects inside it always * resolve to the same `@tanstack/query-core` (no cross-bundle drift between * the consumer-side `@clerk/shared` and the production CDN `clerk-js` bundle). diff --git a/packages/shared/src/react/clerk-rq/infiniteQueryOptions.ts b/packages/shared/src/react/query/infiniteQueryOptions.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/infiniteQueryOptions.ts rename to packages/shared/src/react/query/infiniteQueryOptions.ts diff --git a/packages/shared/src/react/clerk-rq/keep-previous-data.ts b/packages/shared/src/react/query/keep-previous-data.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/keep-previous-data.ts rename to packages/shared/src/react/query/keep-previous-data.ts diff --git a/packages/shared/src/react/clerk-rq/queryOptions.ts b/packages/shared/src/react/query/queryOptions.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/queryOptions.ts rename to packages/shared/src/react/query/queryOptions.ts diff --git a/packages/shared/src/react/clerk-rq/types.ts b/packages/shared/src/react/query/types.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/types.ts rename to packages/shared/src/react/query/types.ts diff --git a/packages/shared/src/react/clerk-rq/use-clerk-query-client.ts b/packages/shared/src/react/query/use-clerk-query-client.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/use-clerk-query-client.ts rename to packages/shared/src/react/query/use-clerk-query-client.ts diff --git a/packages/shared/src/react/clerk-rq/useBaseQuery.ts b/packages/shared/src/react/query/useBaseQuery.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/useBaseQuery.ts rename to packages/shared/src/react/query/useBaseQuery.ts diff --git a/packages/shared/src/react/clerk-rq/useInfiniteQuery.ts b/packages/shared/src/react/query/useInfiniteQuery.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/useInfiniteQuery.ts rename to packages/shared/src/react/query/useInfiniteQuery.ts diff --git a/packages/shared/src/react/clerk-rq/useQuery.ts b/packages/shared/src/react/query/useQuery.ts similarity index 100% rename from packages/shared/src/react/clerk-rq/useQuery.ts rename to packages/shared/src/react/query/useQuery.ts From edca0c0afd9bc462ce69c9a19ae65a1d0b542f83 Mon Sep 17 00:00:00 2001 From: Jacek Date: Mon, 4 May 2026 20:05:31 -0500 Subject: [PATCH 9/9] =?UTF-8?q?fix(shared):=20sort=20imports=20after=20cle?= =?UTF-8?q?rk-rq=20=E2=86=92=20query=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shared/src/keyless/nodeFileStorage.ts | 1 + packages/shared/src/organization.ts | 1 + .../shared/src/react/billing/useInitializePaymentMethod.tsx | 6 +++--- packages/shared/src/react/billing/useStripeClerkLibs.tsx | 2 +- packages/shared/src/react/billing/useStripeLoader.tsx | 2 +- packages/shared/src/react/hooks/useOAuthConsent.tsx | 2 +- .../src/react/hooks/useOrganizationCreationDefaults.tsx | 2 +- packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx | 2 +- packages/shared/src/react/hooks/usePlanDetailsQuery.tsx | 2 +- packages/shared/src/react/hooks/useStatementQuery.tsx | 2 +- packages/shared/src/react/hooks/useSubscription.tsx | 2 +- .../shared/src/react/hooks/useUserEnterpriseConnections.tsx | 2 +- 12 files changed, 14 insertions(+), 12 deletions(-) diff --git a/packages/shared/src/keyless/nodeFileStorage.ts b/packages/shared/src/keyless/nodeFileStorage.ts index 512747018ba..afb4115a6c2 100644 --- a/packages/shared/src/keyless/nodeFileStorage.ts +++ b/packages/shared/src/keyless/nodeFileStorage.ts @@ -15,6 +15,7 @@ export interface NodeFileStorageOptions { /** * The framework name for the README message. + * * @example '@clerk/nextjs' */ frameworkPackageName?: string; diff --git a/packages/shared/src/organization.ts b/packages/shared/src/organization.ts index 04071635de4..ab48e025654 100644 --- a/packages/shared/src/organization.ts +++ b/packages/shared/src/organization.ts @@ -2,6 +2,7 @@ import type { OrganizationMembershipResource } from './types'; /** * Finds the Organization membership for a given Organization ID from a list of memberships + * * @param organizationMemberships - Array of Organization memberships to search through * @param organizationId - ID of the Organization to find the membership for * @returns The matching Organization membership or undefined if not found diff --git a/packages/shared/src/react/billing/useInitializePaymentMethod.tsx b/packages/shared/src/react/billing/useInitializePaymentMethod.tsx index 27eb89281ea..ec52bbc64f7 100644 --- a/packages/shared/src/react/billing/useInitializePaymentMethod.tsx +++ b/packages/shared/src/react/billing/useInitializePaymentMethod.tsx @@ -1,13 +1,13 @@ import { useCallback, useMemo } from 'react'; import type { BillingInitializedPaymentMethodResource, ForPayerType } from '../../types'; -import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; -import { useClerkQueryClient } from '../query/use-clerk-query-client'; -import { useClerkQuery } from '../query/useQuery'; import { useOrganizationBase } from '../hooks/base/useOrganizationBase'; import { useUserBase } from '../hooks/base/useUserBase'; import { useBillingIsEnabled } from '../hooks/useBillingIsEnabled'; import { useClearQueriesOnSignOut } from '../hooks/useClearQueriesOnSignOut'; +import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; +import { useClerkQueryClient } from '../query/use-clerk-query-client'; +import { useClerkQuery } from '../query/useQuery'; type InitializePaymentMethodOptions = { for?: ForPayerType; diff --git a/packages/shared/src/react/billing/useStripeClerkLibs.tsx b/packages/shared/src/react/billing/useStripeClerkLibs.tsx index 51493f2e034..8af382fb76d 100644 --- a/packages/shared/src/react/billing/useStripeClerkLibs.tsx +++ b/packages/shared/src/react/billing/useStripeClerkLibs.tsx @@ -1,8 +1,8 @@ import type { loadStripe } from '@stripe/stripe-js'; +import { useClerk } from '../hooks/useClerk'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useClerk } from '../hooks/useClerk'; type LoadStripeFn = typeof loadStripe; diff --git a/packages/shared/src/react/billing/useStripeLoader.tsx b/packages/shared/src/react/billing/useStripeLoader.tsx index 2e624f9ed9c..58cfa779bac 100644 --- a/packages/shared/src/react/billing/useStripeLoader.tsx +++ b/packages/shared/src/react/billing/useStripeLoader.tsx @@ -1,9 +1,9 @@ import type { Stripe } from '@stripe/stripe-js'; import { useMemo } from 'react'; +import { useBillingIsEnabled } from '../hooks/useBillingIsEnabled'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useBillingIsEnabled } from '../hooks/useBillingIsEnabled'; import type { UseStripeClerkLibsResult } from './useStripeClerkLibs'; type StripeLoaderOptions = { diff --git a/packages/shared/src/react/hooks/useOAuthConsent.tsx b/packages/shared/src/react/hooks/useOAuthConsent.tsx index 0e4951e7aa3..b35da37dfd4 100644 --- a/packages/shared/src/react/hooks/useOAuthConsent.tsx +++ b/packages/shared/src/react/hooks/useOAuthConsent.tsx @@ -1,8 +1,8 @@ import { eventMethodCalled } from '../../telemetry/events/method-called'; import type { LoadedClerk } from '../../types/clerk'; +import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { useUserBase } from './base/useUserBase'; import { useOAuthConsentCacheKeys } from './useOAuthConsent.shared'; import type { UseOAuthConsentParams, UseOAuthConsentReturn } from './useOAuthConsent.types'; diff --git a/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx b/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx index 78b6a1b9fc1..58a09eae8f7 100644 --- a/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx +++ b/packages/shared/src/react/hooks/useOrganizationCreationDefaults.tsx @@ -1,8 +1,8 @@ import { eventMethodCalled } from '../../telemetry/events/method-called'; import type { EnvironmentResource } from '../../types/environment'; +import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { useUserBase } from './base/useUserBase'; import { useOrganizationCreationDefaultsCacheKeys } from './useOrganizationCreationDefaults.shared'; import type { diff --git a/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx b/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx index 75049e6bd9a..5065eefc9a9 100644 --- a/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx +++ b/packages/shared/src/react/hooks/usePaymentAttemptQuery.tsx @@ -1,6 +1,6 @@ +import { useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useClerkInstanceContext } from '../contexts'; import { useOrganizationBase } from './base/useOrganizationBase'; import { useUserBase } from './base/useUserBase'; import { useBillingIsEnabled } from './useBillingIsEnabled'; diff --git a/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx b/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx index 5f4c99cb5d2..414d5690c03 100644 --- a/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx +++ b/packages/shared/src/react/hooks/usePlanDetailsQuery.tsx @@ -1,6 +1,6 @@ +import { useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useClerkInstanceContext } from '../contexts'; import { useBillingIsEnabled } from './useBillingIsEnabled'; import { usePlanDetailsQueryCacheKeys } from './usePlanDetailsQuery.shared'; import type { PlanDetailsQueryResult, UsePlanDetailsQueryParams } from './usePlanDetailsQuery.types'; diff --git a/packages/shared/src/react/hooks/useStatementQuery.tsx b/packages/shared/src/react/hooks/useStatementQuery.tsx index 938dfa615c9..41950ff807b 100644 --- a/packages/shared/src/react/hooks/useStatementQuery.tsx +++ b/packages/shared/src/react/hooks/useStatementQuery.tsx @@ -1,6 +1,6 @@ +import { useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQuery } from '../query/useQuery'; -import { useClerkInstanceContext } from '../contexts'; import { useOrganizationBase } from './base/useOrganizationBase'; import { useUserBase } from './base/useUserBase'; import { useBillingIsEnabled } from './useBillingIsEnabled'; diff --git a/packages/shared/src/react/hooks/useSubscription.tsx b/packages/shared/src/react/hooks/useSubscription.tsx index 86456bd9251..c005020165e 100644 --- a/packages/shared/src/react/hooks/useSubscription.tsx +++ b/packages/shared/src/react/hooks/useSubscription.tsx @@ -1,10 +1,10 @@ import { useCallback, useEffect, useRef } from 'react'; import { eventMethodCalled } from '../../telemetry/events'; +import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQueryClient } from '../query/use-clerk-query-client'; import { useClerkQuery } from '../query/useQuery'; -import { useAssertWrappedByClerkProvider, useClerkInstanceContext } from '../contexts'; import { useOrganizationBase } from './base/useOrganizationBase'; import { useUserBase } from './base/useUserBase'; import { useBillingIsEnabled } from './useBillingIsEnabled'; diff --git a/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx b/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx index 5963128f29c..a80e03213b1 100644 --- a/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx +++ b/packages/shared/src/react/hooks/useUserEnterpriseConnections.tsx @@ -6,10 +6,10 @@ import type { EnterpriseConnectionResource, UpdateMeEnterpriseConnectionParams, } from '../../types/enterpriseConnection'; +import { useClerkInstanceContext } from '../contexts'; import { defineKeepPreviousDataFn } from '../query/keep-previous-data'; import { useClerkQueryClient } from '../query/use-clerk-query-client'; import { useClerkQuery } from '../query/useQuery'; -import { useClerkInstanceContext } from '../contexts'; import { useUserBase } from './base/useUserBase'; import { useClearQueriesOnSignOut } from './useClearQueriesOnSignOut'; import { useUserEnterpriseConnectionsCacheKeys } from './useUserEnterpriseConnections.shared';