@absolutejs/absolute 0.19.0-beta.354 → 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/build.js CHANGED
@@ -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=8CD82504CA24E39A64756E2164756E21
208360
+ //# debugId=0DB36CB93962EF2364756E2164756E21
208355
208361
  //# sourceMappingURL=build.js.map