@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/angular/index.js +8 -2
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +8 -2
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +9 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +9 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
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("
|
|
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, "&").replace(/</g, "<
|
|
|
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",
|
|
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=
|
|
208360
|
+
//# debugId=0DB36CB93962EF2364756E2164756E21
|
|
208355
208361
|
//# sourceMappingURL=build.js.map
|