@angular/platform-server 17.0.0-next.8 → 17.0.0-rc.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/esm2022/init/src/bundled-domino.mjs +16108 -0
- package/esm2022/init/src/shims.mjs +6 -3
- package/esm2022/src/domino_adapter.mjs +4 -3
- package/esm2022/src/http.mjs +27 -6
- package/esm2022/src/location.mjs +27 -12
- package/esm2022/src/platform_state.mjs +3 -3
- package/esm2022/src/private_export.mjs +1 -2
- package/esm2022/src/server.mjs +4 -4
- package/esm2022/src/server_events.mjs +3 -3
- package/esm2022/src/transfer_state.mjs +4 -4
- package/esm2022/src/utils.mjs +2 -8
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/server.mjs +4 -4
- package/fesm2022/init.mjs +16105 -3
- package/fesm2022/init.mjs.map +1 -1
- package/fesm2022/platform-server.mjs +72 -42
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +1 -4
- package/init/index.d.ts +1 -1
- package/package.json +6 -6
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.0.0-
|
|
2
|
+
* @license Angular v17.0.0-rc.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.0.0-
|
|
26
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-
|
|
27
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
26
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTestingModule, imports: [NoopAnimationsModule], exports: [BrowserDynamicTestingModule] }); }
|
|
27
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-rc.1", ngImport: i0, type: ServerTestingModule, providers: ɵSERVER_RENDER_PROVIDERS, imports: [NoopAnimationsModule, BrowserDynamicTestingModule] }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-rc.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.0.0-
|
|
2
|
+
* @license Angular v17.0.0-rc.1
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -146,7 +146,6 @@ export declare function provideServerRendering(): EnvironmentProviders;
|
|
|
146
146
|
* @returns A Promise, that returns serialized (to a string) rendered page, once resolved.
|
|
147
147
|
*
|
|
148
148
|
* @publicApi
|
|
149
|
-
* @developerPreview
|
|
150
149
|
*/
|
|
151
150
|
export declare function renderApplication<T>(bootstrap: () => Promise<ApplicationRef>, options: {
|
|
152
151
|
document?: string | Document;
|
|
@@ -216,6 +215,4 @@ export declare const ɵSERVER_CONTEXT: InjectionToken<string>;
|
|
|
216
215
|
|
|
217
216
|
export declare const ɵSERVER_RENDER_PROVIDERS: Provider[];
|
|
218
217
|
|
|
219
|
-
export declare function ɵsetDomTypes(): void;
|
|
220
|
-
|
|
221
218
|
export { }
|
package/init/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/platform-server",
|
|
3
|
-
"version": "17.0.0-
|
|
3
|
+
"version": "17.0.0-rc.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"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/animations": "17.0.0-
|
|
12
|
-
"@angular/common": "17.0.0-
|
|
13
|
-
"@angular/compiler": "17.0.0-
|
|
14
|
-
"@angular/core": "17.0.0-
|
|
15
|
-
"@angular/platform-browser": "17.0.0-
|
|
11
|
+
"@angular/animations": "17.0.0-rc.1",
|
|
12
|
+
"@angular/common": "17.0.0-rc.1",
|
|
13
|
+
"@angular/compiler": "17.0.0-rc.1",
|
|
14
|
+
"@angular/core": "17.0.0-rc.1",
|
|
15
|
+
"@angular/platform-browser": "17.0.0-rc.1"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"tslib": "^2.3.0",
|
package/testing/index.d.ts
CHANGED