@angular/platform-server 22.0.0-rc.3 → 22.0.1

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/types/init.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-rc.3
2
+ * @license Angular v22.0.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-rc.3
2
+ * @license Angular v22.0.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -188,6 +188,20 @@ declare function renderApplication(bootstrap: (context: BootstrapContext) => Pro
188
188
  */
189
189
  declare function isHostAllowed(hostname: string, allowedHosts: ReadonlySet<string>): boolean;
190
190
 
191
+ /**
192
+ * The list of error codes used in runtime code of the `platform-server` package.
193
+ * Reserved error code range: 5700-5800.
194
+ */
195
+ declare const enum RuntimeErrorCode {
196
+ GET_COOKIE_NOT_IMPLEMENTED = 5700,
197
+ INVALID_URL = 5701,
198
+ PROTOCOL_RELATIVE_URL_NOT_ALLOWED = 5702,
199
+ SUSPICIOUS_URL_CHANGE_ORIGIN = 5703,
200
+ DISABLED_DOM_EMULATION_IN_NON_BROWSER = 5704,
201
+ XHR_NOT_LOADED = 5705,
202
+ HOST_NOT_ALLOWED = 5706
203
+ }
204
+
191
205
  /**
192
206
  * DOM Adapter for the server platform based on https://github.com/fgnass/domino.
193
207
  */
@@ -218,5 +232,5 @@ declare class DominoAdapter extends _BrowserDomAdapter {
218
232
  */
219
233
  declare const VERSION: Version;
220
234
 
221
- 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 };
235
+ 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 };
222
236
  export type { PlatformConfig };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v22.0.0-rc.3
2
+ * @license Angular v22.0.1
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */