@angular/platform-server 22.0.0-rc.0 → 22.0.0-rc.2
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/fesm2022/_server-chunk.mjs +47 -24
- package/fesm2022/_server-chunk.mjs.map +1 -1
- package/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +21 -11
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/package.json +6 -6
- package/third_party/domino/bundled-domino.mjs +13 -9
- package/third_party/domino/bundled-domino.mjs.map +1 -1
- package/types/init.d.ts +1 -1
- package/types/platform-server.d.ts +7 -2
- package/types/testing.d.ts +1 -1
package/types/init.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v22.0.0-rc.
|
|
2
|
+
* @license Angular v22.0.0-rc.2
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -32,6 +32,9 @@ declare class PlatformState {
|
|
|
32
32
|
/**
|
|
33
33
|
* Sets up providers necessary to enable server rendering functionality for the application.
|
|
34
34
|
*
|
|
35
|
+
* @param options An object to configure the server providers. Currently supports the following options:
|
|
36
|
+
* - `maxResponseBodySize`: The maximum allowed response body size when using the Fetch API.
|
|
37
|
+
*
|
|
35
38
|
* @usageNotes
|
|
36
39
|
*
|
|
37
40
|
* Basic example of how you can add server support to your application:
|
|
@@ -44,7 +47,9 @@ declare class PlatformState {
|
|
|
44
47
|
* @publicApi
|
|
45
48
|
* @returns A set of providers to setup the server.
|
|
46
49
|
*/
|
|
47
|
-
declare function provideServerRendering(
|
|
50
|
+
declare function provideServerRendering(options?: {
|
|
51
|
+
maxResponseBodySize: number;
|
|
52
|
+
}): EnvironmentProviders;
|
|
48
53
|
|
|
49
54
|
declare const INTERNAL_SERVER_PLATFORM_PROVIDERS: StaticProvider[];
|
|
50
55
|
declare const SERVER_RENDER_PROVIDERS: Provider[];
|
package/types/testing.d.ts
CHANGED