@angular/core 18.2.9 → 18.2.10
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/render3/component_ref.mjs +1 -1
- package/esm2022/src/render3/util/change_detection_utils.mjs +1 -2
- package/esm2022/src/render3/util/discovery_utils.mjs +1 -10
- 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 +3 -13
- 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 +1 -11
- 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/after-render-phase/bundle.js +288 -330
- package/schematics/migrations/http-providers/bundle.js +291 -333
- package/schematics/migrations/invalid-two-way-bindings/bundle.js +182 -224
- package/schematics/ng-generate/control-flow-migration/bundle.js +291 -333
- package/schematics/ng-generate/inject-migration/bundle.js +294 -336
- package/schematics/ng-generate/route-lazy-loading/bundle.js +290 -332
- package/schematics/ng-generate/standalone-migration/bundle.js +472 -514
- 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.10
|
|
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.10", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.10", 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.10", 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.10
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1072,7 +1072,6 @@ export declare class ApplicationRef {
|
|
|
1072
1072
|
* @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}.
|
|
1073
1073
|
*
|
|
1074
1074
|
* @publicApi
|
|
1075
|
-
* @globalApi ng
|
|
1076
1075
|
*/
|
|
1077
1076
|
declare function applyChanges(component: {}): void;
|
|
1078
1077
|
|
|
@@ -4400,7 +4399,6 @@ export declare interface ForwardRefFn {
|
|
|
4400
4399
|
* is no component associated with it.
|
|
4401
4400
|
*
|
|
4402
4401
|
* @publicApi
|
|
4403
|
-
* @globalApi ng
|
|
4404
4402
|
*/
|
|
4405
4403
|
declare function getComponent<T>(element: Element): T | null;
|
|
4406
4404
|
|
|
@@ -4414,7 +4412,6 @@ declare function getComponent<T>(element: Element): T | null;
|
|
|
4414
4412
|
* inside any component.
|
|
4415
4413
|
*
|
|
4416
4414
|
* @publicApi
|
|
4417
|
-
* @globalApi ng
|
|
4418
4415
|
*/
|
|
4419
4416
|
declare function getContext<T extends {}>(element: Element): T | null;
|
|
4420
4417
|
|
|
@@ -4449,7 +4446,6 @@ declare function getDependenciesFromInjectable<T>(injector: Injector, token: Typ
|
|
|
4449
4446
|
* @returns metadata of the passed directive or component
|
|
4450
4447
|
*
|
|
4451
4448
|
* @publicApi
|
|
4452
|
-
* @globalApi ng
|
|
4453
4449
|
*/
|
|
4454
4450
|
declare function getDirectiveMetadata(directiveOrComponentInstance: any): ɵComponentDebugMetadata | DirectiveDebugMetadata | null;
|
|
4455
4451
|
|
|
@@ -4461,7 +4457,6 @@ declare function getDirectiveMetadata(directiveOrComponentInstance: any): ɵComp
|
|
|
4461
4457
|
* @returns Injector associated with the element, component or directive instance.
|
|
4462
4458
|
*
|
|
4463
4459
|
* @publicApi
|
|
4464
|
-
* @globalApi ng
|
|
4465
4460
|
*/
|
|
4466
4461
|
declare function getInjector(elementOrDir: Element | {}): Injector;
|
|
4467
4462
|
|
|
@@ -4530,7 +4525,6 @@ declare function getInjectorResolutionPath(injector: Injector): Injector[];
|
|
|
4530
4525
|
* @returns Array of event listeners on the DOM element.
|
|
4531
4526
|
*
|
|
4532
4527
|
* @publicApi
|
|
4533
|
-
* @globalApi ng
|
|
4534
4528
|
*/
|
|
4535
4529
|
declare function getListeners(element: Element): Listener[];
|
|
4536
4530
|
|
|
@@ -4564,7 +4558,6 @@ export declare function getNgModuleById<T>(id: string): Type<T>;
|
|
|
4564
4558
|
* part of a component view.
|
|
4565
4559
|
*
|
|
4566
4560
|
* @publicApi
|
|
4567
|
-
* @globalApi ng
|
|
4568
4561
|
*/
|
|
4569
4562
|
declare function getOwningComponent<T>(elementOrDir: Element | {}): T | null;
|
|
4570
4563
|
|
|
@@ -4584,7 +4577,6 @@ export declare function getPlatform(): PlatformRef | null;
|
|
|
4584
4577
|
* @returns Root components associated with the target object.
|
|
4585
4578
|
*
|
|
4586
4579
|
* @publicApi
|
|
4587
|
-
* @globalApi ng
|
|
4588
4580
|
*/
|
|
4589
4581
|
declare function getRootComponents(elementOrDir: Element | {}): {}[];
|
|
4590
4582
|
|
|
@@ -12867,7 +12859,6 @@ export declare function ɵgetDeferBlocks(lView: LView, deferBlocks: ɵDeferBlock
|
|
|
12867
12859
|
* @returns Array of directives associated with the node.
|
|
12868
12860
|
*
|
|
12869
12861
|
* @publicApi
|
|
12870
|
-
* @globalApi ng
|
|
12871
12862
|
*/
|
|
12872
12863
|
export declare function ɵgetDirectives(node: Node): {}[];
|
|
12873
12864
|
|
|
@@ -12880,7 +12871,6 @@ export declare function ɵgetDirectives(node: Node): {}[];
|
|
|
12880
12871
|
* @returns Host element of the target.
|
|
12881
12872
|
*
|
|
12882
12873
|
* @publicApi
|
|
12883
|
-
* @globalApi ng
|
|
12884
12874
|
*/
|
|
12885
12875
|
export declare function ɵgetHostElement(componentOrDirective: {}): Element;
|
|
12886
12876
|
|
package/package.json
CHANGED
package/rxjs-interop/index.d.ts
CHANGED