@angular/platform-server 20.3.24 → 20.3.26

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.24
2
+ * @license Angular v20.3.26
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -30,11 +30,11 @@ const platformServerTesting = createPlatformFactory(platformCore, 'serverTesting
30
30
  * @deprecated from v20.0.0, use e2e testing to verify SSR behavior.
31
31
  */
32
32
  class ServerTestingModule {
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: ServerTestingModule, exports: [BrowserDynamicTestingModule] });
35
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ServerTestingModule, providers: SERVER_RENDER_PROVIDERS, imports: [BrowserDynamicTestingModule] });
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.26", ngImport: i0, type: ServerTestingModule, exports: [BrowserDynamicTestingModule] });
35
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ServerTestingModule, providers: SERVER_RENDER_PROVIDERS, imports: [BrowserDynamicTestingModule] });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ServerTestingModule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.26", ngImport: i0, type: ServerTestingModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
40
  exports: [BrowserDynamicTestingModule],
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.24
2
+ * @license Angular v20.3.26
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
@@ -185,6 +185,20 @@ declare function renderApplication(bootstrap: (context: BootstrapContext) => Pro
185
185
  */
186
186
  declare function isHostAllowed(hostname: string, allowedHosts: ReadonlySet<string>): boolean;
187
187
 
188
+ /**
189
+ * The list of error codes used in runtime code of the `platform-server` package.
190
+ * Reserved error code range: 5700-5800.
191
+ */
192
+ declare const enum RuntimeErrorCode {
193
+ GET_COOKIE_NOT_IMPLEMENTED = 5700,
194
+ INVALID_URL = 5701,
195
+ PROTOCOL_RELATIVE_URL_NOT_ALLOWED = 5702,
196
+ SUSPICIOUS_URL_CHANGE_ORIGIN = 5703,
197
+ DISABLED_DOM_EMULATION_IN_NON_BROWSER = 5704,
198
+ XHR_NOT_LOADED = 5705,
199
+ HOST_NOT_ALLOWED = 5706
200
+ }
201
+
188
202
  /**
189
203
  * DOM Adapter for the server platform based on https://github.com/fgnass/domino.
190
204
  */
@@ -215,5 +229,5 @@ declare class DominoAdapter extends _BrowserDomAdapter {
215
229
  */
216
230
  declare const VERSION: Version;
217
231
 
218
- 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 };
232
+ 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 };
219
233
  export type { PlatformConfig };
package/init/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.24
2
+ * @license Angular v20.3.26
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-server",
3
- "version": "20.3.24",
3
+ "version": "20.3.26",
4
4
  "description": "Angular - library for using Angular in Node.js",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -8,10 +8,10 @@
8
8
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/common": "20.3.24",
12
- "@angular/compiler": "20.3.24",
13
- "@angular/core": "20.3.24",
14
- "@angular/platform-browser": "20.3.24",
11
+ "@angular/common": "20.3.26",
12
+ "@angular/compiler": "20.3.26",
13
+ "@angular/core": "20.3.26",
14
+ "@angular/platform-browser": "20.3.26",
15
15
  "rxjs": "^6.5.3 || ^7.4.0"
16
16
  },
17
17
  "dependencies": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.3.24
2
+ * @license Angular v20.3.26
3
3
  * (c) 2010-2025 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */