@tanstack/react-query 5.91.0 → 5.91.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,7 +58,6 @@ import { keepPreviousData } from '@tanstack/query-core';
|
|
|
58
58
|
import { ManagedTimerId } from '@tanstack/query-core';
|
|
59
59
|
import { matchMutation } from '@tanstack/query-core';
|
|
60
60
|
import { matchQuery } from '@tanstack/query-core';
|
|
61
|
-
import type { MockInstance } from 'vitest';
|
|
62
61
|
import { MutateFunction } from '@tanstack/query-core';
|
|
63
62
|
import { MutateOptions } from '@tanstack/query-core';
|
|
64
63
|
import { Mutation } from '@tanstack/query-core';
|
|
@@ -127,7 +126,6 @@ import * as React_2 from 'react';
|
|
|
127
126
|
import { RefetchOptions } from '@tanstack/query-core';
|
|
128
127
|
import { RefetchQueryFilters } from '@tanstack/query-core';
|
|
129
128
|
import { Register } from '@tanstack/query-core';
|
|
130
|
-
import { render } from '@testing-library/react';
|
|
131
129
|
import { replaceEqualDeep } from '@tanstack/query-core';
|
|
132
130
|
import { ResetOptions } from '@tanstack/query-core';
|
|
133
131
|
import { ResultOptions } from '@tanstack/query-core';
|
|
@@ -173,11 +171,6 @@ declare type AnyUseSuspenseQueryOptions = UseSuspenseQueryOptions<any, any, any,
|
|
|
173
171
|
export { AnyUseSuspenseQueryOptions }
|
|
174
172
|
export { AnyUseSuspenseQueryOptions as AnyUseSuspenseQueryOptions_alias_1 }
|
|
175
173
|
|
|
176
|
-
export declare function Blink({ duration, children, }: {
|
|
177
|
-
duration: number;
|
|
178
|
-
children: React_2.ReactNode;
|
|
179
|
-
}): JSX.Element;
|
|
180
|
-
|
|
181
174
|
export { CancelledError }
|
|
182
175
|
|
|
183
176
|
export { CancelOptions }
|
|
@@ -459,8 +452,6 @@ declare type MAXIMUM_DEPTH = 20;
|
|
|
459
452
|
|
|
460
453
|
declare type MAXIMUM_DEPTH_2 = 20;
|
|
461
454
|
|
|
462
|
-
export declare function mockOnlineManagerIsOnline(value: boolean): MockInstance<() => boolean>;
|
|
463
|
-
|
|
464
455
|
/**
|
|
465
456
|
* @param {Object} opts - Options for building configurations.
|
|
466
457
|
* @param {string[]} opts.entry - The entry array.
|
|
@@ -706,20 +697,14 @@ export { RefetchQueryFilters }
|
|
|
706
697
|
|
|
707
698
|
export { Register }
|
|
708
699
|
|
|
709
|
-
export declare function renderWithClient(client: QueryClient, ui: React_2.ReactElement): ReturnType<typeof render>;
|
|
710
|
-
|
|
711
700
|
export { replaceEqualDeep }
|
|
712
701
|
|
|
713
702
|
export { ResetOptions }
|
|
714
703
|
|
|
715
704
|
export { ResultOptions }
|
|
716
705
|
|
|
717
|
-
export declare function setActTimeout(fn: () => void, ms?: number): NodeJS.Timeout;
|
|
718
|
-
|
|
719
706
|
export { SetDataOptions }
|
|
720
707
|
|
|
721
|
-
export declare function setIsServer(value: boolean): () => void;
|
|
722
|
-
|
|
723
708
|
export declare const shouldSuspend: (defaultedOptions: DefaultedQueryObserverOptions<any, any, any, any, any> | undefined, result: QueryObserverResult<any, any>) => boolean | undefined;
|
|
724
709
|
|
|
725
710
|
export { shouldThrowError }
|
|
@@ -58,7 +58,6 @@ import { keepPreviousData } from '@tanstack/query-core';
|
|
|
58
58
|
import { ManagedTimerId } from '@tanstack/query-core';
|
|
59
59
|
import { matchMutation } from '@tanstack/query-core';
|
|
60
60
|
import { matchQuery } from '@tanstack/query-core';
|
|
61
|
-
import type { MockInstance } from 'vitest';
|
|
62
61
|
import { MutateFunction } from '@tanstack/query-core';
|
|
63
62
|
import { MutateOptions } from '@tanstack/query-core';
|
|
64
63
|
import { Mutation } from '@tanstack/query-core';
|
|
@@ -127,7 +126,6 @@ import * as React_2 from 'react';
|
|
|
127
126
|
import { RefetchOptions } from '@tanstack/query-core';
|
|
128
127
|
import { RefetchQueryFilters } from '@tanstack/query-core';
|
|
129
128
|
import { Register } from '@tanstack/query-core';
|
|
130
|
-
import { render } from '@testing-library/react';
|
|
131
129
|
import { replaceEqualDeep } from '@tanstack/query-core';
|
|
132
130
|
import { ResetOptions } from '@tanstack/query-core';
|
|
133
131
|
import { ResultOptions } from '@tanstack/query-core';
|
|
@@ -173,11 +171,6 @@ declare type AnyUseSuspenseQueryOptions = UseSuspenseQueryOptions<any, any, any,
|
|
|
173
171
|
export { AnyUseSuspenseQueryOptions }
|
|
174
172
|
export { AnyUseSuspenseQueryOptions as AnyUseSuspenseQueryOptions_alias_1 }
|
|
175
173
|
|
|
176
|
-
export declare function Blink({ duration, children, }: {
|
|
177
|
-
duration: number;
|
|
178
|
-
children: React_2.ReactNode;
|
|
179
|
-
}): JSX.Element;
|
|
180
|
-
|
|
181
174
|
export { CancelledError }
|
|
182
175
|
|
|
183
176
|
export { CancelOptions }
|
|
@@ -459,8 +452,6 @@ declare type MAXIMUM_DEPTH = 20;
|
|
|
459
452
|
|
|
460
453
|
declare type MAXIMUM_DEPTH_2 = 20;
|
|
461
454
|
|
|
462
|
-
export declare function mockOnlineManagerIsOnline(value: boolean): MockInstance<() => boolean>;
|
|
463
|
-
|
|
464
455
|
/**
|
|
465
456
|
* @param {Object} opts - Options for building configurations.
|
|
466
457
|
* @param {string[]} opts.entry - The entry array.
|
|
@@ -706,20 +697,14 @@ export { RefetchQueryFilters }
|
|
|
706
697
|
|
|
707
698
|
export { Register }
|
|
708
699
|
|
|
709
|
-
export declare function renderWithClient(client: QueryClient, ui: React_2.ReactElement): ReturnType<typeof render>;
|
|
710
|
-
|
|
711
700
|
export { replaceEqualDeep }
|
|
712
701
|
|
|
713
702
|
export { ResetOptions }
|
|
714
703
|
|
|
715
704
|
export { ResultOptions }
|
|
716
705
|
|
|
717
|
-
export declare function setActTimeout(fn: () => void, ms?: number): NodeJS.Timeout;
|
|
718
|
-
|
|
719
706
|
export { SetDataOptions }
|
|
720
707
|
|
|
721
|
-
export declare function setIsServer(value: boolean): () => void;
|
|
722
|
-
|
|
723
708
|
export declare const shouldSuspend: (defaultedOptions: DefaultedQueryObserverOptions<any, any, any, any, any> | undefined, result: QueryObserverResult<any, any>) => boolean | undefined;
|
|
724
709
|
|
|
725
710
|
export { shouldThrowError }
|
|
@@ -58,7 +58,6 @@ import { keepPreviousData } from '@tanstack/query-core';
|
|
|
58
58
|
import { ManagedTimerId } from '@tanstack/query-core';
|
|
59
59
|
import { matchMutation } from '@tanstack/query-core';
|
|
60
60
|
import { matchQuery } from '@tanstack/query-core';
|
|
61
|
-
import type { MockInstance } from 'vitest';
|
|
62
61
|
import { MutateFunction } from '@tanstack/query-core';
|
|
63
62
|
import { MutateOptions } from '@tanstack/query-core';
|
|
64
63
|
import { Mutation } from '@tanstack/query-core';
|
|
@@ -127,7 +126,6 @@ import * as React_2 from 'react';
|
|
|
127
126
|
import { RefetchOptions } from '@tanstack/query-core';
|
|
128
127
|
import { RefetchQueryFilters } from '@tanstack/query-core';
|
|
129
128
|
import { Register } from '@tanstack/query-core';
|
|
130
|
-
import { render } from '@testing-library/react';
|
|
131
129
|
import { replaceEqualDeep } from '@tanstack/query-core';
|
|
132
130
|
import { ResetOptions } from '@tanstack/query-core';
|
|
133
131
|
import { ResultOptions } from '@tanstack/query-core';
|
|
@@ -173,11 +171,6 @@ declare type AnyUseSuspenseQueryOptions = UseSuspenseQueryOptions<any, any, any,
|
|
|
173
171
|
export { AnyUseSuspenseQueryOptions }
|
|
174
172
|
export { AnyUseSuspenseQueryOptions as AnyUseSuspenseQueryOptions_alias_1 }
|
|
175
173
|
|
|
176
|
-
export declare function Blink({ duration, children, }: {
|
|
177
|
-
duration: number;
|
|
178
|
-
children: React_2.ReactNode;
|
|
179
|
-
}): JSX.Element;
|
|
180
|
-
|
|
181
174
|
export { CancelledError }
|
|
182
175
|
|
|
183
176
|
export { CancelOptions }
|
|
@@ -459,8 +452,6 @@ declare type MAXIMUM_DEPTH = 20;
|
|
|
459
452
|
|
|
460
453
|
declare type MAXIMUM_DEPTH_2 = 20;
|
|
461
454
|
|
|
462
|
-
export declare function mockOnlineManagerIsOnline(value: boolean): MockInstance<() => boolean>;
|
|
463
|
-
|
|
464
455
|
/**
|
|
465
456
|
* @param {Object} opts - Options for building configurations.
|
|
466
457
|
* @param {string[]} opts.entry - The entry array.
|
|
@@ -706,20 +697,14 @@ export { RefetchQueryFilters }
|
|
|
706
697
|
|
|
707
698
|
export { Register }
|
|
708
699
|
|
|
709
|
-
export declare function renderWithClient(client: QueryClient, ui: React_2.ReactElement): ReturnType<typeof render>;
|
|
710
|
-
|
|
711
700
|
export { replaceEqualDeep }
|
|
712
701
|
|
|
713
702
|
export { ResetOptions }
|
|
714
703
|
|
|
715
704
|
export { ResultOptions }
|
|
716
705
|
|
|
717
|
-
export declare function setActTimeout(fn: () => void, ms?: number): NodeJS.Timeout;
|
|
718
|
-
|
|
719
706
|
export { SetDataOptions }
|
|
720
707
|
|
|
721
|
-
export declare function setIsServer(value: boolean): () => void;
|
|
722
|
-
|
|
723
708
|
export declare const shouldSuspend: (defaultedOptions: DefaultedQueryObserverOptions<any, any, any, any, any> | undefined, result: QueryObserverResult<any, any>) => boolean | undefined;
|
|
724
709
|
|
|
725
710
|
export { shouldThrowError }
|
|
@@ -58,7 +58,6 @@ import { keepPreviousData } from '@tanstack/query-core';
|
|
|
58
58
|
import { ManagedTimerId } from '@tanstack/query-core';
|
|
59
59
|
import { matchMutation } from '@tanstack/query-core';
|
|
60
60
|
import { matchQuery } from '@tanstack/query-core';
|
|
61
|
-
import type { MockInstance } from 'vitest';
|
|
62
61
|
import { MutateFunction } from '@tanstack/query-core';
|
|
63
62
|
import { MutateOptions } from '@tanstack/query-core';
|
|
64
63
|
import { Mutation } from '@tanstack/query-core';
|
|
@@ -127,7 +126,6 @@ import * as React_2 from 'react';
|
|
|
127
126
|
import { RefetchOptions } from '@tanstack/query-core';
|
|
128
127
|
import { RefetchQueryFilters } from '@tanstack/query-core';
|
|
129
128
|
import { Register } from '@tanstack/query-core';
|
|
130
|
-
import { render } from '@testing-library/react';
|
|
131
129
|
import { replaceEqualDeep } from '@tanstack/query-core';
|
|
132
130
|
import { ResetOptions } from '@tanstack/query-core';
|
|
133
131
|
import { ResultOptions } from '@tanstack/query-core';
|
|
@@ -173,11 +171,6 @@ declare type AnyUseSuspenseQueryOptions = UseSuspenseQueryOptions<any, any, any,
|
|
|
173
171
|
export { AnyUseSuspenseQueryOptions }
|
|
174
172
|
export { AnyUseSuspenseQueryOptions as AnyUseSuspenseQueryOptions_alias_1 }
|
|
175
173
|
|
|
176
|
-
export declare function Blink({ duration, children, }: {
|
|
177
|
-
duration: number;
|
|
178
|
-
children: React_2.ReactNode;
|
|
179
|
-
}): JSX.Element;
|
|
180
|
-
|
|
181
174
|
export { CancelledError }
|
|
182
175
|
|
|
183
176
|
export { CancelOptions }
|
|
@@ -459,8 +452,6 @@ declare type MAXIMUM_DEPTH = 20;
|
|
|
459
452
|
|
|
460
453
|
declare type MAXIMUM_DEPTH_2 = 20;
|
|
461
454
|
|
|
462
|
-
export declare function mockOnlineManagerIsOnline(value: boolean): MockInstance<() => boolean>;
|
|
463
|
-
|
|
464
455
|
/**
|
|
465
456
|
* @param {Object} opts - Options for building configurations.
|
|
466
457
|
* @param {string[]} opts.entry - The entry array.
|
|
@@ -706,20 +697,14 @@ export { RefetchQueryFilters }
|
|
|
706
697
|
|
|
707
698
|
export { Register }
|
|
708
699
|
|
|
709
|
-
export declare function renderWithClient(client: QueryClient, ui: React_2.ReactElement): ReturnType<typeof render>;
|
|
710
|
-
|
|
711
700
|
export { replaceEqualDeep }
|
|
712
701
|
|
|
713
702
|
export { ResetOptions }
|
|
714
703
|
|
|
715
704
|
export { ResultOptions }
|
|
716
705
|
|
|
717
|
-
export declare function setActTimeout(fn: () => void, ms?: number): NodeJS.Timeout;
|
|
718
|
-
|
|
719
706
|
export { SetDataOptions }
|
|
720
707
|
|
|
721
|
-
export declare function setIsServer(value: boolean): () => void;
|
|
722
|
-
|
|
723
708
|
export declare const shouldSuspend: (defaultedOptions: DefaultedQueryObserverOptions<any, any, any, any, any> | undefined, result: QueryObserverResult<any, any>) => boolean | undefined;
|
|
724
709
|
|
|
725
710
|
export { shouldThrowError }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-query",
|
|
3
|
-
"version": "5.91.
|
|
3
|
+
"version": "5.91.3",
|
|
4
4
|
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"!build/codemods/**/__tests__"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@tanstack/query-core": "5.91.
|
|
47
|
+
"@tanstack/query-core": "5.91.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@testing-library/react": "^16.1.0",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"react": "^19.2.1",
|
|
58
58
|
"react-dom": "^19.2.1",
|
|
59
59
|
"react-error-boundary": "^4.1.2",
|
|
60
|
-
"@tanstack/query-
|
|
61
|
-
"@tanstack/query-
|
|
60
|
+
"@tanstack/query-test-utils": "0.0.0",
|
|
61
|
+
"@tanstack/query-persist-client-core": "5.92.4"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"react": "^18 || ^19"
|