@angular/platform-server 19.0.0-next.7 → 19.0.0-next.9
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/LICENSE +21 -0
- package/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +117 -102
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -5
- package/index.d.ts +5 -13
- 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 v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.9
|
|
3
3
|
* (c) 2010-2024 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: "19.0.0-next.
|
|
26
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
27
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
26
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.9", ngImport: i0, type: ServerTestingModule, imports: [NoopAnimationsModule], exports: [BrowserDynamicTestingModule] }); }
|
|
27
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.9", ngImport: i0, type: ServerTestingModule, providers: ɵSERVER_RENDER_PROVIDERS, imports: [NoopAnimationsModule, BrowserDynamicTestingModule] }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.9", 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 v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.9
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
import { ApplicationRef } from '@angular/core';
|
|
9
9
|
import { EnvironmentProviders } from '@angular/core';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
|
-
import * as i1 from '@angular/
|
|
12
|
-
import * as i2 from '@angular/platform-browser
|
|
13
|
-
import * as i3 from '@angular/platform-browser';
|
|
11
|
+
import * as i1 from '@angular/platform-browser/animations';
|
|
12
|
+
import * as i2 from '@angular/platform-browser';
|
|
14
13
|
import { InjectionToken } from '@angular/core';
|
|
15
14
|
import { PlatformRef } from '@angular/core';
|
|
16
15
|
import { Provider } from '@angular/core';
|
|
@@ -146,7 +145,7 @@ export declare function renderModule<T>(moduleType: Type<T>, options: {
|
|
|
146
145
|
*/
|
|
147
146
|
export declare class ServerModule {
|
|
148
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServerModule, never>;
|
|
149
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerModule, never, [typeof i1.
|
|
148
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerModule, never, [typeof i1.NoopAnimationsModule], [typeof i2.BrowserModule]>;
|
|
150
149
|
static ɵinj: i0.ɵɵInjectorDeclaration<ServerModule>;
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -155,14 +154,7 @@ export declare class ServerModule {
|
|
|
155
154
|
*/
|
|
156
155
|
export declare const VERSION: Version;
|
|
157
156
|
|
|
158
|
-
export declare
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* This enables an internal performance profiler for SSR apps
|
|
162
|
-
*
|
|
163
|
-
* It should not be imported in application code
|
|
164
|
-
*/
|
|
165
|
-
export declare function ɵenableSsrProfiling(): void;
|
|
157
|
+
export declare const ɵENABLE_DOM_EMULATION: InjectionToken<boolean>;
|
|
166
158
|
|
|
167
159
|
export declare const ɵINTERNAL_SERVER_PLATFORM_PROVIDERS: StaticProvider[];
|
|
168
160
|
|
package/init/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/platform-server",
|
|
3
|
-
"version": "19.0.0-next.
|
|
3
|
+
"version": "19.0.0-next.9",
|
|
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.19.1 || ^20.11.1 || >=22.0.0"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/animations": "19.0.0-next.
|
|
12
|
-
"@angular/common": "19.0.0-next.
|
|
13
|
-
"@angular/compiler": "19.0.0-next.
|
|
14
|
-
"@angular/core": "19.0.0-next.
|
|
15
|
-
"@angular/platform-browser": "19.0.0-next.
|
|
11
|
+
"@angular/animations": "19.0.0-next.9",
|
|
12
|
+
"@angular/common": "19.0.0-next.9",
|
|
13
|
+
"@angular/compiler": "19.0.0-next.9",
|
|
14
|
+
"@angular/core": "19.0.0-next.9",
|
|
15
|
+
"@angular/platform-browser": "19.0.0-next.9"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"tslib": "^2.3.0",
|
package/testing/index.d.ts
CHANGED