@angular/platform-server 21.2.15 → 21.2.17
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 +89 -54
- package/fesm2022/_server-chunk.mjs.map +1 -1
- package/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +6 -6
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/fesm2022/testing.mjs.map +1 -1
- package/package.json +5 -5
- 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 +16 -2
- package/types/testing.d.ts +1 -1
package/types/init.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.2.
|
|
2
|
+
* @license Angular v21.2.17
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -183,6 +183,20 @@ declare function renderApplication(bootstrap: (context: BootstrapContext) => Pro
|
|
|
183
183
|
*/
|
|
184
184
|
declare function isHostAllowed(hostname: string, allowedHosts: ReadonlySet<string>): boolean;
|
|
185
185
|
|
|
186
|
+
/**
|
|
187
|
+
* The list of error codes used in runtime code of the `platform-server` package.
|
|
188
|
+
* Reserved error code range: 5700-5800.
|
|
189
|
+
*/
|
|
190
|
+
declare const enum RuntimeErrorCode {
|
|
191
|
+
GET_COOKIE_NOT_IMPLEMENTED = 5700,
|
|
192
|
+
INVALID_URL = 5701,
|
|
193
|
+
PROTOCOL_RELATIVE_URL_NOT_ALLOWED = 5702,
|
|
194
|
+
SUSPICIOUS_URL_CHANGE_ORIGIN = 5703,
|
|
195
|
+
DISABLED_DOM_EMULATION_IN_NON_BROWSER = 5704,
|
|
196
|
+
XHR_NOT_LOADED = 5705,
|
|
197
|
+
HOST_NOT_ALLOWED = 5706
|
|
198
|
+
}
|
|
199
|
+
|
|
186
200
|
/**
|
|
187
201
|
* DOM Adapter for the server platform based on https://github.com/fgnass/domino.
|
|
188
202
|
*/
|
|
@@ -213,5 +227,5 @@ declare class DominoAdapter extends _BrowserDomAdapter {
|
|
|
213
227
|
*/
|
|
214
228
|
declare const VERSION: Version;
|
|
215
229
|
|
|
216
|
-
export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, VERSION, platformServer, provideServerRendering, renderApplication, renderModule, DominoAdapter as ɵDominoAdapter, ENABLE_DOM_EMULATION as ɵENABLE_DOM_EMULATION, INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_CONTEXT as ɵSERVER_CONTEXT, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS, isHostAllowed as ɵisHostAllowed, renderInternal as ɵrenderInternal };
|
|
230
|
+
export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, RuntimeErrorCode, ServerModule, VERSION, platformServer, provideServerRendering, renderApplication, renderModule, DominoAdapter as ɵDominoAdapter, ENABLE_DOM_EMULATION as ɵENABLE_DOM_EMULATION, INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_CONTEXT as ɵSERVER_CONTEXT, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS, isHostAllowed as ɵisHostAllowed, renderInternal as ɵrenderInternal };
|
|
217
231
|
export type { PlatformConfig };
|
package/types/testing.d.ts
CHANGED