@angular/core 18.2.8 → 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.
Files changed (29) hide show
  1. package/esm2022/src/event_emitter.mjs +4 -1
  2. package/esm2022/src/interface/type.mjs +1 -1
  3. package/esm2022/src/render3/component_ref.mjs +1 -1
  4. package/esm2022/src/render3/definition.mjs +1 -1
  5. package/esm2022/src/render3/features/input_transforms_feature.mjs +1 -1
  6. package/esm2022/src/render3/util/change_detection_utils.mjs +1 -2
  7. package/esm2022/src/render3/util/discovery_utils.mjs +1 -10
  8. package/esm2022/src/version.mjs +1 -1
  9. package/esm2022/testing/src/application_error_handler.mjs +3 -3
  10. package/esm2022/testing/src/logger.mjs +3 -3
  11. package/fesm2022/core.mjs +6 -13
  12. package/fesm2022/core.mjs.map +1 -1
  13. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  14. package/fesm2022/primitives/signals.mjs +1 -1
  15. package/fesm2022/rxjs-interop.mjs +1 -1
  16. package/fesm2022/testing.mjs +4 -4
  17. package/index.d.ts +3 -19
  18. package/package.json +1 -1
  19. package/primitives/event-dispatch/index.d.ts +1 -1
  20. package/primitives/signals/index.d.ts +1 -1
  21. package/rxjs-interop/index.d.ts +1 -1
  22. package/schematics/migrations/after-render-phase/bundle.js +288 -330
  23. package/schematics/migrations/http-providers/bundle.js +291 -333
  24. package/schematics/migrations/invalid-two-way-bindings/bundle.js +182 -224
  25. package/schematics/ng-generate/control-flow-migration/bundle.js +291 -333
  26. package/schematics/ng-generate/inject-migration/bundle.js +294 -336
  27. package/schematics/ng-generate/route-lazy-loading/bundle.js +290 -332
  28. package/schematics/ng-generate/standalone-migration/bundle.js +500 -523
  29. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
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.8", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
179
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: TestBedApplicationErrorHandler }); }
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.8", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
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.8
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
 
@@ -7272,12 +7264,6 @@ declare const MOVED_VIEWS = 9;
7272
7264
 
7273
7265
  declare const MULTIPLIER = "x";
7274
7266
 
7275
- declare type Mutable<T extends {
7276
- [x: string]: any;
7277
- }, K extends string> = {
7278
- [P in K]: T[P];
7279
- };
7280
-
7281
7267
  declare const NATIVE = 7;
7282
7268
 
7283
7269
  declare const NEXT = 4;
@@ -12873,7 +12859,6 @@ export declare function ɵgetDeferBlocks(lView: LView, deferBlocks: ɵDeferBlock
12873
12859
  * @returns Array of directives associated with the node.
12874
12860
  *
12875
12861
  * @publicApi
12876
- * @globalApi ng
12877
12862
  */
12878
12863
  export declare function ɵgetDirectives(node: Node): {}[];
12879
12864
 
@@ -12886,7 +12871,6 @@ export declare function ɵgetDirectives(node: Node): {}[];
12886
12871
  * @returns Host element of the target.
12887
12872
  *
12888
12873
  * @publicApi
12889
- * @globalApi ng
12890
12874
  */
12891
12875
  export declare function ɵgetHostElement(componentOrDirective: {}): Element;
12892
12876
 
@@ -15199,7 +15183,7 @@ export declare function ɵɵdeferWhen(rawValue: unknown): void;
15199
15183
  * ```
15200
15184
  * @codeGenApi
15201
15185
  */
15202
- export declare function ɵɵdefineComponent<T>(componentDefinition: ComponentDefinition<T>): Mutable<ɵComponentDef<any>, keyof ɵComponentDef<any>>;
15186
+ export declare function ɵɵdefineComponent<T>(componentDefinition: ComponentDefinition<T>): ɵComponentDef<any>;
15203
15187
 
15204
15188
  /**
15205
15189
  * Create a directive definition object.
@@ -15217,7 +15201,7 @@ export declare function ɵɵdefineComponent<T>(componentDefinition: ComponentDef
15217
15201
  *
15218
15202
  * @codeGenApi
15219
15203
  */
15220
- export declare function ɵɵdefineDirective<T>(directiveDefinition: DirectiveDefinition<T>): Mutable<ɵDirectiveDef<any>, keyof ɵDirectiveDef<any>>;
15204
+ export declare function ɵɵdefineDirective<T>(directiveDefinition: DirectiveDefinition<T>): ɵDirectiveDef<any>;
15221
15205
 
15222
15206
  /**
15223
15207
  * Construct an injectable definition which defines how a token will be constructed by the DI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "18.2.8",
3
+ "version": "18.2.10",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.8
2
+ * @license Angular v18.2.10
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */