@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.
@@ -30797,12 +30797,18 @@ var escapeHtml = (str) => String(str).replace(/&/g, "&amp;").replace(/</g, "&lt;
30797
30797
 
30798
30798
  // src/angular/pageHandler.ts
30799
30799
  import { AsyncLocalStorage } from "async_hooks";
30800
- 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 = () => {
30800
+ var ssrDirty = false, lastSelector = "angular-page", isRecord4 = (value) => typeof value === "object" && value !== null, isAngularComponent = (value) => typeof value === "function", compilerImportPromise = null, ensureAngularCompiler = () => {
30801
+ if (!compilerImportPromise) {
30802
+ compilerImportPromise = Promise.resolve().then(() => (init_compiler(), exports_compiler));
30803
+ }
30804
+ return compilerImportPromise;
30805
+ }, readAngularPageModule = (value) => isRecord4(value) ? value : null, invalidateAngularSsrCache = () => {
30801
30806
  ssrDirty = true;
30802
30807
  clearSelectorCache();
30803
30808
  }, angularSsrContext, handleAngularPageRequest = async (_importer, pagePath, indexPath, headTag = "<head></head>", ...props) => {
30804
30809
  const requestId = `angular_${Date.now()}_${Math.random().toString(BASE_36_RADIX).substring(2, RANDOM_ID_END_INDEX)}`;
30805
30810
  return angularSsrContext.run(requestId, async () => {
30811
+ await ensureAngularCompiler();
30806
30812
  const [maybeProps] = props;
30807
30813
  cacheRouteData(pagePath, { headTag, props: maybeProps });
30808
30814
  if (ssrDirty) {
@@ -30871,5 +30877,5 @@ export {
30871
30877
  handleAngularPageRequest
30872
30878
  };
30873
30879
 
30874
- //# debugId=93FB09051863DC0764756E2164756E21
30880
+ //# debugId=9ACB4A4316EB79C464756E2164756E21
30875
30881
  //# sourceMappingURL=server.js.map