@tanstack/solid-query-devtools 6.0.0-beta.8 → 6.0.0-rc.1

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.
@@ -1,15 +1,17 @@
1
1
  import { createRenderEffect, untrack, runWithOwner, sharedConfig } from 'solid-js';
2
2
 
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
3
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.3_solid-js@2.0.0-rc.3/node_modules/@solidjs/web/dist/web.js
4
4
  var transparentOptions = {
5
5
  transparent: true,
6
6
  sync: true
7
7
  };
8
- var effect = (fn, effectFn, options) => createRenderEffect(fn, effectFn, options ? {
9
- sync: true,
10
- ...options,
11
- transparent: !options.scope
12
- } : transparentOptions);
8
+ function effect(fn, effectFn, options) {
9
+ createRenderEffect(fn, effectFn, options ? {
10
+ sync: true,
11
+ ...options,
12
+ transparent: !options.scope
13
+ } : transparentOptions);
14
+ }
13
15
  function create(html, bypassGuard, flag) {
14
16
  const t = document.createElement("template");
15
17
  t.innerHTML = html;
@@ -1,15 +1,17 @@
1
1
  import { createRenderEffect, untrack, runWithOwner, sharedConfig } from 'solid-js';
2
2
 
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
3
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.3_solid-js@2.0.0-rc.3/node_modules/@solidjs/web/dist/dev.js
4
4
  var transparentOptions = {
5
5
  transparent: true,
6
6
  sync: true
7
7
  };
8
- var effect = (fn, effectFn, options) => createRenderEffect(fn, effectFn, options ? {
9
- sync: true,
10
- ...options,
11
- transparent: !options.scope
12
- } : transparentOptions);
8
+ function effect(fn, effectFn, options) {
9
+ createRenderEffect(fn, effectFn, options ? {
10
+ sync: true,
11
+ ...options,
12
+ transparent: !options.scope
13
+ } : transparentOptions);
14
+ }
13
15
  function create(html, bypassGuard, flag) {
14
16
  if (isHydrating() && !bypassGuard) throw new Error("Failed attempt to create new DOM elements during hydration. Check that the libraries you are using support hydration.");
15
17
  const t = document.createElement("template");
package/build/dev.cjs CHANGED
@@ -13,6 +13,9 @@ var __export = (target, all) => {
13
13
  for (var name in all)
14
14
  __defProp(target, name, { get: all[name], enumerable: true });
15
15
  };
16
+ function effect(fn, effectFn, options) {
17
+ solidJs.createRenderEffect(fn, effectFn, transparentOptions);
18
+ }
16
19
  function create(html, bypassGuard, flag) {
17
20
  if (isHydrating() && !bypassGuard) throw new Error("Failed attempt to create new DOM elements during hydration. Check that the libraries you are using support hydration.");
18
21
  const t = document.createElement("template");
@@ -85,18 +88,13 @@ function isHydrating(node) {
85
88
  }
86
89
  return false;
87
90
  }
88
- var transparentOptions, effect, isServer, isDev;
91
+ var transparentOptions, isServer, isDev;
89
92
  var init_dev = __esm({
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"() {
93
+ "../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.3_solid-js@2.0.0-rc.3/node_modules/@solidjs/web/dist/dev.js"() {
91
94
  transparentOptions = {
92
95
  transparent: true,
93
96
  sync: true
94
97
  };
95
- effect = (fn, effectFn, options) => solidJs.createRenderEffect(fn, effectFn, options ? {
96
- sync: true,
97
- ...options,
98
- transparent: !options.scope
99
- } : transparentOptions);
100
98
  isServer = false;
101
99
  isDev = true;
102
100
  }
package/build/dev.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isDev, isServer } from './chunk/FKUYBF5A.js';
1
+ import { isDev, isServer } from './chunk/LDCQLWBW.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/2CGZ4267.js')) : function() {
22
+ var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/W2TZSQ4N.js')) : function() {
23
23
  return null;
24
24
  };
25
- var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/XUY5H6NS.js')) : function() {
25
+ var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/OSRC2NSY.js')) : function() {
26
26
  return null;
27
27
  };
28
28
 
package/build/dev.jsx CHANGED
@@ -1,6 +1,6 @@
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
- import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, untrack as untrack2 } from "solid-js";
1
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.3_solid-js@2.0.0-rc.3/node_modules/@solidjs/web/dist/dev.js
2
+ import { createRenderEffect, createMemo, sharedConfig, enableHydration, untrack, runWithOwner, resetErrorHalt, enforceLoadingBoundary, createRoot, flatten, flush, createComponent, omit, createOwner, createSignal, $DEVCOMP, onCleanup, getOwner, createEffect } from "solid-js";
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}=([^;]+)`);
6
6
  var isServer = false;
@@ -1,4 +1,4 @@
1
- import { ref, template } from '../chunk/FKUYBF5A.js';
1
+ import { ref, template } from '../chunk/3F6KOEWB.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/NK7IHIM5.js';
1
+ import { ref, template } from '../chunk/LDCQLWBW.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/FKUYBF5A.js';
1
+ import { ref, effect, style, template } from '../chunk/3F6KOEWB.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/NK7IHIM5.js';
1
+ import { ref, effect, style, template } from '../chunk/LDCQLWBW.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
@@ -13,6 +13,9 @@ var __export = (target, all) => {
13
13
  for (var name in all)
14
14
  __defProp(target, name, { get: all[name], enumerable: true });
15
15
  };
16
+ function effect(fn, effectFn, options) {
17
+ solidJs.createRenderEffect(fn, effectFn, transparentOptions);
18
+ }
16
19
  function create(html, bypassGuard, flag) {
17
20
  const t = document.createElement("template");
18
21
  t.innerHTML = html;
@@ -83,18 +86,13 @@ function isHydrating(node) {
83
86
  }
84
87
  return false;
85
88
  }
86
- var transparentOptions, effect, isServer, isDev;
89
+ var transparentOptions, isServer, isDev;
87
90
  var init_web = __esm({
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"() {
91
+ "../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.3_solid-js@2.0.0-rc.3/node_modules/@solidjs/web/dist/web.js"() {
89
92
  transparentOptions = {
90
93
  transparent: true,
91
94
  sync: true
92
95
  };
93
- effect = (fn, effectFn, options) => solidJs.createRenderEffect(fn, effectFn, options ? {
94
- sync: true,
95
- ...options,
96
- transparent: !options.scope
97
- } : transparentOptions);
98
96
  isServer = false;
99
97
  isDev = false;
100
98
  }
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isDev, isServer } from './chunk/NK7IHIM5.js';
1
+ import { isDev, isServer } from './chunk/3F6KOEWB.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/KI6HBIW7.js')) : function() {
22
+ var SolidQueryDevtools = isDev ? clientOnly(() => import('./devtools/TWS22ZTD.js')) : function() {
23
23
  return null;
24
24
  };
25
- var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/YGPSPBMN.js')) : function() {
25
+ var SolidQueryDevtoolsPanel = isDev ? clientOnly(() => import('./devtoolsPanel/7B2CBAAM.js')) : function() {
26
26
  return null;
27
27
  };
28
28
 
package/build/index.jsx CHANGED
@@ -1,6 +1,6 @@
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
- import { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent as createComponent2, getOwner as getOwner2, untrack as untrack2 } from "solid-js";
1
+ // ../../node_modules/.pnpm/@solidjs+web@2.0.0-rc.3_solid-js@2.0.0-rc.3/node_modules/@solidjs/web/dist/web.js
2
+ import { createRenderEffect, createMemo, sharedConfig, enableHydration, untrack, runWithOwner, createRoot, flatten, flush, createComponent, omit, createOwner, createSignal, onCleanup, getOwner, createEffect } from "solid-js";
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}=([^;]+)`);
6
6
  var isServer = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-query-devtools",
3
- "version": "6.0.0-beta.8",
3
+ "version": "6.0.0-rc.1",
4
4
  "description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -44,24 +44,24 @@
44
44
  "!src/__tests__"
45
45
  ],
46
46
  "dependencies": {
47
- "@tanstack/query-devtools": "5.101.0"
47
+ "@tanstack/query-devtools": "5.101.4"
48
48
  },
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.33",
52
+ "@solidjs/signals": "^2.0.0-rc.0",
53
53
  "@solidjs/testing-library": "^0.8.10",
54
- "@solidjs/web": "2.0.0-beta.33",
55
- "babel-preset-solid": "2.0.0-beta.33",
54
+ "@solidjs/vite-plugin": "^3.0.0-next.27",
55
+ "@solidjs/web": "^2.0.0-rc.3",
56
+ "babel-preset-solid": "^2.0.0-rc.2",
56
57
  "npm-run-all2": "^5.0.0",
57
- "solid-js": "2.0.0-beta.33",
58
+ "solid-js": "^2.0.0-rc.3",
58
59
  "tsup-preset-solid": "^2.2.0",
59
- "vite-plugin-solid": "3.0.0-next.21",
60
- "@tanstack/solid-query": "6.0.0-beta.8"
60
+ "@tanstack/solid-query": "6.0.0-rc.1"
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.8"
64
+ "@tanstack/solid-query": "^6.0.0-rc.1"
65
65
  },
66
66
  "scripts": {
67
67
  "clean": "premove ./build ./coverage ./dist-ts",