@askrjs/askr 0.0.79 → 0.0.80

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/dist/benchmark.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { r as flushRuntimeScheduler } from "./access-ePqdQqkV.js";
2
- import { t as installRendererBridge } from "./renderer-CDw8ltTw.js";
2
+ import { t as installRendererBridge } from "./renderer-Cz5DnlvG.js";
3
3
  import { t as state } from "./state-BCl9DeiN.js";
4
4
  import { t as selector } from "./selector-BzPPLXny.js";
5
5
  import { i as For } from "./control-DQIsWvhr.js";
6
6
  import { jsx, jsxs } from "./jsx-runtime.js";
7
- import { t as createIsland } from "./boot-jD3P49ST.js";
7
+ import { t as createIsland } from "./boot-DowKmVca.js";
8
8
  //#region src/bench/components/benchmark-row.tsx
9
9
  function BenchmarkRow({ item, isSelected, onSelect, onRemove }) {
10
10
  return /* @__PURE__ */ jsxs("tr", {
@@ -63,8 +63,8 @@ function BenchmarkTable({ rows, isSelected, onSelect, onRemove }) {
63
63
  installRendererBridge();
64
64
  const benchmarkMetadata = {
65
65
  packageName: "@askrjs/askr",
66
- packageVersion: "0.0.79",
67
- buildLabel: "0.0.79-local"
66
+ packageVersion: "0.0.80",
67
+ buildLabel: "0.0.80-local"
68
68
  };
69
69
  function getBenchmarkMetadata() {
70
70
  return { ...benchmarkMetadata };
@@ -1,2 +1,2 @@
1
- import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-jD3P49ST.js";
1
+ import { a as cleanupApp, i as hydrateSPA, n as createIslands, o as hasApp, r as createSPA, t as createIsland } from "../boot-DowKmVca.js";
2
2
  export { cleanupApp, createIsland, createIslands, createSPA, hasApp, hydrateSPA };
@@ -3,7 +3,7 @@ import { n as Fragment, t as ELEMENT_TYPE } from "./jsx-C3IECePB.js";
3
3
  import { n as createComponentInstance, r as executeComponent } from "./component-internal-BuTG89T8.js";
4
4
  import { t as cleanupComponent } from "./component-cleanup-oWN45rfa.js";
5
5
  import { p as isPromiseLike } from "./lifecycle-batch-CwHCDseR.js";
6
- import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-CDw8ltTw.js";
6
+ import { a as withIntrinsicHydrationAdoption, c as beginHydrationListenerTransaction, d as setStaticChildSlotsCacheEnabled, i as registerDeferredHydrationBoundary, l as commitHydrationListenerTransaction, n as activateHydrationBoundary$1, o as beginHydrationDirectListenerMode, r as clearDeferredHydrationBoundaries, s as endHydrationDirectListenerMode, t as installRendererBridge, u as discardHydrationListenerTransaction } from "./renderer-Cz5DnlvG.js";
7
7
  import { _ as teardownNodeSubtree, d as removeAllListeners } from "./cleanup-CyY1ROBI.js";
8
8
  import { T as assertExecutionModel, c as _applyManifest, d as getRouteRenderContext, f as getRouteRenderData, m as resolveRouteRequest, o as reviveDeferredValue, p as hasRouteRenderData, v as pageRenderEnvelope } from "./deferred-t79wHqe1.js";
9
9
  import { c as stopHydrationRenderPhase, o as startHydrationRenderPhase } from "./render-context-D-DFk2WN.js";
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { g as readScope, u as defineScope } from "./component-internal-BuTG89T8.
4
4
  import { f as syncDerivedDependencySubscriptions, l as notifyReadableReaders, o as markReactivePropsDirtySource, p as withDerivedReadTracking, r as clearDerivedDependencySubscriptions, s as markReadableDerivedSubscribersDirty, u as recordReadableRead } from "./readable-B3VIOfd7.js";
5
5
  import { g as getSignal, i as claimHookIndex, p as getCurrentInstance } from "./component-scope-DzJEbYGE.js";
6
6
  import { n as isSnapshotSource } from "./snapshot-source-BB42xgwb.js";
7
- import { t as installRendererBridge } from "./renderer-CDw8ltTw.js";
7
+ import { t as installRendererBridge } from "./renderer-Cz5DnlvG.js";
8
8
  import { a as registerSSRStyle } from "./render-context-D-DFk2WN.js";
9
9
  import { t as state } from "./state-BCl9DeiN.js";
10
10
  import { t as selector } from "./selector-BzPPLXny.js";
@@ -902,14 +902,14 @@ function getRangeNodes(range) {
902
902
  }
903
903
  return nodes;
904
904
  }
905
- function createDetachedRange(nodes, owner, forceAnchors = false) {
905
+ function createDetachedRange(nodes, owner, forceAnchors = false, preserveExistingOwner = false) {
906
906
  if (nodes instanceof DocumentFragment) {
907
907
  const first = nodes.firstChild;
908
908
  const last = nodes.lastChild;
909
909
  const existingOwner = first ? getRangeOwner(first) : void 0;
910
910
  const existingRange = existingOwner ? getOwnedRange(existingOwner) : void 0;
911
911
  if (existingRange && !existingRange.single && existingRange.start === first && existingRange.end === last) {
912
- if (owner) registerRange(existingRange, owner);
912
+ if (owner && !preserveExistingOwner) registerRange(existingRange, owner);
913
913
  return {
914
914
  range: existingRange,
915
915
  fragment: nodes
@@ -4454,7 +4454,7 @@ function materializeChildScopeRange(vnode, parentNamespace, scope, scopeAlreadyA
4454
4454
  }
4455
4455
  if (!dom) return createEmptyRange(document, scope).range;
4456
4456
  if (!(dom instanceof DocumentFragment)) return createSingleNodeRange(dom, scope);
4457
- return createDetachedRange(dom, scope).range;
4457
+ return createDetachedRange(dom, scope, false, true).range;
4458
4458
  }
4459
4459
  function getBoundaryParentNamespace(parent) {
4460
4460
  return getParentNamespace(parent);
@@ -1,7 +1,7 @@
1
1
  import { r as flushRuntimeScheduler } from "../access-ePqdQqkV.js";
2
2
  import { r as computeRouteActivityMatches } from "../route-matching-jqwlQJ5g.js";
3
3
  import { l as addInvalidationListener } from "../data-runtime-D68YOo9L.js";
4
- import { a as cleanupApp, r as createSPA, t as createIsland } from "../boot-jD3P49ST.js";
4
+ import { a as cleanupApp, r as createSPA, t as createIsland } from "../boot-DowKmVca.js";
5
5
  //#region src/testing/render.ts
6
6
  const renderStates = /* @__PURE__ */ new WeakMap();
7
7
  const eventConstructorNames = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askrjs/askr",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "description": "Actor-backed deterministic UI framework",
5
5
  "keywords": [
6
6
  "askr",