From 1814f56ea1d396a1ed88c7221fecf7099e80e7f9 Mon Sep 17 00:00:00 2001
From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Date: Fri, 26 Jul 2024 10:30:54 +1000
Subject: [PATCH 1/5] chore(svelte-query): Tweak provider tests (#7794)
---
.github/workflows/pr.yml | 2 ++
.../tests/AwaitOnSuccess/AwaitOnSuccess.svelte | 2 +-
.../tests/FreshData/FreshData.svelte | 4 ++--
.../tests/InitialData/InitialData.svelte | 2 +-
.../tests/OnSuccess/OnSuccess.svelte | 2 +-
.../tests/PersistQueryClientProvider.test.ts | 6 +++---
.../tests/RemoveCache/RemoveCache.svelte | 2 +-
.../tests/RestoreCache/RestoreCache.svelte | 2 +-
.../tests/UseQueries/UseQueries.svelte | 2 +-
9 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index d321972b86..734e4a0168 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -2,6 +2,8 @@ name: pr
on:
pull_request:
+ push:
+ branches: ['svelte-5-adapter']
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
diff --git a/packages/svelte-query-persist-client/tests/AwaitOnSuccess/AwaitOnSuccess.svelte b/packages/svelte-query-persist-client/tests/AwaitOnSuccess/AwaitOnSuccess.svelte
index 06230edd15..7316ce609c 100644
--- a/packages/svelte-query-persist-client/tests/AwaitOnSuccess/AwaitOnSuccess.svelte
+++ b/packages/svelte-query-persist-client/tests/AwaitOnSuccess/AwaitOnSuccess.svelte
@@ -9,7 +9,7 @@
queryKey: ['test'],
queryFn: async () => {
states.update((s) => [...s, 'fetching'])
- await sleep(10)
+ await sleep(5)
states.update((s) => [...s, 'fetched'])
return 'fetched'
},
diff --git a/packages/svelte-query-persist-client/tests/FreshData/FreshData.svelte b/packages/svelte-query-persist-client/tests/FreshData/FreshData.svelte
index 387a34ac0e..48670b32d2 100644
--- a/packages/svelte-query-persist-client/tests/FreshData/FreshData.svelte
+++ b/packages/svelte-query-persist-client/tests/FreshData/FreshData.svelte
@@ -11,7 +11,7 @@
queryKey: ['test'],
queryFn: async () => {
fetched.set(true)
- await sleep(10)
+ await sleep(5)
return 'fetched'
},
@@ -21,5 +21,5 @@
$: states.update((prev) => [...prev, $query])
-
data: {$query.data ?? 'null'}
+data: {$query.data ?? 'undefined'}
fetchStatus: {$query.fetchStatus}
diff --git a/packages/svelte-query-persist-client/tests/InitialData/InitialData.svelte b/packages/svelte-query-persist-client/tests/InitialData/InitialData.svelte
index 2095508dd1..6046f552e3 100644
--- a/packages/svelte-query-persist-client/tests/InitialData/InitialData.svelte
+++ b/packages/svelte-query-persist-client/tests/InitialData/InitialData.svelte
@@ -9,7 +9,7 @@
const query = createQuery({
queryKey: ['test'],
queryFn: async () => {
- await sleep(10)
+ await sleep(5)
return 'fetched'
},
diff --git a/packages/svelte-query-persist-client/tests/OnSuccess/OnSuccess.svelte b/packages/svelte-query-persist-client/tests/OnSuccess/OnSuccess.svelte
index 2ae8e7d970..c890014886 100644
--- a/packages/svelte-query-persist-client/tests/OnSuccess/OnSuccess.svelte
+++ b/packages/svelte-query-persist-client/tests/OnSuccess/OnSuccess.svelte
@@ -5,7 +5,7 @@
const query = createQuery({
queryKey: ['test'],
queryFn: async () => {
- await sleep(10)
+ await sleep(5)
return 'fetched'
},
})
diff --git a/packages/svelte-query-persist-client/tests/PersistQueryClientProvider.test.ts b/packages/svelte-query-persist-client/tests/PersistQueryClientProvider.test.ts
index 0188d210e1..1366fe8541 100644
--- a/packages/svelte-query-persist-client/tests/PersistQueryClientProvider.test.ts
+++ b/packages/svelte-query-persist-client/tests/PersistQueryClientProvider.test.ts
@@ -26,7 +26,7 @@ const createMockPersister = (): Persister => {
storedState = persistClient
},
async restoreClient() {
- await sleep(10)
+ await sleep(5)
return storedState
},
removeClient() {
@@ -46,7 +46,7 @@ const createMockErrorPersister = (
// noop
},
async restoreClient() {
- await sleep(10)
+ await sleep(5)
throw error
},
removeClient,
@@ -247,7 +247,7 @@ describe('PersistQueryClientProvider', () => {
},
})
- await waitFor(() => rendered.getByText('data: null'))
+ await waitFor(() => rendered.getByText('data: undefined'))
await waitFor(() => rendered.getByText('data: hydrated'))
const states = get(statesStore)
diff --git a/packages/svelte-query-persist-client/tests/RemoveCache/RemoveCache.svelte b/packages/svelte-query-persist-client/tests/RemoveCache/RemoveCache.svelte
index 2ae8e7d970..c890014886 100644
--- a/packages/svelte-query-persist-client/tests/RemoveCache/RemoveCache.svelte
+++ b/packages/svelte-query-persist-client/tests/RemoveCache/RemoveCache.svelte
@@ -5,7 +5,7 @@
const query = createQuery({
queryKey: ['test'],
queryFn: async () => {
- await sleep(10)
+ await sleep(5)
return 'fetched'
},
})
diff --git a/packages/svelte-query-persist-client/tests/RestoreCache/RestoreCache.svelte b/packages/svelte-query-persist-client/tests/RestoreCache/RestoreCache.svelte
index 7bae863702..2e2af65a58 100644
--- a/packages/svelte-query-persist-client/tests/RestoreCache/RestoreCache.svelte
+++ b/packages/svelte-query-persist-client/tests/RestoreCache/RestoreCache.svelte
@@ -9,7 +9,7 @@
const query = createQuery({
queryKey: ['test'],
queryFn: async () => {
- await sleep(10)
+ await sleep(5)
return 'fetched'
},
})
diff --git a/packages/svelte-query-persist-client/tests/UseQueries/UseQueries.svelte b/packages/svelte-query-persist-client/tests/UseQueries/UseQueries.svelte
index 8cf6647442..dbf88e6fb7 100644
--- a/packages/svelte-query-persist-client/tests/UseQueries/UseQueries.svelte
+++ b/packages/svelte-query-persist-client/tests/UseQueries/UseQueries.svelte
@@ -11,7 +11,7 @@
{
queryKey: ['test'],
queryFn: async (): Promise => {
- await sleep(10)
+ await sleep(5)
return 'fetched'
},
},
From bd3296bfed9b4db1882e42fe378f2f35dc240381 Mon Sep 17 00:00:00 2001
From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Date: Fri, 26 Jul 2024 10:56:33 +1000
Subject: [PATCH 2/5] chore: Update `@tanstack/config` to v0.11.0 (#7795)
---
eslint.config.js | 4 +-
.../react/offline/public/mockServiceWorker.js | 1 -
.../src/components/query-boundary.tsx | 2 -
package.json | 2 +-
.../create-injection-token.ts | 2 +-
.../src/utils/ast-utils.ts | 4 +-
packages/query-codemods/eslint.config.js | 2 +-
.../src/__tests__/notifyManager.test.tsx | 4 +-
.../src/__tests__/onlineManager.test.tsx | 2 +-
.../src/__tests__/queryObserver.test.tsx | 14 +-
packages/query-core/src/focusManager.ts | 4 +-
packages/query-core/src/hydration.ts | 4 +-
packages/query-core/src/onlineManager.ts | 2 +-
packages/react-query/eslint.config.js | 2 +-
.../react-query/src/HydrationBoundary.tsx | 2 +-
.../src/__tests__/useQuery.test.tsx | 4 +-
.../src/__tests__/createQuery.test.tsx | 6 +-
packages/vue-query/src/useBaseQuery.ts | 2 +-
pnpm-lock.yaml | 192 ++++++++++++++++--
19 files changed, 203 insertions(+), 52 deletions(-)
diff --git a/eslint.config.js b/eslint.config.js
index ac7d5a5d7f..98d195e26c 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -35,8 +35,8 @@ export default [
},
},
],
- 'ts/ban-types': 'off',
- 'ts/no-empty-function': 'off',
+ '@typescript-eslint/ban-types': 'off',
+ '@typescript-eslint/no-empty-function': 'off',
'no-case-declarations': 'off',
},
},
diff --git a/examples/react/offline/public/mockServiceWorker.js b/examples/react/offline/public/mockServiceWorker.js
index b6fe23a147..37807e5be9 100644
--- a/examples/react/offline/public/mockServiceWorker.js
+++ b/examples/react/offline/public/mockServiceWorker.js
@@ -1,5 +1,4 @@
/* eslint-disable */
-/* tslint:disable */
/**
* Mock Service Worker (2.1.7).
diff --git a/examples/solid/solid-start-streaming/src/components/query-boundary.tsx b/examples/solid/solid-start-streaming/src/components/query-boundary.tsx
index 172381a5c4..48beed4621 100644
--- a/examples/solid/solid-start-streaming/src/components/query-boundary.tsx
+++ b/examples/solid/solid-start-streaming/src/components/query-boundary.tsx
@@ -1,5 +1,3 @@
-/* eslint-disable @typescript-eslint/no-non-null-assertion */
-
import type { CreateQueryResult } from '@tanstack/solid-query'
import type { JSX } from 'solid-js'
import { ErrorBoundary, Match, Suspense, Switch, children } from 'solid-js'
diff --git a/package.json b/package.json
index 9f78445b64..932801b615 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
"@cspell/eslint-plugin": "^8.9.1",
"@eslint-react/eslint-plugin": "^1.5.16",
"@solidjs/testing-library": "^0.8.8",
- "@tanstack/config": "^0.10.0",
+ "@tanstack/config": "^0.11.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/eslint": "^8.56.10",
diff --git a/packages/angular-query-experimental/src/util/create-injection-token/create-injection-token.ts b/packages/angular-query-experimental/src/util/create-injection-token/create-injection-token.ts
index 4e3fb0c5ed..4743a62c40 100644
--- a/packages/angular-query-experimental/src/util/create-injection-token/create-injection-token.ts
+++ b/packages/angular-query-experimental/src/util/create-injection-token/create-injection-token.ts
@@ -169,7 +169,7 @@ export function createNoopInjectionToken<
type TReturn = TMulti extends true ? Array : TValue
const token =
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
(options as CreateInjectionTokenOptions<() => void, []>)?.token ||
new InjectionToken(description)
return [
diff --git a/packages/eslint-plugin-query/src/utils/ast-utils.ts b/packages/eslint-plugin-query/src/utils/ast-utils.ts
index 71dce0730f..392c582534 100644
--- a/packages/eslint-plugin-query/src/utils/ast-utils.ts
+++ b/packages/eslint-plugin-query/src/utils/ast-utils.ts
@@ -249,9 +249,9 @@ export const ASTUtils = {
const { node, context } = params
// we need the fallbacks for backwards compat with eslint < 8.37.0
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const sourceCode = context.sourceCode ?? context.getSourceCode()
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const scope = context.sourceCode.getScope(node)
? sourceCode.getScope(node)
: context.getScope()
diff --git a/packages/query-codemods/eslint.config.js b/packages/query-codemods/eslint.config.js
index 1ed6ecd31e..6f7a573d45 100644
--- a/packages/query-codemods/eslint.config.js
+++ b/packages/query-codemods/eslint.config.js
@@ -7,7 +7,7 @@ export default [
{
rules: {
'cspell/spellchecker': 'off',
- 'ts/no-unnecessary-condition': 'off',
+ '@typescript-eslint/no-unnecessary-condition': 'off',
'import/no-duplicates': 'off',
'import/no-unresolved': 'off',
'import/order': 'off',
diff --git a/packages/query-core/src/__tests__/notifyManager.test.tsx b/packages/query-core/src/__tests__/notifyManager.test.tsx
index 9c451f2481..0ea94396bf 100644
--- a/packages/query-core/src/__tests__/notifyManager.test.tsx
+++ b/packages/query-core/src/__tests__/notifyManager.test.tsx
@@ -74,12 +74,12 @@ describe('notifyManager', () => {
// we define some fn with its signature:
const fn: (a: string, b: number) => string = (a, b) => a + b
- //now someFn expect to be called with args [a: string, b: number]
+ // now someFn expect to be called with args [a: string, b: number]
const someFn = notifyManagerTest.batchCalls(fn)
someFn('im happy', 4)
- //@ts-expect-error
+ // @ts-expect-error
someFn('im not happy', false)
})
})
diff --git a/packages/query-core/src/__tests__/onlineManager.test.tsx b/packages/query-core/src/__tests__/onlineManager.test.tsx
index 74838f2519..c179145b1c 100644
--- a/packages/query-core/src/__tests__/onlineManager.test.tsx
+++ b/packages/query-core/src/__tests__/onlineManager.test.tsx
@@ -12,7 +12,7 @@ describe('onlineManager', () => {
const navigatorSpy = vi.spyOn(globalThis, 'navigator', 'get')
// Force navigator to be undefined
- //@ts-expect-error
+ // @ts-expect-error
navigatorSpy.mockImplementation(() => undefined)
expect(onlineManager.isOnline()).toBeTruthy()
diff --git a/packages/query-core/src/__tests__/queryObserver.test.tsx b/packages/query-core/src/__tests__/queryObserver.test.tsx
index 36c8244b1a..c21a983fc3 100644
--- a/packages/query-core/src/__tests__/queryObserver.test.tsx
+++ b/packages/query-core/src/__tests__/queryObserver.test.tsx
@@ -96,7 +96,7 @@ describe('queryObserver', () => {
queryClient.invalidateQueries({ queryKey: key, refetchType: 'all' })
- //So we still expect it to not have fetched and not be fetching
+ // So we still expect it to not have fetched and not be fetching
expect(count).toBe(0)
expect(observer.getCurrentResult()).toMatchObject({
status: 'pending',
@@ -113,7 +113,7 @@ describe('queryObserver', () => {
expect(enabled).toBe(false)
- //Not the same with explicit refetch, this will override enabled and trigger a fetch anyway
+ // Not the same with explicit refetch, this will override enabled and trigger a fetch anyway
observer.refetch()
expect(observer.getCurrentResult()).toMatchObject({
@@ -201,18 +201,18 @@ describe('queryObserver', () => {
queryClient.invalidateQueries({ queryKey: key, refetchType: 'inactive' })
- //should not refetch since it was active and we only refetch inactive
+ // should not refetch since it was active and we only refetch inactive
await waitFor(() => expect(count).toBe(0))
queryClient.invalidateQueries({ queryKey: key, refetchType: 'active' })
- //should refetch since it was active and we refetch active
+ // should refetch since it was active and we refetch active
await waitFor(() => expect(count).toBe(1))
// Toggle enabled
enabled = false
- //should not refetch since it is not active and we only refetch active
+ // should not refetch since it is not active and we only refetch active
queryClient.invalidateQueries({ queryKey: key, refetchType: 'active' })
await waitFor(() => expect(count).toBe(1))
@@ -792,7 +792,7 @@ describe('queryObserver', () => {
new QueryObserver(queryClient, {
queryKey: key,
queryFn: () => 'data',
- //@ts-expect-error
+ // @ts-expect-error
enabled: null,
}),
).toThrowError('Expected enabled to be a boolean')
@@ -947,7 +947,7 @@ describe('queryObserver', () => {
observer.setOptions({
queryKey: key,
queryFn: () => data,
- //@ts-expect-error
+ // @ts-expect-error
select: () => undefined,
placeholderData: placeholderData2,
})
diff --git a/packages/query-core/src/focusManager.ts b/packages/query-core/src/focusManager.ts
index 71026d62c0..cb0d859871 100644
--- a/packages/query-core/src/focusManager.ts
+++ b/packages/query-core/src/focusManager.ts
@@ -17,7 +17,7 @@ export class FocusManager extends Subscribable {
super()
this.#setup = (onFocus) => {
// addEventListener does not exist in React Native, but window does
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (!isServer && window.addEventListener) {
const listener = () => onFocus()
// Listen to visibilitychange
@@ -78,7 +78,7 @@ export class FocusManager extends Subscribable {
}
// document global can be unavailable in react native
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
return globalThis.document?.visibilityState !== 'hidden'
}
}
diff --git a/packages/query-core/src/hydration.ts b/packages/query-core/src/hydration.ts
index bd372f7ad2..a3dfd0e482 100644
--- a/packages/query-core/src/hydration.ts
+++ b/packages/query-core/src/hydration.ts
@@ -154,9 +154,9 @@ export function hydrate(
client.getDefaultOptions().hydrate?.deserializeData ??
defaultTransformerFn
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const mutations = (dehydratedState as DehydratedState).mutations || []
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const queries = (dehydratedState as DehydratedState).queries || []
mutations.forEach(({ state, ...mutationOptions }) => {
diff --git a/packages/query-core/src/onlineManager.ts b/packages/query-core/src/onlineManager.ts
index 655f661b64..daf77d5a4c 100644
--- a/packages/query-core/src/onlineManager.ts
+++ b/packages/query-core/src/onlineManager.ts
@@ -14,7 +14,7 @@ export class OnlineManager extends Subscribable {
super()
this.#setup = (onOnline) => {
// addEventListener does not exist in React Native, but window does
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (!isServer && window.addEventListener) {
const onlineListener = () => onOnline(true)
const offlineListener = () => onOnline(false)
diff --git a/packages/react-query/eslint.config.js b/packages/react-query/eslint.config.js
index 37039cd5f6..a648870ebe 100644
--- a/packages/react-query/eslint.config.js
+++ b/packages/react-query/eslint.config.js
@@ -28,7 +28,7 @@ export default [
{
files: ['**/__tests__/**'],
rules: {
- 'ts/no-unnecessary-condition': 'off',
+ '@typescript-eslint/no-unnecessary-condition': 'off',
'react-compiler/react-compiler': 'off',
},
},
diff --git a/packages/react-query/src/HydrationBoundary.tsx b/packages/react-query/src/HydrationBoundary.tsx
index 9499479540..47f56f3587 100644
--- a/packages/react-query/src/HydrationBoundary.tsx
+++ b/packages/react-query/src/HydrationBoundary.tsx
@@ -58,7 +58,7 @@ export const HydrationBoundary = ({
}
const queryCache = client.getQueryCache()
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const queries = (state as DehydratedState).queries || []
const newQueries: DehydratedState['queries'] = []
diff --git a/packages/react-query/src/__tests__/useQuery.test.tsx b/packages/react-query/src/__tests__/useQuery.test.tsx
index a4704e3e92..a22f214f42 100644
--- a/packages/react-query/src/__tests__/useQuery.test.tsx
+++ b/packages/react-query/src/__tests__/useQuery.test.tsx
@@ -4034,7 +4034,7 @@ describe('useQuery', () => {
const query = useQuery({
queryKey: key,
queryFn: () => 'fetched data',
- gcTime: 1000 * 60 * 10, //10 Minutes
+ gcTime: 1000 * 60 * 10, // 10 Minutes
})
return {query.data}
}
@@ -4216,7 +4216,7 @@ describe('useQuery', () => {
await waitFor(() => rendered.getByText('count: 1'))
- await sleep(10) //extra sleep to make sure we're not re-fetching
+ await sleep(10) // extra sleep to make sure we're not re-fetching
expect(states.length).toEqual(2)
diff --git a/packages/solid-query/src/__tests__/createQuery.test.tsx b/packages/solid-query/src/__tests__/createQuery.test.tsx
index e20b54fc70..affec9dd4b 100644
--- a/packages/solid-query/src/__tests__/createQuery.test.tsx
+++ b/packages/solid-query/src/__tests__/createQuery.test.tsx
@@ -3842,7 +3842,7 @@ describe('createQuery', () => {
const query = createQuery(() => ({
queryKey: key,
queryFn: () => 'fetched data',
- gcTime: 1000 * 60 * 10, //10 Minutes
+ gcTime: 1000 * 60 * 10, // 10 Minutes
}))
return {query.data}
}
@@ -4047,7 +4047,7 @@ describe('createQuery', () => {
await waitFor(() => rendered.getByText('count: 1'))
- await sleep(10) //extra sleep to make sure we're not re-fetching
+ await sleep(10) // extra sleep to make sure we're not re-fetching
expect(states.length).toEqual(2)
@@ -4560,7 +4560,7 @@ describe('createQuery', () => {
readonly [typeof key, number]
> = async (ctx) => {
const [, limit] = ctx.queryKey
- // eslint-disable-next-line ts/no-unnecessary-condition
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
const value = limit % 2 && ctx.signal ? 'abort' : `data ${limit}`
await sleep(25)
return value
diff --git a/packages/vue-query/src/useBaseQuery.ts b/packages/vue-query/src/useBaseQuery.ts
index a50fad15aa..04f9c349e1 100644
--- a/packages/vue-query/src/useBaseQuery.ts
+++ b/packages/vue-query/src/useBaseQuery.ts
@@ -145,7 +145,7 @@ export function useBaseQuery<
return new Promise>(
(resolve, reject) => {
let stopWatch = () => {
- //noop
+ // noop
}
const run = () => {
if (defaultedOptions.value.enabled !== false) {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 89c04ac984..070e578789 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -28,8 +28,8 @@ importers:
specifier: ^0.8.8
version: 0.8.8(@solidjs/router@0.13.3(solid-js@1.8.17))(solid-js@1.8.17)
'@tanstack/config':
- specifier: ^0.10.0
- version: 0.10.0(@types/node@20.14.10)(esbuild@0.19.11)(eslint@8.57.0)(rollup@4.14.1)(typescript@5.3.3)(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))
+ specifier: ^0.11.0
+ version: 0.11.0(@types/node@20.14.10)(esbuild@0.19.11)(eslint@8.57.0)(rollup@4.14.1)(typescript@5.3.3)(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))
'@testing-library/jest-dom':
specifier: ^6.4.6
version: 6.4.6(vitest@2.0.3(@types/node@20.14.10)(jsdom@24.1.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))
@@ -6053,6 +6053,12 @@ packages:
'@solidjs/router':
optional: true
+ '@stylistic/eslint-plugin-js@2.3.0':
+ resolution: {integrity: sha512-lQwoiYb0Fs6Yc5QS3uT8+T9CPKK2Eoxc3H8EnYJgM26v/DgtW+1lvy2WNgyBflU+ThShZaHm3a6CdD9QeKx23w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0
+
'@surma/rollup-plugin-off-main-thread@1.4.2':
resolution: {integrity: sha512-yBMPqmd1yEJo/280PAMkychuaALyQ9Lkb5q1ck3mjJrFuEobIfhnQ4J3mbvBoISmR3SWMWV+cGB/I0lCQee79A==}
@@ -6160,8 +6166,8 @@ packages:
'@swc/helpers@0.5.5':
resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==}
- '@tanstack/config@0.10.0':
- resolution: {integrity: sha512-Yz+7cWxuDo8onU2nm4+kwA9B2GSp+l1k8oSrqiERNkmRu6dKtiiW8ENFqLuXi0p5fi0sBdLeUcEhfMxTifzmtA==}
+ '@tanstack/config@0.11.0':
+ resolution: {integrity: sha512-NKm06kFaIr+DErIjWhJLhG1DhaCOzpe85FztxtdK29Spp95DwXqp+6oEWYVfJgenweWfzK87kjahh5Za/i4Pfw==}
engines: {node: '>=18'}
hasBin: true
@@ -6487,6 +6493,17 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/eslint-plugin@7.17.0':
+ resolution: {integrity: sha512-pyiDhEuLM3PuANxH7uNYan1AaFs5XE0zw1hq69JBvGvE7gSuEoQl1ydtEe/XQeoC3GQxLXyOVa5kNOATgM638A==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ '@typescript-eslint/parser': ^7.0.0
+ eslint: ^8.57.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
'@typescript-eslint/parser@7.16.1':
resolution: {integrity: sha512-u+1Qx86jfGQ5i4JjK33/FnawZRpsLxRnKzGE6EABZ40KxVT/vWsiZFEBBHjFOljmmV3MBYOHEKi0Jm9hbAOClA==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6497,6 +6514,16 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/parser@7.17.0':
+ resolution: {integrity: sha512-puiYfGeg5Ydop8eusb/Hy1k7QmOU6X3nvsqCgzrB2K4qMavK//21+PzNE8qeECgNOIoertJPUC1SpegHDI515A==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ eslint: ^8.57.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
'@typescript-eslint/rule-tester@8.0.0-alpha.30':
resolution: {integrity: sha512-mqGc88a7uCoEMhdertGKaeLy8QrvqA5pKBchFosa+RX7EGU6ngJAmMj+ZRZka/r6hmTyDRbd44H3Z0ChOPgl+Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6508,6 +6535,10 @@ packages:
resolution: {integrity: sha512-nYpyv6ALte18gbMz323RM+vpFpTjfNdyakbf3nsLvF43uF9KeNC289SUEW3QLZ1xPtyINJ1dIsZOuWuSRIWygw==}
engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/scope-manager@7.17.0':
+ resolution: {integrity: sha512-0P2jTTqyxWp9HiKLu/Vemr2Rg1Xb5B7uHItdVZ6iAenXmPo4SZ86yOPCJwMqpCyaMiEHTNqizHfsbmCFT1x9SA==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+
'@typescript-eslint/scope-manager@8.0.0-alpha.30':
resolution: {integrity: sha512-FGW/iPWGyPFamAVZ60oCAthMqQrqafUGebF8UKuq/ha+e9SVG6YhJoRzurlQXOVf8dHfOhJ0ADMXyFnMc53clg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6522,10 +6553,24 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/type-utils@7.17.0':
+ resolution: {integrity: sha512-XD3aaBt+orgkM/7Cei0XNEm1vwUxQ958AOLALzPlbPqb8C1G8PZK85tND7Jpe69Wualri81PLU+Zc48GVKIMMA==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ eslint: ^8.57.0
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
'@typescript-eslint/types@7.16.1':
resolution: {integrity: sha512-AQn9XqCzUXd4bAVEsAXM/Izk11Wx2u4H3BAfQVhSfzfDOm/wAON9nP7J5rpkCxts7E5TELmN845xTUCQrD1xIQ==}
engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/types@7.17.0':
+ resolution: {integrity: sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+
'@typescript-eslint/types@8.0.0-alpha.30':
resolution: {integrity: sha512-4WzLlw27SO9pK9UFj/Hu7WGo8WveT0SEiIpFVsV2WwtQmLps6kouwtVCB8GJPZKJyurhZhcqCoQVQFmpv441Vg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6539,6 +6584,15 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/typescript-estree@7.17.0':
+ resolution: {integrity: sha512-72I3TGq93t2GoSBWI093wmKo0n6/b7O4j9o8U+f65TVD0FS6bI2180X5eGEr8MA8PhKMvYe9myZJquUT2JkCZw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ typescript: '*'
+ peerDependenciesMeta:
+ typescript:
+ optional: true
+
'@typescript-eslint/typescript-estree@8.0.0-alpha.30':
resolution: {integrity: sha512-WSXbc9ZcXI+7yC+6q95u77i8FXz6HOLsw3ST+vMUlFy1lFbXyFL/3e6HDKQCm2Clt0krnoCPiTGvIn+GkYPn4Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6554,6 +6608,12 @@ packages:
peerDependencies:
eslint: ^8.57.0
+ '@typescript-eslint/utils@7.17.0':
+ resolution: {integrity: sha512-r+JFlm5NdB+JXc7aWWZ3fKSm1gn0pkswEwIYsrGPdsT2GjsRATAKXiNtp3vgAAO1xZhX8alIOEQnNMl3kbTgJw==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+ peerDependencies:
+ eslint: ^8.57.0
+
'@typescript-eslint/utils@8.0.0-alpha.30':
resolution: {integrity: sha512-rfhqfLqFyXhHNDwMnHiVGxl/Z2q/3guQ1jLlGQ0hi9Rb7inmwz42crM+NnLPR+2vEnwyw1P/g7fnQgQ3qvFx4g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6564,6 +6624,10 @@ packages:
resolution: {integrity: sha512-Qlzzx4sE4u3FsHTPQAAQFJFNOuqtuY0LFrZHwQ8IHK705XxBiWOFkfKRWu6niB7hwfgnwIpO4jTC75ozW1PHWg==}
engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/visitor-keys@7.17.0':
+ resolution: {integrity: sha512-RVGC9UhPOCsfCdI9pU++K4nD7to+jTcMIbXTSOcrLqUEW6gF2pU1UUbYJKc9cvcRSK1UDeMJ7pdMxf4bhMpV/A==}
+ engines: {node: ^18.18.0 || >=20.0.0}
+
'@typescript-eslint/visitor-keys@8.0.0-alpha.30':
resolution: {integrity: sha512-XZuNurZxBqmr6ZIRIwWFq7j5RZd6ZlkId/HZEWyfciK+CWoyOxSF9Pv2VXH9Rlu2ZG2PfbhLz2Veszl4Pfn7yA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -15973,8 +16037,8 @@ packages:
peerDependencies:
typedoc-plugin-markdown: '>=4.0.0'
- typedoc-plugin-markdown@4.2.1:
- resolution: {integrity: sha512-7hQt/1WaW/VI4+x3sxwcCGsEylP1E1GvF6OTTELK5sfTEp6AeK+83jkCOgZGp1pI2DiOammMYQMnxxOny9TKsQ==}
+ typedoc-plugin-markdown@4.2.3:
+ resolution: {integrity: sha512-esucQj79SFYOv0f5XVha7QWdLUH5C5HRlDf7Z8CXzHedmVPn7jox6Gt7FdoBXN8AFxyHpa3Lbuxu65Dobwt+4Q==}
engines: {node: '>= 18'}
peerDependencies:
typedoc: 0.26.x
@@ -15998,8 +16062,8 @@ packages:
typescript-auto-import-cache@0.3.3:
resolution: {integrity: sha512-ojEC7+Ci1ij9eE6hp8Jl9VUNnsEKzztktP5gtYNRMrTmfXVwA1PITYYAkpxCvvupdSYa/Re51B6KMcv1CTZEUA==}
- typescript-eslint@7.16.1:
- resolution: {integrity: sha512-889oE5qELj65q/tGeOSvlreNKhimitFwZqQ0o7PcWC7/lgRkAMknznsCsV8J8mZGTP/Z+cIbX8accf2DE33hrA==}
+ typescript-eslint@7.17.0:
+ resolution: {integrity: sha512-spQxsQvPguduCUfyUvLItvKqK3l8KJ/kqs5Pb/URtzQ5AC53Z6us32St37rpmlt2uESG23lOFpV4UErrmy4dZQ==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
eslint: ^8.57.0
@@ -22279,6 +22343,14 @@ snapshots:
optionalDependencies:
'@solidjs/router': 0.13.3(solid-js@1.8.17)
+ '@stylistic/eslint-plugin-js@2.3.0(eslint@8.57.0)':
+ dependencies:
+ '@types/eslint': 8.56.10
+ acorn: 8.11.3
+ eslint: 8.57.0
+ eslint-visitor-keys: 4.0.0
+ espree: 10.0.1
+
'@surma/rollup-plugin-off-main-thread@1.4.2':
dependencies:
ejs: 2.7.4
@@ -22426,10 +22498,11 @@ snapshots:
'@swc/counter': 0.1.3
tslib: 2.6.2
- '@tanstack/config@0.10.0(@types/node@20.14.10)(esbuild@0.19.11)(eslint@8.57.0)(rollup@4.14.1)(typescript@5.3.3)(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))':
+ '@tanstack/config@0.11.0(@types/node@20.14.10)(esbuild@0.19.11)(eslint@8.57.0)(rollup@4.14.1)(typescript@5.3.3)(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))':
dependencies:
'@commitlint/parse': 19.0.3
'@eslint/js': 8.57.0
+ '@stylistic/eslint-plugin-js': 2.3.0(eslint@8.57.0)
commander: 12.1.0
current-git-branch: 1.1.0
esbuild-register: 3.5.0(esbuild@0.19.11)
@@ -22444,9 +22517,9 @@ snapshots:
semver: 7.6.3
simple-git: 3.25.0
typedoc: 0.26.4(typescript@5.3.3)
- typedoc-plugin-frontmatter: 1.0.0(typedoc-plugin-markdown@4.2.1(typedoc@0.26.4(typescript@5.3.3)))
- typedoc-plugin-markdown: 4.2.1(typedoc@0.26.4(typescript@5.3.3))
- typescript-eslint: 7.16.1(eslint@8.57.0)(typescript@5.3.3)
+ typedoc-plugin-frontmatter: 1.0.0(typedoc-plugin-markdown@4.2.3(typedoc@0.26.4(typescript@5.3.3)))
+ typedoc-plugin-markdown: 4.2.3(typedoc@0.26.4(typescript@5.3.3))
+ typescript-eslint: 7.17.0(eslint@8.57.0)(typescript@5.3.3)
v8flags: 4.0.1
vite-plugin-dts: 3.9.1(@types/node@20.14.10)(rollup@4.14.1)(typescript@5.3.3)(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))
vite-plugin-externalize-deps: 0.8.0(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))
@@ -22820,6 +22893,24 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@8.57.0)(typescript@5.3.3))(eslint@8.57.0)(typescript@5.3.3)':
+ dependencies:
+ '@eslint-community/regexpp': 4.11.0
+ '@typescript-eslint/parser': 7.17.0(eslint@8.57.0)(typescript@5.3.3)
+ '@typescript-eslint/scope-manager': 7.17.0
+ '@typescript-eslint/type-utils': 7.17.0(eslint@8.57.0)(typescript@5.3.3)
+ '@typescript-eslint/utils': 7.17.0(eslint@8.57.0)(typescript@5.3.3)
+ '@typescript-eslint/visitor-keys': 7.17.0
+ eslint: 8.57.0
+ graphemer: 1.4.0
+ ignore: 5.3.1
+ natural-compare: 1.4.0
+ ts-api-utils: 1.3.0(typescript@5.3.3)
+ optionalDependencies:
+ typescript: 5.3.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.3.3)':
dependencies:
'@typescript-eslint/scope-manager': 7.16.1
@@ -22833,6 +22924,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/parser@7.17.0(eslint@8.57.0)(typescript@5.3.3)':
+ dependencies:
+ '@typescript-eslint/scope-manager': 7.17.0
+ '@typescript-eslint/types': 7.17.0
+ '@typescript-eslint/typescript-estree': 7.17.0(typescript@5.3.3)
+ '@typescript-eslint/visitor-keys': 7.17.0
+ debug: 4.3.5(supports-color@6.1.0)
+ eslint: 8.57.0
+ optionalDependencies:
+ typescript: 5.3.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/rule-tester@8.0.0-alpha.30(@eslint/eslintrc@3.1.0)(eslint@8.57.0)(typescript@5.4.2)':
dependencies:
'@eslint/eslintrc': 3.1.0
@@ -22852,6 +22956,11 @@ snapshots:
'@typescript-eslint/types': 7.16.1
'@typescript-eslint/visitor-keys': 7.16.1
+ '@typescript-eslint/scope-manager@7.17.0':
+ dependencies:
+ '@typescript-eslint/types': 7.17.0
+ '@typescript-eslint/visitor-keys': 7.17.0
+
'@typescript-eslint/scope-manager@8.0.0-alpha.30':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.30
@@ -22869,8 +22978,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/type-utils@7.17.0(eslint@8.57.0)(typescript@5.3.3)':
+ dependencies:
+ '@typescript-eslint/typescript-estree': 7.17.0(typescript@5.3.3)
+ '@typescript-eslint/utils': 7.17.0(eslint@8.57.0)(typescript@5.3.3)
+ debug: 4.3.5(supports-color@6.1.0)
+ eslint: 8.57.0
+ ts-api-utils: 1.3.0(typescript@5.3.3)
+ optionalDependencies:
+ typescript: 5.3.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/types@7.16.1': {}
+ '@typescript-eslint/types@7.17.0': {}
+
'@typescript-eslint/types@8.0.0-alpha.30': {}
'@typescript-eslint/typescript-estree@7.16.1(typescript@5.3.3)':
@@ -22888,6 +23011,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/typescript-estree@7.17.0(typescript@5.3.3)':
+ dependencies:
+ '@typescript-eslint/types': 7.17.0
+ '@typescript-eslint/visitor-keys': 7.17.0
+ debug: 4.3.5(supports-color@6.1.0)
+ globby: 11.1.0
+ is-glob: 4.0.3
+ minimatch: 9.0.5
+ semver: 7.6.3
+ ts-api-utils: 1.3.0(typescript@5.3.3)
+ optionalDependencies:
+ typescript: 5.3.3
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/typescript-estree@8.0.0-alpha.30(typescript@5.4.2)':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.30
@@ -22914,6 +23052,17 @@ snapshots:
- supports-color
- typescript
+ '@typescript-eslint/utils@7.17.0(eslint@8.57.0)(typescript@5.3.3)':
+ dependencies:
+ '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0)
+ '@typescript-eslint/scope-manager': 7.17.0
+ '@typescript-eslint/types': 7.17.0
+ '@typescript-eslint/typescript-estree': 7.17.0(typescript@5.3.3)
+ eslint: 8.57.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+
'@typescript-eslint/utils@8.0.0-alpha.30(eslint@8.57.0)(typescript@5.4.2)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0)
@@ -22930,6 +23079,11 @@ snapshots:
'@typescript-eslint/types': 7.16.1
eslint-visitor-keys: 3.4.3
+ '@typescript-eslint/visitor-keys@7.17.0':
+ dependencies:
+ '@typescript-eslint/types': 7.17.0
+ eslint-visitor-keys: 3.4.3
+
'@typescript-eslint/visitor-keys@8.0.0-alpha.30':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.30
@@ -34881,12 +35035,12 @@ snapshots:
typedarray@0.0.6: {}
- typedoc-plugin-frontmatter@1.0.0(typedoc-plugin-markdown@4.2.1(typedoc@0.26.4(typescript@5.3.3))):
+ typedoc-plugin-frontmatter@1.0.0(typedoc-plugin-markdown@4.2.3(typedoc@0.26.4(typescript@5.3.3))):
dependencies:
- typedoc-plugin-markdown: 4.2.1(typedoc@0.26.4(typescript@5.3.3))
+ typedoc-plugin-markdown: 4.2.3(typedoc@0.26.4(typescript@5.3.3))
yaml: 2.4.5
- typedoc-plugin-markdown@4.2.1(typedoc@0.26.4(typescript@5.3.3)):
+ typedoc-plugin-markdown@4.2.3(typedoc@0.26.4(typescript@5.3.3)):
dependencies:
typedoc: 0.26.4(typescript@5.3.3)
@@ -34913,11 +35067,11 @@ snapshots:
dependencies:
semver: 7.6.3
- typescript-eslint@7.16.1(eslint@8.57.0)(typescript@5.3.3):
+ typescript-eslint@7.17.0(eslint@8.57.0)(typescript@5.3.3):
dependencies:
- '@typescript-eslint/eslint-plugin': 7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.3.3))(eslint@8.57.0)(typescript@5.3.3)
- '@typescript-eslint/parser': 7.16.1(eslint@8.57.0)(typescript@5.3.3)
- '@typescript-eslint/utils': 7.16.1(eslint@8.57.0)(typescript@5.3.3)
+ '@typescript-eslint/eslint-plugin': 7.17.0(@typescript-eslint/parser@7.17.0(eslint@8.57.0)(typescript@5.3.3))(eslint@8.57.0)(typescript@5.3.3)
+ '@typescript-eslint/parser': 7.17.0(eslint@8.57.0)(typescript@5.3.3)
+ '@typescript-eslint/utils': 7.17.0(eslint@8.57.0)(typescript@5.3.3)
eslint: 8.57.0
optionalDependencies:
typescript: 5.3.3
From 34a567215c0f5dae55c7e62b04026d48977c04c3 Mon Sep 17 00:00:00 2001
From: Lich <100465780+hautest@users.noreply.github.com>
Date: Fri, 26 Jul 2024 17:10:32 +0900
Subject: [PATCH 3/5] refactor(react-query): add error message for skipToken
in useSuspenseQueries and useSuspenseInfiniteQuery (#7797)
* refactor(react-query): add error message for skipToken in useSuspenseQueries
* refactor(react-query): add error message for skipToken in useSuspenseInfiniteQuery
---
.../src/useSuspenseInfiniteQuery.ts | 8 ++++-
.../react-query/src/useSuspenseQueries.ts | 35 ++++++++++++-------
2 files changed, 29 insertions(+), 14 deletions(-)
diff --git a/packages/react-query/src/useSuspenseInfiniteQuery.ts b/packages/react-query/src/useSuspenseInfiniteQuery.ts
index d64ef0c694..9f922c6c30 100644
--- a/packages/react-query/src/useSuspenseInfiniteQuery.ts
+++ b/packages/react-query/src/useSuspenseInfiniteQuery.ts
@@ -1,5 +1,5 @@
'use client'
-import { InfiniteQueryObserver } from '@tanstack/query-core'
+import { InfiniteQueryObserver, skipToken } from '@tanstack/query-core'
import { useBaseQuery } from './useBaseQuery'
import { defaultThrowOnError } from './suspense'
import type {
@@ -32,6 +32,12 @@ export function useSuspenseInfiniteQuery<
>,
queryClient?: QueryClient,
): UseSuspenseInfiniteQueryResult {
+ if (process.env.NODE_ENV !== 'production') {
+ if (options.queryFn === skipToken) {
+ console.error('skipToken is not allowed for useSuspenseInfiniteQuery')
+ }
+ }
+
return useBaseQuery(
{
...options,
diff --git a/packages/react-query/src/useSuspenseQueries.ts b/packages/react-query/src/useSuspenseQueries.ts
index b316849be2..5aefd670d7 100644
--- a/packages/react-query/src/useSuspenseQueries.ts
+++ b/packages/react-query/src/useSuspenseQueries.ts
@@ -1,13 +1,14 @@
'use client'
+import {
+ type DefaultError,
+ type QueryClient,
+ type QueryFunction,
+ type ThrowOnError,
+ skipToken,
+} from '@tanstack/query-core'
import { useQueries } from './useQueries'
import { defaultThrowOnError } from './suspense'
import type { UseSuspenseQueryOptions, UseSuspenseQueryResult } from './types'
-import type {
- DefaultError,
- QueryClient,
- QueryFunction,
- ThrowOnError,
-} from '@tanstack/query-core'
// Avoid TS depth-limit error in case of large array literal
type MAXIMUM_DEPTH = 20
@@ -190,13 +191,21 @@ export function useSuspenseQueries<
return useQueries(
{
...options,
- queries: options.queries.map((query) => ({
- ...query,
- suspense: true,
- throwOnError: defaultThrowOnError,
- enabled: true,
- placeholderData: undefined,
- })),
+ queries: options.queries.map((query) => {
+ if (process.env.NODE_ENV !== 'production') {
+ if (query.queryFn === skipToken) {
+ console.error('skipToken is not allowed for useSuspenseQueries')
+ }
+ }
+
+ return {
+ ...query,
+ suspense: true,
+ throwOnError: defaultThrowOnError,
+ enabled: true,
+ placeholderData: undefined,
+ }
+ }),
} as any,
queryClient,
)
From 3ef788786c2275cda14f6c0b0cd2216f4164d82c Mon Sep 17 00:00:00 2001
From: Dominik Dorfmeister
Date: Fri, 26 Jul 2024 10:44:32 +0200
Subject: [PATCH 4/5] fix(query-core): abort fetch loop for infinite queries if
getNextPageParam returns null or undefined (#7799)
The `fetchPage` function has a safeguard where it only returns the current data if pageParam == null, however, this means we still stay in the loop and call `getNextPageParam` unnecessarily.
This can be troublesome if you set `pages: Infinity` on queryClient.fetchInfiniteQuery to fetch an arbitrary amount of pages until the natural end is reached by returning null/undefined from getNextPageParam, because it would never actually escape the loop
---
packages/query-core/src/__tests__/queryClient.test.tsx | 10 ++++++++--
packages/query-core/src/infiniteQueryBehavior.ts | 3 +++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/packages/query-core/src/__tests__/queryClient.test.tsx b/packages/query-core/src/__tests__/queryClient.test.tsx
index 6530ec9974..2468f5834d 100644
--- a/packages/query-core/src/__tests__/queryClient.test.tsx
+++ b/packages/query-core/src/__tests__/queryClient.test.tsx
@@ -746,12 +746,15 @@ describe('queryClient', () => {
test('should stop prefetching if getNextPageParam returns undefined', async () => {
const key = queryKey()
+ let count = 0
await queryClient.prefetchInfiniteQuery({
queryKey: key,
queryFn: ({ pageParam }) => String(pageParam),
- getNextPageParam: (_lastPage, _pages, lastPageParam) =>
- lastPageParam >= 20 ? undefined : lastPageParam + 5,
+ getNextPageParam: (_lastPage, _pages, lastPageParam) => {
+ count++
+ return lastPageParam >= 20 ? undefined : lastPageParam + 5
+ },
initialPageParam: 10,
pages: 5,
})
@@ -762,6 +765,9 @@ describe('queryClient', () => {
pages: ['10', '15', '20'],
pageParams: [10, 15, 20],
})
+
+ // this check ensures we're exiting the fetch loop early
+ expect(count).toBe(3)
})
})
diff --git a/packages/query-core/src/infiniteQueryBehavior.ts b/packages/query-core/src/infiniteQueryBehavior.ts
index 90bf8af2a4..5db6e34ba1 100644
--- a/packages/query-core/src/infiniteQueryBehavior.ts
+++ b/packages/query-core/src/infiniteQueryBehavior.ts
@@ -103,6 +103,9 @@ export function infiniteQueryBehavior(
// Fetch remaining pages
for (let i = 1; i < remainingPages; i++) {
const param = getNextPageParam(options, result)
+ if (param == null) {
+ break
+ }
result = await fetchPage(result, param)
}
}
From fec324f7e3f218751b94834f635ac8356464d485 Mon Sep 17 00:00:00 2001
From: Tanner Linsley
Date: Fri, 26 Jul 2024 08:47:44 +0000
Subject: [PATCH 5/5] release: v5.51.14
---
examples/angular/basic/package.json | 4 +-
.../package.json | 4 +-
examples/angular/router/package.json | 4 +-
examples/angular/simple/package.json | 4 +-
examples/react/algolia/package.json | 6 +-
examples/react/auto-refetching/package.json | 4 +-
.../react/basic-graphql-request/package.json | 4 +-
examples/react/basic/package.json | 10 +-
.../react/default-query-function/package.json | 4 +-
.../package.json | 4 +-
.../load-more-infinite-scroll/package.json | 4 +-
.../react/nextjs-app-prefetching/package.json | 4 +-
.../nextjs-suspense-streaming/package.json | 6 +-
examples/react/nextjs/package.json | 4 +-
examples/react/offline/package.json | 8 +-
.../optimistic-updates-cache/package.json | 4 +-
.../react/optimistic-updates-ui/package.json | 4 +-
examples/react/pagination/package.json | 4 +-
examples/react/playground/package.json | 4 +-
examples/react/prefetching/package.json | 4 +-
examples/react/react-native/package.json | 4 +-
examples/react/react-router/package.json | 4 +-
examples/react/rick-morty/package.json | 4 +-
examples/react/shadow-dom/package.json | 4 +-
examples/react/simple/package.json | 4 +-
examples/react/star-wars/package.json | 4 +-
examples/react/suspense/package.json | 4 +-
examples/solid/astro/package.json | 4 +-
.../solid/basic-graphql-request/package.json | 4 +-
examples/solid/basic/package.json | 4 +-
.../solid/default-query-function/package.json | 4 +-
examples/solid/simple/package.json | 6 +-
.../solid/solid-start-streaming/package.json | 4 +-
examples/svelte/auto-refetching/package.json | 4 +-
examples/svelte/basic/package.json | 4 +-
.../load-more-infinite-scroll/package.json | 4 +-
.../package.json | 4 +-
examples/svelte/playground/package.json | 4 +-
examples/svelte/simple/package.json | 4 +-
examples/svelte/ssr/package.json | 4 +-
examples/svelte/star-wars/package.json | 4 +-
examples/vue/2.6-basic/package.json | 2 +-
examples/vue/2.7-basic/package.json | 2 +-
examples/vue/basic/package.json | 4 +-
examples/vue/dependent-queries/package.json | 2 +-
examples/vue/nuxt3/package.json | 2 +-
examples/vue/persister/package.json | 8 +-
examples/vue/simple/package.json | 4 +-
.../package.json | 2 +-
.../angular-query-experimental/package.json | 2 +-
packages/eslint-plugin-query/package.json | 2 +-
.../package.json | 2 +-
.../package.json | 2 +-
packages/query-core/package.json | 2 +-
.../query-persist-client-core/package.json | 2 +-
.../query-sync-storage-persister/package.json | 2 +-
packages/react-query-devtools/package.json | 2 +-
.../package.json | 2 +-
.../react-query-persist-client/package.json | 2 +-
packages/react-query/package.json | 2 +-
packages/solid-query-devtools/package.json | 2 +-
.../solid-query-persist-client/package.json | 2 +-
packages/solid-query/package.json | 2 +-
packages/svelte-query-devtools/package.json | 2 +-
.../svelte-query-persist-client/package.json | 2 +-
packages/svelte-query/package.json | 2 +-
packages/vue-query-devtools/package.json | 2 +-
packages/vue-query/package.json | 2 +-
pnpm-lock.yaml | 198 +++++++++---------
69 files changed, 221 insertions(+), 221 deletions(-)
diff --git a/examples/angular/basic/package.json b/examples/angular/basic/package.json
index 2bb102ec1a..9ae835523f 100644
--- a/examples/angular/basic/package.json
+++ b/examples/angular/basic/package.json
@@ -14,7 +14,7 @@
"@angular/core": "^17.3.10",
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
- "@tanstack/angular-query-experimental": "^5.51.9",
+ "@tanstack/angular-query-experimental": "^5.51.14",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -23,7 +23,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
- "@tanstack/angular-query-devtools-experimental": "^5.51.9",
+ "@tanstack/angular-query-devtools-experimental": "^5.51.14",
"typescript": "5.3.3"
}
}
diff --git a/examples/angular/infinite-query-with-max-pages/package.json b/examples/angular/infinite-query-with-max-pages/package.json
index 5b32ab3efd..01f2a7d5b3 100644
--- a/examples/angular/infinite-query-with-max-pages/package.json
+++ b/examples/angular/infinite-query-with-max-pages/package.json
@@ -14,7 +14,7 @@
"@angular/core": "^17.3.10",
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
- "@tanstack/angular-query-experimental": "^5.51.9",
+ "@tanstack/angular-query-experimental": "^5.51.14",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -23,7 +23,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
- "@tanstack/angular-query-devtools-experimental": "^5.51.9",
+ "@tanstack/angular-query-devtools-experimental": "^5.51.14",
"typescript": "5.3.3"
}
}
diff --git a/examples/angular/router/package.json b/examples/angular/router/package.json
index c814a9f140..98cae63058 100644
--- a/examples/angular/router/package.json
+++ b/examples/angular/router/package.json
@@ -15,7 +15,7 @@
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
"@angular/router": "^17.3.10",
- "@tanstack/angular-query-experimental": "^5.51.9",
+ "@tanstack/angular-query-experimental": "^5.51.14",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -24,7 +24,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
- "@tanstack/angular-query-devtools-experimental": "^5.51.9",
+ "@tanstack/angular-query-devtools-experimental": "^5.51.14",
"typescript": "5.3.3"
}
}
diff --git a/examples/angular/simple/package.json b/examples/angular/simple/package.json
index dfb8a2308e..6194e5ba46 100644
--- a/examples/angular/simple/package.json
+++ b/examples/angular/simple/package.json
@@ -15,7 +15,7 @@
"@angular/platform-browser": "^17.3.10",
"@angular/platform-browser-dynamic": "^17.3.10",
"@angular/router": "^17.3.10",
- "@tanstack/angular-query-experimental": "^5.51.9",
+ "@tanstack/angular-query-experimental": "^5.51.14",
"rxjs": "^7.8.1",
"tslib": "^2.6.2",
"zone.js": "^0.14.6"
@@ -24,7 +24,7 @@
"@angular-devkit/build-angular": "^17.3.8",
"@angular/cli": "^17.3.8",
"@angular/compiler-cli": "^17.3.10",
- "@tanstack/angular-query-devtools-experimental": "^5.51.9",
+ "@tanstack/angular-query-devtools-experimental": "^5.51.14",
"typescript": "5.3.3"
}
}
diff --git a/examples/react/algolia/package.json b/examples/react/algolia/package.json
index 62da5830b2..a39145da42 100644
--- a/examples/react/algolia/package.json
+++ b/examples/react/algolia/package.json
@@ -11,14 +11,14 @@
"dependencies": {
"@algolia/client-search": "4.23.3",
"@algolia/transporter": "4.23.3",
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"algoliasearch": "4.23.3",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
- "@tanstack/eslint-plugin-query": "^5.51.13",
+ "@tanstack/eslint-plugin-query": "^5.51.14",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^4.3.1",
diff --git a/examples/react/auto-refetching/package.json b/examples/react/auto-refetching/package.json
index 415b9bc432..9b531a4d9a 100644
--- a/examples/react/auto-refetching/package.json
+++ b/examples/react/auto-refetching/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/basic-graphql-request/package.json b/examples/react/basic-graphql-request/package.json
index e2720d2168..6df7490d1e 100644
--- a/examples/react/basic-graphql-request/package.json
+++ b/examples/react/basic-graphql-request/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"react": "19.0.0-rc-4c2e457c7c-20240522",
diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json
index 2ff11fbbea..30d0eb0ee3 100644
--- a/examples/react/basic/package.json
+++ b/examples/react/basic/package.json
@@ -9,15 +9,15 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/query-sync-storage-persister": "^5.51.9",
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
- "@tanstack/react-query-persist-client": "^5.51.11",
+ "@tanstack/query-sync-storage-persister": "^5.51.14",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
+ "@tanstack/react-query-persist-client": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
"devDependencies": {
- "@tanstack/eslint-plugin-query": "^5.51.13",
+ "@tanstack/eslint-plugin-query": "^5.51.14",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^4.3.1",
diff --git a/examples/react/default-query-function/package.json b/examples/react/default-query-function/package.json
index 6bc0405b1a..73210954ac 100644
--- a/examples/react/default-query-function/package.json
+++ b/examples/react/default-query-function/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
diff --git a/examples/react/infinite-query-with-max-pages/package.json b/examples/react/infinite-query-with-max-pages/package.json
index d7908d6b90..655d9df99e 100644
--- a/examples/react/infinite-query-with-max-pages/package.json
+++ b/examples/react/infinite-query-with-max-pages/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/load-more-infinite-scroll/package.json b/examples/react/load-more-infinite-scroll/package.json
index 317b9265ab..9d73f77df8 100644
--- a/examples/react/load-more-infinite-scroll/package.json
+++ b/examples/react/load-more-infinite-scroll/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/examples/react/nextjs-app-prefetching/package.json b/examples/react/nextjs-app-prefetching/package.json
index fd0387bc43..a0f9f5cbd4 100644
--- a/examples/react/nextjs-app-prefetching/package.json
+++ b/examples/react/nextjs-app-prefetching/package.json
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^15.0.0-rc.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
diff --git a/examples/react/nextjs-suspense-streaming/package.json b/examples/react/nextjs-suspense-streaming/package.json
index c50fdd0a0f..042ac8cb75 100644
--- a/examples/react/nextjs-suspense-streaming/package.json
+++ b/examples/react/nextjs-suspense-streaming/package.json
@@ -9,9 +9,9 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
- "@tanstack/react-query-next-experimental": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
+ "@tanstack/react-query-next-experimental": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/nextjs/package.json b/examples/react/nextjs/package.json
index 34b4006e2c..64c4dbed21 100644
--- a/examples/react/nextjs/package.json
+++ b/examples/react/nextjs/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/offline/package.json b/examples/react/offline/package.json
index db3a48b231..64a34a7a18 100644
--- a/examples/react/offline/package.json
+++ b/examples/react/offline/package.json
@@ -8,11 +8,11 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/query-sync-storage-persister": "^5.51.9",
+ "@tanstack/query-sync-storage-persister": "^5.51.14",
"@tanstack/react-location": "^3.7.4",
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
- "@tanstack/react-query-persist-client": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
+ "@tanstack/react-query-persist-client": "^5.51.14",
"msw": "^2.3.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
diff --git a/examples/react/optimistic-updates-cache/package.json b/examples/react/optimistic-updates-cache/package.json
index 0adfc3072a..aaac72542d 100755
--- a/examples/react/optimistic-updates-cache/package.json
+++ b/examples/react/optimistic-updates-cache/package.json
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/optimistic-updates-ui/package.json b/examples/react/optimistic-updates-ui/package.json
index c9376483e1..5e915fc67f 100755
--- a/examples/react/optimistic-updates-ui/package.json
+++ b/examples/react/optimistic-updates-ui/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/pagination/package.json b/examples/react/pagination/package.json
index 690d717e88..c2171e06d0 100644
--- a/examples/react/pagination/package.json
+++ b/examples/react/pagination/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/playground/package.json b/examples/react/playground/package.json
index bd8dcb0769..f17d4d6803 100644
--- a/examples/react/playground/package.json
+++ b/examples/react/playground/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
diff --git a/examples/react/prefetching/package.json b/examples/react/prefetching/package.json
index fd269e9839..e9ccefff3c 100644
--- a/examples/react/prefetching/package.json
+++ b/examples/react/prefetching/package.json
@@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"next": "^14.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
diff --git a/examples/react/react-native/package.json b/examples/react/react-native/package.json
index 378fc68de8..0bbf13920e 100644
--- a/examples/react/react-native/package.json
+++ b/examples/react/react-native/package.json
@@ -14,8 +14,8 @@
"@react-native-community/netinfo": "^11.3.1",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"expo": "^51.0.8",
"expo-constants": "^16.0.1",
"expo-status-bar": "^1.12.1",
diff --git a/examples/react/react-router/package.json b/examples/react/react-router/package.json
index e456e82722..3698e8d229 100644
--- a/examples/react/react-router/package.json
+++ b/examples/react/react-router/package.json
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"localforage": "^1.10.0",
"match-sorter": "^6.3.4",
"react": "19.0.0-rc-4c2e457c7c-20240522",
diff --git a/examples/react/rick-morty/package.json b/examples/react/rick-morty/package.json
index f2cbaee96a..129cae264f 100644
--- a/examples/react/rick-morty/package.json
+++ b/examples/react/rick-morty/package.json
@@ -12,8 +12,8 @@
"@emotion/styled": "^11.11.5",
"@mui/material": "^5.15.18",
"@mui/styles": "^5.15.18",
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
"react-router": "^6.23.1",
diff --git a/examples/react/shadow-dom/package.json b/examples/react/shadow-dom/package.json
index 733f5fc449..520ca5e544 100644
--- a/examples/react/shadow-dom/package.json
+++ b/examples/react/shadow-dom/package.json
@@ -9,8 +9,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
diff --git a/examples/react/simple/package.json b/examples/react/simple/package.json
index c63b7fed90..58b969cc25 100644
--- a/examples/react/simple/package.json
+++ b/examples/react/simple/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522"
},
diff --git a/examples/react/star-wars/package.json b/examples/react/star-wars/package.json
index a9ce4bf81a..6221457c4e 100644
--- a/examples/react/star-wars/package.json
+++ b/examples/react/star-wars/package.json
@@ -12,8 +12,8 @@
"@emotion/styled": "^11.11.5",
"@mui/material": "^5.15.18",
"@mui/styles": "^5.15.18",
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
"react-router": "^6.23.1",
diff --git a/examples/react/suspense/package.json b/examples/react/suspense/package.json
index 9b6ad73658..f5274d2128 100644
--- a/examples/react/suspense/package.json
+++ b/examples/react/suspense/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/react-query": "^5.51.11",
- "@tanstack/react-query-devtools": "^5.51.11",
+ "@tanstack/react-query": "^5.51.14",
+ "@tanstack/react-query-devtools": "^5.51.14",
"font-awesome": "^4.7.0",
"react": "19.0.0-rc-4c2e457c7c-20240522",
"react-dom": "19.0.0-rc-4c2e457c7c-20240522",
diff --git a/examples/solid/astro/package.json b/examples/solid/astro/package.json
index 55b9eb0f76..9cfe4cf629 100644
--- a/examples/solid/astro/package.json
+++ b/examples/solid/astro/package.json
@@ -15,8 +15,8 @@
"@astrojs/solid-js": "^4.2.0",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.6.0",
- "@tanstack/solid-query": "^5.51.9",
- "@tanstack/solid-query-devtools": "^5.51.9",
+ "@tanstack/solid-query": "^5.51.14",
+ "@tanstack/solid-query-devtools": "^5.51.14",
"astro": "^4.8.6",
"solid-js": "^1.8.17",
"tailwindcss": "^3.4.3",
diff --git a/examples/solid/basic-graphql-request/package.json b/examples/solid/basic-graphql-request/package.json
index 52a0cdc55f..17faaa0608 100644
--- a/examples/solid/basic-graphql-request/package.json
+++ b/examples/solid/basic-graphql-request/package.json
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/solid-query": "^5.51.9",
- "@tanstack/solid-query-devtools": "^5.51.9",
+ "@tanstack/solid-query": "^5.51.14",
+ "@tanstack/solid-query-devtools": "^5.51.14",
"graphql": "^16.8.1",
"graphql-request": "^7.0.1",
"solid-js": "^1.8.17"
diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json
index 8e5c5fd25f..9d06453699 100644
--- a/examples/solid/basic/package.json
+++ b/examples/solid/basic/package.json
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/solid-query": "^5.51.9",
- "@tanstack/solid-query-devtools": "^5.51.9",
+ "@tanstack/solid-query": "^5.51.14",
+ "@tanstack/solid-query-devtools": "^5.51.14",
"solid-js": "^1.8.17"
},
"devDependencies": {
diff --git a/examples/solid/default-query-function/package.json b/examples/solid/default-query-function/package.json
index 08b7f7ede0..91148988bd 100644
--- a/examples/solid/default-query-function/package.json
+++ b/examples/solid/default-query-function/package.json
@@ -9,8 +9,8 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/solid-query": "^5.51.9",
- "@tanstack/solid-query-devtools": "^5.51.9",
+ "@tanstack/solid-query": "^5.51.14",
+ "@tanstack/solid-query-devtools": "^5.51.14",
"solid-js": "^1.8.17"
},
"devDependencies": {
diff --git a/examples/solid/simple/package.json b/examples/solid/simple/package.json
index a9cf662717..6095fc8fe8 100644
--- a/examples/solid/simple/package.json
+++ b/examples/solid/simple/package.json
@@ -9,12 +9,12 @@
"test:types": "tsc"
},
"dependencies": {
- "@tanstack/solid-query": "^5.51.9",
- "@tanstack/solid-query-devtools": "^5.51.9",
+ "@tanstack/solid-query": "^5.51.14",
+ "@tanstack/solid-query-devtools": "^5.51.14",
"solid-js": "^1.8.17"
},
"devDependencies": {
- "@tanstack/eslint-plugin-query": "^5.51.13",
+ "@tanstack/eslint-plugin-query": "^5.51.14",
"typescript": "5.3.3",
"vite": "^5.3.3",
"vite-plugin-solid": "^2.10.2"
diff --git a/examples/solid/solid-start-streaming/package.json b/examples/solid/solid-start-streaming/package.json
index 9e56839c73..135d33d6f2 100644
--- a/examples/solid/solid-start-streaming/package.json
+++ b/examples/solid/solid-start-streaming/package.json
@@ -12,8 +12,8 @@
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.13.3",
"@solidjs/start": "^1.0.0-rc.1",
- "@tanstack/solid-query": "^5.51.9",
- "@tanstack/solid-query-devtools": "^5.51.9",
+ "@tanstack/solid-query": "^5.51.14",
+ "@tanstack/solid-query-devtools": "^5.51.14",
"solid-js": "^1.8.17",
"vinxi": "^0.3.10"
},
diff --git a/examples/svelte/auto-refetching/package.json b/examples/svelte/auto-refetching/package.json
index b809e0904a..750caabc45 100644
--- a/examples/svelte/auto-refetching/package.json
+++ b/examples/svelte/auto-refetching/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/svelte/basic/package.json b/examples/svelte/basic/package.json
index af1fb4ac27..2bff2d2996 100644
--- a/examples/svelte/basic/package.json
+++ b/examples/svelte/basic/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/svelte/load-more-infinite-scroll/package.json b/examples/svelte/load-more-infinite-scroll/package.json
index 859ac5879b..5458ab9dae 100644
--- a/examples/svelte/load-more-infinite-scroll/package.json
+++ b/examples/svelte/load-more-infinite-scroll/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/svelte/optimistic-updates-typescript/package.json b/examples/svelte/optimistic-updates-typescript/package.json
index f221e33e9e..fdbe1e5f7e 100644
--- a/examples/svelte/optimistic-updates-typescript/package.json
+++ b/examples/svelte/optimistic-updates-typescript/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/svelte/playground/package.json b/examples/svelte/playground/package.json
index f962adc449..b1672b3188 100644
--- a/examples/svelte/playground/package.json
+++ b/examples/svelte/playground/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/svelte/simple/package.json b/examples/svelte/simple/package.json
index 75de9cf55e..6bfce5953c 100644
--- a/examples/svelte/simple/package.json
+++ b/examples/svelte/simple/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.0",
diff --git a/examples/svelte/ssr/package.json b/examples/svelte/ssr/package.json
index d6d6601b25..906215f653 100644
--- a/examples/svelte/ssr/package.json
+++ b/examples/svelte/ssr/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/svelte/star-wars/package.json b/examples/svelte/star-wars/package.json
index 5fcfaff962..e88b2926ec 100644
--- a/examples/svelte/star-wars/package.json
+++ b/examples/svelte/star-wars/package.json
@@ -9,8 +9,8 @@
"test:types": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
- "@tanstack/svelte-query": "^5.51.11",
- "@tanstack/svelte-query-devtools": "^5.51.11"
+ "@tanstack/svelte-query": "^5.51.14",
+ "@tanstack/svelte-query-devtools": "^5.51.14"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.2",
diff --git a/examples/vue/2.6-basic/package.json b/examples/vue/2.6-basic/package.json
index 89e21e6f2c..87f23ed336 100644
--- a/examples/vue/2.6-basic/package.json
+++ b/examples/vue/2.6-basic/package.json
@@ -8,7 +8,7 @@
"_preview": "vite preview"
},
"dependencies": {
- "@tanstack/vue-query": "^5.51.9",
+ "@tanstack/vue-query": "^5.51.14",
"@vue/composition-api": "1.7.2",
"vue": "2.6.14",
"vue-template-compiler": "2.6.14"
diff --git a/examples/vue/2.7-basic/package.json b/examples/vue/2.7-basic/package.json
index ff3d52de8b..16750448be 100644
--- a/examples/vue/2.7-basic/package.json
+++ b/examples/vue/2.7-basic/package.json
@@ -8,7 +8,7 @@
"_serve": "vite preview"
},
"dependencies": {
- "@tanstack/vue-query": "^5.51.9",
+ "@tanstack/vue-query": "^5.51.14",
"vue": "2.7.16",
"vue-template-compiler": "2.7.16"
},
diff --git a/examples/vue/basic/package.json b/examples/vue/basic/package.json
index 215fb980d4..11f5a72342 100644
--- a/examples/vue/basic/package.json
+++ b/examples/vue/basic/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/vue-query": "^5.51.9",
- "@tanstack/vue-query-devtools": "^5.51.9",
+ "@tanstack/vue-query": "^5.51.14",
+ "@tanstack/vue-query-devtools": "^5.51.14",
"vue": "^3.4.27"
},
"devDependencies": {
diff --git a/examples/vue/dependent-queries/package.json b/examples/vue/dependent-queries/package.json
index f554d56e35..3b04202d5f 100644
--- a/examples/vue/dependent-queries/package.json
+++ b/examples/vue/dependent-queries/package.json
@@ -8,7 +8,7 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/vue-query": "^5.51.9",
+ "@tanstack/vue-query": "^5.51.14",
"vue": "^3.4.27"
},
"devDependencies": {
diff --git a/examples/vue/nuxt3/package.json b/examples/vue/nuxt3/package.json
index 2044306d54..904cddc23a 100644
--- a/examples/vue/nuxt3/package.json
+++ b/examples/vue/nuxt3/package.json
@@ -7,7 +7,7 @@
"_start": "node .output/server/index.mjs"
},
"dependencies": {
- "@tanstack/vue-query": "^5.51.9"
+ "@tanstack/vue-query": "^5.51.14"
},
"devDependencies": {
"nuxt": "^3.5.2"
diff --git a/examples/vue/persister/package.json b/examples/vue/persister/package.json
index fa89fecbe0..cbb3e006ab 100644
--- a/examples/vue/persister/package.json
+++ b/examples/vue/persister/package.json
@@ -8,10 +8,10 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/query-core": "^5.51.9",
- "@tanstack/query-persist-client-core": "^5.51.9",
- "@tanstack/query-sync-storage-persister": "^5.51.9",
- "@tanstack/vue-query": "^5.51.9",
+ "@tanstack/query-core": "^5.51.14",
+ "@tanstack/query-persist-client-core": "^5.51.14",
+ "@tanstack/query-sync-storage-persister": "^5.51.14",
+ "@tanstack/vue-query": "^5.51.14",
"idb-keyval": "^6.2.1",
"vue": "^3.4.27"
},
diff --git a/examples/vue/simple/package.json b/examples/vue/simple/package.json
index 67056738a1..31f8a084f5 100644
--- a/examples/vue/simple/package.json
+++ b/examples/vue/simple/package.json
@@ -8,8 +8,8 @@
"preview": "vite preview"
},
"dependencies": {
- "@tanstack/vue-query": "^5.51.9",
- "@tanstack/vue-query-devtools": "^5.51.9",
+ "@tanstack/vue-query": "^5.51.14",
+ "@tanstack/vue-query-devtools": "^5.51.14",
"vue": "^3.4.27"
},
"devDependencies": {
diff --git a/packages/angular-query-devtools-experimental/package.json b/packages/angular-query-devtools-experimental/package.json
index 513afdda77..3cff990a24 100644
--- a/packages/angular-query-devtools-experimental/package.json
+++ b/packages/angular-query-devtools-experimental/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/angular-query-devtools-experimental",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Developer tools to interact with and visualize the TanStack/angular-query cache",
"author": "Arnoud de Vries",
"license": "MIT",
diff --git a/packages/angular-query-experimental/package.json b/packages/angular-query-experimental/package.json
index ffcb3642b6..2998c16365 100644
--- a/packages/angular-query-experimental/package.json
+++ b/packages/angular-query-experimental/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/angular-query-experimental",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Signals for managing, caching and syncing asynchronous and remote data in Angular",
"author": "Arnoud de Vries",
"license": "MIT",
diff --git a/packages/eslint-plugin-query/package.json b/packages/eslint-plugin-query/package.json
index 369a51716d..28c4950873 100644
--- a/packages/eslint-plugin-query/package.json
+++ b/packages/eslint-plugin-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/eslint-plugin-query",
- "version": "5.51.13",
+ "version": "5.51.14",
"description": "ESLint plugin for TanStack Query",
"author": "Eliya Cohen",
"license": "MIT",
diff --git a/packages/query-async-storage-persister/package.json b/packages/query-async-storage-persister/package.json
index 5f8cc330d9..5084c4acaa 100644
--- a/packages/query-async-storage-persister/package.json
+++ b/packages/query-async-storage-persister/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/query-async-storage-persister",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "A persister for asynchronous storages, to be used with TanStack/Query",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/query-broadcast-client-experimental/package.json b/packages/query-broadcast-client-experimental/package.json
index 63f3e8bfbf..aab3292337 100644
--- a/packages/query-broadcast-client-experimental/package.json
+++ b/packages/query-broadcast-client-experimental/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/query-broadcast-client-experimental",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "An experimental plugin to for broadcasting the state of your queryClient between browser tabs/windows",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/query-core/package.json b/packages/query-core/package.json
index 05aa383f4b..16c5df1305 100644
--- a/packages/query-core/package.json
+++ b/packages/query-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/query-core",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "The framework agnostic core that powers TanStack Query",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/query-persist-client-core/package.json b/packages/query-persist-client-core/package.json
index c1dae6b3bf..30056a703c 100644
--- a/packages/query-persist-client-core/package.json
+++ b/packages/query-persist-client-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/query-persist-client-core",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Set of utilities for interacting with persisters, which can save your queryClient for later use",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/query-sync-storage-persister/package.json b/packages/query-sync-storage-persister/package.json
index 616c74d382..f8aa92ad90 100644
--- a/packages/query-sync-storage-persister/package.json
+++ b/packages/query-sync-storage-persister/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/query-sync-storage-persister",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "A persister for synchronous storages, to be used with TanStack/Query",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/react-query-devtools/package.json b/packages/react-query-devtools/package.json
index 761a271da7..573628164e 100644
--- a/packages/react-query-devtools/package.json
+++ b/packages/react-query-devtools/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-query-devtools",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "Developer tools to interact with and visualize the TanStack/react-query cache",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/react-query-next-experimental/package.json b/packages/react-query-next-experimental/package.json
index ef7c85f751..93fc1dda69 100644
--- a/packages/react-query-next-experimental/package.json
+++ b/packages/react-query-next-experimental/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-query-next-experimental",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "Hydration utils for React Query in the NextJs app directory",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/react-query-persist-client/package.json b/packages/react-query-persist-client/package.json
index f394402c4b..32b009cbec 100644
--- a/packages/react-query-persist-client/package.json
+++ b/packages/react-query-persist-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-query-persist-client",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "React bindings to work with persisters in TanStack/react-query",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/react-query/package.json b/packages/react-query/package.json
index 58f464503d..84ce5429b4 100644
--- a/packages/react-query/package.json
+++ b/packages/react-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/react-query",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/solid-query-devtools/package.json b/packages/solid-query-devtools/package.json
index 7fa8af03bd..edb96f5a60 100644
--- a/packages/solid-query-devtools/package.json
+++ b/packages/solid-query-devtools/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-query-devtools",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/solid-query-persist-client/package.json b/packages/solid-query-persist-client/package.json
index 0f67c92127..bdfd09c195 100644
--- a/packages/solid-query-persist-client/package.json
+++ b/packages/solid-query-persist-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-query-persist-client",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Solid.js bindings to work with persisters in TanStack/solid-query",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/solid-query/package.json b/packages/solid-query/package.json
index b365f8c6dc..bad49d91eb 100644
--- a/packages/solid-query/package.json
+++ b/packages/solid-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/solid-query",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/svelte-query-devtools/package.json b/packages/svelte-query-devtools/package.json
index d2f4d698e9..0f8c88a3e3 100644
--- a/packages/svelte-query-devtools/package.json
+++ b/packages/svelte-query-devtools/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/svelte-query-devtools",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "Developer tools to interact with and visualize the TanStack/svelte-query cache",
"author": "Lachlan Collins",
"license": "MIT",
diff --git a/packages/svelte-query-persist-client/package.json b/packages/svelte-query-persist-client/package.json
index d0e7574f43..82d6296d5c 100644
--- a/packages/svelte-query-persist-client/package.json
+++ b/packages/svelte-query-persist-client/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/svelte-query-persist-client",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "Svelte bindings to work with persisters in TanStack/svelte-query",
"author": "Lachlan Collins",
"license": "MIT",
diff --git a/packages/svelte-query/package.json b/packages/svelte-query/package.json
index c2c2b5f793..41b64c6c96 100644
--- a/packages/svelte-query/package.json
+++ b/packages/svelte-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/svelte-query",
- "version": "5.51.11",
+ "version": "5.51.14",
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Svelte",
"author": "Lachlan Collins",
"license": "MIT",
diff --git a/packages/vue-query-devtools/package.json b/packages/vue-query-devtools/package.json
index 3aae015415..6947234417 100644
--- a/packages/vue-query-devtools/package.json
+++ b/packages/vue-query-devtools/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-query-devtools",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Developer tools to interact with and visualize the TanStack/vue-query cache",
"author": "tannerlinsley",
"license": "MIT",
diff --git a/packages/vue-query/package.json b/packages/vue-query/package.json
index d1c65e39ec..440bc7a744 100644
--- a/packages/vue-query/package.json
+++ b/packages/vue-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@tanstack/vue-query",
- "version": "5.51.9",
+ "version": "5.51.14",
"description": "Hooks for managing, caching and syncing asynchronous and remote data in Vue",
"author": "Damian Osipiuk",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 070e578789..d535815e90 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -145,7 +145,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/compiler@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(@angular/platform-browser@17.3.10(@angular/animations@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))
'@tanstack/angular-query-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-experimental
rxjs:
specifier: ^7.8.1
@@ -167,7 +167,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/compiler@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(typescript@5.3.3)
'@tanstack/angular-query-devtools-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-devtools-experimental
typescript:
specifier: 5.3.3
@@ -191,7 +191,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/compiler@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(@angular/platform-browser@17.3.10(@angular/animations@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))
'@tanstack/angular-query-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-experimental
rxjs:
specifier: ^7.8.1
@@ -213,7 +213,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/compiler@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(typescript@5.3.3)
'@tanstack/angular-query-devtools-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-devtools-experimental
typescript:
specifier: 5.3.3
@@ -240,7 +240,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(@angular/platform-browser@17.3.10(@angular/animations@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(rxjs@7.8.1)
'@tanstack/angular-query-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-experimental
rxjs:
specifier: ^7.8.1
@@ -262,7 +262,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/compiler@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(typescript@5.3.3)
'@tanstack/angular-query-devtools-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-devtools-experimental
typescript:
specifier: 5.3.3
@@ -289,7 +289,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(@angular/platform-browser@17.3.10(@angular/animations@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(@angular/common@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6))(rxjs@7.8.1))(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(rxjs@7.8.1)
'@tanstack/angular-query-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-experimental
rxjs:
specifier: ^7.8.1
@@ -311,7 +311,7 @@ importers:
specifier: ^17.3.10
version: 17.3.10(@angular/compiler@17.3.10(@angular/core@17.3.10(rxjs@7.8.1)(zone.js@0.14.6)))(typescript@5.3.3)
'@tanstack/angular-query-devtools-experimental':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/angular-query-devtools-experimental
typescript:
specifier: 5.3.3
@@ -326,10 +326,10 @@ importers:
specifier: 4.23.3
version: 4.23.3
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
algoliasearch:
specifier: 4.23.3
@@ -342,7 +342,7 @@ importers:
version: 19.0.0-rc-4c2e457c7c-20240522(react@19.0.0-rc-4c2e457c7c-20240522)
devDependencies:
'@tanstack/eslint-plugin-query':
- specifier: ^5.51.13
+ specifier: ^5.51.14
version: link:../../../packages/eslint-plugin-query
'@types/react':
specifier: npm:types-react@rc
@@ -363,10 +363,10 @@ importers:
examples/react/auto-refetching:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -391,16 +391,16 @@ importers:
examples/react/basic:
dependencies:
'@tanstack/query-sync-storage-persister':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/query-sync-storage-persister
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
'@tanstack/react-query-persist-client':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-persist-client
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -410,7 +410,7 @@ importers:
version: 19.0.0-rc-4c2e457c7c-20240522(react@19.0.0-rc-4c2e457c7c-20240522)
devDependencies:
'@tanstack/eslint-plugin-query':
- specifier: ^5.51.13
+ specifier: ^5.51.14
version: link:../../../packages/eslint-plugin-query
'@types/react':
specifier: npm:types-react@rc
@@ -434,10 +434,10 @@ importers:
examples/react/basic-graphql-request:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
graphql:
specifier: ^16.8.1
@@ -462,10 +462,10 @@ importers:
examples/react/default-query-function:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -487,10 +487,10 @@ importers:
examples/react/infinite-query-with-max-pages:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -515,10 +515,10 @@ importers:
examples/react/load-more-infinite-scroll:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -546,10 +546,10 @@ importers:
examples/react/nextjs:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -574,10 +574,10 @@ importers:
examples/react/nextjs-app-prefetching:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^15.0.0-rc.0
@@ -602,13 +602,13 @@ importers:
examples/react/nextjs-suspense-streaming:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
'@tanstack/react-query-next-experimental':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-next-experimental
next:
specifier: ^14.2.4
@@ -630,19 +630,19 @@ importers:
examples/react/offline:
dependencies:
'@tanstack/query-sync-storage-persister':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/query-sync-storage-persister
'@tanstack/react-location':
specifier: ^3.7.4
version: 3.7.4(react-dom@19.0.0-rc-4c2e457c7c-20240522(react@19.0.0-rc-4c2e457c7c-20240522))(react@19.0.0-rc-4c2e457c7c-20240522)
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
'@tanstack/react-query-persist-client':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-persist-client
msw:
specifier: ^2.3.0
@@ -670,10 +670,10 @@ importers:
examples/react/optimistic-updates-cache:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -698,10 +698,10 @@ importers:
examples/react/optimistic-updates-ui:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -726,10 +726,10 @@ importers:
examples/react/pagination:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -754,10 +754,10 @@ importers:
examples/react/playground:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -779,10 +779,10 @@ importers:
examples/react/prefetching:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
next:
specifier: ^14.2.4
@@ -816,10 +816,10 @@ importers:
specifier: ^6.3.16
version: 6.3.16(yri22tnekttmcucjv33ecr33bu)
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
expo:
specifier: ^51.0.8
@@ -868,10 +868,10 @@ importers:
examples/react/react-router:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
localforage:
specifier: ^1.10.0
@@ -932,10 +932,10 @@ importers:
specifier: ^5.15.18
version: 5.15.18(react@19.0.0-rc-4c2e457c7c-20240522)(types-react@19.0.0-rc.1)
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -963,10 +963,10 @@ importers:
examples/react/shadow-dom:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -1009,10 +1009,10 @@ importers:
examples/react/simple:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -1046,10 +1046,10 @@ importers:
specifier: ^5.15.18
version: 5.15.18(react@19.0.0-rc-4c2e457c7c-20240522)(types-react@19.0.0-rc.1)
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
react:
specifier: 19.0.0-rc-4c2e457c7c-20240522
@@ -1077,10 +1077,10 @@ importers:
examples/react/suspense:
dependencies:
'@tanstack/react-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query
'@tanstack/react-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/react-query-devtools
font-awesome:
specifier: ^4.7.0
@@ -1123,10 +1123,10 @@ importers:
specifier: ^7.6.0
version: 7.6.0(astro@4.9.1(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1)(typescript@5.3.3))(encoding@0.1.13)(next@14.2.4(@babel/core@7.24.6)(react-dom@19.0.0-rc-4c2e457c7c-20240522(react@19.0.0-rc-4c2e457c7c-20240522))(react@18.3.1)(sass@1.71.1))(react@18.3.1)
'@tanstack/solid-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query
'@tanstack/solid-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query-devtools
astro:
specifier: ^4.8.6
@@ -1144,10 +1144,10 @@ importers:
examples/solid/basic:
dependencies:
'@tanstack/solid-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query
'@tanstack/solid-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query-devtools
solid-js:
specifier: ^1.8.17
@@ -1166,10 +1166,10 @@ importers:
examples/solid/basic-graphql-request:
dependencies:
'@tanstack/solid-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query
'@tanstack/solid-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query-devtools
graphql:
specifier: ^16.8.1
@@ -1194,10 +1194,10 @@ importers:
examples/solid/default-query-function:
dependencies:
'@tanstack/solid-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query
'@tanstack/solid-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query-devtools
solid-js:
specifier: ^1.8.17
@@ -1216,17 +1216,17 @@ importers:
examples/solid/simple:
dependencies:
'@tanstack/solid-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query
'@tanstack/solid-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query-devtools
solid-js:
specifier: ^1.8.17
version: 1.8.17
devDependencies:
'@tanstack/eslint-plugin-query':
- specifier: ^5.51.13
+ specifier: ^5.51.14
version: link:../../../packages/eslint-plugin-query
typescript:
specifier: 5.3.3
@@ -1250,10 +1250,10 @@ importers:
specifier: ^1.0.0-rc.1
version: 1.0.0(@testing-library/jest-dom@6.4.6(vitest@2.0.3(@types/node@20.14.10)(jsdom@24.1.0)(less@4.2.0)(sass@1.71.1)(terser@5.29.1)))(rollup@4.14.1)(solid-js@1.8.17)(vinxi@0.3.11(@types/node@20.14.10)(idb-keyval@6.2.1)(ioredis@5.3.2)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))(vite@5.3.3(@types/node@20.14.10)(less@4.2.0)(sass@1.71.1)(terser@5.29.1))
'@tanstack/solid-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query
'@tanstack/solid-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/solid-query-devtools
solid-js:
specifier: ^1.8.17
@@ -1265,10 +1265,10 @@ importers:
examples/svelte/auto-refetching:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1296,10 +1296,10 @@ importers:
examples/svelte/basic:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1327,10 +1327,10 @@ importers:
examples/svelte/load-more-infinite-scroll:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1358,10 +1358,10 @@ importers:
examples/svelte/optimistic-updates-typescript:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1389,10 +1389,10 @@ importers:
examples/svelte/playground:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1420,10 +1420,10 @@ importers:
examples/svelte/simple:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/vite-plugin-svelte':
@@ -1448,10 +1448,10 @@ importers:
examples/svelte/ssr:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1479,10 +1479,10 @@ importers:
examples/svelte/star-wars:
dependencies:
'@tanstack/svelte-query':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query
'@tanstack/svelte-query-devtools':
- specifier: ^5.51.11
+ specifier: ^5.51.14
version: link:../../../packages/svelte-query-devtools
devDependencies:
'@sveltejs/adapter-auto':
@@ -1519,10 +1519,10 @@ importers:
examples/vue/basic:
dependencies:
'@tanstack/vue-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/vue-query
'@tanstack/vue-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/vue-query-devtools
vue:
specifier: ^3.4.27
@@ -1541,7 +1541,7 @@ importers:
examples/vue/dependent-queries:
dependencies:
'@tanstack/vue-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/vue-query
vue:
specifier: ^3.4.27
@@ -1560,16 +1560,16 @@ importers:
examples/vue/persister:
dependencies:
'@tanstack/query-core':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/query-core
'@tanstack/query-persist-client-core':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/query-persist-client-core
'@tanstack/query-sync-storage-persister':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/query-sync-storage-persister
'@tanstack/vue-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/vue-query
idb-keyval:
specifier: ^6.2.1
@@ -1591,10 +1591,10 @@ importers:
examples/vue/simple:
dependencies:
'@tanstack/vue-query':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/vue-query
'@tanstack/vue-query-devtools':
- specifier: ^5.51.9
+ specifier: ^5.51.14
version: link:../../../packages/vue-query-devtools
vue:
specifier: ^3.4.27