@angular/core 18.2.12 → 18.2.14
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/src/application/create_application.mjs +10 -4
- package/esm2022/src/platform/platform.mjs +25 -12
- package/esm2022/src/render3/component_ref.mjs +1 -1
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/application_error_handler.mjs +3 -3
- package/esm2022/testing/src/logger.mjs +3 -3
- package/fesm2022/core.mjs +34 -16
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +6 -2
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/migrations/add-bootstrap-context-to-server-main/bundle.js +27129 -0
- package/schematics/migrations/after-render-phase/bundle.js +267 -267
- package/schematics/migrations/http-providers/bundle.js +284 -285
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +161 -161
- package/schematics/migrations.json +5 -0
- package/schematics/ng-generate/control-flow-migration/bundle.js +270 -270
- package/schematics/ng-generate/inject-migration/bundle.js +273 -273
- package/schematics/ng-generate/route-lazy-loading/bundle.js +269 -269
- package/schematics/ng-generate/standalone-migration/bundle.js +451 -451
- package/testing/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.2.
|
|
2
|
+
* @license Angular v18.2.14
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -175,10 +175,10 @@ class TestBedApplicationErrorHandler {
|
|
|
175
175
|
throw e;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
179
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TestBedApplicationErrorHandler }); }
|
|
180
180
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
|
|
182
182
|
type: Injectable
|
|
183
183
|
}] });
|
|
184
184
|
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.2.
|
|
2
|
+
* @license Angular v18.2.14
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3161,6 +3161,8 @@ declare type DestroyHookData = (HookEntry | HookData)[];
|
|
|
3161
3161
|
* Destroys the current Angular platform and all Angular applications on the page.
|
|
3162
3162
|
* Destroys all modules and listeners registered with the platform.
|
|
3163
3163
|
*
|
|
3164
|
+
* This function should not be used in a server environment, as it will be a no-op.
|
|
3165
|
+
*
|
|
3164
3166
|
* @publicApi
|
|
3165
3167
|
*/
|
|
3166
3168
|
export declare function destroyPlatform(): void;
|
|
@@ -4562,7 +4564,8 @@ export declare function getNgModuleById<T>(id: string): Type<T>;
|
|
|
4562
4564
|
declare function getOwningComponent<T>(elementOrDir: Element | {}): T | null;
|
|
4563
4565
|
|
|
4564
4566
|
/**
|
|
4565
|
-
* Returns the current platform.
|
|
4567
|
+
* Returns the current platform in the browser environment. In the server environment,
|
|
4568
|
+
* returns `null`. If you need access to the platform information, inject `PlatformRef` in your application.
|
|
4566
4569
|
*
|
|
4567
4570
|
* @publicApi
|
|
4568
4571
|
*/
|
|
@@ -13080,6 +13083,7 @@ export declare function ɵinternalCreateApplication(config: {
|
|
|
13080
13083
|
rootComponent?: Type<unknown>;
|
|
13081
13084
|
appProviders?: Array<Provider | EnvironmentProviders>;
|
|
13082
13085
|
platformProviders?: Provider[];
|
|
13086
|
+
platformRef?: PlatformRef;
|
|
13083
13087
|
}): Promise<ApplicationRef>;
|
|
13084
13088
|
|
|
13085
13089
|
export declare interface ɵInternalEnvironmentProviders extends EnvironmentProviders {
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED