@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.
@@ -30813,12 +30813,18 @@ var escapeHtml = (str) => String(str).replace(/&/g, "&amp;").replace(/</g, "&lt;
30813
30813
 
30814
30814
  // src/angular/pageHandler.ts
30815
30815
  import { AsyncLocalStorage } from "async_hooks";
30816
- var ssrDirty = false, lastSelector = "angular-page", isRecord4 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", readAngularPageModule = (value) => isRecord4(value) ? value : null, invalidateAngularSsrCache = () => {
30816
+ var ssrDirty = false, lastSelector = "angular-page", isRecord4 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", compilerImportPromise = null, ensureAngularCompiler = () => {
30817
+ if (!compilerImportPromise) {
30818
+ compilerImportPromise = Promise.resolve().then(() => (init_compiler(), exports_compiler));
30819
+ }
30820
+ return compilerImportPromise;
30821
+ }, readAngularPageModule = (value) => isRecord4(value) ? value : null, invalidateAngularSsrCache = () => {
30817
30822
  ssrDirty = true;
30818
30823
  clearSelectorCache();
30819
30824
  }, angularSsrContext, handleAngularPageRequest = async (_importer, pagePath, indexPath, headTag = "<head></head>", ...props) => {
30820
30825
  const requestId = `angular_${Date.now()}_${Math.random().toString(BASE_36_RADIX).substring(2, RANDOM_ID_END_INDEX)}`;
30821
30826
  return angularSsrContext.run(requestId, async () => {
30827
+ await ensureAngularCompiler();
30822
30828
  const [maybeProps] = props;
30823
30829
  cacheRouteData(pagePath, { headTag, props: maybeProps });
30824
30830
  if (ssrDirty) {
@@ -40980,5 +40986,5 @@ export {
40980
40986
  DeferSlotComponent
40981
40987
  };
40982
40988
 
40983
- //# debugId=CE971DDDBC392E2C64756E2164756E21
40989
+ //# debugId=A8ABDEF09265813C64756E2164756E21
40984
40990
  //# sourceMappingURL=index.js.map