@angular/core 18.1.4 → 18.1.5

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 (34) hide show
  1. package/esm2022/primitives/event-dispatch/src/event_dispatcher.mjs +5 -1
  2. package/esm2022/src/event_delegation_utils.mjs +19 -7
  3. package/esm2022/src/event_dispatch/event_delegation.mjs +9 -2
  4. package/esm2022/src/hydration/annotate.mjs +1 -1
  5. package/esm2022/src/hydration/cleanup.mjs +8 -4
  6. package/esm2022/src/hydration/i18n.mjs +13 -5
  7. package/esm2022/src/hydration/skip_hydration.mjs +11 -1
  8. package/esm2022/src/linker/view_container_ref.mjs +1 -1
  9. package/esm2022/src/render3/component_ref.mjs +1 -1
  10. package/esm2022/src/render3/i18n/i18n_parse.mjs +2 -1
  11. package/esm2022/src/render3/instructions/element_container.mjs +6 -3
  12. package/esm2022/src/render3/interfaces/i18n.mjs +1 -1
  13. package/esm2022/src/version.mjs +1 -1
  14. package/esm2022/testing/src/application_error_handler.mjs +3 -3
  15. package/esm2022/testing/src/logger.mjs +3 -3
  16. package/fesm2022/core.mjs +61 -17
  17. package/fesm2022/core.mjs.map +1 -1
  18. package/fesm2022/primitives/event-dispatch.mjs +5 -1
  19. package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
  20. package/fesm2022/primitives/signals.mjs +1 -1
  21. package/fesm2022/rxjs-interop.mjs +1 -1
  22. package/fesm2022/testing.mjs +4 -4
  23. package/index.d.ts +9 -3
  24. package/package.json +1 -1
  25. package/primitives/event-dispatch/index.d.ts +1 -1
  26. package/primitives/signals/index.d.ts +1 -1
  27. package/rxjs-interop/index.d.ts +1 -1
  28. package/schematics/migrations/invalid-two-way-bindings/bundle.js +1 -1
  29. package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +1 -1
  30. package/schematics/ng-generate/control-flow-migration/bundle.js +1 -1
  31. package/schematics/ng-generate/control-flow-migration/bundle.js.map +1 -1
  32. package/schematics/ng-generate/standalone-migration/bundle.js +18 -18
  33. package/schematics/ng-generate/standalone-migration/bundle.js.map +2 -2
  34. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.1.4
2
+ * @license Angular v18.1.5
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.1.4
2
+ * @license Angular v18.1.5
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.1.4
2
+ * @license Angular v18.1.5
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -176,10 +176,10 @@ class TestBedApplicationErrorHandler {
176
176
  throw e;
177
177
  }
178
178
  }
179
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
180
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TestBedApplicationErrorHandler }); }
179
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
180
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: TestBedApplicationErrorHandler }); }
181
181
  }
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
183
183
  type: Injectable
184
184
  }] });
185
185
 
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.1.4
2
+ * @license Angular v18.1.5
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -4519,7 +4519,7 @@ declare class GlobalEventDelegation implements OnDestroy {
4519
4519
  private eventContractDetails;
4520
4520
  ngOnDestroy(): void;
4521
4521
  supports(eventType: string): boolean;
4522
- addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
4522
+ addEventListener(element: HTMLElement, eventType: string, handler: Function): Function;
4523
4523
  removeEventListener(element: HTMLElement, eventType: string, callback: Function): void;
4524
4524
  static ɵfac: i0.ɵɵFactoryDeclaration<GlobalEventDelegation, never>;
4525
4525
  static ɵprov: i0.ɵɵInjectableDeclaration<GlobalEventDelegation>;
@@ -10064,6 +10064,10 @@ declare interface TI18n {
10064
10064
  * while the Update and Create OpCodes are used at runtime.
10065
10065
  */
10066
10066
  ast: Array<I18nNode>;
10067
+ /**
10068
+ * Index of a parent TNode, which represents a host node for this i18n block.
10069
+ */
10070
+ parentTNodeIndex: number;
10067
10071
  }
10068
10072
 
10069
10073
  declare interface TIcu {
@@ -13520,8 +13524,10 @@ export declare const ɵPROVIDED_NG_ZONE: InjectionToken<boolean>;
13520
13524
 
13521
13525
  /**
13522
13526
  * Returns a set of providers required to setup support for event delegation.
13527
+ * @param multiContract - Experimental support to provide one event contract
13528
+ * when there are multiple binaries on the page.
13523
13529
  */
13524
- export declare function ɵprovideGlobalEventDelegation(): Provider[];
13530
+ export declare function ɵprovideGlobalEventDelegation(multiContract?: boolean): Provider[];
13525
13531
 
13526
13532
  /**
13527
13533
  * An object that contains information about a provider that has been configured
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "18.1.4",
3
+ "version": "18.1.5",
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.1.4
2
+ * @license Angular v18.1.5
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.1.4
2
+ * @license Angular v18.1.5
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.1.4
2
+ * @license Angular v18.1.5
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -23452,7 +23452,7 @@ function publishFacade(global) {
23452
23452
  }
23453
23453
 
23454
23454
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
23455
- var VERSION2 = new Version("18.1.4");
23455
+ var VERSION2 = new Version("18.1.5");
23456
23456
 
23457
23457
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
23458
23458
  var _VisitorMode;