@absolutejs/absolute 0.19.0-beta.355 → 0.19.0-beta.356

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
@@ -202365,7 +202365,7 @@ ${registrations}
202365
202365
  ({ tsLibDir } = cached);
202366
202366
  cached.lastUsed = Date.now();
202367
202367
  } else {
202368
- const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
202368
+ const tsPath = __require.resolve("typescript");
202369
202369
  const tsRootDir = dirname9(tsPath);
202370
202370
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve18(tsRootDir, "lib");
202371
202371
  const config = readConfiguration("./tsconfig.json");
@@ -205277,12 +205277,18 @@ var escapeHtml = (str) => String(str).replace(/&/g, "&amp;").replace(/</g, "&lt;
205277
205277
 
205278
205278
  // src/angular/pageHandler.ts
205279
205279
  import { AsyncLocalStorage } from "async_hooks";
205280
- var ssrDirty2 = false, lastSelector = "angular-page", isRecord7 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", readAngularPageModule = (value) => isRecord7(value) ? value : null, invalidateAngularSsrCache = () => {
205280
+ var ssrDirty2 = false, lastSelector = "angular-page", isRecord7 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", compilerImportPromise = null, ensureAngularCompiler = () => {
205281
+ if (!compilerImportPromise) {
205282
+ compilerImportPromise = Promise.resolve().then(() => (init_compiler(), exports_compiler));
205283
+ }
205284
+ return compilerImportPromise;
205285
+ }, readAngularPageModule = (value) => isRecord7(value) ? value : null, invalidateAngularSsrCache = () => {
205281
205286
  ssrDirty2 = true;
205282
205287
  clearSelectorCache();
205283
205288
  }, angularSsrContext, handleAngularPageRequest = async (_importer, pagePath, indexPath, headTag = "<head></head>", ...props) => {
205284
205289
  const requestId = `angular_${Date.now()}_${Math.random().toString(BASE_36_RADIX).substring(2, RANDOM_ID_END_INDEX)}`;
205285
205290
  return angularSsrContext.run(requestId, async () => {
205291
+ await ensureAngularCompiler();
205286
205292
  const [maybeProps] = props;
205287
205293
  cacheRouteData(pagePath, { headTag, props: maybeProps });
205288
205294
  if (ssrDirty2) {
@@ -216448,5 +216454,5 @@ export {
216448
216454
  ANGULAR_INIT_TIMEOUT_MS
216449
216455
  };
216450
216456
 
216451
- //# debugId=7D3D069CAEA08EF564756E2164756E21
216457
+ //# debugId=5019A50C6716549864756E2164756E21
216452
216458
  //# sourceMappingURL=index.js.map