@absolutejs/absolute 0.19.0-beta.446 → 0.19.0-beta.447

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
@@ -173435,7 +173435,7 @@ ${registrations}
173435
173435
  ({ tsLibDir } = cached);
173436
173436
  cached.lastUsed = Date.now();
173437
173437
  } else {
173438
- const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
173438
+ const tsPath = __require.resolve("typescript");
173439
173439
  const tsRootDir = dirname9(tsPath);
173440
173440
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
173441
173441
  const config = readConfiguration("./tsconfig.json");
@@ -181214,15 +181214,15 @@ init_islands();
181214
181214
  // src/core/pageHandlers.ts
181215
181215
  init_staticIslandPages();
181216
181216
  var {file } = globalThis.Bun;
181217
- var handleStaticPageRequest = async (pagePath) => {
181217
+ var handleStaticPageRequest = async (pagePath, options = {}) => {
181218
181218
  const html = await file(pagePath).text();
181219
181219
  const transformedHtml = await transformCurrentStaticPageHtml(html);
181220
- return new Response(injectIslandPageContext(transformedHtml), {
181220
+ return withStreamingSlots(new Response(injectIslandPageContext(transformedHtml), {
181221
181221
  headers: { "Content-Type": "text/html" }
181222
- });
181222
+ }), options);
181223
181223
  };
181224
- var handleHTMLPageRequest = (pagePath) => handleStaticPageRequest(pagePath);
181225
- var handleHTMXPageRequest = (pagePath) => handleStaticPageRequest(pagePath);
181224
+ var handleHTMLPageRequest = (pagePath, options) => handleStaticPageRequest(pagePath, options);
181225
+ var handleHTMXPageRequest = (pagePath, options) => handleStaticPageRequest(pagePath, options);
181226
181226
  // src/core/prepare.ts
181227
181227
  import { existsSync as existsSync23, readdirSync as readdirSync2, readFileSync as readFileSync16 } from "fs";
181228
181228
  import { basename as basename14, join as join24, relative as relative12, resolve as resolve33 } from "path";
@@ -187963,5 +187963,5 @@ export {
187963
187963
  ANGULAR_INIT_TIMEOUT_MS
187964
187964
  };
187965
187965
 
187966
- //# debugId=0BDD3B09DB1E4F8964756E2164756E21
187966
+ //# debugId=AEF34D6681E5A81964756E2164756E21
187967
187967
  //# sourceMappingURL=index.js.map