@tanstack/solid-query-devtools 6.0.0-beta.6 → 6.0.0-beta.8
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/{C73S7YTW.js → FKUYBF5A.js} +10 -10
- package/build/chunk/{KGLMGK4M.js → NK7IHIM5.js} +10 -10
- package/build/dev.cjs +11 -11
- package/build/dev.js +3 -3
- package/build/dev.jsx +7 -13
- package/build/devtools/{JA7A2ZGS.js → 2CGZ4267.js} +1 -1
- package/build/devtools/{N77BMJWV.js → KI6HBIW7.js} +1 -1
- package/build/devtoolsPanel/{CMV5IMZB.js → XUY5H6NS.js} +1 -1
- package/build/devtoolsPanel/{PHKM6EE4.js → YGPSPBMN.js} +1 -1
- package/build/index.cjs +11 -11
- package/build/index.js +3 -3
- package/build/index.jsx +7 -13
- 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.33_solid-js@2.0.0-beta.33/node_modules/@solidjs/web/dist/dev.js
|
|
4
4
|
var transparentOptions = {
|
|
5
5
|
transparent: true,
|
|
6
6
|
sync: true
|
|
@@ -72,16 +72,16 @@ function ref(fn, element) {
|
|
|
72
72
|
runWithOwner(null, () => applyRef(resolved, element));
|
|
73
73
|
}
|
|
74
74
|
function isHydrating(node) {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
82
|
}
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
85
|
var isServer = false;
|
|
86
86
|
var isDev = true;
|
|
87
87
|
|
|
@@ -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.33_solid-js@2.0.0-beta.33/node_modules/@solidjs/web/dist/web.js
|
|
4
4
|
var transparentOptions = {
|
|
5
5
|
transparent: true,
|
|
6
6
|
sync: true
|
|
@@ -70,16 +70,16 @@ function ref(fn, element) {
|
|
|
70
70
|
runWithOwner(null, () => applyRef(resolved, element));
|
|
71
71
|
}
|
|
72
72
|
function isHydrating(node) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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
80
|
}
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
83
|
var isServer = false;
|
|
84
84
|
var isDev = false;
|
|
85
85
|
|
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
|
-
var transparentOptions, effect,
|
|
88
|
+
var transparentOptions, effect, 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.33_solid-js@2.0.0-beta.33/node_modules/@solidjs/web/dist/dev.js"() {
|
|
83
91
|
transparentOptions = {
|
|
84
92
|
transparent: true,
|
|
85
93
|
sync: true
|
|
@@ -89,14 +97,6 @@ var init_dev = __esm({
|
|
|
89
97
|
...options,
|
|
90
98
|
transparent: !options.scope
|
|
91
99
|
} : transparentOptions);
|
|
92
|
-
ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
|
|
93
|
-
ResponseEnvelope = class {
|
|
94
|
-
constructor(response, value) {
|
|
95
|
-
this.response = response;
|
|
96
|
-
this.value = value;
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
ResponseEnvelope.prototype[ENVELOPE] = true;
|
|
100
100
|
isServer = false;
|
|
101
101
|
isDev = true;
|
|
102
102
|
}
|
package/build/dev.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDev, isServer } from './chunk/
|
|
1
|
+
import { isDev, isServer } from './chunk/FKUYBF5A.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/2CGZ4267.js')) : function() {
|
|
23
23
|
return null;
|
|
24
24
|
};
|
|
25
|
-
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/
|
|
25
|
+
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/XUY5H6NS.js')) : function() {
|
|
26
26
|
return null;
|
|
27
27
|
};
|
|
28
28
|
|
package/build/dev.jsx
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
2
|
-
import { createRenderEffect, createMemo, sharedConfig, untrack,
|
|
1
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.33_solid-js@2.0.0-beta.33/node_modules/@solidjs/web/dist/dev.js
|
|
2
|
+
import { createRenderEffect, createMemo, runWithOwner, sharedConfig, untrack, flatten, createRoot, merge, createComponent, omit, createOwner, createSignal, $DEVCOMP, onCleanup, 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
|
-
var
|
|
5
|
-
var
|
|
6
|
-
constructor(response, value) {
|
|
7
|
-
this.response = response;
|
|
8
|
-
this.value = value;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
ResponseEnvelope.prototype[ENVELOPE] = true;
|
|
4
|
+
var FLASH_COOKIE = "flash";
|
|
5
|
+
var FLASH_MATCHER = new RegExp(`(?:^|;\\s*)${FLASH_COOKIE}=([^;]+)`);
|
|
12
6
|
var isServer = false;
|
|
13
7
|
var isDev = true;
|
|
14
8
|
|
|
15
9
|
// src/clientOnly.tsx
|
|
16
10
|
import {
|
|
17
11
|
createMemo as createMemo2,
|
|
18
|
-
createSignal,
|
|
12
|
+
createSignal as createSignal2,
|
|
19
13
|
omit as omit2,
|
|
20
14
|
onSettled,
|
|
21
15
|
sharedConfig as sharedConfig2,
|
|
@@ -24,14 +18,14 @@ import {
|
|
|
24
18
|
function clientOnly(fn) {
|
|
25
19
|
if (isServer)
|
|
26
20
|
return (props) => props.fallback;
|
|
27
|
-
const [comp, setComp] =
|
|
21
|
+
const [comp, setComp] = createSignal2();
|
|
28
22
|
fn().then((m) => setComp(() => m.default));
|
|
29
23
|
return (props) => {
|
|
30
24
|
let Comp;
|
|
31
25
|
let m;
|
|
32
26
|
const rest = omit2(props, "fallback");
|
|
33
27
|
if ((Comp = comp()) && !sharedConfig2.hydrating) return Comp(rest);
|
|
34
|
-
const [mounted, setMounted] =
|
|
28
|
+
const [mounted, setMounted] = createSignal2(!sharedConfig2.hydrating);
|
|
35
29
|
onSettled(() => {
|
|
36
30
|
setMounted(true);
|
|
37
31
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, template } from '../chunk/
|
|
1
|
+
import { ref, template } from '../chunk/FKUYBF5A.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/NK7IHIM5.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/FKUYBF5A.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/NK7IHIM5.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
|
-
var transparentOptions, effect,
|
|
86
|
+
var transparentOptions, effect, 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.33_solid-js@2.0.0-beta.33/node_modules/@solidjs/web/dist/web.js"() {
|
|
81
89
|
transparentOptions = {
|
|
82
90
|
transparent: true,
|
|
83
91
|
sync: true
|
|
@@ -87,14 +95,6 @@ var init_web = __esm({
|
|
|
87
95
|
...options,
|
|
88
96
|
transparent: !options.scope
|
|
89
97
|
} : transparentOptions);
|
|
90
|
-
ENVELOPE = /* @__PURE__ */ Symbol.for("solid.ResponseEnvelope");
|
|
91
|
-
ResponseEnvelope = class {
|
|
92
|
-
constructor(response, value) {
|
|
93
|
-
this.response = response;
|
|
94
|
-
this.value = value;
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
ResponseEnvelope.prototype[ENVELOPE] = true;
|
|
98
98
|
isServer = false;
|
|
99
99
|
isDev = false;
|
|
100
100
|
}
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDev, isServer } from './chunk/
|
|
1
|
+
import { isDev, isServer } from './chunk/NK7IHIM5.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/KI6HBIW7.js')) : function() {
|
|
23
23
|
return null;
|
|
24
24
|
};
|
|
25
|
-
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/
|
|
25
|
+
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/YGPSPBMN.js')) : function() {
|
|
26
26
|
return null;
|
|
27
27
|
};
|
|
28
28
|
|
package/build/index.jsx
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.
|
|
2
|
-
import { createRenderEffect, createMemo, sharedConfig, untrack,
|
|
1
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-beta.33_solid-js@2.0.0-beta.33/node_modules/@solidjs/web/dist/web.js
|
|
2
|
+
import { createRenderEffect, createMemo, runWithOwner, sharedConfig, untrack, flatten, createRoot, merge, createComponent, omit, createOwner, createSignal, onCleanup, 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
|
-
var
|
|
5
|
-
var
|
|
6
|
-
constructor(response, value) {
|
|
7
|
-
this.response = response;
|
|
8
|
-
this.value = value;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
ResponseEnvelope.prototype[ENVELOPE] = true;
|
|
4
|
+
var FLASH_COOKIE = "flash";
|
|
5
|
+
var FLASH_MATCHER = new RegExp(`(?:^|;\\s*)${FLASH_COOKIE}=([^;]+)`);
|
|
12
6
|
var isServer = false;
|
|
13
7
|
var isDev = false;
|
|
14
8
|
|
|
15
9
|
// src/clientOnly.tsx
|
|
16
10
|
import {
|
|
17
11
|
createMemo as createMemo2,
|
|
18
|
-
createSignal,
|
|
12
|
+
createSignal as createSignal2,
|
|
19
13
|
omit as omit2,
|
|
20
14
|
onSettled,
|
|
21
15
|
sharedConfig as sharedConfig2,
|
|
@@ -24,14 +18,14 @@ import {
|
|
|
24
18
|
function clientOnly(fn) {
|
|
25
19
|
if (isServer)
|
|
26
20
|
return (props) => props.fallback;
|
|
27
|
-
const [comp, setComp] =
|
|
21
|
+
const [comp, setComp] = createSignal2();
|
|
28
22
|
fn().then((m) => setComp(() => m.default));
|
|
29
23
|
return (props) => {
|
|
30
24
|
let Comp;
|
|
31
25
|
let m;
|
|
32
26
|
const rest = omit2(props, "fallback");
|
|
33
27
|
if ((Comp = comp()) && !sharedConfig2.hydrating) return Comp(rest);
|
|
34
|
-
const [mounted, setMounted] =
|
|
28
|
+
const [mounted, setMounted] = createSignal2(!sharedConfig2.hydrating);
|
|
35
29
|
onSettled(() => {
|
|
36
30
|
setMounted(true);
|
|
37
31
|
});
|
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.8",
|
|
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.33",
|
|
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.33",
|
|
55
|
+
"babel-preset-solid": "2.0.0-beta.33",
|
|
56
56
|
"npm-run-all2": "^5.0.0",
|
|
57
|
-
"solid-js": "2.0.0-beta.
|
|
57
|
+
"solid-js": "2.0.0-beta.33",
|
|
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.8"
|
|
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.8"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"clean": "premove ./build ./coverage ./dist-ts",
|