@tanstack/query-devtools 5.96.0 → 5.96.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.
- package/build/DevtoolsComponent/{V4HPSUGU.js → LYM7QWDH.js} +2 -2
- package/build/DevtoolsComponent/{XMTSMVTM.js → NXRPVNXJ.js} +2 -2
- package/build/DevtoolsPanelComponent/{AY2UQYZQ.js → KNBUYGWK.js} +2 -2
- package/build/DevtoolsPanelComponent/{MMQ4R4NB.js → RXFVSJH2.js} +2 -2
- package/build/_tsup-dts-rollup.d.cts +0 -10
- package/build/_tsup-dts-rollup.d.ts +0 -10
- package/build/chunk/{EO4IN5ML.js → KTUP6UL7.js} +17 -7
- package/build/chunk/{7NWEGSOJ.js → NUR32CXD.js} +118 -113
- package/build/chunk/{L3CSWQ7H.js → Q7GRFEEB.js} +18 -6
- package/build/chunk/{JMCFIHKA.js → QIR4F55C.js} +118 -113
- package/build/dev.cjs +215 -200
- package/build/dev.js +3 -3
- package/build/index.cjs +215 -200
- package/build/index.js +3 -3
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1
|
+
// ../../node_modules/.pnpm/solid-js@1.9.12/node_modules/solid-js/dist/solid.js
|
|
2
2
|
var sharedConfig = {
|
|
3
3
|
context: void 0,
|
|
4
4
|
registry: void 0,
|
|
@@ -475,6 +475,7 @@ function runComputation(node, value, time) {
|
|
|
475
475
|
if (node.updatedAt != null && "observers" in node) {
|
|
476
476
|
writeSignal(node, nextValue, true);
|
|
477
477
|
} else if (Transition && Transition.running && node.pure) {
|
|
478
|
+
if (!Transition.sources.has(node)) node.value = nextValue;
|
|
478
479
|
Transition.sources.add(node);
|
|
479
480
|
node.tValue = nextValue;
|
|
480
481
|
} else node.value = nextValue;
|
|
@@ -510,16 +511,26 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
510
511
|
}
|
|
511
512
|
}
|
|
512
513
|
if (ExternalSourceConfig && c.fn) {
|
|
514
|
+
const sourceFn = c.fn;
|
|
513
515
|
const [track, trigger] = createSignal(void 0, {
|
|
514
516
|
equals: false
|
|
515
517
|
});
|
|
516
|
-
const ordinary = ExternalSourceConfig.factory(
|
|
518
|
+
const ordinary = ExternalSourceConfig.factory(sourceFn, trigger);
|
|
517
519
|
onCleanup(() => ordinary.dispose());
|
|
518
|
-
|
|
519
|
-
const
|
|
520
|
+
let inTransition;
|
|
521
|
+
const triggerInTransition = () => startTransition(trigger).then(() => {
|
|
522
|
+
if (inTransition) {
|
|
523
|
+
inTransition.dispose();
|
|
524
|
+
inTransition = void 0;
|
|
525
|
+
}
|
|
526
|
+
});
|
|
520
527
|
c.fn = (x) => {
|
|
521
528
|
track();
|
|
522
|
-
|
|
529
|
+
if (Transition && Transition.running) {
|
|
530
|
+
if (!inTransition) inTransition = ExternalSourceConfig.factory(sourceFn, triggerInTransition);
|
|
531
|
+
return inTransition.track(x);
|
|
532
|
+
}
|
|
533
|
+
return ordinary.track(x);
|
|
523
534
|
};
|
|
524
535
|
}
|
|
525
536
|
return c;
|
|
@@ -1188,7 +1199,7 @@ function Match(props) {
|
|
|
1188
1199
|
}
|
|
1189
1200
|
var DEV = void 0;
|
|
1190
1201
|
|
|
1191
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1202
|
+
// ../../node_modules/.pnpm/solid-js@1.9.12/node_modules/solid-js/web/dist/web.js
|
|
1192
1203
|
var booleans = [
|
|
1193
1204
|
"allowfullscreen",
|
|
1194
1205
|
"async",
|
|
@@ -2144,6 +2155,7 @@ var simpleRules = [
|
|
|
2144
2155
|
if (typeof BigInt !== "undefined") {
|
|
2145
2156
|
return BigInt(v);
|
|
2146
2157
|
}
|
|
2158
|
+
console.error("Please add a BigInt polyfill.");
|
|
2147
2159
|
return v;
|
|
2148
2160
|
}),
|
|
2149
2161
|
simpleTransformation(isDate, "Date", (v) => v.toISOString(), (v) => new Date(v)),
|