@absolutejs/absolute 0.19.0-beta.400 → 0.19.0-beta.402

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
@@ -173280,7 +173280,7 @@ ${registrations}
173280
173280
  ({ tsLibDir } = cached);
173281
173281
  cached.lastUsed = Date.now();
173282
173282
  } else {
173283
- const tsPath = __require.resolve("typescript");
173283
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
173284
173284
  const tsRootDir = dirname9(tsPath);
173285
173285
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
173286
173286
  const config = readConfiguration("./tsconfig.json");
@@ -176373,23 +176373,7 @@ var init_pageHandler3 = __esm(() => {
176373
176373
  // src/vue/pageHandler.ts
176374
176374
  import { readdir as readdir4 } from "fs/promises";
176375
176375
  import { basename as basename11, dirname as dirname11 } from "path";
176376
- var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDING__=true;", hydrateSlotReleaseScript = `(function() {
176377
- var releaseSlots = function() {
176378
- if (window.__ABS_SLOT_HYDRATION_PENDING__ !== false) {
176379
- window.__ABS_SLOT_HYDRATION_PENDING__ = false;
176380
- }
176381
- if (typeof window.__ABS_SLOT_FLUSH__ === "function") {
176382
- window.__ABS_SLOT_FLUSH__();
176383
- }
176384
- };
176385
- if (typeof requestAnimationFrame === "function") {
176386
- requestAnimationFrame(function() {
176387
- requestAnimationFrame(releaseSlots);
176388
- });
176389
- } else if (typeof setTimeout === "function") {
176390
- setTimeout(releaseSlots, 0);
176391
- }
176392
- })();`, injectSlotPreamble = (headTag) => headTag.includes("</head>") ? headTag.replace("</head>", `<script>${hydrateSlotPreamble}</script></head>`) : `${headTag}<script>${hydrateSlotPreamble}</script>`, injectSlotReleaseScript = (content) => content + `<script>${hydrateSlotReleaseScript}</script>`, isRecord9 = (value) => typeof value === "object" && value !== null, isGenericVueComponent = (value) => typeof value === "function" || isRecord9(value), readHasIslands2 = (value) => {
176376
+ 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) => {
176393
176377
  if (!isRecord9(value))
176394
176378
  return false;
176395
176379
  const hasIslands = value["__ABSOLUTE_PAGE_HAS_ISLANDS__"];
@@ -176413,7 +176397,7 @@ var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDIN
176413
176397
  const propsScript = `window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})};`;
176414
176398
  const hydratedHead = injectSlotPreamble(headTag);
176415
176399
  const dirtyFlag = "window.__SSR_DIRTY__=true;";
176416
- const html = `<!DOCTYPE html><html>${hydratedHead}<body><div id="root"></div>` + `<script>${propsScript}${dirtyFlag}</script>` + injectSlotReleaseScript(`<script type="module" src="${indexPath}"></script>`) + `</body></html>`;
176400
+ const html = `<!DOCTYPE html><html>${hydratedHead}<body><div id="root"></div>` + `<script>${propsScript}${dirtyFlag}</script>` + `<script type="module" src="${indexPath}"></script>` + `</body></html>`;
176417
176401
  return new Response(html, {
176418
176402
  headers: { "Content-Type": "text/html" }
176419
176403
  });
@@ -176450,7 +176434,7 @@ var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDIN
176450
176434
  });
176451
176435
  const bodyStream = renderToWebStream(app);
176452
176436
  const head = `<!DOCTYPE html><html>${injectSlotPreamble(headTag)}<body><div id="root">`;
176453
- const tail = `</div><script>window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})}</script>${injectSlotReleaseScript(`<script type="module" src="${indexPath}"></script>`)}</body></html>`;
176437
+ const tail = `</div><script>window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})}</script><script type="module" src="${indexPath}"></script></body></html>`;
176454
176438
  const stream = new ReadableStream({
176455
176439
  start(controller) {
176456
176440
  controller.enqueue(head);
@@ -187626,5 +187610,5 @@ export {
187626
187610
  ANGULAR_INIT_TIMEOUT_MS
187627
187611
  };
187628
187612
 
187629
- //# debugId=FC1D766C61C9A29764756E2164756E21
187613
+ //# debugId=900D9DFBBCD14BB164756E2164756E21
187630
187614
  //# sourceMappingURL=index.js.map