@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/build.js CHANGED
@@ -172855,7 +172855,7 @@ ${registrations}
172855
172855
  ({ tsLibDir } = cached);
172856
172856
  cached.lastUsed = Date.now();
172857
172857
  } else {
172858
- const tsPath = __require.resolve("typescript");
172858
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
172859
172859
  const tsRootDir = dirname8(tsPath);
172860
172860
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
172861
172861
  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>`, isRecord8 = (value) => typeof value === "object" && value !== null, isGenericVueComponent = (value) => typeof value === "function" || isRecord8(value), readHasIslands2 = (value) => {
176644
+ var ssrDirty4 = false, isRecord8 = (value) => typeof value === "object" && value !== null, isGenericVueComponent = (value) => typeof value === "function" || isRecord8(value), readHasIslands2 = (value) => {
176645
176645
  if (!isRecord8(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) {
@@ -179507,5 +179506,5 @@ export {
179507
179506
  build
179508
179507
  };
179509
179508
 
179510
- //# debugId=C132FED23D092F7A64756E2164756E21
179509
+ //# debugId=25137B96EDF5425C64756E2164756E21
179511
179510
  //# sourceMappingURL=build.js.map