@askrjs/askr 0.4.0 → 0.4.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/dist/actions/index.js +4 -4
  3. package/dist/benchmark.js +6 -6
  4. package/dist/boot/index.js +1 -1
  5. package/dist/{boot-DaoTYoCw.js → boot-C5HnQZio.js} +79 -36
  6. package/dist/{browser-activity-CB8e-V4f.js → browser-activity-2r5gA1Cb.js} +6 -4
  7. package/dist/components/index.js +1 -1
  8. package/dist/{compose-ref-DWzdbxsD.js → compose-ref-ccRU59BM.js} +7 -1
  9. package/dist/control/index.js +1 -1
  10. package/dist/{control-nfpT2fbK.js → control-hr3B0QaD.js} +4 -2
  11. package/dist/{csp-nonce-DwGw1A6Q.js → csp-nonce-D-XM_uuJ.js} +1 -1
  12. package/dist/data/index.js +3 -3
  13. package/dist/{data-BCwClJiF.js → data-BsnOUpQ6.js} +18 -8
  14. package/dist/{data-runtime-C1bFAlba.js → data-runtime-i-RD0Ffm.js} +1 -1
  15. package/dist/{deferred-bEEHHvic.js → deferred-nGZglpj6.js} +5 -5
  16. package/dist/{error-boundary-Bpwofwps.js → error-boundary-ChXoIFVl.js} +2 -2
  17. package/dist/foundations/index.js +2 -2
  18. package/dist/foundations/interactions/index.js +1 -1
  19. package/dist/foundations/state/index.js +1 -1
  20. package/dist/foundations/structures/index.js +2 -2
  21. package/dist/foundations/utilities/index.js +1 -1
  22. package/dist/fx/index.js +2 -2
  23. package/dist/{hooks-BimKStr4.js → hooks-kjLigwDJ.js} +1 -1
  24. package/dist/index.js +5 -5
  25. package/dist/{instance-BAnfmXOR.js → instance-DL-YKrj6.js} +6 -2
  26. package/dist/{interactions-D2BoREb-.js → interactions-BAa2xuJ-.js} +1 -1
  27. package/dist/{manifest-CW9gyNBY.js → manifest-BNupb86f.js} +1 -1
  28. package/dist/{navigate-CP_0Zy5U.js → navigate-DsfO12hB.js} +95 -79
  29. package/dist/{portal-DuOKfnLa.js → portal-LYf4cbHd.js} +3 -3
  30. package/dist/{query-registry-WMCN0BJL.js → query-registry-tzSiVrV_.js} +7 -2
  31. package/dist/{render-sync-IC5lMFpq.js → render-sync-CUxvoVab.js} +28 -12
  32. package/dist/{resolution-Cx82-xjW.js → resolution-CF1BqHLm.js} +22 -8
  33. package/dist/{resource-CLjB7RBQ.js → resource-BhcaFqdB.js} +2 -2
  34. package/dist/resources/index.js +25 -27
  35. package/dist/router/index.js +8 -8
  36. package/dist/{scope-CwpVSHVf.js → scope-ila_zaId.js} +2 -2
  37. package/dist/ssg/index.js +43 -14
  38. package/dist/ssr/index.js +2 -2
  39. package/dist/{ssr-BJ8ug7zH.js → ssr-9LOx_bEu.js} +6 -6
  40. package/dist/{ssr-DoV-vJ-5.js → ssr-DPfdcq0e.js} +1 -1
  41. package/dist/{state-DWO1KzkX.js → state-i9D4EtY6.js} +19 -1
  42. package/dist/{structures-D4dDMqHX.js → structures-CkehlOT3.js} +1 -1
  43. package/dist/testing/index.js +6 -6
  44. package/dist/{url-CnbfpX0K.js → url-C9xMpMMv.js} +6 -6
  45. package/dist/{verify-hydration-DpVaDnqz.js → verify-hydration-D_cyn1OX.js} +4 -4
  46. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,48 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 0.4.1 — 2026-10-01
4
+
5
+ - fix(data): honor defined-query `skipInitialFetch` and `initialData` options,
6
+ retain prefetched/hydrated data precedence, and retire active or queued
7
+ refreshes when the last reader leaves a query retained by `gcTime` (#724).
8
+ - fix(data): retire obsolete requests immediately when invalidation supersedes
9
+ them, preserve every string query key during dehydration, and keep sparse
10
+ query-key arrays from colliding with empty arrays. Dense-array keys are unchanged.
11
+ - fix(resources): abort and close failed stream generations, capture stream
12
+ definitions from the committed render, and preserve component ownership in
13
+ listener and timer callbacks so nested FX and invalidation use the owning app.
14
+ - fix(core): restore `derive()`/`selector()` definitions and subscriptions after
15
+ a rejected render, and run replacement refs even when previous ref cleanup
16
+ throws.
17
+ - fix(core): retain the following server element when hydration adopts merged
18
+ adjacent text nodes, including text claimed through reserved cursors.
19
+ - fix(control): preserve native and class instance receivers in `For` rows while
20
+ retaining reactive overlays for plain records and stable keyed row lifetimes.
21
+ - fix(foundations): prevent stale collection cleanup from removing a newer
22
+ registration for the same node, and preserve own `__proto__` props in
23
+ `mergeProps()` without changing the output record's prototype.
24
+ - fix(router): preserve prototype-named path parameters and query fields without
25
+ changing the prototype of the returned plain records. Server snapshots omit
26
+ browser history state, and hydration omission guards apply only to declared
27
+ omissions rather than inherited object properties.
28
+ - fix(router): capture each committed `onRouteChange()` callback and snapshot,
29
+ preserving ordered changes and cleanup when several commits precede a flush.
30
+ Destination snapshots read the matching navigation state before browser
31
+ history is written, and navigation state getters run once per destination.
32
+ - fix(ssr): distinguish actual deferred hydration values from ordinary records
33
+ with the same marker keys. Existing generated pages retain their original
34
+ deferred decoding, unambiguous pages retain their existing envelope bytes,
35
+ and the hydration envelope remains version 1.
36
+ - fix(rendering): keep attribute names such as `constructor` and `toString`
37
+ literal rather than interpreting them as inherited alias or namespace entries.
38
+ - fix(hydration): retain the clicked submit button when replaying a form
39
+ submission after hydration replaces its controls. Failed idle attempts retain
40
+ interaction and visibility retries, and mixed completion paths release their
41
+ replay and scroll listeners after the final deferred section activates.
42
+ - fix(ssg): normalize named splat entry parameters while preserving accepted
43
+ raw token spellings, encode dynamic render URLs while preserving existing
44
+ output paths and data override keys, and rebuild
45
+ unchanged routes when their generated HTML is missing.
4
46
 
5
47
  ## 0.4.0 — 2026-09-28
6
48
 
@@ -1,9 +1,9 @@
1
- import { a as state } from "../state-DWO1KzkX.js";
2
- import { r as currentAppRuntime } from "../hooks-BimKStr4.js";
1
+ import { a as state } from "../state-i9D4EtY6.js";
2
+ import { r as currentAppRuntime } from "../hooks-kjLigwDJ.js";
3
3
  import { r as getCurrentRenderData } from "../render-context-DGHnEveC.js";
4
4
  import { i as jsxs, n as jsx } from "../jsx-runtime-C4idqHY0.js";
5
- import { c as invalidateQueriesForRuntime, u as resolveDataRuntimeState } from "../data-runtime-C1bFAlba.js";
6
- import { c as resolveNavigationUrl } from "../url-CnbfpX0K.js";
5
+ import { c as invalidateQueriesForRuntime, u as resolveDataRuntimeState } from "../data-runtime-i-RD0Ffm.js";
6
+ import { c as resolveNavigationUrl } from "../url-C9xMpMMv.js";
7
7
  import { n as isCurrentAsyncGeneration } from "../shared-O2ZnmYAf.js";
8
8
  //#region src/actions/runtime.ts
9
9
  const emptyFramework = Object.freeze({});
package/dist/benchmark.js CHANGED
@@ -1,8 +1,8 @@
1
- import { y as flushSync } from "./instance-BAnfmXOR.js";
2
- import { a as state, i as selector } from "./state-DWO1KzkX.js";
1
+ import { y as flushSync } from "./instance-DL-YKrj6.js";
2
+ import { a as state, i as selector } from "./state-i9D4EtY6.js";
3
3
  import { i as jsxs, n as jsx } from "./jsx-runtime-C4idqHY0.js";
4
- import { r as createIsland } from "./boot-DaoTYoCw.js";
5
- import { n as For } from "./control-nfpT2fbK.js";
4
+ import { r as createIsland } from "./boot-C5HnQZio.js";
5
+ import { n as For } from "./control-hr3B0QaD.js";
6
6
  //#region src/bench/components/benchmark-row.tsx
7
7
  function BenchmarkRow({ item, isSelected, onSelect, onRemove }) {
8
8
  return /* @__PURE__ */ jsxs("tr", {
@@ -58,8 +58,8 @@ function BenchmarkTable({ rows, isSelected, onSelect, onRemove }) {
58
58
  }
59
59
  const benchmarkMetadata = {
60
60
  packageName: "@askrjs/askr",
61
- packageVersion: "0.4.0",
62
- buildLabel: "0.4.0-local"
61
+ packageVersion: "0.4.1",
62
+ buildLabel: "0.4.1-local"
63
63
  };
64
64
  function getBenchmarkMetadata() {
65
65
  return { ...benchmarkMetadata };
@@ -1,2 +1,2 @@
1
- import { a as cleanupApp, i as createIslands, n as createSPA, o as hasApp, r as createIsland, t as hydrateSPA } from "../boot-DaoTYoCw.js";
1
+ import { a as cleanupApp, i as createIslands, n as createSPA, o as hasApp, r as createIsland, t as hydrateSPA } from "../boot-C5HnQZio.js";
2
2
  export { cleanupApp, createIsland, createIslands, createSPA, hasApp, hydrateSPA };
@@ -1,19 +1,19 @@
1
- import { C as schedule, F as logger, I as isDevelopmentEnvironment, L as isProductionEnvironment, M as getOwner, N as runWithOwner, S as queueTask, _ as batch, c as setRenderHost, d as recordUndo, f as rewindJournal, g as outsideRendering, i as getContextEpoch, j as Owner, l as createRenderJournal, m as withRenderJournal, n as HookOrderChangeError, p as settleJournal, t as ComponentInstance, u as journalMark, v as effectScheduler, w as Computation, y as flushSync } from "./instance-BAnfmXOR.js";
1
+ import { C as schedule, I as logger, L as isDevelopmentEnvironment, M as getOwner, N as runWithOwner, P as throwCollected, R as isProductionEnvironment, S as queueTask, _ as batch, c as setRenderHost, d as recordUndo, f as rewindJournal, g as outsideRendering, i as getContextEpoch, j as Owner, l as createRenderJournal, m as withRenderJournal, n as HookOrderChangeError, p as settleJournal, t as ComponentInstance, u as journalMark, v as effectScheduler, w as Computation, y as flushSync } from "./instance-DL-YKrj6.js";
2
2
  import { n as readValue } from "./readable-DFWOsTac.js";
3
3
  import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-DRS-qjiN.js";
4
- import { _ as RenderDepthError, b as reportUncaughtErrorLater, g as routeError, h as noteErrorOrigin, i as currentComponent, l as provideAppRuntime, m as deliverToBoundary, p as clarifyRenderError, v as clarifyRenderOverflow, y as reportUncaughtError } from "./hooks-BimKStr4.js";
5
- import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-DwGw1A6Q.js";
6
- import { d as startHydrationRenderPhase, p as stopHydrationRenderPhase, x as pageRenderEnvelope } from "./render-context-DGHnEveC.js";
7
- import { a as descriptorType, o as functionChildOutput, s as normalizeChildren } from "./error-boundary-Bpwofwps.js";
8
- import { D as clearStagedAppRenderRouteLocation, E as configureRootUpdateHost, O as createAppRenderRuntime, S as unregisterAppInstance, T as setServerLocation, _ as registerAppInstance, c as reconcileRouteMeta, d as configureScrollRestoration, k as stageAppRenderRouteLocation, l as resolveRouteMeta, o as readHistoryIndex, s as loadDocument, t as initializeNavigation } from "./navigate-CP_0Zy5U.js";
4
+ import { _ as RenderDepthError, b as reportUncaughtErrorLater, g as routeError, h as noteErrorOrigin, i as currentComponent, l as provideAppRuntime, m as deliverToBoundary, p as clarifyRenderError, v as clarifyRenderOverflow, y as reportUncaughtError } from "./hooks-kjLigwDJ.js";
5
+ import { r as validateCspNonce, t as CspNonceScope } from "./csp-nonce-D-XM_uuJ.js";
6
+ import { b as isPageRenderEnvelope, d as startHydrationRenderPhase, p as stopHydrationRenderPhase, x as pageRenderEnvelope } from "./render-context-DGHnEveC.js";
7
+ import { a as descriptorType, o as functionChildOutput, s as normalizeChildren } from "./error-boundary-ChXoIFVl.js";
8
+ import { D as clearStagedAppRenderRouteLocation, E as configureRootUpdateHost, O as createAppRenderRuntime, S as unregisterAppInstance, T as setServerLocation, _ as registerAppInstance, c as reconcileRouteMeta, d as configureScrollRestoration, k as stageAppRenderRouteLocation, l as resolveRouteMeta, o as readHistoryIndex, s as loadDocument, t as initializeNavigation } from "./navigate-DsfO12hB.js";
9
9
  import { t as assertSyncComponentResult } from "./promise-Dz8iIHAm.js";
10
- import { a as hydrateDataRuntime, m as reviveDeferredValue } from "./query-registry-WMCN0BJL.js";
11
- import { A as clearRouteState, D as _setActiveRouteAuthOptions, Y as lockRouteRegistration, a as resolveRouteRequest, gt as withoutRouteHydrationMetadata, i as hasRouteRenderData, m as withoutHydratedAuth, n as getRouteRenderContext, p as readHydratedAuth, q as hasRegisteredRoutes, r as getRouteRenderData } from "./resolution-Cx82-xjW.js";
12
- import { c as isSSRPortalHydrationAnchor, i as provideDefaultPortal, l as isSSRPortalWriterAnchor, t as DefaultPortal } from "./portal-DuOKfnLa.js";
13
- import { r as assertExecutionModel, t as _applyManifest } from "./manifest-CW9gyNBY.js";
14
- import { a as getDefaultDataRuntime } from "./data-runtime-C1bFAlba.js";
15
- import { c as resolveNavigationUrl, d as isCustomElementName, l as attributeNamespace, n as UNSAFE_URL_SCHEME_ATTRIBUTES, s as rejectUnsafeUrlAttribute, t as SCRIPT_URL_RESOURCE_ATTRIBUTES, u as getPublicAttributeName } from "./url-CnbfpX0K.js";
16
- import { a as PROPERTY_PROP_PREFIX, c as isKnownBooleanProperty, d as booleanAttributeValue, f as isSkippedProp, h as styleValueText, i as ATTRIBUTE_PROP_PREFIX, m as normalizeStylePropertyName, o as domPropertyValue, p as keepsFalseValue, r as sanitizeCssValue, s as getDomPropertyName, u as propertyReflectsAttribute } from "./ssr-DoV-vJ-5.js";
10
+ import { a as hydrateDataRuntime, m as reviveDeferredValue } from "./query-registry-tzSiVrV_.js";
11
+ import { A as clearRouteState, D as _setActiveRouteAuthOptions, Y as lockRouteRegistration, a as resolveRouteRequest, gt as withoutRouteHydrationMetadata, i as hasRouteRenderData, m as withoutHydratedAuth, n as getRouteRenderContext, p as readHydratedAuth, q as hasRegisteredRoutes, r as getRouteRenderData } from "./resolution-CF1BqHLm.js";
12
+ import { c as isSSRPortalHydrationAnchor, i as provideDefaultPortal, l as isSSRPortalWriterAnchor, t as DefaultPortal } from "./portal-LYf4cbHd.js";
13
+ import { r as assertExecutionModel, t as _applyManifest } from "./manifest-BNupb86f.js";
14
+ import { a as getDefaultDataRuntime } from "./data-runtime-i-RD0Ffm.js";
15
+ import { c as resolveNavigationUrl, d as isCustomElementName, l as attributeNamespace, n as UNSAFE_URL_SCHEME_ATTRIBUTES, s as rejectUnsafeUrlAttribute, t as SCRIPT_URL_RESOURCE_ATTRIBUTES, u as getPublicAttributeName } from "./url-C9xMpMMv.js";
16
+ import { a as PROPERTY_PROP_PREFIX, c as isKnownBooleanProperty, d as booleanAttributeValue, f as isSkippedProp, h as styleValueText, i as ATTRIBUTE_PROP_PREFIX, m as normalizeStylePropertyName, o as domPropertyValue, p as keepsFalseValue, r as sanitizeCssValue, s as getDomPropertyName, u as propertyReflectsAttribute } from "./ssr-DPfdcq0e.js";
17
17
  //#region src/boot/root-handler.ts
18
18
  const AUTO_PORTAL = {
19
19
  $$typeof: ELEMENT_TYPE,
@@ -50,6 +50,8 @@ function wrapRootRouteHandler(componentFn, cspNonce) {
50
50
  * `apply()` renders the destination (render phase only); `publish()` commits
51
51
  * it; `rollback()` discards it and restores the root's previous route state.
52
52
  * A navigation applies every root first and publishes only if all succeeded.
53
+ * The destination stays staged through lifecycle-driven rerenders until
54
+ * `complete()` releases it after the navigation settles browser history.
53
55
  */
54
56
  function prepare(root, input) {
55
57
  const app = root;
@@ -80,7 +82,7 @@ function prepare(root, input) {
80
82
  return {
81
83
  apply() {
82
84
  if (prepared || settled) return;
83
- stageAppRenderRouteLocation(runtime, input.href);
85
+ stageAppRenderRouteLocation(runtime, input.href, input.locationState);
84
86
  app.appRuntime = runtime;
85
87
  if (input.replaceLifetime) {
86
88
  app.component = input.handler;
@@ -116,8 +118,6 @@ function prepare(root, input) {
116
118
  aborted,
117
119
  errors: [error]
118
120
  };
119
- } finally {
120
- clearStagedAppRenderRouteLocation(runtime);
121
121
  }
122
122
  },
123
123
  rollback() {
@@ -130,6 +130,9 @@ function prepare(root, input) {
130
130
  },
131
131
  retire() {
132
132
  return [];
133
+ },
134
+ complete() {
135
+ clearStagedAppRenderRouteLocation(runtime);
133
136
  }
134
137
  };
135
138
  }
@@ -697,15 +700,20 @@ function removeAllListeners(listeners, el, errors) {
697
700
  * removes whatever the server rendered that the client did not.
698
701
  */
699
702
  var HydrationCursor = class HydrationCursor {
700
- constructor(stopAt = null) {
703
+ constructor(stopAt = null, successors = /* @__PURE__ */ new WeakMap()) {
701
704
  this.stopAt = stopAt;
705
+ this.successors = successors;
702
706
  this.next = /* @__PURE__ */ new Map();
703
707
  this.deferred = [];
704
708
  }
709
+ /** Detached text suffixes retain the server sibling that follows them. */
710
+ followingSibling(node) {
711
+ return this.successors.has(node) ? this.successors.get(node) : node.nextSibling;
712
+ }
705
713
  /** Consume private SSR metadata emitted immediately before a component output. */
706
714
  claimResourceSlots(container) {
707
715
  let node = this.next.has(container) ? this.next.get(container) : container.firstChild;
708
- for (; node && node !== this.stopAt; node = node.nextSibling) {
716
+ for (; node && node !== this.stopAt; node = this.followingSibling(node)) {
709
717
  if (node.nodeType === 3 && isInsignificantWhitespace(node)) continue;
710
718
  if (node.nodeType !== 8) return null;
711
719
  const match = /^askr-resource:(r:\d+(?:,r:\d+)*)$/.exec(node.data);
@@ -724,7 +732,7 @@ var HydrationCursor = class HydrationCursor {
724
732
  let node = this.next.has(container) ? this.next.get(container) : container.firstChild;
725
733
  while (node && node !== this.stopAt) {
726
734
  if (node.nodeType !== 8) nodes.push(node);
727
- node = node.nextSibling;
735
+ node = this.followingSibling(node);
728
736
  }
729
737
  return nodes;
730
738
  }
@@ -736,30 +744,30 @@ var HydrationCursor = class HydrationCursor {
736
744
  */
737
745
  reserve(container) {
738
746
  let node = this.next.has(container) ? this.next.get(container) : container.firstChild;
739
- while (node && node !== this.stopAt && node.nodeType === 3 && isInsignificantWhitespace(node)) node = node.nextSibling;
747
+ while (node && node !== this.stopAt && node.nodeType === 3 && isInsignificantWhitespace(node)) node = this.followingSibling(node);
740
748
  if (node && isRangeMarker(node, "askr-range-start")) {
741
749
  let depth = 0;
742
750
  let end = node;
743
- for (; end && end !== this.stopAt; end = end.nextSibling) if (isRangeMarker(end, "askr-range-start")) depth++;
751
+ for (; end && end !== this.stopAt; end = this.followingSibling(end)) if (isRangeMarker(end, "askr-range-start")) depth++;
744
752
  else if (isRangeMarker(end, "askr-range-end") && --depth === 0) break;
745
753
  if (end && end !== this.stopAt) {
746
- this.next.set(container, end.nextSibling);
747
- const inner = new HydrationCursor(end);
748
- inner.next.set(container, node.nextSibling);
754
+ this.next.set(container, this.followingSibling(end));
755
+ const inner = new HydrationCursor(end, this.successors);
756
+ inner.next.set(container, this.followingSibling(node));
749
757
  return inner;
750
758
  }
751
759
  }
752
- const later = new HydrationCursor(this.stopAt);
760
+ const later = new HydrationCursor(this.stopAt, this.successors);
753
761
  later.next.set(container, node);
754
762
  return later;
755
763
  }
756
764
  peek(container) {
757
765
  let node = this.next.has(container) ? this.next.get(container) : container.firstChild;
758
- while (node && node !== this.stopAt && (node.nodeType === 8 || node.nodeType === 3 && isInsignificantWhitespace(node))) node = node.nextSibling;
766
+ while (node && node !== this.stopAt && (node.nodeType === 8 || node.nodeType === 3 && isInsignificantWhitespace(node))) node = this.followingSibling(node);
759
767
  return node === this.stopAt ? null : node;
760
768
  }
761
769
  advance(container, node) {
762
- this.next.set(container, node.nextSibling);
770
+ this.next.set(container, this.followingSibling(node));
763
771
  }
764
772
  claimElement(container, tag, namespace) {
765
773
  const node = this.peek(container);
@@ -782,6 +790,7 @@ var HydrationCursor = class HydrationCursor {
782
790
  const textNode = node;
783
791
  if (text.length > 0 && textNode.data.length > text.length && textNode.data.startsWith(text)) {
784
792
  const remainder = document.createTextNode(textNode.data.slice(text.length));
793
+ this.successors.set(remainder, this.followingSibling(textNode));
785
794
  this.next.set(container, remainder);
786
795
  return textNode;
787
796
  }
@@ -1872,8 +1881,18 @@ function attachRef(pass, node, previous) {
1872
1881
  if (ref === previous) return;
1873
1882
  const el = node.el;
1874
1883
  pass.after(() => {
1875
- if (previous) setRef(previous, null);
1876
- if (ref) setRef(ref, el);
1884
+ const errors = [];
1885
+ try {
1886
+ if (previous) setRef(previous, null);
1887
+ } catch (error) {
1888
+ errors.push(error);
1889
+ }
1890
+ try {
1891
+ if (ref) setRef(ref, el);
1892
+ } catch (error) {
1893
+ errors.push(error);
1894
+ }
1895
+ throwCollected(errors, "Ref replacement callbacks failed");
1877
1896
  });
1878
1897
  }
1879
1898
  /** End a removed element's bindings, listeners, and ref. */
@@ -3517,6 +3536,27 @@ function hydrationReviver(_key, value) {
3517
3536
  if (payload[DEFERRED_PAYLOAD] === "rejected") return reviveDeferredValue("rejected", void 0, payload.error);
3518
3537
  return value;
3519
3538
  }
3539
+ function parseHydrationRenderData(raw) {
3540
+ const value = JSON.parse(raw);
3541
+ if (!isPageRenderEnvelope(value) || !Object.prototype.hasOwnProperty.call(value, "deferredPaths")) return JSON.parse(raw, hydrationReviver);
3542
+ const payload = value;
3543
+ const paths = payload.deferredPaths;
3544
+ if (!Array.isArray(paths) || paths.some((path) => !Array.isArray(path) || path.some((key) => typeof key !== "string"))) throw new TypeError("Invalid deferred hydration locations.");
3545
+ for (let index = paths.length - 1; index >= 0; index--) {
3546
+ const path = paths[index];
3547
+ let parent = value;
3548
+ for (const key of path.slice(0, -1)) {
3549
+ if (!parent || typeof parent !== "object" || !Object.prototype.hasOwnProperty.call(parent, key)) throw new TypeError("Missing deferred hydration location.");
3550
+ parent = parent[key];
3551
+ }
3552
+ const key = path[path.length - 1];
3553
+ if (path.length === 0 || !parent || typeof parent !== "object" || !Object.prototype.hasOwnProperty.call(parent, key)) throw new TypeError("Missing deferred hydration location.");
3554
+ const record = parent;
3555
+ Object.defineProperty(record, key, { value: hydrationReviver(key, record[key]) });
3556
+ }
3557
+ delete payload.deferredPaths;
3558
+ return payload;
3559
+ }
3520
3560
  /**
3521
3561
  * Relocate the SSR style registry carrier out of the hydration root.
3522
3562
  *
@@ -3541,7 +3581,7 @@ function takeHydrationRenderData(rootElement) {
3541
3581
  child.remove();
3542
3582
  if (!raw) return pageRenderEnvelope(void 0);
3543
3583
  try {
3544
- return pageRenderEnvelope(JSON.parse(raw, hydrationReviver));
3584
+ return pageRenderEnvelope(parseHydrationRenderData(raw));
3545
3585
  } catch (err) {
3546
3586
  const error = /* @__PURE__ */ new Error("[Askr] Failed to parse embedded SSR render data during hydration.");
3547
3587
  error.cause = err;
@@ -3631,8 +3671,7 @@ async function applySelectiveHydration(rootElement, resolved, path, cleanupStric
3631
3671
  let selectiveHydrationResourcesReleased = false;
3632
3672
  let unregisterRootCleanupCallback = () => {};
3633
3673
  function handleScroll() {
3634
- const { activated, remaining } = activateVisibleDeferredBoundaries(rootElement, deferredBoundaries, foldY, hooks.activateHydrationBoundary, reportedDepthErrors);
3635
- if (!activated) return;
3674
+ const { remaining } = activateVisibleDeferredBoundaries(rootElement, deferredBoundaries, foldY, hooks.activateHydrationBoundary, reportedDepthErrors);
3636
3675
  if (remaining === 0) releaseSelectiveHydrationResources();
3637
3676
  }
3638
3677
  releaseSelectiveHydrationResources = () => {
@@ -3671,9 +3710,11 @@ async function applySelectiveHydration(rootElement, resolved, path, cleanupStric
3671
3710
  }
3672
3711
  if (hydrateOptions.deferUntilIdle && deferredBoundaries.length > 0) await queueIdleWork(() => {
3673
3712
  try {
3674
- activateVisibleDeferredBoundaries(rootElement, deferredBoundaries, Number.POSITIVE_INFINITY, hooks.activateHydrationBoundary, reportedDepthErrors);
3675
- } finally {
3713
+ const { remaining } = activateVisibleDeferredBoundaries(rootElement, deferredBoundaries, Number.POSITIVE_INFINITY, hooks.activateHydrationBoundary, reportedDepthErrors);
3714
+ if (remaining === 0) releaseSelectiveHydrationResources();
3715
+ } catch (error) {
3676
3716
  releaseSelectiveHydrationResources();
3717
+ throw error;
3677
3718
  }
3678
3719
  });
3679
3720
  if (deferredBoundaries.length === 0) releaseSelectiveHydrationResources();
@@ -3719,7 +3760,8 @@ function cloneInteractionEvent(event) {
3719
3760
  pointerType: eventWithDetails.pointerType,
3720
3761
  isPrimary: eventWithDetails.isPrimary,
3721
3762
  data: eventWithDetails.data,
3722
- inputType: eventWithDetails.inputType
3763
+ inputType: eventWithDetails.inputType,
3764
+ submitter: eventWithDetails.submitter
3723
3765
  };
3724
3766
  try {
3725
3767
  return new EventConstructor(event.type, init);
@@ -3768,6 +3810,7 @@ function beginHydrationInteractionReplay(root, activateBoundary, permanentSkipSe
3768
3810
  if (!hydratingRoot && deferredBoundaries.size === 0) removeCaptureListeners();
3769
3811
  }
3770
3812
  function notifyIfDeferredBoundariesDrained() {
3813
+ for (const boundary of deferredBoundaries) if (!boundary.hasAttribute("data-skip-hydrate") || !root.contains(boundary)) deferredBoundaries.delete(boundary);
3771
3814
  if (hadDeferredBoundaries && deferredBoundaries.size === 0) onDeferredBoundariesDrained?.();
3772
3815
  }
3773
3816
  function replayInteraction(interaction) {
@@ -3923,7 +3966,7 @@ async function hydrateSPA(config) {
3923
3966
  onCommit: captureClientMarkup
3924
3967
  });
3925
3968
  if (shouldVerifyHydrationMarkup(config)) {
3926
- const { captureServerHydrationMarkup, verifyClientHydrationMarkup, verifyHydrationSyncForUrl } = await import("./verify-hydration-DpVaDnqz.js");
3969
+ const { captureServerHydrationMarkup, verifyClientHydrationMarkup, verifyHydrationSyncForUrl } = await import("./verify-hydration-D_cyn1OX.js");
3927
3970
  if (!verifyHydrationSyncForUrl({
3928
3971
  root: rootElement,
3929
3972
  url: currentUrl,
@@ -1,5 +1,5 @@
1
- import { S as queueTask, d as recordUndo, v as effectScheduler, w as Computation } from "./instance-BAnfmXOR.js";
2
- import { c as onCommit, d as reportLifecycleError, f as withOwner, i as currentComponent, o as hookSlot } from "./hooks-BimKStr4.js";
1
+ import { S as queueTask, d as recordUndo, v as effectScheduler, w as Computation } from "./instance-DL-YKrj6.js";
2
+ import { c as onCommit, d as reportLifecycleError, f as withOwner, i as currentComponent, o as hookSlot } from "./hooks-kjLigwDJ.js";
3
3
  import { t as isRouteActivityActive } from "./route-activity-CNJfpwx-.js";
4
4
  //#region src/core/api/lifecycle.ts
5
5
  /**
@@ -152,7 +152,9 @@ function timer(intervalMs, fn, options) {
152
152
  if (slot.id !== null) clearInterval(slot.id);
153
153
  slot.intervalMs = intervalMs;
154
154
  slot.id = setInterval(() => {
155
- if (slot.predicates.every((predicate) => predicate())) slot.callback();
155
+ withOwner(instance, () => {
156
+ if (slot.predicates.every((predicate) => predicate())) slot.callback();
157
+ });
156
158
  }, intervalMs);
157
159
  if (first) instance.onCleanup(() => {
158
160
  if (slot.id !== null) clearInterval(slot.id);
@@ -181,7 +183,7 @@ function on(target, event, handler, options) {
181
183
  handler,
182
184
  attached: false,
183
185
  listener: ((evt) => {
184
- created.handler.call(created.target, evt);
186
+ withOwner(instance, () => created.handler.call(created.target, evt));
185
187
  })
186
188
  };
187
189
  return created;
@@ -1,2 +1,2 @@
1
- import { t as ErrorBoundary } from "../error-boundary-Bpwofwps.js";
1
+ import { t as ErrorBoundary } from "../error-boundary-ChXoIFVl.js";
2
2
  export { ErrorBoundary };
@@ -75,7 +75,13 @@ function mergeProps(base, injected) {
75
75
  out[key] = composeHandlers(injectedValue, baseValue);
76
76
  continue;
77
77
  }
78
- out[key] = baseValue;
78
+ if (key === "__proto__") Object.defineProperty(out, key, {
79
+ value: baseValue,
80
+ enumerable: true,
81
+ configurable: true,
82
+ writable: true
83
+ });
84
+ else out[key] = baseValue;
79
85
  }
80
86
  return out;
81
87
  }
@@ -1,2 +1,2 @@
1
- import { i as Show, n as For, r as Match, t as Case } from "../control-nfpT2fbK.js";
1
+ import { i as Show, n as For, r as Match, t as Case } from "../control-hr3B0QaD.js";
2
2
  export { Case, For, Match, Show };
@@ -1,6 +1,6 @@
1
- import { F as logger, I as isDevelopmentEnvironment, T as Signal, d as recordUndo, h as isRendering } from "./instance-BAnfmXOR.js";
1
+ import { I as logger, L as isDevelopmentEnvironment, T as Signal, d as recordUndo, h as isRendering } from "./instance-DL-YKrj6.js";
2
2
  import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-DRS-qjiN.js";
3
- import { c as onCommit, i as currentComponent, o as hookSlot } from "./hooks-BimKStr4.js";
3
+ import { c as onCommit, i as currentComponent, o as hookSlot } from "./hooks-kjLigwDJ.js";
4
4
  //#region src/core/api/control.ts
5
5
  /**
6
6
  * Control flow as ordinary components.
@@ -89,6 +89,8 @@ function createRow(index, item) {
89
89
  readItem: () => {
90
90
  const item = source.peek();
91
91
  if (typeof item !== "object" || item === null || Array.isArray(item)) return item;
92
+ const prototype = Object.getPrototypeOf(item);
93
+ if (prototype !== Object.prototype && prototype !== null) return source.read();
92
94
  if (proxy) return proxy;
93
95
  proxy = new Proxy({}, {
94
96
  get(_target, key) {
@@ -1,4 +1,4 @@
1
- import { n as isScopeReadable, r as readScope, t as defineScope } from "./scope-CwpVSHVf.js";
1
+ import { n as isScopeReadable, r as readScope, t as defineScope } from "./scope-ila_zaId.js";
2
2
  //#region src/csp-nonce.ts
3
3
  /** Lexical scope carrying the CSP nonce for the current render, if any. */
4
4
  const CspNonceScope = defineScope(void 0);
@@ -1,4 +1,4 @@
1
- import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery, t as createQueryPrefetchContext } from "../query-registry-WMCN0BJL.js";
2
- import { a as getDefaultDataRuntime, t as createDataRuntime } from "../data-runtime-C1bFAlba.js";
3
- import { c as createMutation, d as queryScope, l as invalidate, n as createQuery, t as createQueryCollection, u as invalidateOnInterval } from "../data-BCwClJiF.js";
1
+ import { a as hydrateDataRuntime, i as dehydrateDataRuntime, n as defineQuery, o as prefetchQuery, r as defineServerQueries, s as serveQuery, t as createQueryPrefetchContext } from "../query-registry-tzSiVrV_.js";
2
+ import { a as getDefaultDataRuntime, t as createDataRuntime } from "../data-runtime-i-RD0Ffm.js";
3
+ import { c as createMutation, d as queryScope, l as invalidate, n as createQuery, t as createQueryCollection, u as invalidateOnInterval } from "../data-BsnOUpQ6.js";
4
4
  export { createDataRuntime, createMutation, createQuery, createQueryCollection, createQueryPrefetchContext, defineQuery, defineServerQueries, dehydrateDataRuntime, getDefaultDataRuntime, hydrateDataRuntime, invalidate, invalidateOnInterval, prefetchQuery, queryScope, serveQuery };
@@ -1,8 +1,8 @@
1
- import { C as schedule, F as logger } from "./instance-BAnfmXOR.js";
2
- import { i as currentComponent, n as createSource, r as currentAppRuntime, s as notify, t as claimHookIndex, u as readSource } from "./hooks-BimKStr4.js";
1
+ import { C as schedule, I as logger } from "./instance-DL-YKrj6.js";
2
+ import { i as currentComponent, n as createSource, r as currentAppRuntime, s as notify, t as claimHookIndex, u as readSource } from "./hooks-kjLigwDJ.js";
3
3
  import { n as getActiveRenderContext } from "./render-context-DGHnEveC.js";
4
- import { a as getDefaultDataRuntime, c as invalidateQueriesForRuntime, f as invalidateCollectionCell, l as readQueryData, m as unregisterCollectionCell, n as ensureMutationCleanup, o as getMutationSlotStore, p as registerCollectionCell, r as ensureQueryCleanup, s as getQuerySlotStore, u as resolveDataRuntimeState } from "./data-runtime-C1bFAlba.js";
5
- import { a as routeActive, n as windowFocused, s as timer, t as documentVisible } from "./browser-activity-CB8e-V4f.js";
4
+ import { a as getDefaultDataRuntime, c as invalidateQueriesForRuntime, f as invalidateCollectionCell, l as readQueryData, m as unregisterCollectionCell, n as ensureMutationCleanup, o as getMutationSlotStore, p as registerCollectionCell, r as ensureQueryCleanup, s as getQuerySlotStore, u as resolveDataRuntimeState } from "./data-runtime-i-RD0Ffm.js";
5
+ import { a as routeActive, n as windowFocused, s as timer, t as documentVisible } from "./browser-activity-2r5gA1Cb.js";
6
6
  import { i as normalizeAsyncDataError, r as isCurrentAsyncOperation, t as isAbortError } from "./shared-O2ZnmYAf.js";
7
7
  //#region src/data/query-key.ts
8
8
  function serializeQueryKeyNumber(part) {
@@ -21,7 +21,12 @@ function serializeQueryKeyPart(part) {
21
21
  case "number": return `n=${serializeQueryKeyNumber(part)}`;
22
22
  case "boolean": return `b=${part ? "1" : "0"}`;
23
23
  case "object":
24
- if (Array.isArray(part)) return `a[${part.map((item) => serializeQueryKeyPart(item)).join(",")}]`;
24
+ if (Array.isArray(part)) {
25
+ const items = [];
26
+ const length = part.length;
27
+ for (let index = 0; index < length; index++) items.push(serializeQueryKeyPart(part[index]));
28
+ return `a[${items.join(",")}]`;
29
+ }
25
30
  const objectPart = part;
26
31
  return `o{${Object.keys(objectPart).sort().map((key) => `${encodeURIComponent(key)}=${serializeQueryKeyPart(objectPart[key])}`).join(",")}}`;
27
32
  default: return String(part);
@@ -395,12 +400,15 @@ var QueryCell = class {
395
400
  if (gcTime === 0 || this.state.data === null || isServerRender()) this.destroy();
396
401
  else {
397
402
  this.generation += 1;
398
- this.controller?.abort();
403
+ const controller = this.controller;
399
404
  this.controller = null;
400
405
  this.finishPendingRefresh();
406
+ this.pendingRefreshToken += 1;
401
407
  this.definitionOwner = null;
402
408
  this.definitionOwnerHook = -1;
409
+ if (this.state.refreshing) this.setState(staleQueryState(this.state.data, "aborted"));
403
410
  this.gcTimer = setTimeout(() => this.destroy(), gcTime);
411
+ controller?.abort();
404
412
  }
405
413
  return;
406
414
  }
@@ -538,6 +546,7 @@ var QueryCell = class {
538
546
  }
539
547
  if (this.pendingRefresh) {
540
548
  if (this.pendingRefreshKind === "invalidation") {
549
+ this.generation += 1;
541
550
  this.controller?.abort();
542
551
  this.queueStart(void 0, "manual", true);
543
552
  return this.pendingRefresh ?? Promise.resolve();
@@ -560,6 +569,7 @@ var QueryCell = class {
560
569
  return Promise.resolve();
561
570
  }
562
571
  if (this.pendingRefresh) {
572
+ this.generation += 1;
563
573
  this.controller?.abort();
564
574
  this.queueStart(void 0, "invalidation", true);
565
575
  return this.pendingRefresh ?? Promise.resolve();
@@ -673,7 +683,7 @@ function isServerRender() {
673
683
  function createCell(options, cache) {
674
684
  const cell = new QueryCell(options.takeInitialData ? {
675
685
  ...options,
676
- initialData: options.takeInitialData()
686
+ initialData: options.takeInitialData() ?? options.initialData
677
687
  } : options, options.key, cache);
678
688
  cache.set(options.key, cell);
679
689
  cell.ensureStarted();
@@ -729,7 +739,7 @@ function createDefinedQuery(definition, input, options = {}) {
729
739
  isConsistent: definition.isConsistent,
730
740
  reconcile: definition.reconcile,
731
741
  takeInitialData: () => readQueryData(runtimeState, key, !serverRender),
732
- skipInitialFetch: serverRender,
742
+ skipInitialFetch: serverRender || options.skipInitialFetch === true,
733
743
  runtime: dataRuntime
734
744
  });
735
745
  }
@@ -1,4 +1,4 @@
1
- import { r as currentAppRuntime } from "./hooks-BimKStr4.js";
1
+ import { r as currentAppRuntime } from "./hooks-kjLigwDJ.js";
2
2
  import { n as getActiveRenderContext } from "./render-context-DGHnEveC.js";
3
3
  //#region src/data/invalidation-listeners.ts
4
4
  const invalidationListeners = /* @__PURE__ */ new Set();
@@ -1,9 +1,9 @@
1
- import { i as currentComponent, r as currentAppRuntime } from "./hooks-BimKStr4.js";
1
+ import { i as currentComponent, r as currentAppRuntime } from "./hooks-kjLigwDJ.js";
2
2
  import { c as registerDeferredBoundary, n as getActiveRenderContext, r as getCurrentRenderData } from "./render-context-DGHnEveC.js";
3
- import { d as DEFERRED_BOUNDARY, p as isDeferred } from "./query-registry-WMCN0BJL.js";
4
- import { B as getCurrentPathPrefix, F as getCurrentInheritedMeta, G as getRouteRecords, I as getCurrentInheritedPolicies, J as insertRecordSorted, K as hasActivePageScope, L as getCurrentLayoutChain, O as addRouteToStores, P as getCurrentInheritedAuthRequirements, R as getCurrentPageChain, U as getDefaultRouteBasePath, V as getCurrentScopeKind, X as pushRegistrationScope, dt as routeMatchKey, k as assertRouteRegistrationUnlocked, lt as normalizeRouteSegmentName, pt as guardHydratedRouteData, st as computeRank, tt as createRouteHandler, ut as parseSegments, z as getCurrentPageScope } from "./resolution-Cx82-xjW.js";
5
- import { i as getExecutionModel } from "./manifest-CW9gyNBY.js";
6
- import { t as resource } from "./resource-CLjB7RBQ.js";
3
+ import { d as DEFERRED_BOUNDARY, p as isDeferred } from "./query-registry-tzSiVrV_.js";
4
+ import { B as getCurrentPathPrefix, F as getCurrentInheritedMeta, G as getRouteRecords, I as getCurrentInheritedPolicies, J as insertRecordSorted, K as hasActivePageScope, L as getCurrentLayoutChain, O as addRouteToStores, P as getCurrentInheritedAuthRequirements, R as getCurrentPageChain, U as getDefaultRouteBasePath, V as getCurrentScopeKind, X as pushRegistrationScope, dt as routeMatchKey, k as assertRouteRegistrationUnlocked, lt as normalizeRouteSegmentName, pt as guardHydratedRouteData, st as computeRank, tt as createRouteHandler, ut as parseSegments, z as getCurrentPageScope } from "./resolution-CF1BqHLm.js";
5
+ import { i as getExecutionModel } from "./manifest-BNupb86f.js";
6
+ import { t as resource } from "./resource-BhcaFqdB.js";
7
7
  //#region src/router/access.ts
8
8
  function compileNodePolicies(node) {
9
9
  return node.policies ? [...node.policies] : [];
@@ -1,6 +1,6 @@
1
- import { F as logger, I as isDevelopmentEnvironment, d as recordUndo, s as requireInstance } from "./instance-BAnfmXOR.js";
1
+ import { I as logger, L as isDevelopmentEnvironment, d as recordUndo, s as requireInstance } from "./instance-DL-YKrj6.js";
2
2
  import { i as isFragmentType, n as Fragment, r as STATIC_CHILDREN, t as ELEMENT_TYPE } from "./jsx-DRS-qjiN.js";
3
- import { c as onCommit, o as hookSlot } from "./hooks-BimKStr4.js";
3
+ import { c as onCommit, o as hookSlot } from "./hooks-kjLigwDJ.js";
4
4
  /** Explicitly adopted DOM node, used by an error-boundary fallback. */
5
5
  const NATIVE_TYPE = Symbol.for("askr.core.native");
6
6
  /**
@@ -1,3 +1,3 @@
1
- import { a as layout, i as Slot, r as Presence } from "../structures-D4dDMqHX.js";
2
- import { n as Portal, r as definePortal, t as DefaultPortal } from "../portal-DuOKfnLa.js";
1
+ import { a as layout, i as Slot, r as Presence } from "../structures-CkehlOT3.js";
2
+ import { n as Portal, r as definePortal, t as DefaultPortal } from "../portal-LYf4cbHd.js";
3
3
  export { DefaultPortal, Portal, Presence, Slot, definePortal, layout };
@@ -1,2 +1,2 @@
1
- import { a as focusable, i as hoverable, n as mergeInteractionProps, o as dismissable, r as rovingFocus, s as pressable, t as applyInteractionPolicy } from "../../interactions-D2BoREb-.js";
1
+ import { a as focusable, i as hoverable, n as mergeInteractionProps, o as dismissable, r as rovingFocus, s as pressable, t as applyInteractionPolicy } from "../../interactions-BAa2xuJ-.js";
2
2
  export { applyInteractionPolicy, dismissable, focusable, hoverable, mergeInteractionProps, pressable, rovingFocus };
@@ -1,5 +1,5 @@
1
1
  import { t as markReadable } from "../../readable-DFWOsTac.js";
2
- import { a as state, r as makeDestructurable } from "../../state-DWO1KzkX.js";
2
+ import { a as state, r as makeDestructurable } from "../../state-i9D4EtY6.js";
3
3
  //#region src/foundations/state/controllable.ts
4
4
  /**
5
5
  * controllable
@@ -1,3 +1,3 @@
1
- import { a as layout, i as Slot, n as createCollection, o as cloneElement, r as Presence, s as isElement, t as createLayer } from "../../structures-D4dDMqHX.js";
2
- import { n as Portal, r as definePortal, t as DefaultPortal } from "../../portal-DuOKfnLa.js";
1
+ import { a as layout, i as Slot, n as createCollection, o as cloneElement, r as Presence, s as isElement, t as createLayer } from "../../structures-CkehlOT3.js";
2
+ import { n as Portal, r as definePortal, t as DefaultPortal } from "../../portal-LYf4cbHd.js";
3
3
  export { DefaultPortal, Portal, Presence, Slot, cloneElement, createCollection, createLayer, definePortal, isElement, layout };
@@ -1,3 +1,3 @@
1
- import { a as ariaSelected, i as ariaExpanded, n as setRef, o as mergeProps, r as ariaDisabled, s as composeHandlers, t as composeRefs } from "../../compose-ref-DWzdbxsD.js";
1
+ import { a as ariaSelected, i as ariaExpanded, n as setRef, o as mergeProps, r as ariaDisabled, s as composeHandlers, t as composeRefs } from "../../compose-ref-ccRU59BM.js";
2
2
  import { t as formatId } from "../../utilities-C_CGX4Dz.js";
3
3
  export { ariaDisabled, ariaExpanded, ariaSelected, composeHandlers, composeRefs, formatId, mergeProps, setRef };
package/dist/fx/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as queueTask } from "../instance-BAnfmXOR.js";
2
- import { a as currentOwner, f as withOwner, i as currentComponent, y as reportUncaughtError } from "../hooks-BimKStr4.js";
1
+ import { S as queueTask } from "../instance-DL-YKrj6.js";
2
+ import { a as currentOwner, f as withOwner, i as currentComponent, y as reportUncaughtError } from "../hooks-kjLigwDJ.js";
3
3
  import { n as isPromiseLike } from "../promise-Dz8iIHAm.js";
4
4
  //#region src/fx/timing.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { F as logger, M as getOwner, N as runWithOwner, O as notifySource, a as getCurrentInstance, k as trackSource, r as claimHook, t as ComponentInstance } from "./instance-BAnfmXOR.js";
1
+ import { I as logger, M as getOwner, N as runWithOwner, O as notifySource, a as getCurrentInstance, k as trackSource, r as claimHook, t as ComponentInstance } from "./instance-DL-YKrj6.js";
2
2
  //#region src/common/report-error.ts
3
3
  /**
4
4
  * Report an error the way the host reports an uncaught listener exception.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { P as configureRenderDiagnostics } from "./instance-BAnfmXOR.js";
2
- import { a as state, i as selector, n as getSignal, t as derive } from "./state-DWO1KzkX.js";
1
+ import { F as configureRenderDiagnostics } from "./instance-DL-YKrj6.js";
2
+ import { a as state, i as selector, n as getSignal, t as derive } from "./state-i9D4EtY6.js";
3
3
  import { n as Fragment } from "./jsx-DRS-qjiN.js";
4
- import { _ as RenderDepthError } from "./hooks-BimKStr4.js";
5
- import { r as readScope, t as defineScope } from "./scope-CwpVSHVf.js";
6
- import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-DwGw1A6Q.js";
4
+ import { _ as RenderDepthError } from "./hooks-kjLigwDJ.js";
5
+ import { r as readScope, t as defineScope } from "./scope-ila_zaId.js";
6
+ import { n as cspNonce, t as CspNonceScope } from "./csp-nonce-D-XM_uuJ.js";
7
7
  import { l as registerSSRStyle } from "./render-context-DGHnEveC.js";
8
8
  import { i as jsxs, n as jsx, t as createElement } from "./jsx-runtime-C4idqHY0.js";
9
9
  //#region src/ref.ts