@tanstack/preact-query 5.99.1 → 5.100.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.
- package/build/legacy/_tsup-dts-rollup.d.cts +3 -3
- package/build/legacy/_tsup-dts-rollup.d.ts +3 -3
- package/build/legacy/index.d.cts +1 -1
- package/build/legacy/index.d.ts +1 -1
- package/build/modern/_tsup-dts-rollup.d.cts +3 -3
- package/build/modern/_tsup-dts-rollup.d.ts +3 -3
- package/build/modern/index.d.cts +1 -1
- package/build/modern/index.d.ts +1 -1
- package/build/query-codemods/root.eslint.config.js +5 -1
- package/package.json +3 -3
|
@@ -19,7 +19,6 @@ import { dehydrate } from '@tanstack/query-core';
|
|
|
19
19
|
import { DehydratedState } from '@tanstack/query-core';
|
|
20
20
|
import { DehydrateOptions } from '@tanstack/query-core';
|
|
21
21
|
import { DistributiveOmit } from '@tanstack/query-core';
|
|
22
|
-
import { Enabled } from '@tanstack/query-core';
|
|
23
22
|
import { EnsureInfiniteQueryDataOptions } from '@tanstack/query-core';
|
|
24
23
|
import { EnsureQueryDataOptions } from '@tanstack/query-core';
|
|
25
24
|
import { environmentManager } from '@tanstack/query-core';
|
|
@@ -100,6 +99,7 @@ import { QueriesObserver } from '@tanstack/query-core';
|
|
|
100
99
|
import { QueriesObserverOptions } from '@tanstack/query-core';
|
|
101
100
|
import { QueriesPlaceholderDataFunction } from '@tanstack/query-core';
|
|
102
101
|
import { Query } from '@tanstack/query-core';
|
|
102
|
+
import { QueryBooleanOption } from '@tanstack/query-core';
|
|
103
103
|
import { QueryCache } from '@tanstack/query-core';
|
|
104
104
|
import { QueryCacheNotifyEvent } from '@tanstack/query-core';
|
|
105
105
|
import { QueryClient } from '@tanstack/query-core';
|
|
@@ -231,8 +231,6 @@ export { DehydrateOptions }
|
|
|
231
231
|
|
|
232
232
|
export { DistributiveOmit }
|
|
233
233
|
|
|
234
|
-
export { Enabled }
|
|
235
|
-
|
|
236
234
|
export { EnsureInfiniteQueryDataOptions }
|
|
237
235
|
|
|
238
236
|
export declare const ensurePreventErrorBoundaryRetry: <TQueryFnData, TError, TData, TQueryData, TQueryKey extends QueryKey>(options: DefaultedQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>, errorResetBoundary: QueryErrorResetBoundaryValue) => void;
|
|
@@ -557,6 +555,8 @@ export { QueriesResults as QueriesResults_alias_1 }
|
|
|
557
555
|
|
|
558
556
|
export { Query }
|
|
559
557
|
|
|
558
|
+
export { QueryBooleanOption }
|
|
559
|
+
|
|
560
560
|
export { QueryCache }
|
|
561
561
|
|
|
562
562
|
export { QueryCacheNotifyEvent }
|
|
@@ -19,7 +19,6 @@ import { dehydrate } from '@tanstack/query-core';
|
|
|
19
19
|
import { DehydratedState } from '@tanstack/query-core';
|
|
20
20
|
import { DehydrateOptions } from '@tanstack/query-core';
|
|
21
21
|
import { DistributiveOmit } from '@tanstack/query-core';
|
|
22
|
-
import { Enabled } from '@tanstack/query-core';
|
|
23
22
|
import { EnsureInfiniteQueryDataOptions } from '@tanstack/query-core';
|
|
24
23
|
import { EnsureQueryDataOptions } from '@tanstack/query-core';
|
|
25
24
|
import { environmentManager } from '@tanstack/query-core';
|
|
@@ -100,6 +99,7 @@ import { QueriesObserver } from '@tanstack/query-core';
|
|
|
100
99
|
import { QueriesObserverOptions } from '@tanstack/query-core';
|
|
101
100
|
import { QueriesPlaceholderDataFunction } from '@tanstack/query-core';
|
|
102
101
|
import { Query } from '@tanstack/query-core';
|
|
102
|
+
import { QueryBooleanOption } from '@tanstack/query-core';
|
|
103
103
|
import { QueryCache } from '@tanstack/query-core';
|
|
104
104
|
import { QueryCacheNotifyEvent } from '@tanstack/query-core';
|
|
105
105
|
import { QueryClient } from '@tanstack/query-core';
|
|
@@ -231,8 +231,6 @@ export { DehydrateOptions }
|
|
|
231
231
|
|
|
232
232
|
export { DistributiveOmit }
|
|
233
233
|
|
|
234
|
-
export { Enabled }
|
|
235
|
-
|
|
236
234
|
export { EnsureInfiniteQueryDataOptions }
|
|
237
235
|
|
|
238
236
|
export declare const ensurePreventErrorBoundaryRetry: <TQueryFnData, TError, TData, TQueryData, TQueryKey extends QueryKey>(options: DefaultedQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>, errorResetBoundary: QueryErrorResetBoundaryValue) => void;
|
|
@@ -557,6 +555,8 @@ export { QueriesResults as QueriesResults_alias_1 }
|
|
|
557
555
|
|
|
558
556
|
export { Query }
|
|
559
557
|
|
|
558
|
+
export { QueryBooleanOption }
|
|
559
|
+
|
|
560
560
|
export { QueryCache }
|
|
561
561
|
|
|
562
562
|
export { QueryCacheNotifyEvent }
|
package/build/legacy/index.d.cts
CHANGED
|
@@ -104,7 +104,7 @@ export { InferErrorFromTag } from './_tsup-dts-rollup.cjs';
|
|
|
104
104
|
export { QueryFunction } from './_tsup-dts-rollup.cjs';
|
|
105
105
|
export { StaleTime } from './_tsup-dts-rollup.cjs';
|
|
106
106
|
export { StaleTimeFunction } from './_tsup-dts-rollup.cjs';
|
|
107
|
-
export {
|
|
107
|
+
export { QueryBooleanOption } from './_tsup-dts-rollup.cjs';
|
|
108
108
|
export { QueryPersister } from './_tsup-dts-rollup.cjs';
|
|
109
109
|
export { QueryFunctionContext } from './_tsup-dts-rollup.cjs';
|
|
110
110
|
export { InitialDataFunction } from './_tsup-dts-rollup.cjs';
|
package/build/legacy/index.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export { InferErrorFromTag } from './_tsup-dts-rollup.js';
|
|
|
104
104
|
export { QueryFunction } from './_tsup-dts-rollup.js';
|
|
105
105
|
export { StaleTime } from './_tsup-dts-rollup.js';
|
|
106
106
|
export { StaleTimeFunction } from './_tsup-dts-rollup.js';
|
|
107
|
-
export {
|
|
107
|
+
export { QueryBooleanOption } from './_tsup-dts-rollup.js';
|
|
108
108
|
export { QueryPersister } from './_tsup-dts-rollup.js';
|
|
109
109
|
export { QueryFunctionContext } from './_tsup-dts-rollup.js';
|
|
110
110
|
export { InitialDataFunction } from './_tsup-dts-rollup.js';
|
|
@@ -19,7 +19,6 @@ import { dehydrate } from '@tanstack/query-core';
|
|
|
19
19
|
import { DehydratedState } from '@tanstack/query-core';
|
|
20
20
|
import { DehydrateOptions } from '@tanstack/query-core';
|
|
21
21
|
import { DistributiveOmit } from '@tanstack/query-core';
|
|
22
|
-
import { Enabled } from '@tanstack/query-core';
|
|
23
22
|
import { EnsureInfiniteQueryDataOptions } from '@tanstack/query-core';
|
|
24
23
|
import { EnsureQueryDataOptions } from '@tanstack/query-core';
|
|
25
24
|
import { environmentManager } from '@tanstack/query-core';
|
|
@@ -100,6 +99,7 @@ import { QueriesObserver } from '@tanstack/query-core';
|
|
|
100
99
|
import { QueriesObserverOptions } from '@tanstack/query-core';
|
|
101
100
|
import { QueriesPlaceholderDataFunction } from '@tanstack/query-core';
|
|
102
101
|
import { Query } from '@tanstack/query-core';
|
|
102
|
+
import { QueryBooleanOption } from '@tanstack/query-core';
|
|
103
103
|
import { QueryCache } from '@tanstack/query-core';
|
|
104
104
|
import { QueryCacheNotifyEvent } from '@tanstack/query-core';
|
|
105
105
|
import { QueryClient } from '@tanstack/query-core';
|
|
@@ -231,8 +231,6 @@ export { DehydrateOptions }
|
|
|
231
231
|
|
|
232
232
|
export { DistributiveOmit }
|
|
233
233
|
|
|
234
|
-
export { Enabled }
|
|
235
|
-
|
|
236
234
|
export { EnsureInfiniteQueryDataOptions }
|
|
237
235
|
|
|
238
236
|
export declare const ensurePreventErrorBoundaryRetry: <TQueryFnData, TError, TData, TQueryData, TQueryKey extends QueryKey>(options: DefaultedQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>, errorResetBoundary: QueryErrorResetBoundaryValue) => void;
|
|
@@ -557,6 +555,8 @@ export { QueriesResults as QueriesResults_alias_1 }
|
|
|
557
555
|
|
|
558
556
|
export { Query }
|
|
559
557
|
|
|
558
|
+
export { QueryBooleanOption }
|
|
559
|
+
|
|
560
560
|
export { QueryCache }
|
|
561
561
|
|
|
562
562
|
export { QueryCacheNotifyEvent }
|
|
@@ -19,7 +19,6 @@ import { dehydrate } from '@tanstack/query-core';
|
|
|
19
19
|
import { DehydratedState } from '@tanstack/query-core';
|
|
20
20
|
import { DehydrateOptions } from '@tanstack/query-core';
|
|
21
21
|
import { DistributiveOmit } from '@tanstack/query-core';
|
|
22
|
-
import { Enabled } from '@tanstack/query-core';
|
|
23
22
|
import { EnsureInfiniteQueryDataOptions } from '@tanstack/query-core';
|
|
24
23
|
import { EnsureQueryDataOptions } from '@tanstack/query-core';
|
|
25
24
|
import { environmentManager } from '@tanstack/query-core';
|
|
@@ -100,6 +99,7 @@ import { QueriesObserver } from '@tanstack/query-core';
|
|
|
100
99
|
import { QueriesObserverOptions } from '@tanstack/query-core';
|
|
101
100
|
import { QueriesPlaceholderDataFunction } from '@tanstack/query-core';
|
|
102
101
|
import { Query } from '@tanstack/query-core';
|
|
102
|
+
import { QueryBooleanOption } from '@tanstack/query-core';
|
|
103
103
|
import { QueryCache } from '@tanstack/query-core';
|
|
104
104
|
import { QueryCacheNotifyEvent } from '@tanstack/query-core';
|
|
105
105
|
import { QueryClient } from '@tanstack/query-core';
|
|
@@ -231,8 +231,6 @@ export { DehydrateOptions }
|
|
|
231
231
|
|
|
232
232
|
export { DistributiveOmit }
|
|
233
233
|
|
|
234
|
-
export { Enabled }
|
|
235
|
-
|
|
236
234
|
export { EnsureInfiniteQueryDataOptions }
|
|
237
235
|
|
|
238
236
|
export declare const ensurePreventErrorBoundaryRetry: <TQueryFnData, TError, TData, TQueryData, TQueryKey extends QueryKey>(options: DefaultedQueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>, errorResetBoundary: QueryErrorResetBoundaryValue) => void;
|
|
@@ -557,6 +555,8 @@ export { QueriesResults as QueriesResults_alias_1 }
|
|
|
557
555
|
|
|
558
556
|
export { Query }
|
|
559
557
|
|
|
558
|
+
export { QueryBooleanOption }
|
|
559
|
+
|
|
560
560
|
export { QueryCache }
|
|
561
561
|
|
|
562
562
|
export { QueryCacheNotifyEvent }
|
package/build/modern/index.d.cts
CHANGED
|
@@ -104,7 +104,7 @@ export { InferErrorFromTag } from './_tsup-dts-rollup.cjs';
|
|
|
104
104
|
export { QueryFunction } from './_tsup-dts-rollup.cjs';
|
|
105
105
|
export { StaleTime } from './_tsup-dts-rollup.cjs';
|
|
106
106
|
export { StaleTimeFunction } from './_tsup-dts-rollup.cjs';
|
|
107
|
-
export {
|
|
107
|
+
export { QueryBooleanOption } from './_tsup-dts-rollup.cjs';
|
|
108
108
|
export { QueryPersister } from './_tsup-dts-rollup.cjs';
|
|
109
109
|
export { QueryFunctionContext } from './_tsup-dts-rollup.cjs';
|
|
110
110
|
export { InitialDataFunction } from './_tsup-dts-rollup.cjs';
|
package/build/modern/index.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export { InferErrorFromTag } from './_tsup-dts-rollup.js';
|
|
|
104
104
|
export { QueryFunction } from './_tsup-dts-rollup.js';
|
|
105
105
|
export { StaleTime } from './_tsup-dts-rollup.js';
|
|
106
106
|
export { StaleTimeFunction } from './_tsup-dts-rollup.js';
|
|
107
|
-
export {
|
|
107
|
+
export { QueryBooleanOption } from './_tsup-dts-rollup.js';
|
|
108
108
|
export { QueryPersister } from './_tsup-dts-rollup.js';
|
|
109
109
|
export { QueryFunctionContext } from './_tsup-dts-rollup.js';
|
|
110
110
|
export { InitialDataFunction } from './_tsup-dts-rollup.js';
|
|
@@ -52,10 +52,14 @@ export default [
|
|
|
52
52
|
plugins: { vitest },
|
|
53
53
|
rules: {
|
|
54
54
|
...vitest.configs.recommended.rules,
|
|
55
|
+
'vitest/consistent-test-it': [
|
|
56
|
+
'error',
|
|
57
|
+
{ fn: 'it', withinDescribe: 'it' },
|
|
58
|
+
],
|
|
55
59
|
'vitest/no-standalone-expect': [
|
|
56
60
|
'error',
|
|
57
61
|
{
|
|
58
|
-
additionalTestBlockFunctions: ['
|
|
62
|
+
additionalTestBlockFunctions: ['itIf'],
|
|
59
63
|
},
|
|
60
64
|
],
|
|
61
65
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/preact-query",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.100.0",
|
|
4
4
|
"description": "Hooks for managing, caching and syncing asynchronous and remote data in preact",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"!build/codemods/**/__tests__"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@tanstack/query-core": "5.
|
|
46
|
+
"@tanstack/query-core": "5.100.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@preact/preset-vite": "^2.10.2",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"preact-render-to-string": "^6.6.4",
|
|
56
56
|
"typescript": "5.9.3",
|
|
57
57
|
"typescript-eslint": "^8.54.0",
|
|
58
|
-
"@tanstack/query-persist-client-core": "5.
|
|
58
|
+
"@tanstack/query-persist-client-core": "5.100.0",
|
|
59
59
|
"@tanstack/query-test-utils": "0.0.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|