@tanstack/solid-query-devtools 5.71.1 → 5.71.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.
- package/build/chunk/{GRXEEYVR.jsx → AU5TFTIU.jsx} +1 -2
- package/build/chunk/{LI74GHL5.js → PQQXEPYU.js} +2 -4
- package/build/dev.cjs +2 -4
- package/build/dev.js +2 -2
- package/build/dev.jsx +2 -2
- package/build/devtools/{2BVXGBPD.js → C4J3FRGT.js} +1 -1
- package/build/devtools/{ROOBA2XS.jsx → IXR2SZ26.jsx} +1 -1
- package/build/index.cjs +2 -4
- package/build/index.js +2 -2
- package/build/index.jsx +2 -2
- package/package.json +6 -6
|
@@ -64,8 +64,7 @@ function clientOnly(fn) {
|
|
|
64
64
|
let Comp;
|
|
65
65
|
let m;
|
|
66
66
|
const [, rest] = splitProps(props, ["fallback"]);
|
|
67
|
-
if ((Comp = comp()) && !sharedConfig.context)
|
|
68
|
-
return Comp(rest);
|
|
67
|
+
if ((Comp = comp()) && !sharedConfig.context) return Comp(rest);
|
|
69
68
|
const [mounted, setMounted] = createSignal(!sharedConfig.context);
|
|
70
69
|
onMount(() => setMounted(true));
|
|
71
70
|
return createMemo(
|
|
@@ -54,16 +54,14 @@ function SolidQueryDevtools(props) {
|
|
|
54
54
|
})();
|
|
55
55
|
}
|
|
56
56
|
function clientOnly(fn) {
|
|
57
|
-
if (isServer)
|
|
58
|
-
return (props) => props.fallback;
|
|
57
|
+
if (isServer) return (props) => props.fallback;
|
|
59
58
|
const [comp, setComp] = createSignal();
|
|
60
59
|
fn().then((m) => setComp(() => m.default));
|
|
61
60
|
return (props) => {
|
|
62
61
|
let Comp;
|
|
63
62
|
let m;
|
|
64
63
|
const [, rest] = splitProps(props, ["fallback"]);
|
|
65
|
-
if ((Comp = comp()) && !sharedConfig.context)
|
|
66
|
-
return Comp(rest);
|
|
64
|
+
if ((Comp = comp()) && !sharedConfig.context) return Comp(rest);
|
|
67
65
|
const [mounted, setMounted] = createSignal(!sharedConfig.context);
|
|
68
66
|
onMount(() => setMounted(true));
|
|
69
67
|
return createMemo(() => (Comp = comp(), m = mounted(), untrack(() => Comp && m ? Comp(rest) : props.fallback)));
|
package/build/dev.cjs
CHANGED
|
@@ -70,16 +70,14 @@ function SolidQueryDevtools(props) {
|
|
|
70
70
|
})();
|
|
71
71
|
}
|
|
72
72
|
function clientOnly(fn) {
|
|
73
|
-
if (web.isServer)
|
|
74
|
-
return (props) => props.fallback;
|
|
73
|
+
if (web.isServer) return (props) => props.fallback;
|
|
75
74
|
const [comp, setComp] = solidJs.createSignal();
|
|
76
75
|
fn().then((m) => setComp(() => m.default));
|
|
77
76
|
return (props) => {
|
|
78
77
|
let Comp;
|
|
79
78
|
let m;
|
|
80
79
|
const [, rest] = solidJs.splitProps(props, ["fallback"]);
|
|
81
|
-
if ((Comp = comp()) && !solidJs.sharedConfig.context)
|
|
82
|
-
return Comp(rest);
|
|
80
|
+
if ((Comp = comp()) && !solidJs.sharedConfig.context) return Comp(rest);
|
|
83
81
|
const [mounted, setMounted] = solidJs.createSignal(!solidJs.sharedConfig.context);
|
|
84
82
|
solidJs.onMount(() => setMounted(true));
|
|
85
83
|
return solidJs.createMemo(() => (Comp = comp(), m = mounted(), solidJs.untrack(() => Comp && m ? Comp(rest) : props.fallback)));
|
package/build/dev.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { clientOnly } from './chunk/
|
|
1
|
+
import { clientOnly } from './chunk/PQQXEPYU.js';
|
|
2
2
|
import { isDev } from 'solid-js/web';
|
|
3
3
|
|
|
4
|
-
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/
|
|
4
|
+
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/C4J3FRGT.js')) : function() {
|
|
5
5
|
return null;
|
|
6
6
|
};
|
|
7
7
|
|
package/build/dev.jsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clientOnly
|
|
3
|
-
} from "./chunk/
|
|
3
|
+
} from "./chunk/AU5TFTIU.jsx";
|
|
4
4
|
|
|
5
5
|
// src/index.tsx
|
|
6
6
|
import { isDev } from "solid-js/web";
|
|
7
|
-
var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/
|
|
7
|
+
var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/IXR2SZ26.jsx")) : function() {
|
|
8
8
|
return null;
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { clientOnly, SolidQueryDevtools as default } from '../chunk/
|
|
1
|
+
export { clientOnly, SolidQueryDevtools as default } from '../chunk/PQQXEPYU.js';
|
package/build/index.cjs
CHANGED
|
@@ -70,16 +70,14 @@ function SolidQueryDevtools(props) {
|
|
|
70
70
|
})();
|
|
71
71
|
}
|
|
72
72
|
function clientOnly(fn) {
|
|
73
|
-
if (web.isServer)
|
|
74
|
-
return (props) => props.fallback;
|
|
73
|
+
if (web.isServer) return (props) => props.fallback;
|
|
75
74
|
const [comp, setComp] = solidJs.createSignal();
|
|
76
75
|
fn().then((m) => setComp(() => m.default));
|
|
77
76
|
return (props) => {
|
|
78
77
|
let Comp;
|
|
79
78
|
let m;
|
|
80
79
|
const [, rest] = solidJs.splitProps(props, ["fallback"]);
|
|
81
|
-
if ((Comp = comp()) && !solidJs.sharedConfig.context)
|
|
82
|
-
return Comp(rest);
|
|
80
|
+
if ((Comp = comp()) && !solidJs.sharedConfig.context) return Comp(rest);
|
|
83
81
|
const [mounted, setMounted] = solidJs.createSignal(!solidJs.sharedConfig.context);
|
|
84
82
|
solidJs.onMount(() => setMounted(true));
|
|
85
83
|
return solidJs.createMemo(() => (Comp = comp(), m = mounted(), solidJs.untrack(() => Comp && m ? Comp(rest) : props.fallback)));
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { clientOnly } from './chunk/
|
|
1
|
+
import { clientOnly } from './chunk/PQQXEPYU.js';
|
|
2
2
|
import { isDev } from 'solid-js/web';
|
|
3
3
|
|
|
4
|
-
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/
|
|
4
|
+
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/C4J3FRGT.js')) : function() {
|
|
5
5
|
return null;
|
|
6
6
|
};
|
|
7
7
|
|
package/build/index.jsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clientOnly
|
|
3
|
-
} from "./chunk/
|
|
3
|
+
} from "./chunk/AU5TFTIU.jsx";
|
|
4
4
|
|
|
5
5
|
// src/index.tsx
|
|
6
6
|
import { isDev } from "solid-js/web";
|
|
7
|
-
var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/
|
|
7
|
+
var SolidQueryDevtools = isDev ? clientOnly(() => import("./devtools/IXR2SZ26.jsx")) : function() {
|
|
8
8
|
return null;
|
|
9
9
|
};
|
|
10
10
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-query-devtools",
|
|
3
|
-
"version": "5.71.
|
|
3
|
+
"version": "5.71.3",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"!src/__tests__"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@tanstack/query-devtools": "5.
|
|
46
|
+
"@tanstack/query-devtools": "5.71.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"npm-run-all": "^4.1.5",
|
|
50
|
-
"solid-js": "^1.9.
|
|
50
|
+
"solid-js": "^1.9.5",
|
|
51
51
|
"tsup-preset-solid": "^2.2.0",
|
|
52
|
-
"vite-plugin-solid": "^2.
|
|
53
|
-
"@tanstack/solid-query": "5.71.
|
|
52
|
+
"vite-plugin-solid": "^2.11.6",
|
|
53
|
+
"@tanstack/solid-query": "5.71.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"solid-js": "^1.6.0",
|
|
57
|
-
"@tanstack/solid-query": "^5.71.
|
|
57
|
+
"@tanstack/solid-query": "^5.71.3"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {}
|
|
60
60
|
}
|