@tanstack/solid-query-devtools 6.0.0-rc.1 → 6.0.0-rc.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/{3F6KOEWB.js → 6YEK5RSE.js} +5 -2
- package/build/chunk/{LDCQLWBW.js → LZBCL5FW.js} +5 -2
- package/build/dev.cjs +6 -3
- package/build/dev.js +3 -3
- package/build/dev.jsx +2 -2
- package/build/devtools/{TWS22ZTD.js → NS4HL5WJ.js} +1 -1
- package/build/devtools/{W2TZSQ4N.js → UQ6OWRDT.js} +1 -1
- package/build/devtoolsPanel/{OSRC2NSY.js → IQ6EXVZB.js} +1 -1
- package/build/devtoolsPanel/{7B2CBAAM.js → JAI45AU2.js} +1 -1
- package/build/index.cjs +6 -3
- package/build/index.js +3 -3
- package/build/index.jsx +2 -2
- package/package.json +6 -6
|
@@ -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-rc.
|
|
3
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.6_solid-js@2.0.0-rc.6/node_modules/@solidjs/web/dist/web.js
|
|
4
4
|
var transparentOptions = {
|
|
5
5
|
transparent: true,
|
|
6
6
|
sync: true
|
|
@@ -12,6 +12,7 @@ function effect(fn, effectFn, options) {
|
|
|
12
12
|
transparent: !options.scope
|
|
13
13
|
} : transparentOptions);
|
|
14
14
|
}
|
|
15
|
+
var hasOwn = Object.prototype.hasOwnProperty;
|
|
15
16
|
function create(html, bypassGuard, flag) {
|
|
16
17
|
const t = document.createElement("template");
|
|
17
18
|
t.innerHTML = html;
|
|
@@ -27,6 +28,7 @@ function setAttribute(node, name, value) {
|
|
|
27
28
|
node.removeAttribute(name);
|
|
28
29
|
}
|
|
29
30
|
function style(node, value, prev) {
|
|
31
|
+
if (isHydrating(node)) return;
|
|
30
32
|
if (!value) {
|
|
31
33
|
if (prev || node._$styles) {
|
|
32
34
|
setAttribute(node, "style");
|
|
@@ -51,12 +53,13 @@ function style(node, value, prev) {
|
|
|
51
53
|
}
|
|
52
54
|
let v, s;
|
|
53
55
|
for (s in applied) {
|
|
54
|
-
if (value[s] == null) {
|
|
56
|
+
if (!hasOwn.call(value, s) || value[s] == null) {
|
|
55
57
|
nodeStyle.removeProperty(s);
|
|
56
58
|
delete applied[s];
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
61
|
for (s in value) {
|
|
62
|
+
if (!hasOwn.call(value, s)) continue;
|
|
60
63
|
v = value[s];
|
|
61
64
|
if (v != null && v !== applied[s]) {
|
|
62
65
|
nodeStyle.setProperty(s, v);
|
|
@@ -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-rc.
|
|
3
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.6_solid-js@2.0.0-rc.6/node_modules/@solidjs/web/dist/dev.js
|
|
4
4
|
var transparentOptions = {
|
|
5
5
|
transparent: true,
|
|
6
6
|
sync: true
|
|
@@ -12,6 +12,7 @@ function effect(fn, effectFn, options) {
|
|
|
12
12
|
transparent: !options.scope
|
|
13
13
|
} : transparentOptions);
|
|
14
14
|
}
|
|
15
|
+
var hasOwn = Object.prototype.hasOwnProperty;
|
|
15
16
|
function create(html, bypassGuard, flag) {
|
|
16
17
|
if (isHydrating() && !bypassGuard) throw new Error("Failed attempt to create new DOM elements during hydration. Check that the libraries you are using support hydration.");
|
|
17
18
|
const t = document.createElement("template");
|
|
@@ -29,6 +30,7 @@ function setAttribute(node, name, value) {
|
|
|
29
30
|
node.removeAttribute(name);
|
|
30
31
|
}
|
|
31
32
|
function style(node, value, prev) {
|
|
33
|
+
if (isHydrating(node)) return;
|
|
32
34
|
if (!value) {
|
|
33
35
|
if (prev || node._$styles) {
|
|
34
36
|
setAttribute(node, "style");
|
|
@@ -53,12 +55,13 @@ function style(node, value, prev) {
|
|
|
53
55
|
}
|
|
54
56
|
let v, s;
|
|
55
57
|
for (s in applied) {
|
|
56
|
-
if (value[s] == null) {
|
|
58
|
+
if (!hasOwn.call(value, s) || value[s] == null) {
|
|
57
59
|
nodeStyle.removeProperty(s);
|
|
58
60
|
delete applied[s];
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
for (s in value) {
|
|
64
|
+
if (!hasOwn.call(value, s)) continue;
|
|
62
65
|
v = value[s];
|
|
63
66
|
if (v != null && v !== applied[s]) {
|
|
64
67
|
nodeStyle.setProperty(s, v);
|
package/build/dev.cjs
CHANGED
|
@@ -33,6 +33,7 @@ function setAttribute(node, name, value) {
|
|
|
33
33
|
node.removeAttribute(name);
|
|
34
34
|
}
|
|
35
35
|
function style(node, value, prev) {
|
|
36
|
+
if (isHydrating(node)) return;
|
|
36
37
|
if (!value) {
|
|
37
38
|
if (prev || node._$styles) {
|
|
38
39
|
setAttribute(node, "style");
|
|
@@ -57,12 +58,13 @@ function style(node, value, prev) {
|
|
|
57
58
|
}
|
|
58
59
|
let v, s;
|
|
59
60
|
for (s in applied) {
|
|
60
|
-
if (value[s] == null) {
|
|
61
|
+
if (!hasOwn.call(value, s) || value[s] == null) {
|
|
61
62
|
nodeStyle.removeProperty(s);
|
|
62
63
|
delete applied[s];
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
for (s in value) {
|
|
67
|
+
if (!hasOwn.call(value, s)) continue;
|
|
66
68
|
v = value[s];
|
|
67
69
|
if (v != null && v !== applied[s]) {
|
|
68
70
|
nodeStyle.setProperty(s, v);
|
|
@@ -88,13 +90,14 @@ function isHydrating(node) {
|
|
|
88
90
|
}
|
|
89
91
|
return false;
|
|
90
92
|
}
|
|
91
|
-
var transparentOptions, isServer, isDev;
|
|
93
|
+
var transparentOptions, hasOwn, isServer, isDev;
|
|
92
94
|
var init_dev = __esm({
|
|
93
|
-
"../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.
|
|
95
|
+
"../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.6_solid-js@2.0.0-rc.6/node_modules/@solidjs/web/dist/dev.js"() {
|
|
94
96
|
transparentOptions = {
|
|
95
97
|
transparent: true,
|
|
96
98
|
sync: true
|
|
97
99
|
};
|
|
100
|
+
hasOwn = Object.prototype.hasOwnProperty;
|
|
98
101
|
isServer = false;
|
|
99
102
|
isDev = true;
|
|
100
103
|
}
|
package/build/dev.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDev, isServer } from './chunk/
|
|
1
|
+
import { isDev, isServer } from './chunk/LZBCL5FW.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/UQ6OWRDT.js')) : function() {
|
|
23
23
|
return null;
|
|
24
24
|
};
|
|
25
|
-
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/
|
|
25
|
+
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/JAI45AU2.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-rc.
|
|
2
|
-
import { createRenderEffect, createMemo, sharedConfig, enableHydration, untrack, runWithOwner, resetErrorHalt, enforceLoadingBoundary, createRoot, flatten, flush,
|
|
1
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.6_solid-js@2.0.0-rc.6/node_modules/@solidjs/web/dist/dev.js
|
|
2
|
+
import { createRenderEffect, createMemo, sharedConfig, enableHydration, untrack, runWithOwner, resetErrorHalt, enforceLoadingBoundary, createRoot, flatten, flush, getOwner, createOwner, patchableRaw, storeHasOptimisticFamily, storeIsShallow, registerRowOps, registerSlotPatch, onCleanup, registerPatch, createComponent, omit, createSignal, $DEVCOMP, createEffect } from "solid-js";
|
|
3
3
|
import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, merge, untrack as untrack2 } from "solid-js";
|
|
4
4
|
var FLASH_COOKIE = "flash";
|
|
5
5
|
var FLASH_MATCHER = new RegExp(`(?:^|;\\s*)${FLASH_COOKIE}=([^;]+)`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, template } from '../chunk/
|
|
1
|
+
import { ref, template } from '../chunk/6YEK5RSE.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/LZBCL5FW.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/6YEK5RSE.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/LZBCL5FW.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
|
@@ -31,6 +31,7 @@ function setAttribute(node, name, value) {
|
|
|
31
31
|
node.removeAttribute(name);
|
|
32
32
|
}
|
|
33
33
|
function style(node, value, prev) {
|
|
34
|
+
if (isHydrating(node)) return;
|
|
34
35
|
if (!value) {
|
|
35
36
|
if (prev || node._$styles) {
|
|
36
37
|
setAttribute(node, "style");
|
|
@@ -55,12 +56,13 @@ function style(node, value, prev) {
|
|
|
55
56
|
}
|
|
56
57
|
let v, s;
|
|
57
58
|
for (s in applied) {
|
|
58
|
-
if (value[s] == null) {
|
|
59
|
+
if (!hasOwn.call(value, s) || value[s] == null) {
|
|
59
60
|
nodeStyle.removeProperty(s);
|
|
60
61
|
delete applied[s];
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
for (s in value) {
|
|
65
|
+
if (!hasOwn.call(value, s)) continue;
|
|
64
66
|
v = value[s];
|
|
65
67
|
if (v != null && v !== applied[s]) {
|
|
66
68
|
nodeStyle.setProperty(s, v);
|
|
@@ -86,13 +88,14 @@ function isHydrating(node) {
|
|
|
86
88
|
}
|
|
87
89
|
return false;
|
|
88
90
|
}
|
|
89
|
-
var transparentOptions, isServer, isDev;
|
|
91
|
+
var transparentOptions, hasOwn, isServer, isDev;
|
|
90
92
|
var init_web = __esm({
|
|
91
|
-
"../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.
|
|
93
|
+
"../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.6_solid-js@2.0.0-rc.6/node_modules/@solidjs/web/dist/web.js"() {
|
|
92
94
|
transparentOptions = {
|
|
93
95
|
transparent: true,
|
|
94
96
|
sync: true
|
|
95
97
|
};
|
|
98
|
+
hasOwn = Object.prototype.hasOwnProperty;
|
|
96
99
|
isServer = false;
|
|
97
100
|
isDev = false;
|
|
98
101
|
}
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDev, isServer } from './chunk/
|
|
1
|
+
import { isDev, isServer } from './chunk/6YEK5RSE.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/NS4HL5WJ.js')) : function() {
|
|
23
23
|
return null;
|
|
24
24
|
};
|
|
25
|
-
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/
|
|
25
|
+
var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/IQ6EXVZB.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-rc.
|
|
2
|
-
import { createRenderEffect, createMemo, sharedConfig, enableHydration, untrack, runWithOwner, createRoot, flatten, flush,
|
|
1
|
+
// ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.6_solid-js@2.0.0-rc.6/node_modules/@solidjs/web/dist/web.js
|
|
2
|
+
import { createRenderEffect, createMemo, sharedConfig, enableHydration, untrack, runWithOwner, createRoot, flatten, flush, getOwner, createOwner, patchableRaw, storeHasOptimisticFamily, storeIsShallow, registerRowOps, registerSlotPatch, onCleanup, registerPatch, createComponent, omit, createSignal, createEffect } from "solid-js";
|
|
3
3
|
import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, merge, untrack as untrack2 } from "solid-js";
|
|
4
4
|
var FLASH_COOKIE = "flash";
|
|
5
5
|
var FLASH_MATCHER = new RegExp(`(?:^|;\\s*)${FLASH_COOKIE}=([^;]+)`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-query-devtools",
|
|
3
|
-
"version": "6.0.0-rc.
|
|
3
|
+
"version": "6.0.0-rc.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",
|
|
@@ -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-rc.
|
|
52
|
+
"@solidjs/signals": "^2.0.0-rc.6",
|
|
53
53
|
"@solidjs/testing-library": "^0.8.10",
|
|
54
54
|
"@solidjs/vite-plugin": "^3.0.0-next.27",
|
|
55
|
-
"@solidjs/web": "^2.0.0-rc.
|
|
55
|
+
"@solidjs/web": "^2.0.0-rc.6",
|
|
56
56
|
"babel-preset-solid": "^2.0.0-rc.2",
|
|
57
57
|
"npm-run-all2": "^5.0.0",
|
|
58
|
-
"solid-js": "^2.0.0-rc.
|
|
58
|
+
"solid-js": "^2.0.0-rc.6",
|
|
59
59
|
"tsup-preset-solid": "^2.2.0",
|
|
60
|
-
"@tanstack/solid-query": "6.0.0-rc.
|
|
60
|
+
"@tanstack/solid-query": "6.0.0-rc.3"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"solid-js": ">=2.0.0-beta.0 <3.0.0",
|
|
64
|
-
"@tanstack/solid-query": "^6.0.0-rc.
|
|
64
|
+
"@tanstack/solid-query": "^6.0.0-rc.3"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"clean": "premove ./build ./coverage ./dist-ts",
|