@absolutejs/absolute 0.19.0-beta.430 → 0.19.0-beta.431

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/index.js CHANGED
@@ -173436,7 +173436,7 @@ ${registrations}
173436
173436
  ({ tsLibDir } = cached);
173437
173437
  cached.lastUsed = Date.now();
173438
173438
  } else {
173439
- const tsPath = __require.resolve("typescript");
173439
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
173440
173440
  const tsRootDir = dirname9(tsPath);
173441
173441
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
173442
173442
  const config = readConfiguration("./tsconfig.json");
@@ -176641,7 +176641,7 @@ var init_pageHandler3 = __esm(() => {
176641
176641
  // src/vue/pageHandler.ts
176642
176642
  import { readdir as readdir4 } from "fs/promises";
176643
176643
  import { basename as basename11, dirname as dirname11 } from "path";
176644
- var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDING__=true;", injectSlotPreamble = (headTag) => headTag.includes("</head>") ? headTag.replace("</head>", `<script>${hydrateSlotPreamble}</script></head>`) : `${headTag}<script>${hydrateSlotPreamble}</script>`, isRecord9 = (value) => typeof value === "object" && value !== null, isGenericVueComponent = (value) => typeof value === "function" || isRecord9(value), readHasIslands2 = (value) => {
176644
+ var ssrDirty4 = false, isRecord9 = (value) => typeof value === "object" && value !== null, isGenericVueComponent = (value) => typeof value === "function" || isRecord9(value), readHasIslands2 = (value) => {
176645
176645
  if (!isRecord9(value))
176646
176646
  return false;
176647
176647
  const hasIslands = value["__ABSOLUTE_PAGE_HAS_ISLANDS__"];
@@ -176663,9 +176663,8 @@ var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDIN
176663
176663
  }
176664
176664
  }, buildDirtyResponse3 = (headTag, indexPath, maybeProps) => {
176665
176665
  const propsScript = `window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})};`;
176666
- const hydratedHead = injectSlotPreamble(headTag);
176667
176666
  const dirtyFlag = "window.__SSR_DIRTY__=true;";
176668
- const html = `<!DOCTYPE html><html>${hydratedHead}<body><div id="root"></div>` + `<script>${propsScript}${dirtyFlag}</script>` + `<script type="module" src="${indexPath}"></script>` + `</body></html>`;
176667
+ const html = `<!DOCTYPE html><html>${headTag}<body><div id="root"></div>` + `<script>${propsScript}${dirtyFlag}</script>` + `<script type="module" src="${indexPath}"></script>` + `</body></html>`;
176669
176668
  return new Response(html, {
176670
176669
  headers: { "Content-Type": "text/html" }
176671
176670
  });
@@ -176701,7 +176700,7 @@ var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDIN
176701
176700
  render: () => h2(resolvedPage.component, maybeProps ?? null)
176702
176701
  });
176703
176702
  const bodyStream = renderToWebStream(app);
176704
- const head = `<!DOCTYPE html><html>${injectSlotPreamble(headTag)}<body><div id="root">`;
176703
+ const head = `<!DOCTYPE html><html>${headTag}<body><div id="root">`;
176705
176704
  const tail = `</div><script>window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})}</script><script type="module" src="${indexPath}"></script></body></html>`;
176706
176705
  const stream = new ReadableStream({
176707
176706
  start(controller) {
@@ -187945,5 +187944,5 @@ export {
187945
187944
  ANGULAR_INIT_TIMEOUT_MS
187946
187945
  };
187947
187946
 
187948
- //# debugId=65DCFD78A944CD6C64756E2164756E21
187947
+ //# debugId=A2F4B98638AD1DC664756E2164756E21
187949
187948
  //# sourceMappingURL=index.js.map