@angular/platform-server 17.3.1 → 18.0.0-next.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.3.1
2
+ * @license Angular v18.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -22,11 +22,11 @@ const platformServerTesting = createPlatformFactory(ɵplatformCoreDynamicTesting
22
22
  * @publicApi
23
23
  */
24
24
  class ServerTestingModule {
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
26
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ServerTestingModule, imports: [NoopAnimationsModule], exports: [BrowserDynamicTestingModule] }); }
27
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ServerTestingModule, providers: ɵSERVER_RENDER_PROVIDERS, imports: [NoopAnimationsModule, BrowserDynamicTestingModule] }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
26
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: ServerTestingModule, imports: [NoopAnimationsModule], exports: [BrowserDynamicTestingModule] }); }
27
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ServerTestingModule, providers: ɵSERVER_RENDER_PROVIDERS, imports: [NoopAnimationsModule, BrowserDynamicTestingModule] }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ServerTestingModule, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ServerTestingModule, decorators: [{
30
30
  type: NgModule,
31
31
  args: [{
32
32
  exports: [BrowserDynamicTestingModule],
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.3.1
2
+ * @license Angular v18.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -51,40 +51,8 @@ export declare interface PlatformConfig {
51
51
  * @default none
52
52
  */
53
53
  url?: string;
54
- /**
55
- * Note: this option has no effect and can be removed from the config.
56
- *
57
- * Whether to append the absolute URL to any relative HTTP requests. If set to
58
- * true, this logic executes prior to any HTTP interceptors that may run later
59
- * on in the request. `baseUrl` must be supplied if this flag is enabled.
60
- *
61
- * @deprecated This option is a noop.
62
- * @default false
63
- */
64
- useAbsoluteUrl?: boolean;
65
- /**
66
- * Note: this option has no effect and can be removed from the config.
67
- *
68
- * The base URL for resolving absolute URL for HTTP requests. It must be set
69
- * if `useAbsoluteUrl` is true, and must consist of protocol, hostname,
70
- * and optional port. This option has no effect if `useAbsoluteUrl` is not
71
- * enabled.
72
- *
73
- * @deprecated This option is a noop.
74
- */
75
- baseUrl?: string;
76
54
  }
77
55
 
78
- /**
79
- * The server platform that supports the runtime compiler.
80
- *
81
- * @see {@link platformServer}
82
- * @deprecated add an `import @angular/compiler` and replace the usage with `platformServer`
83
- * instead.
84
- * @publicApi
85
- */
86
- export declare const platformDynamicServer: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
87
-
88
56
  /**
89
57
  * @publicApi
90
58
  */
@@ -182,23 +150,6 @@ export declare class ServerModule {
182
150
  static ɵinj: i0.ɵɵInjectorDeclaration<ServerModule>;
183
151
  }
184
152
 
185
- /**
186
- * NgModule to install on the server side while using the `TransferState` to transfer state from
187
- * server to client.
188
- *
189
- * Note: this module is not needed if the `renderApplication` function is used.
190
- * The `renderApplication` makes all providers from this module available in the application.
191
- *
192
- * @publicApi
193
- * @deprecated no longer needed, you can inject the `TransferState` in an app without providing
194
- * this module.
195
- */
196
- export declare class ServerTransferStateModule {
197
- static ɵfac: i0.ɵɵFactoryDeclaration<ServerTransferStateModule, never>;
198
- static ɵmod: i0.ɵɵNgModuleDeclaration<ServerTransferStateModule, never, never, never>;
199
- static ɵinj: i0.ɵɵInjectorDeclaration<ServerTransferStateModule>;
200
- }
201
-
202
153
  /**
203
154
  * @publicApi
204
155
  */
package/init/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.3.1
2
+ * @license Angular v18.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/platform-server",
3
- "version": "17.3.1",
3
+ "version": "18.0.0-next.1",
4
4
  "description": "Angular - library for using Angular in Node.js",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -8,11 +8,11 @@
8
8
  "node": "^18.13.0 || >=20.9.0"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/animations": "17.3.1",
12
- "@angular/common": "17.3.1",
13
- "@angular/compiler": "17.3.1",
14
- "@angular/core": "17.3.1",
15
- "@angular/platform-browser": "17.3.1"
11
+ "@angular/animations": "18.0.0-next.1",
12
+ "@angular/common": "18.0.0-next.1",
13
+ "@angular/compiler": "18.0.0-next.1",
14
+ "@angular/core": "18.0.0-next.1",
15
+ "@angular/platform-browser": "18.0.0-next.1"
16
16
  },
17
17
  "dependencies": {
18
18
  "tslib": "^2.3.0",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.3.1
2
+ * @license Angular v18.0.0-next.1
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */