@tanstack/query-devtools 5.18.1 → 5.20.2
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/Devtools/{GGXFRC53.jsx → 2TZ2XDYA.jsx} +28 -26
- package/build/Devtools/{IEC7B7YJ.js → 6ZYZQAZS.js} +28 -26
- package/build/Devtools/{PFRKCKUQ.jsx → FWYJEP5C.jsx} +28 -26
- package/build/Devtools/{F44ZTS6H.js → ZIZ6ACOL.js} +28 -26
- package/build/chunk/{ITOD2VZH.jsx → AZNCIVVX.jsx} +179 -299
- package/build/chunk/{UF7WX6DB.js → O2PITFF6.js} +179 -299
- package/build/chunk/{QPKVZYIY.jsx → PQZZ5Z2E.jsx} +179 -299
- package/build/chunk/{6MVECHXQ.js → XKKA3NOX.js} +179 -299
- package/build/dev.cjs +224 -342
- package/build/dev.js +3 -3
- package/build/dev.jsx +2 -2
- package/build/index.cjs +224 -342
- package/build/index.js +3 -3
- package/build/index.jsx +2 -2
- package/package.json +5 -5
- package/src/Devtools.tsx +0 -6
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/
|
|
1
|
+
import { createSignal, render, lazy, setupStyleSheet, createComponent, mergeProps } from './chunk/XKKA3NOX.js';
|
|
2
2
|
|
|
3
3
|
// src/index.tsx
|
|
4
4
|
var TanstackQueryDevtools = class {
|
|
@@ -56,6 +56,7 @@ var TanstackQueryDevtools = class {
|
|
|
56
56
|
throw new Error("Devtools is already mounted");
|
|
57
57
|
}
|
|
58
58
|
const dispose = render(() => {
|
|
59
|
+
const _self$ = this;
|
|
59
60
|
const [btnPosition] = this.#buttonPosition;
|
|
60
61
|
const [pos] = this.#position;
|
|
61
62
|
const [isOpen] = this.#initialIsOpen;
|
|
@@ -65,11 +66,10 @@ var TanstackQueryDevtools = class {
|
|
|
65
66
|
if (this.#Component) {
|
|
66
67
|
Devtools = this.#Component;
|
|
67
68
|
} else {
|
|
68
|
-
Devtools = lazy(() => import('./Devtools/
|
|
69
|
+
Devtools = lazy(() => import('./Devtools/6ZYZQAZS.js'));
|
|
69
70
|
this.#Component = Devtools;
|
|
70
71
|
}
|
|
71
72
|
setupStyleSheet(this.#styleNonce);
|
|
72
|
-
const _self$ = this;
|
|
73
73
|
return createComponent(Devtools, mergeProps({
|
|
74
74
|
get queryFlavor() {
|
|
75
75
|
return _self$.#queryFlavor;
|
package/build/index.jsx
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
lazy,
|
|
4
4
|
render,
|
|
5
5
|
setupStyleSheet
|
|
6
|
-
} from "./chunk/
|
|
6
|
+
} from "./chunk/AZNCIVVX.jsx";
|
|
7
7
|
|
|
8
8
|
// src/index.tsx
|
|
9
9
|
var TanstackQueryDevtools = class {
|
|
@@ -70,7 +70,7 @@ var TanstackQueryDevtools = class {
|
|
|
70
70
|
if (this.#Component) {
|
|
71
71
|
Devtools = this.#Component;
|
|
72
72
|
} else {
|
|
73
|
-
Devtools = lazy(() => import("./Devtools/
|
|
73
|
+
Devtools = lazy(() => import("./Devtools/FWYJEP5C.jsx"));
|
|
74
74
|
this.#Component = Devtools;
|
|
75
75
|
}
|
|
76
76
|
setupStyleSheet(this.#styleNonce);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-devtools",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.2",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"@solid-primitives/keyed": "^1.2.0",
|
|
43
43
|
"@solid-primitives/resize-observer": "^2.0.22",
|
|
44
44
|
"@solid-primitives/storage": "^1.3.11",
|
|
45
|
-
"@tanstack/match-sorter-utils": "^8.8
|
|
45
|
+
"@tanstack/match-sorter-utils": "^8.11.8",
|
|
46
46
|
"clsx": "^2.0.0",
|
|
47
47
|
"goober": "^2.1.13",
|
|
48
|
-
"solid-js": "^1.8.
|
|
48
|
+
"solid-js": "^1.8.14",
|
|
49
49
|
"solid-transition-group": "^0.2.3",
|
|
50
50
|
"superjson": "^1.13.3",
|
|
51
51
|
"tsup-preset-solid": "^2.2.0",
|
|
52
|
-
"vite-plugin-solid": "^2.
|
|
53
|
-
"@tanstack/query-core": "5.
|
|
52
|
+
"vite-plugin-solid": "^2.9.1",
|
|
53
|
+
"@tanstack/query-core": "5.20.2"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"clean": "rimraf ./build && rimraf ./coverage",
|
package/src/Devtools.tsx
CHANGED
|
@@ -1567,7 +1567,6 @@ const QueryDetails = () => {
|
|
|
1567
1567
|
|
|
1568
1568
|
const handleRefetch = () => {
|
|
1569
1569
|
const promise = activeQuery()?.fetch()
|
|
1570
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
1571
1570
|
promise?.catch(() => {})
|
|
1572
1571
|
}
|
|
1573
1572
|
|
|
@@ -1581,7 +1580,6 @@ const QueryDetails = () => {
|
|
|
1581
1580
|
activeQuery()!.setState({
|
|
1582
1581
|
status: 'error',
|
|
1583
1582
|
error,
|
|
1584
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
1585
1583
|
fetchMeta: {
|
|
1586
1584
|
...activeQuery()!.state.fetchMeta,
|
|
1587
1585
|
__previousQueryOptions,
|
|
@@ -1769,7 +1767,6 @@ const QueryDetails = () => {
|
|
|
1769
1767
|
activeQueryVal.setState({
|
|
1770
1768
|
data: undefined,
|
|
1771
1769
|
status: 'pending',
|
|
1772
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
1773
1770
|
fetchMeta: {
|
|
1774
1771
|
...activeQueryVal.state.fetchMeta,
|
|
1775
1772
|
__previousQueryOptions,
|
|
@@ -2104,7 +2101,6 @@ const createSubscribeToQueryCacheBatcher = <T,>(
|
|
|
2104
2101
|
})
|
|
2105
2102
|
|
|
2106
2103
|
onCleanup(() => {
|
|
2107
|
-
// @ts-ignore
|
|
2108
2104
|
queryCacheMap.delete(callback)
|
|
2109
2105
|
})
|
|
2110
2106
|
|
|
@@ -2156,11 +2152,9 @@ const createSubscribeToMutationCacheBatcher = <T,>(
|
|
|
2156
2152
|
setValue(callback(mutationCache))
|
|
2157
2153
|
})
|
|
2158
2154
|
|
|
2159
|
-
// @ts-ignore
|
|
2160
2155
|
mutationCacheMap.set(callback, setValue)
|
|
2161
2156
|
|
|
2162
2157
|
onCleanup(() => {
|
|
2163
|
-
// @ts-ignore
|
|
2164
2158
|
mutationCacheMap.delete(callback)
|
|
2165
2159
|
})
|
|
2166
2160
|
|