@tanstack/react-query 5.95.1 → 5.96.0

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.
@@ -90,7 +90,6 @@ import { notifyManager } from '@tanstack/query-core';
90
90
  import { NotifyOnChangeProps } from '@tanstack/query-core';
91
91
  import { OmitKeyof } from '@tanstack/query-core';
92
92
  import { onlineManager } from '@tanstack/query-core';
93
- import { Options } from 'tsup';
94
93
  import { Override } from '@tanstack/query-core';
95
94
  import { partialMatchKey } from '@tanstack/query-core';
96
95
  import { PlaceholderDataFunction } from '@tanstack/query-core';
@@ -142,7 +141,6 @@ import { TimeoutProvider } from '@tanstack/query-core';
142
141
  import { UnsetMarker } from '@tanstack/query-core';
143
142
  import { unsetMarker } from '@tanstack/query-core';
144
143
  import { Updater } from '@tanstack/query-core';
145
- import { UserConfig } from 'vite';
146
144
  import { WithRequired } from '@tanstack/query-core';
147
145
 
148
146
  export { AnyDataTag }
@@ -181,14 +179,6 @@ export { dataTagErrorSymbol }
181
179
 
182
180
  export { dataTagSymbol }
183
181
 
184
- export declare const default_alias: any[];
185
-
186
- export declare const default_alias_1: any[];
187
-
188
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
189
-
190
- export declare const default_alias_3: UserConfig;
191
-
192
182
  export { DefaultedInfiniteQueryObserverOptions }
193
183
 
194
184
  export { DefaultedQueryObserverOptions }
@@ -433,15 +423,6 @@ export { isServer }
433
423
 
434
424
  export { keepPreviousData }
435
425
 
436
- /**
437
- * @param {Object} opts - Options for building configurations.
438
- * @param {string[]} opts.entry - The entry array.
439
- * @returns {import('tsup').Options}
440
- */
441
- export declare function legacyConfig(opts: {
442
- entry: string[];
443
- }): Options;
444
-
445
426
  export { ManagedTimerId }
446
427
 
447
428
  export { matchMutation }
@@ -452,15 +433,6 @@ declare type MAXIMUM_DEPTH = 20;
452
433
 
453
434
  declare type MAXIMUM_DEPTH_2 = 20;
454
435
 
455
- /**
456
- * @param {Object} opts - Options for building configurations.
457
- * @param {string[]} opts.entry - The entry array.
458
- * @returns {import('tsup').Options}
459
- */
460
- export declare function modernConfig(opts: {
461
- entry: string[];
462
- }): Options;
463
-
464
436
  export { MutateFunction }
465
437
 
466
438
  export { MutateOptions }
@@ -90,7 +90,6 @@ import { notifyManager } from '@tanstack/query-core';
90
90
  import { NotifyOnChangeProps } from '@tanstack/query-core';
91
91
  import { OmitKeyof } from '@tanstack/query-core';
92
92
  import { onlineManager } from '@tanstack/query-core';
93
- import { Options } from 'tsup';
94
93
  import { Override } from '@tanstack/query-core';
95
94
  import { partialMatchKey } from '@tanstack/query-core';
96
95
  import { PlaceholderDataFunction } from '@tanstack/query-core';
@@ -142,7 +141,6 @@ import { TimeoutProvider } from '@tanstack/query-core';
142
141
  import { UnsetMarker } from '@tanstack/query-core';
143
142
  import { unsetMarker } from '@tanstack/query-core';
144
143
  import { Updater } from '@tanstack/query-core';
145
- import { UserConfig } from 'vite';
146
144
  import { WithRequired } from '@tanstack/query-core';
147
145
 
148
146
  export { AnyDataTag }
@@ -181,14 +179,6 @@ export { dataTagErrorSymbol }
181
179
 
182
180
  export { dataTagSymbol }
183
181
 
184
- export declare const default_alias: any[];
185
-
186
- export declare const default_alias_1: any[];
187
-
188
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
189
-
190
- export declare const default_alias_3: UserConfig;
191
-
192
182
  export { DefaultedInfiniteQueryObserverOptions }
193
183
 
194
184
  export { DefaultedQueryObserverOptions }
@@ -433,15 +423,6 @@ export { isServer }
433
423
 
434
424
  export { keepPreviousData }
435
425
 
436
- /**
437
- * @param {Object} opts - Options for building configurations.
438
- * @param {string[]} opts.entry - The entry array.
439
- * @returns {import('tsup').Options}
440
- */
441
- export declare function legacyConfig(opts: {
442
- entry: string[];
443
- }): Options;
444
-
445
426
  export { ManagedTimerId }
446
427
 
447
428
  export { matchMutation }
@@ -452,15 +433,6 @@ declare type MAXIMUM_DEPTH = 20;
452
433
 
453
434
  declare type MAXIMUM_DEPTH_2 = 20;
454
435
 
455
- /**
456
- * @param {Object} opts - Options for building configurations.
457
- * @param {string[]} opts.entry - The entry array.
458
- * @returns {import('tsup').Options}
459
- */
460
- export declare function modernConfig(opts: {
461
- entry: string[];
462
- }): Options;
463
-
464
436
  export { MutateFunction }
465
437
 
466
438
  export { MutateOptions }
@@ -90,7 +90,6 @@ import { notifyManager } from '@tanstack/query-core';
90
90
  import { NotifyOnChangeProps } from '@tanstack/query-core';
91
91
  import { OmitKeyof } from '@tanstack/query-core';
92
92
  import { onlineManager } from '@tanstack/query-core';
93
- import { Options } from 'tsup';
94
93
  import { Override } from '@tanstack/query-core';
95
94
  import { partialMatchKey } from '@tanstack/query-core';
96
95
  import { PlaceholderDataFunction } from '@tanstack/query-core';
@@ -142,7 +141,6 @@ import { TimeoutProvider } from '@tanstack/query-core';
142
141
  import { UnsetMarker } from '@tanstack/query-core';
143
142
  import { unsetMarker } from '@tanstack/query-core';
144
143
  import { Updater } from '@tanstack/query-core';
145
- import { UserConfig } from 'vite';
146
144
  import { WithRequired } from '@tanstack/query-core';
147
145
 
148
146
  export { AnyDataTag }
@@ -181,14 +179,6 @@ export { dataTagErrorSymbol }
181
179
 
182
180
  export { dataTagSymbol }
183
181
 
184
- export declare const default_alias: any[];
185
-
186
- export declare const default_alias_1: any[];
187
-
188
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
189
-
190
- export declare const default_alias_3: UserConfig;
191
-
192
182
  export { DefaultedInfiniteQueryObserverOptions }
193
183
 
194
184
  export { DefaultedQueryObserverOptions }
@@ -433,15 +423,6 @@ export { isServer }
433
423
 
434
424
  export { keepPreviousData }
435
425
 
436
- /**
437
- * @param {Object} opts - Options for building configurations.
438
- * @param {string[]} opts.entry - The entry array.
439
- * @returns {import('tsup').Options}
440
- */
441
- export declare function legacyConfig(opts: {
442
- entry: string[];
443
- }): Options;
444
-
445
426
  export { ManagedTimerId }
446
427
 
447
428
  export { matchMutation }
@@ -452,15 +433,6 @@ declare type MAXIMUM_DEPTH = 20;
452
433
 
453
434
  declare type MAXIMUM_DEPTH_2 = 20;
454
435
 
455
- /**
456
- * @param {Object} opts - Options for building configurations.
457
- * @param {string[]} opts.entry - The entry array.
458
- * @returns {import('tsup').Options}
459
- */
460
- export declare function modernConfig(opts: {
461
- entry: string[];
462
- }): Options;
463
-
464
436
  export { MutateFunction }
465
437
 
466
438
  export { MutateOptions }
@@ -90,7 +90,6 @@ import { notifyManager } from '@tanstack/query-core';
90
90
  import { NotifyOnChangeProps } from '@tanstack/query-core';
91
91
  import { OmitKeyof } from '@tanstack/query-core';
92
92
  import { onlineManager } from '@tanstack/query-core';
93
- import { Options } from 'tsup';
94
93
  import { Override } from '@tanstack/query-core';
95
94
  import { partialMatchKey } from '@tanstack/query-core';
96
95
  import { PlaceholderDataFunction } from '@tanstack/query-core';
@@ -142,7 +141,6 @@ import { TimeoutProvider } from '@tanstack/query-core';
142
141
  import { UnsetMarker } from '@tanstack/query-core';
143
142
  import { unsetMarker } from '@tanstack/query-core';
144
143
  import { Updater } from '@tanstack/query-core';
145
- import { UserConfig } from 'vite';
146
144
  import { WithRequired } from '@tanstack/query-core';
147
145
 
148
146
  export { AnyDataTag }
@@ -181,14 +179,6 @@ export { dataTagErrorSymbol }
181
179
 
182
180
  export { dataTagSymbol }
183
181
 
184
- export declare const default_alias: any[];
185
-
186
- export declare const default_alias_1: any[];
187
-
188
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
189
-
190
- export declare const default_alias_3: UserConfig;
191
-
192
182
  export { DefaultedInfiniteQueryObserverOptions }
193
183
 
194
184
  export { DefaultedQueryObserverOptions }
@@ -433,15 +423,6 @@ export { isServer }
433
423
 
434
424
  export { keepPreviousData }
435
425
 
436
- /**
437
- * @param {Object} opts - Options for building configurations.
438
- * @param {string[]} opts.entry - The entry array.
439
- * @returns {import('tsup').Options}
440
- */
441
- export declare function legacyConfig(opts: {
442
- entry: string[];
443
- }): Options;
444
-
445
426
  export { ManagedTimerId }
446
427
 
447
428
  export { matchMutation }
@@ -452,15 +433,6 @@ declare type MAXIMUM_DEPTH = 20;
452
433
 
453
434
  declare type MAXIMUM_DEPTH_2 = 20;
454
435
 
455
- /**
456
- * @param {Object} opts - Options for building configurations.
457
- * @param {string[]} opts.entry - The entry array.
458
- * @returns {import('tsup').Options}
459
- */
460
- export declare function modernConfig(opts: {
461
- entry: string[];
462
- }): Options;
463
-
464
436
  export { MutateFunction }
465
437
 
466
438
  export { MutateOptions }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query",
3
- "version": "5.95.1",
3
+ "version": "5.96.0",
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.95.1"
47
+ "@tanstack/query-core": "5.96.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@testing-library/react": "^16.1.0",
@@ -57,7 +57,7 @@
57
57
  "react": "^19.2.1",
58
58
  "react-dom": "^19.2.1",
59
59
  "react-error-boundary": "^4.1.2",
60
- "@tanstack/query-persist-client-core": "5.95.1",
60
+ "@tanstack/query-persist-client-core": "5.96.0",
61
61
  "@tanstack/query-test-utils": "0.0.0"
62
62
  },
63
63
  "peerDependencies": {