@tanstack/solid-query-devtools 6.0.0-beta.6 → 6.0.0-beta.7
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/{KGLMGK4M.js → P2Q55WHM.js} +10 -2
- package/build/chunk/{C73S7YTW.js → RY5ZMUBR.js} +10 -2
- package/build/dev.cjs +10 -2
- package/build/dev.js +3 -3
- package/build/dev.jsx +7 -7
- package/build/devtools/{JA7A2ZGS.js → 2G7DEE34.js} +1 -1
- package/build/devtools/{N77BMJWV.js → LSIX7NXW.js} +1 -1
- package/build/devtoolsPanel/{CMV5IMZB.js → K27KNWGT.js} +1 -1
- package/build/devtoolsPanel/{PHKM6EE4.js → O2665ZNH.js} +1 -1
- package/build/index.cjs +10 -2
- package/build/index.js +3 -3
- package/build/index.jsx +7 -7
- package/package.json +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRenderEffect, untrack, runWithOwner, sharedConfig } from 'solid-js';
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
3
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/web.js
|
|
4
4
|
var transparentOptions = {
|
|
5
5
|
transparent: true,
|
|
6
6
|
sync: true
|
|
@@ -70,7 +70,15 @@ function ref(fn, element) {
|
|
|
70
70
|
runWithOwner(null, () => applyRef(resolved, element));
|
|
71
71
|
}
|
|
72
72
|
function isHydrating(node) {
|
|
73
|
-
|
|
73
|
+
if (!sharedConfig.hydrating) return false;
|
|
74
|
+
if (!node || node.isConnected) return true;
|
|
75
|
+
const roots = sharedConfig.claimRoots;
|
|
76
|
+
if (roots) {
|
|
77
|
+
for (let i = 0; i < roots.length; i++) {
|
|
78
|
+
if (roots[i].contains(node)) return true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return false;
|
|
74
82
|
}
|
|
75
83
|
var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
|
|
76
84
|
var ResponseEnvelope = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRenderEffect, untrack, runWithOwner, sharedConfig } from 'solid-js';
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
3
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/dev.js
|
|
4
4
|
var transparentOptions = {
|
|
5
5
|
transparent: true,
|
|
6
6
|
sync: true
|
|
@@ -72,7 +72,15 @@ function ref(fn, element) {
|
|
|
72
72
|
runWithOwner(null, () => applyRef(resolved, element));
|
|
73
73
|
}
|
|
74
74
|
function isHydrating(node) {
|
|
75
|
-
|
|
75
|
+
if (!sharedConfig.hydrating) return false;
|
|
76
|
+
if (!node || node.isConnected) return true;
|
|
77
|
+
const roots = sharedConfig.claimRoots;
|
|
78
|
+
if (roots) {
|
|
79
|
+
for (let i = 0; i < roots.length; i++) {
|
|
80
|
+
if (roots[i].contains(node)) return true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return false;
|
|
76
84
|
}
|
|
77
85
|
var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
|
|
78
86
|
var ResponseEnvelope = class {
|
package/build/dev.cjs
CHANGED
|
@@ -75,11 +75,19 @@ function ref(fn, element) {
|
|
|
75
75
|
solidJs.runWithOwner(null, () => applyRef(resolved, element));
|
|
76
76
|
}
|
|
77
77
|
function isHydrating(node) {
|
|
78
|
-
|
|
78
|
+
if (!solidJs.sharedConfig.hydrating) return false;
|
|
79
|
+
if (!node || node.isConnected) return true;
|
|
80
|
+
const roots = solidJs.sharedConfig.claimRoots;
|
|
81
|
+
if (roots) {
|
|
82
|
+
for (let i = 0; i < roots.length; i++) {
|
|
83
|
+
if (roots[i].contains(node)) return true;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return false;
|
|
79
87
|
}
|
|
80
88
|
var transparentOptions, effect, ENVELOPE, ResponseEnvelope, isServer, isDev;
|
|
81
89
|
var init_dev = __esm({
|
|
82
|
-
"../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
90
|
+
"../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/dev.js"() {
|
|
83
91
|
transparentOptions = {
|
|
84
92
|
transparent: true,
|
|
85
93
|
sync: true
|
package/build/dev.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDev, isServer } from './chunk/
|
|
1
|
+
import { isDev, isServer } from './chunk/RY5ZMUBR.js';
|
|
2
2
|
import { createSignal, omit, sharedConfig, onSettled, createMemo, untrack } from 'solid-js';
|
|
3
3
|
|
|
4
4
|
function clientOnly(fn) {
|
|
@@ -19,10 +19,10 @@ function clientOnly(fn) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// src/index.tsx
|
|
22
|
-
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/
|
|
22
|
+
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/LSIX7NXW.js')) : function() {
|
|
23
23
|
return null;
|
|
24
24
|
};
|
|
25
|
-
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/
|
|
25
|
+
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/O2665ZNH.js')) : function() {
|
|
26
26
|
return null;
|
|
27
27
|
};
|
|
28
28
|
|
package/build/dev.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
2
|
-
import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, createOwner, $DEVCOMP, enableHydration, enforceLoadingBoundary, flush, getOwner, createEffect } from "solid-js";
|
|
1
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/dev.js
|
|
2
|
+
import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, createOwner, createSignal, onSettled, $DEVCOMP, enableHydration, enforceLoadingBoundary, flush, getOwner, createEffect } from "solid-js";
|
|
3
3
|
import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, untrack as untrack2 } from "solid-js";
|
|
4
4
|
var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
|
|
5
5
|
var ResponseEnvelope = class {
|
|
@@ -15,24 +15,24 @@ var isDev = true;
|
|
|
15
15
|
// src/clientOnly.tsx
|
|
16
16
|
import {
|
|
17
17
|
createMemo as createMemo2,
|
|
18
|
-
createSignal,
|
|
18
|
+
createSignal as createSignal2,
|
|
19
19
|
omit as omit2,
|
|
20
|
-
onSettled,
|
|
20
|
+
onSettled as onSettled2,
|
|
21
21
|
sharedConfig as sharedConfig2,
|
|
22
22
|
untrack as untrack3
|
|
23
23
|
} from "solid-js";
|
|
24
24
|
function clientOnly(fn) {
|
|
25
25
|
if (isServer)
|
|
26
26
|
return (props) => props.fallback;
|
|
27
|
-
const [comp, setComp] =
|
|
27
|
+
const [comp, setComp] = createSignal2();
|
|
28
28
|
fn().then((m) => setComp(() => m.default));
|
|
29
29
|
return (props) => {
|
|
30
30
|
let Comp;
|
|
31
31
|
let m;
|
|
32
32
|
const rest = omit2(props, "fallback");
|
|
33
33
|
if ((Comp = comp()) && !sharedConfig2.hydrating) return Comp(rest);
|
|
34
|
-
const [mounted, setMounted] =
|
|
35
|
-
|
|
34
|
+
const [mounted, setMounted] = createSignal2(!sharedConfig2.hydrating);
|
|
35
|
+
onSettled2(() => {
|
|
36
36
|
setMounted(true);
|
|
37
37
|
});
|
|
38
38
|
return createMemo2(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, template } from '../chunk/
|
|
1
|
+
import { ref, template } from '../chunk/P2Q55WHM.js';
|
|
2
2
|
import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
|
|
3
3
|
import { useQueryClient, onlineManager } from '@tanstack/solid-query';
|
|
4
4
|
import { TanstackQueryDevtools } from '@tanstack/query-devtools';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, template } from '../chunk/
|
|
1
|
+
import { ref, template } from '../chunk/RY5ZMUBR.js';
|
|
2
2
|
import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
|
|
3
3
|
import { useQueryClient, onlineManager } from '@tanstack/solid-query';
|
|
4
4
|
import { TanstackQueryDevtools } from '@tanstack/query-devtools';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, effect, style, template } from '../chunk/
|
|
1
|
+
import { ref, effect, style, template } from '../chunk/P2Q55WHM.js';
|
|
2
2
|
import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
|
|
3
3
|
import { useQueryClient, onlineManager } from '@tanstack/solid-query';
|
|
4
4
|
import { TanstackQueryDevtoolsPanel } from '@tanstack/query-devtools';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, effect, style, template } from '../chunk/
|
|
1
|
+
import { ref, effect, style, template } from '../chunk/RY5ZMUBR.js';
|
|
2
2
|
import { createMemo, createEffect, onSettled, runWithOwner } from 'solid-js';
|
|
3
3
|
import { useQueryClient, onlineManager } from '@tanstack/solid-query';
|
|
4
4
|
import { TanstackQueryDevtoolsPanel } from '@tanstack/query-devtools';
|
package/build/index.cjs
CHANGED
|
@@ -73,11 +73,19 @@ function ref(fn, element) {
|
|
|
73
73
|
solidJs.runWithOwner(null, () => applyRef(resolved, element));
|
|
74
74
|
}
|
|
75
75
|
function isHydrating(node) {
|
|
76
|
-
|
|
76
|
+
if (!solidJs.sharedConfig.hydrating) return false;
|
|
77
|
+
if (!node || node.isConnected) return true;
|
|
78
|
+
const roots = solidJs.sharedConfig.claimRoots;
|
|
79
|
+
if (roots) {
|
|
80
|
+
for (let i = 0; i < roots.length; i++) {
|
|
81
|
+
if (roots[i].contains(node)) return true;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return false;
|
|
77
85
|
}
|
|
78
86
|
var transparentOptions, effect, ENVELOPE, ResponseEnvelope, isServer, isDev;
|
|
79
87
|
var init_web = __esm({
|
|
80
|
-
"../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
88
|
+
"../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/web.js"() {
|
|
81
89
|
transparentOptions = {
|
|
82
90
|
transparent: true,
|
|
83
91
|
sync: true
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDev, isServer } from './chunk/
|
|
1
|
+
import { isDev, isServer } from './chunk/P2Q55WHM.js';
|
|
2
2
|
import { createSignal, omit, sharedConfig, onSettled, createMemo, untrack } from 'solid-js';
|
|
3
3
|
|
|
4
4
|
function clientOnly(fn) {
|
|
@@ -19,10 +19,10 @@ function clientOnly(fn) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// src/index.tsx
|
|
22
|
-
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/
|
|
22
|
+
var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/2G7DEE34.js')) : function() {
|
|
23
23
|
return null;
|
|
24
24
|
};
|
|
25
|
-
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/
|
|
25
|
+
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/K27KNWGT.js')) : function() {
|
|
26
26
|
return null;
|
|
27
27
|
};
|
|
28
28
|
|
package/build/index.jsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
2
|
-
import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, createOwner, enableHydration, flush, getOwner, createEffect } from "solid-js";
|
|
1
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.29_solid-js@2.0.0-beta.29/node_modules/@solidjs/web/dist/web.js
|
|
2
|
+
import { createRenderEffect, createMemo, sharedConfig, untrack, runWithOwner, flatten, createRoot, merge, createComponent, omit, createOwner, createSignal, onSettled, enableHydration, flush, getOwner, createEffect } from "solid-js";
|
|
3
3
|
import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, untrack as untrack2 } from "solid-js";
|
|
4
4
|
var ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
|
|
5
5
|
var ResponseEnvelope = class {
|
|
@@ -15,24 +15,24 @@ var isDev = false;
|
|
|
15
15
|
// src/clientOnly.tsx
|
|
16
16
|
import {
|
|
17
17
|
createMemo as createMemo2,
|
|
18
|
-
createSignal,
|
|
18
|
+
createSignal as createSignal2,
|
|
19
19
|
omit as omit2,
|
|
20
|
-
onSettled,
|
|
20
|
+
onSettled as onSettled2,
|
|
21
21
|
sharedConfig as sharedConfig2,
|
|
22
22
|
untrack as untrack3
|
|
23
23
|
} from "solid-js";
|
|
24
24
|
function clientOnly(fn) {
|
|
25
25
|
if (isServer)
|
|
26
26
|
return (props) => props.fallback;
|
|
27
|
-
const [comp, setComp] =
|
|
27
|
+
const [comp, setComp] = createSignal2();
|
|
28
28
|
fn().then((m) => setComp(() => m.default));
|
|
29
29
|
return (props) => {
|
|
30
30
|
let Comp;
|
|
31
31
|
let m;
|
|
32
32
|
const rest = omit2(props, "fallback");
|
|
33
33
|
if ((Comp = comp()) && !sharedConfig2.hydrating) return Comp(rest);
|
|
34
|
-
const [mounted, setMounted] =
|
|
35
|
-
|
|
34
|
+
const [mounted, setMounted] = createSignal2(!sharedConfig2.hydrating);
|
|
35
|
+
onSettled2(() => {
|
|
36
36
|
setMounted(true);
|
|
37
37
|
});
|
|
38
38
|
return createMemo2(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-query-devtools",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.7",
|
|
4
4
|
"description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@babel/core": "^7.28.0",
|
|
51
51
|
"@babel/preset-typescript": "^7.18.6",
|
|
52
|
-
"@solidjs/signals": "^2.0.0-beta.
|
|
52
|
+
"@solidjs/signals": "^2.0.0-beta.29",
|
|
53
53
|
"@solidjs/testing-library": "^0.8.10",
|
|
54
|
-
"@solidjs/web": "2.0.0-beta.
|
|
55
|
-
"babel-preset-solid": "2.0.0-beta.
|
|
54
|
+
"@solidjs/web": "2.0.0-beta.29",
|
|
55
|
+
"babel-preset-solid": "2.0.0-beta.29",
|
|
56
56
|
"npm-run-all2": "^5.0.0",
|
|
57
|
-
"solid-js": "2.0.0-beta.
|
|
57
|
+
"solid-js": "2.0.0-beta.29",
|
|
58
58
|
"tsup-preset-solid": "^2.2.0",
|
|
59
|
-
"vite-plugin-solid": "3.0.0-next.
|
|
60
|
-
"@tanstack/solid-query": "6.0.0-beta.
|
|
59
|
+
"vite-plugin-solid": "3.0.0-next.21",
|
|
60
|
+
"@tanstack/solid-query": "6.0.0-beta.7"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"solid-js": ">=2.0.0-beta.0 <3.0.0",
|
|
64
|
-
"@tanstack/solid-query": "^6.0.0-beta.
|
|
64
|
+
"@tanstack/solid-query": "^6.0.0-beta.7"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"clean": "premove ./build ./coverage ./dist-ts",
|