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

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
@@ -201771,7 +201771,7 @@ ${registrations}
201771
201771
  ({ tsLibDir } = cached);
201772
201772
  cached.lastUsed = Date.now();
201773
201773
  } else {
201774
- const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
201774
+ const tsPath = __require.resolve("typescript");
201775
201775
  const tsRootDir = dirname8(tsPath);
201776
201776
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve15(tsRootDir, "lib");
201777
201777
  const config = readConfiguration("./tsconfig.json");
@@ -205211,12 +205211,18 @@ var escapeHtml = (str) => String(str).replace(/&/g, "&amp;").replace(/</g, "&lt;
205211
205211
 
205212
205212
  // src/angular/pageHandler.ts
205213
205213
  import { AsyncLocalStorage } from "async_hooks";
205214
- var ssrDirty = false, lastSelector = "angular-page", isRecord6 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", readAngularPageModule = (value) => isRecord6(value) ? value : null, invalidateAngularSsrCache = () => {
205214
+ var ssrDirty = false, lastSelector = "angular-page", isRecord6 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", compilerImportPromise = null, ensureAngularCompiler = () => {
205215
+ if (!compilerImportPromise) {
205216
+ compilerImportPromise = Promise.resolve().then(() => (init_compiler(), exports_compiler));
205217
+ }
205218
+ return compilerImportPromise;
205219
+ }, readAngularPageModule = (value) => isRecord6(value) ? value : null, invalidateAngularSsrCache = () => {
205215
205220
  ssrDirty = true;
205216
205221
  clearSelectorCache();
205217
205222
  }, angularSsrContext, handleAngularPageRequest = async (_importer, pagePath, indexPath, headTag = "<head></head>", ...props) => {
205218
205223
  const requestId = `angular_${Date.now()}_${Math.random().toString(BASE_36_RADIX).substring(2, RANDOM_ID_END_INDEX)}`;
205219
205224
  return angularSsrContext.run(requestId, async () => {
205225
+ await ensureAngularCompiler();
205220
205226
  const [maybeProps] = props;
205221
205227
  cacheRouteData(pagePath, { headTag, props: maybeProps });
205222
205228
  if (ssrDirty) {
@@ -208351,5 +208357,5 @@ export {
208351
208357
  build
208352
208358
  };
208353
208359
 
208354
- //# debugId=6FCCDBCA12AD57D064756E2164756E21
208360
+ //# debugId=0DB36CB93962EF2364756E2164756E21
208355
208361
  //# sourceMappingURL=build.js.map