@absolutejs/absolute 0.19.0-beta.741 → 0.19.0-beta.742
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/server.js
CHANGED
|
@@ -5073,7 +5073,13 @@ var handleAngularPageRequest = async (input) => {
|
|
|
5073
5073
|
if (ssrResult?.core)
|
|
5074
5074
|
resetSsrSanitizer();
|
|
5075
5075
|
const sanitizer = getSsrSanitizer(deps);
|
|
5076
|
-
const
|
|
5076
|
+
const pageProvidersExport = Reflect.get(pageModule, "providers");
|
|
5077
|
+
const pageProviders = Array.isArray(pageProvidersExport) ? pageProvidersExport : [];
|
|
5078
|
+
const combinedProviders = [
|
|
5079
|
+
...userProviders ?? [],
|
|
5080
|
+
...pageProviders
|
|
5081
|
+
];
|
|
5082
|
+
const providers = buildProviders(deps, sanitizer, maybeProps, tokenMap, combinedProviders);
|
|
5077
5083
|
const rawHtml = await renderAngularApp(deps, PageComponent, providers, htmlString, resolvedUrl);
|
|
5078
5084
|
const shouldProcessIslands = hasIslands || rawHtml.includes("<absolute-island");
|
|
5079
5085
|
const htmlWithLoweredIslands = shouldProcessIslands ? await lowerAngularServerIslands(rawHtml) : rawHtml;
|
|
@@ -5100,5 +5106,5 @@ export {
|
|
|
5100
5106
|
handleAngularPageRequest
|
|
5101
5107
|
};
|
|
5102
5108
|
|
|
5103
|
-
//# debugId=
|
|
5109
|
+
//# debugId=C559D45965BB1F7964756E2164756E21
|
|
5104
5110
|
//# sourceMappingURL=server.js.map
|