@angular/platform-server 19.1.5 → 19.2.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.
- package/fesm2022/init.mjs +1 -1
- package/fesm2022/platform-server.mjs +19 -21
- package/fesm2022/platform-server.mjs.map +1 -1
- package/fesm2022/testing.mjs +5 -7
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +3 -4
- package/init/index.d.ts +1 -1
- package/package.json +5 -6
- package/testing/index.d.ts +3 -4
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.1
|
|
2
|
+
* @license Angular v19.2.0-next.1
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { createPlatformFactory, NgModule } from '@angular/core';
|
|
9
9
|
import { ɵplatformCoreDynamicTesting, BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing';
|
|
10
|
-
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
11
10
|
import { ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, ɵSERVER_RENDER_PROVIDERS } from '@angular/platform-server';
|
|
12
11
|
|
|
13
12
|
/**
|
|
@@ -22,15 +21,14 @@ const platformServerTesting = createPlatformFactory(ɵplatformCoreDynamicTesting
|
|
|
22
21
|
* @publicApi
|
|
23
22
|
*/
|
|
24
23
|
class ServerTestingModule {
|
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1
|
|
26
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1
|
|
27
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerTestingModule, exports: [BrowserDynamicTestingModule] });
|
|
26
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerTestingModule, providers: ɵSERVER_RENDER_PROVIDERS, imports: [BrowserDynamicTestingModule] });
|
|
28
27
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0-next.1", ngImport: i0, type: ServerTestingModule, decorators: [{
|
|
30
29
|
type: NgModule,
|
|
31
30
|
args: [{
|
|
32
31
|
exports: [BrowserDynamicTestingModule],
|
|
33
|
-
imports: [NoopAnimationsModule],
|
|
34
32
|
providers: ɵSERVER_RENDER_PROVIDERS,
|
|
35
33
|
}]
|
|
36
34
|
}] });
|
package/fesm2022/testing.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["../../../../../../packages/platform-server/testing/src/server.ts","../../../../../../packages/platform-server/testing/src/testing.ts","../../../../../../packages/platform-server/testing/public_api.ts","../../../../../../packages/platform-server/testing/index.ts","../../../../../../packages/platform-server/testing/testing.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {createPlatformFactory, NgModule} from '@angular/core';\nimport {\n BrowserDynamicTestingModule,\n ɵplatformCoreDynamicTesting as platformCoreDynamicTesting,\n} from '@angular/platform-browser-dynamic/testing';\nimport {
|
|
1
|
+
{"version":3,"file":"testing.mjs","sources":["../../../../../../packages/platform-server/testing/src/server.ts","../../../../../../packages/platform-server/testing/src/testing.ts","../../../../../../packages/platform-server/testing/public_api.ts","../../../../../../packages/platform-server/testing/index.ts","../../../../../../packages/platform-server/testing/testing.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {createPlatformFactory, NgModule} from '@angular/core';\nimport {\n BrowserDynamicTestingModule,\n ɵplatformCoreDynamicTesting as platformCoreDynamicTesting,\n} from '@angular/platform-browser-dynamic/testing';\nimport {\n ɵINTERNAL_SERVER_PLATFORM_PROVIDERS as INTERNAL_SERVER_PLATFORM_PROVIDERS,\n ɵSERVER_RENDER_PROVIDERS as SERVER_RENDER_PROVIDERS,\n} from '@angular/platform-server';\n\n/**\n * Platform for testing\n *\n * @publicApi\n */\nexport const platformServerTesting = createPlatformFactory(\n platformCoreDynamicTesting,\n 'serverTesting',\n INTERNAL_SERVER_PLATFORM_PROVIDERS,\n);\n\n/**\n * NgModule for testing.\n *\n * @publicApi\n */\n@NgModule({\n exports: [BrowserDynamicTestingModule],\n providers: SERVER_RENDER_PROVIDERS,\n})\nexport class ServerTestingModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the platform-browser-dynamic/testing package.\n */\nexport * from './server';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/testing';\n\n// This file only reexports content of the `src` folder. Keep it that way.\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verification. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["platformCoreDynamicTesting","INTERNAL_SERVER_PLATFORM_PROVIDERS","SERVER_RENDER_PROVIDERS"],"mappings":";;;;;;;;;;;AAkBA;;;;AAIG;AACI,MAAM,qBAAqB,GAAG,qBAAqB,CACxDA,2BAA0B,EAC1B,eAAe,EACfC,mCAAkC,EACnC;AAED;;;;AAIG;MAKU,mBAAmB,CAAA;kHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAHpB,2BAA2B,CAAA,EAAA,CAAA,CAAA;mHAG1B,mBAAmB,EAAA,SAAA,EAFnBC,wBAAuB,EAAA,OAAA,EAAA,CADxB,2BAA2B,CAAA,EAAA,CAAA,CAAA;;sGAG1B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,oBAAA,SAAS,EAAEA,wBAAuB;AACnC,iBAAA,CAAA;;;AC7BD;;;;AAIG;;ACJH;;;;AAIG;AAGH;;ACPA;;ACRA;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.1
|
|
2
|
+
* @license Angular v19.2.0-next.1
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -8,8 +8,7 @@
|
|
|
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/platform-browser
|
|
12
|
-
import * as i2 from '@angular/platform-browser';
|
|
11
|
+
import * as i1 from '@angular/platform-browser';
|
|
13
12
|
import { InjectionToken } from '@angular/core';
|
|
14
13
|
import { PlatformRef } from '@angular/core';
|
|
15
14
|
import { Provider } from '@angular/core';
|
|
@@ -145,7 +144,7 @@ export declare function renderModule<T>(moduleType: Type<T>, options: {
|
|
|
145
144
|
*/
|
|
146
145
|
export declare class ServerModule {
|
|
147
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServerModule, never>;
|
|
148
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerModule, never,
|
|
147
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerModule, never, never, [typeof i1.BrowserModule]>;
|
|
149
148
|
static ɵinj: i0.ɵɵInjectorDeclaration<ServerModule>;
|
|
150
149
|
}
|
|
151
150
|
|
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.1
|
|
3
|
+
"version": "19.2.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,10 @@
|
|
|
8
8
|
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@angular/
|
|
12
|
-
"@angular/
|
|
13
|
-
"@angular/
|
|
14
|
-
"@angular/
|
|
15
|
-
"@angular/platform-browser": "19.1.5"
|
|
11
|
+
"@angular/common": "19.2.0-next.1",
|
|
12
|
+
"@angular/compiler": "19.2.0-next.1",
|
|
13
|
+
"@angular/core": "19.2.0-next.1",
|
|
14
|
+
"@angular/platform-browser": "19.2.0-next.1"
|
|
16
15
|
},
|
|
17
16
|
"dependencies": {
|
|
18
17
|
"tslib": "^2.3.0",
|
package/testing/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.1
|
|
2
|
+
* @license Angular v19.2.0-next.1
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import * as i1 from '@angular/platform-browser/
|
|
10
|
-
import * as i2 from '@angular/platform-browser-dynamic/testing';
|
|
9
|
+
import * as i1 from '@angular/platform-browser-dynamic/testing';
|
|
11
10
|
import { PlatformRef } from '@angular/core';
|
|
12
11
|
import { StaticProvider } from '@angular/core';
|
|
13
12
|
|
|
@@ -25,7 +24,7 @@ export declare const platformServerTesting: (extraProviders?: StaticProvider[])
|
|
|
25
24
|
*/
|
|
26
25
|
export declare class ServerTestingModule {
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ServerTestingModule, never>;
|
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerTestingModule, never,
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ServerTestingModule, never, never, [typeof i1.BrowserDynamicTestingModule]>;
|
|
29
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<ServerTestingModule>;
|
|
30
29
|
}
|
|
31
30
|
|