@angular/core 19.0.0 → 19.0.2

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 (32) hide show
  1. package/fesm2022/core.mjs +7117 -7025
  2. package/fesm2022/core.mjs.map +1 -1
  3. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  4. package/fesm2022/primitives/signals.mjs +1 -1
  5. package/fesm2022/rxjs-interop.mjs +1 -1
  6. package/fesm2022/testing.mjs +4 -4
  7. package/index.d.ts +107 -38
  8. package/package.json +1 -1
  9. package/primitives/event-dispatch/index.d.ts +1 -1
  10. package/primitives/signals/index.d.ts +1 -1
  11. package/rxjs-interop/index.d.ts +1 -1
  12. package/schematics/bundles/{checker-e3da3b0a.js → checker-a00b735e.js} +43 -27
  13. package/schematics/bundles/{combine_units-2adebceb.js → combine_units-60865867.js} +5 -3
  14. package/schematics/bundles/{compiler_host-d642e87e.js → compiler_host-3e96c3f7.js} +2 -2
  15. package/schematics/bundles/control-flow-migration.js +3 -3
  16. package/schematics/bundles/explicit-standalone-flag.js +5 -5
  17. package/schematics/bundles/{imports-4ac08251.js → imports-44987700.js} +1 -1
  18. package/schematics/bundles/inject-migration.js +137 -51
  19. package/schematics/bundles/{leading_space-d190b83b.js → leading_space-6e7a8ec6.js} +1 -1
  20. package/schematics/bundles/{migrate_ts_type_references-ed2c0669.js → migrate_ts_type_references-676612f5.js} +5 -5
  21. package/schematics/bundles/{nodes-0e7d45ca.js → nodes-b12e919a.js} +2 -2
  22. package/schematics/bundles/output-migration.js +5 -5
  23. package/schematics/bundles/pending-tasks.js +5 -5
  24. package/schematics/bundles/{program-f984ab63.js → program-a6be5d4a.js} +75 -33
  25. package/schematics/bundles/{project_tsconfig_paths-e9ccccbf.js → project_tsconfig_paths-6c9cde78.js} +1 -1
  26. package/schematics/bundles/provide-initializer.js +38 -31
  27. package/schematics/bundles/route-lazy-loading.js +28 -24
  28. package/schematics/bundles/signal-input-migration.js +7 -7
  29. package/schematics/bundles/signal-queries-migration.js +7 -7
  30. package/schematics/bundles/signals.js +7 -7
  31. package/schematics/bundles/standalone-migration.js +8 -8
  32. package/testing/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.0
2
+ * @license Angular v19.0.2
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 v19.0.0
2
+ * @license Angular v19.0.2
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 v19.0.0
2
+ * @license Angular v19.0.2
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 v19.0.0
2
+ * @license Angular v19.0.2
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 ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
179
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: TestBedApplicationErrorHandler });
178
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
179
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.2", ngImport: i0, type: TestBedApplicationErrorHandler });
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.2", 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 v19.0.0
2
+ * @license Angular v19.0.2
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -98,7 +98,7 @@ export declare interface AfterContentInit {
98
98
  * - `read`
99
99
  * Use this phase to **read** from the DOM. **Never** write to the DOM in this phase.
100
100
  *
101
- * <div class="alert is-critical">
101
+ * <div class="docs-alert docs-alert-critical">
102
102
  *
103
103
  * You should prefer using the `read` and `write` phases over the `earlyRead` and `mixedReadWrite`
104
104
  * phases when possible, to avoid performance degradation.
@@ -125,7 +125,7 @@ export declare interface AfterContentInit {
125
125
  * manual DOM access, ensuring the best experience for the end users of your application
126
126
  * or library.
127
127
  *
128
- * <div class="alert is-important">
128
+ * <div class="docs-alert docs-alert-important">
129
129
  *
130
130
  * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
131
131
  * You must use caution when directly reading or writing the DOM and layout.
@@ -173,7 +173,7 @@ export declare function afterNextRender<E = never, W = never, M = never>(spec: {
173
173
  * Register a callback to be invoked the next time the application finishes rendering, during the
174
174
  * `mixedReadWrite` phase.
175
175
  *
176
- * <div class="alert is-critical">
176
+ * <div class="docs-alert docs-alert-critical">
177
177
  *
178
178
  * You should prefer specifying an explicit phase for the callback instead, or you risk significant
179
179
  * performance degradation.
@@ -185,7 +185,7 @@ export declare function afterNextRender<E = never, W = never, M = never>(spec: {
185
185
  * - on browser platforms only
186
186
  * - during the `mixedReadWrite` phase
187
187
  *
188
- * <div class="alert is-important">
188
+ * <div class="docs-alert docs-alert-important">
189
189
  *
190
190
  * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
191
191
  * You must use caution when directly reading or writing the DOM and layout.
@@ -239,7 +239,7 @@ export declare function afterNextRender(callback: VoidFunction, options?: AfterR
239
239
  * - `read`
240
240
  * Use this phase to **read** from the DOM. **Never** write to the DOM in this phase.
241
241
  *
242
- * <div class="alert is-critical">
242
+ * <div class="docs-alert docs-alert-critical">
243
243
  *
244
244
  * You should prefer using the `read` and `write` phases over the `earlyRead` and `mixedReadWrite`
245
245
  * phases when possible, to avoid performance degradation.
@@ -266,7 +266,7 @@ export declare function afterNextRender(callback: VoidFunction, options?: AfterR
266
266
  * manual DOM access, ensuring the best experience for the end users of your application
267
267
  * or library.
268
268
  *
269
- * <div class="alert is-important">
269
+ * <div class="docs-alert docs-alert-important">
270
270
  *
271
271
  * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
272
272
  * You must use caution when directly reading or writing the DOM and layout.
@@ -312,7 +312,7 @@ export declare function afterRender<E = never, W = never, M = never>(spec: {
312
312
  * Register a callback to be invoked each time the application finishes rendering, during the
313
313
  * `mixedReadWrite` phase.
314
314
  *
315
- * <div class="alert is-critical">
315
+ * <div class="docs-alert docs-alert-critical">
316
316
  *
317
317
  * You should prefer specifying an explicit phase for the callback instead, or you risk significant
318
318
  * performance degradation.
@@ -325,7 +325,7 @@ export declare function afterRender<E = never, W = never, M = never>(spec: {
325
325
  * - on browser platforms only
326
326
  * - during the `mixedReadWrite` phase
327
327
  *
328
- * <div class="alert is-important">
328
+ * <div class="docs-alert docs-alert-important">
329
329
  *
330
330
  * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
331
331
  * You must use caution when directly reading or writing the DOM and layout.
@@ -366,7 +366,7 @@ export declare function afterRender(callback: VoidFunction, options?: AfterRende
366
366
  * Register an effect that, when triggered, is invoked when the application finishes rendering, during the
367
367
  * `mixedReadWrite` phase.
368
368
  *
369
- * <div class="alert is-critical">
369
+ * <div class="docs-alert docs-alert-critical">
370
370
  *
371
371
  * You should prefer specifying an explicit phase for the effect instead, or you risk significant
372
372
  * performance degradation.
@@ -379,7 +379,7 @@ export declare function afterRender(callback: VoidFunction, options?: AfterRende
379
379
  * - on browser platforms only
380
380
  * - during the `mixedReadWrite` phase
381
381
  *
382
- * <div class="alert is-important">
382
+ * <div class="docs-alert docs-alert-important">
383
383
  *
384
384
  * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
385
385
  * You must use caution when directly reading or writing the DOM and layout.
@@ -408,7 +408,7 @@ export declare function afterRenderEffect(callback: (onCleanup: EffectCleanupReg
408
408
  * - `read`
409
409
  * Use this phase to **read** from the DOM. **Never** write to the DOM in this phase.
410
410
  *
411
- * <div class="alert is-critical">
411
+ * <div class="docs-alert docs-alert-critical">
412
412
  *
413
413
  * You should prefer using the `read` and `write` phases over the `earlyRead` and `mixedReadWrite`
414
414
  * phases when possible, to avoid performance degradation.
@@ -436,7 +436,7 @@ export declare function afterRenderEffect(callback: (onCleanup: EffectCleanupReg
436
436
  * manual DOM access, ensuring the best experience for the end users of your application
437
437
  * or library.
438
438
  *
439
- * <div class="alert is-important">
439
+ * <div class="docs-alert docs-alert-important">
440
440
  *
441
441
  * Components are not guaranteed to be [hydrated](guide/hydration) before the callback runs.
442
442
  * You must use caution when directly reading or writing the DOM and layout.
@@ -479,6 +479,7 @@ declare class AfterRenderImpl {
479
479
  private readonly deferredRegistrations;
480
480
  /** Whether the `AfterRenderManager` is currently executing hooks. */
481
481
  executing: boolean;
482
+ constructor();
482
483
  /**
483
484
  * Run the sequence of phases of hooks, once through. As a result of executing some hooks, more
484
485
  * might be scheduled.
@@ -486,6 +487,7 @@ declare class AfterRenderImpl {
486
487
  execute(): void;
487
488
  register(sequence: AfterRenderSequence): void;
488
489
  unregister(sequence: AfterRenderSequence): void;
490
+ protected maybeTrace<T>(fn: () => T, snapshot: ɵTracingSnapshot | null): T;
489
491
  /** @nocollapse */
490
492
  static ɵprov: unknown;
491
493
  }
@@ -512,7 +514,7 @@ export declare interface AfterRenderOptions {
512
514
  /**
513
515
  * The phase the callback should be invoked in.
514
516
  *
515
- * <div class="alert is-critical">
517
+ * <div class="docs-alert docs-alert-critical">
516
518
  *
517
519
  * Defaults to `AfterRenderPhase.MixedReadWrite`. You should choose a more specific
518
520
  * phase instead. See `AfterRenderPhase` for more information.
@@ -555,7 +557,7 @@ export declare enum AfterRenderPhase {
555
557
  * `AfterRenderPhase.EarlyRead` phase if reading can wait until after the write phase.
556
558
  * **Never** write to the DOM in this phase.
557
559
  *
558
- * <div class="alert is-important">
560
+ * <div class="docs-alert docs-alert-important">
559
561
  *
560
562
  * Using this value can degrade performance.
561
563
  * Instead, prefer using built-in browser functionality when possible.
@@ -573,7 +575,7 @@ export declare enum AfterRenderPhase {
573
575
  * DOM, that haven't been refactored to use a different phase. **Never** use this phase if
574
576
  * it is possible to divide the work among the other phases instead.
575
577
  *
576
- * <div class="alert is-critical">
578
+ * <div class="docs-alert docs-alert-critical">
577
579
  *
578
580
  * Using this value can **significantly** degrade performance.
579
581
  * Instead, prefer dividing work into the appropriate phase callbacks.
@@ -604,6 +606,7 @@ declare class AfterRenderSequence implements AfterRenderRef {
604
606
  readonly impl: AfterRenderImpl;
605
607
  readonly hooks: AfterRenderHooks;
606
608
  once: boolean;
609
+ snapshot: ɵTracingSnapshot | null;
607
610
  /**
608
611
  * Whether this sequence errored or was destroyed during this execution, and hooks should no
609
612
  * longer run for it.
@@ -615,7 +618,7 @@ declare class AfterRenderSequence implements AfterRenderRef {
615
618
  */
616
619
  pipelinedValue: unknown;
617
620
  private unregisterOnDestroy;
618
- constructor(impl: AfterRenderImpl, hooks: AfterRenderHooks, once: boolean, destroyRef: DestroyRef | null);
621
+ constructor(impl: AfterRenderImpl, hooks: AfterRenderHooks, once: boolean, destroyRef: DestroyRef | null, snapshot?: ɵTracingSnapshot | null);
619
622
  afterRun(): void;
620
623
  destroy(): void;
621
624
  }
@@ -1014,11 +1017,13 @@ export declare class ApplicationRef {
1014
1017
  * Returns an Observable that indicates when the application is stable or unstable.
1015
1018
  */
1016
1019
  readonly isStable: Observable<boolean>;
1020
+ constructor();
1017
1021
  /**
1018
1022
  * @returns A promise that resolves when the application becomes stable
1019
1023
  */
1020
1024
  whenStable(): Promise<void>;
1021
1025
  private readonly _injector;
1026
+ private _rendererFactory;
1022
1027
  /**
1023
1028
  * The `EnvironmentInjector` used to create this application.
1024
1029
  */
@@ -2593,7 +2598,10 @@ declare const CONTEXT = 8;
2593
2598
  * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it
2594
2599
  * [here](guide/di/hierarchical-dependency-injection#elementinjector).
2595
2600
  * * `projectableNodes` (optional): A list of DOM nodes that should be projected through
2596
- * [`<ng-content>`](api/core/ng-content) of the new component instance.
2601
+ * [`<ng-content>`](api/core/ng-content) of the new component instance, e.g.,
2602
+ * `[[element1, element2]]`: projects `element1` and `element2` into the same `<ng-content>`.
2603
+ * `[[element1, element2], [element3]]`: projects `element1` and `element2` into one `<ng-content>`,
2604
+ * and `element3` into a separate `<ng-content>`.
2597
2605
  * @returns ComponentRef instance that represents a given Component.
2598
2606
  *
2599
2607
  * @publicApi
@@ -2968,7 +2976,7 @@ declare const DECLARATION_VIEW = 14;
2968
2976
  *
2969
2977
  * See the [i18n guide](guide/i18n/locale-id) for more information.
2970
2978
  *
2971
- * <div class="alert is-helpful">
2979
+ * <div class="docs-alert docs-alert-helpful">
2972
2980
  *
2973
2981
  * **Deprecation notice:**
2974
2982
  *
@@ -4249,6 +4257,12 @@ export declare type EnvironmentProviders = {
4249
4257
  * }
4250
4258
  * }
4251
4259
  *
4260
+ * // Provide in standalone apps
4261
+ * bootstrapApplication(AppComponent, {
4262
+ * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]
4263
+ * })
4264
+ *
4265
+ * // Provide in module-based apps
4252
4266
  * @NgModule({
4253
4267
  * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]
4254
4268
  * })
@@ -5859,7 +5873,7 @@ export declare enum InjectFlags {
5859
5873
  * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
5860
5874
  * the `Injector`. This provides an additional level of type safety.
5861
5875
  *
5862
- * <div class="alert is-helpful">
5876
+ * <div class="docs-alert docs-alert-helpful">
5863
5877
  *
5864
5878
  * **Important Note**: Ensure that you use the same instance of the `InjectionToken` in both the
5865
5879
  * provider and the injection call. Creating a new instance of `InjectionToken` in different places,
@@ -7026,8 +7040,8 @@ declare interface LView<T = unknown> extends Array<any> {
7026
7040
  * - For inline views, the context is null.
7027
7041
  */
7028
7042
  [CONTEXT]: T;
7029
- /** An optional Module Injector to be used as fall back after Element Injectors are consulted. */
7030
- readonly [INJECTOR_2]: Injector | null;
7043
+ /** A Module Injector to be used as fall back after Element Injectors are consulted. */
7044
+ readonly [INJECTOR_2]: Injector;
7031
7045
  /**
7032
7046
  * Contextual data that is shared across multiple instances of `LView` in the same application.
7033
7047
  */
@@ -7233,7 +7247,7 @@ declare const enum LViewFlags {
7233
7247
  /** Whether or not this view is the root view */
7234
7248
  IsRoot = 512,
7235
7249
  /**
7236
- * Whether this moved LView was needs to be refreshed. Similar to the Dirty flag, but used for
7250
+ * Whether this moved LView needs to be refreshed. Similar to the Dirty flag, but used for
7237
7251
  * transplanted and signal views where the parent/ancestor views are not marked dirty as well.
7238
7252
  * i.e. "Refresh just this view". Used in conjunction with the HAS_CHILD_VIEWS_TO_REFRESH
7239
7253
  * flag.
@@ -7943,14 +7957,13 @@ export declare interface NgZoneOptions {
7943
7957
  *
7944
7958
  * When button is clicked, because of the event bubbling, both
7945
7959
  * event handlers will be called and 2 change detections will be
7946
- * triggered. We can coalesce such kind of events to only trigger
7960
+ * triggered. We can coalesce such kind of events to trigger
7947
7961
  * change detection only once.
7948
7962
  *
7949
- * By default, this option will be false. So the events will not be
7950
- * coalesced and the change detection will be triggered multiple times.
7951
- * And if this option be set to true, the change detection will be
7952
- * triggered async by scheduling a animation frame. So in the case above,
7953
- * the change detection will only be triggered once.
7963
+ * By default, this option is set to false, meaning events will
7964
+ * not be coalesced, and change detection will be triggered multiple times.
7965
+ * If this option is set to true, change detection will be triggered
7966
+ * once in the scenario described above.
7954
7967
  */
7955
7968
  eventCoalescing?: boolean;
7956
7969
  /**
@@ -10447,6 +10460,25 @@ declare interface TDeferBlockDetails {
10447
10460
  * List of prefetch triggers for a given block
10448
10461
  */
10449
10462
  prefetchTriggers: Set<DeferBlockTrigger> | null;
10463
+ /**
10464
+ * Defer block flags, which should be used for all
10465
+ * instances of a given defer block (the flags that should be
10466
+ * placed into the `TDeferDetails` at runtime).
10467
+ */
10468
+ flags: TDeferDetailsFlags;
10469
+ }
10470
+
10471
+ /**
10472
+ * Specifies defer block flags, which should be used for all
10473
+ * instances of a given defer block (the flags that should be
10474
+ * placed into the `TDeferDetails` at runtime).
10475
+ */
10476
+ declare const enum TDeferDetailsFlags {
10477
+ Default = 0,
10478
+ /**
10479
+ * Whether or not the defer block has hydrate triggers.
10480
+ */
10481
+ HasHydrateTriggers = 1
10450
10482
  }
10451
10483
 
10452
10484
  /** Static data for an <ng-container> */
@@ -12909,6 +12941,7 @@ export declare class ɵChangeDetectionSchedulerImpl implements ɵChangeDetection
12909
12941
  private readonly taskService;
12910
12942
  private readonly ngZone;
12911
12943
  private readonly zonelessEnabled;
12944
+ private readonly tracing;
12912
12945
  private readonly disableScheduling;
12913
12946
  private readonly zoneIsDefined;
12914
12947
  private readonly schedulerTickApplyArgs;
@@ -14681,6 +14714,45 @@ export declare const ɵTESTABILITY: InjectionToken<Testability>;
14681
14714
  */
14682
14715
  export declare const ɵTESTABILITY_GETTER: InjectionToken<GetTestability>;
14683
14716
 
14717
+ /** Actions that are supported by the tracing framework. */
14718
+ export declare enum ɵTracingAction {
14719
+ CHANGE_DETECTION = 0,
14720
+ AFTER_NEXT_RENDER = 1
14721
+ }
14722
+
14723
+ /**
14724
+ * Injection token for a `TracingService`, optionally provided.
14725
+ */
14726
+ export declare const ɵTracingService: InjectionToken<ɵTracingService<ɵTracingSnapshot>>;
14727
+
14728
+ /**
14729
+ * Tracing mechanism which can associate causes (snapshots) with runs of
14730
+ * subsequent operations.
14731
+ *
14732
+ * Not defined by Angular directly, but defined in contexts where tracing is
14733
+ * desired.
14734
+ */
14735
+ export declare interface ɵTracingService<T extends ɵTracingSnapshot> {
14736
+ /**
14737
+ * Take a snapshot of the current context which will be stored by Angular and
14738
+ * used when additional work is performed that was scheduled in this context.
14739
+ *
14740
+ * @param linkedSnapshot Optional snapshot to use link to the current context.
14741
+ * The caller is no longer responsible for calling dispose on the linkedSnapshot.
14742
+ *
14743
+ * @return The tracing snapshot. The caller is responsible for diposing of the
14744
+ * snapshot.
14745
+ */
14746
+ snapshot(linkedSnapshot: T | null): T;
14747
+ }
14748
+
14749
+ /** A single tracing snapshot. */
14750
+ export declare interface ɵTracingSnapshot {
14751
+ run<T>(action: ɵTracingAction, fn: () => T): T;
14752
+ /** Disposes of the tracing snapshot. Must be run exactly once per TracingSnapshot. */
14753
+ dispose(): void;
14754
+ }
14755
+
14684
14756
  /**
14685
14757
  * Compute the pair of transitive scopes (compilation scope and exported scope) for a given type
14686
14758
  * (either a NgModule or a standalone component / directive / pipe).
@@ -14965,12 +15037,6 @@ export declare class ɵViewRef<T> implements EmbeddedViewRef<T>, ChangeDetectorR
14965
15037
  attachToAppRef(appRef: ApplicationRef): void;
14966
15038
  }
14967
15039
 
14968
- /**
14969
- * Returns a Promise that resolves when the application becomes stable after this method is called
14970
- * the first time.
14971
- */
14972
- export declare function ɵwhenStable(applicationRef: ApplicationRef): Promise<void>;
14973
-
14974
15040
  /**
14975
15041
  * Returns a set of providers required to setup hydration support
14976
15042
  * for an application that is server side rendered. This function is
@@ -15795,10 +15861,13 @@ export declare function ɵɵdeclareLet(index: number): typeof ɵɵdeclareLet;
15795
15861
  * placeholder block.
15796
15862
  * @param enableTimerScheduling Function that enables timer-related scheduling if `after`
15797
15863
  * or `minimum` parameters are setup on the `@loading` or `@placeholder` blocks.
15864
+ * @param flags A set of flags to define a particular behavior (e.g. to indicate that
15865
+ * hydrate triggers are present and regular triggers should be deactivated
15866
+ * in certain scenarios).
15798
15867
  *
15799
15868
  * @codeGenApi
15800
15869
  */
15801
- export declare function ɵɵdefer(index: number, primaryTmplIndex: number, dependencyResolverFn?: DependencyResolverFn | null, loadingTmplIndex?: number | null, placeholderTmplIndex?: number | null, errorTmplIndex?: number | null, loadingConfigIndex?: number | null, placeholderConfigIndex?: number | null, enableTimerScheduling?: typeof ɵɵdeferEnableTimerScheduling): void;
15870
+ export declare function ɵɵdefer(index: number, primaryTmplIndex: number, dependencyResolverFn?: DependencyResolverFn | null, loadingTmplIndex?: number | null, placeholderTmplIndex?: number | null, errorTmplIndex?: number | null, loadingConfigIndex?: number | null, placeholderConfigIndex?: number | null, enableTimerScheduling?: typeof ɵɵdeferEnableTimerScheduling, flags?: TDeferDetailsFlags | null): void;
15802
15871
 
15803
15872
  /**
15804
15873
  * Enables timer-related scheduling if `after` or `minimum` parameters are setup
@@ -17612,11 +17681,11 @@ export declare function ɵɵrepeaterTrackByIndex(index: number): number;
17612
17681
  * Replaces the metadata of a component type and re-renders all live instances of the component.
17613
17682
  * @param type Class whose metadata will be replaced.
17614
17683
  * @param applyMetadata Callback that will apply a new set of metadata on the `type` when invoked.
17615
- * @param environment Core runtime environment to use when applying the HMR update.
17684
+ * @param environment Syntehtic namespace imports that need to be passed along to the callback.
17616
17685
  * @param locals Local symbols from the source location that have to be exposed to the callback.
17617
17686
  * @codeGenApi
17618
17687
  */
17619
- export declare function ɵɵreplaceMetadata(type: Type<unknown>, applyMetadata: (...args: [Type<unknown>, Record<string, unknown>, ...unknown[]]) => void, environment: Record<string, unknown>, locals: unknown[]): void;
17688
+ export declare function ɵɵreplaceMetadata(type: Type<unknown>, applyMetadata: (...args: [Type<unknown>, unknown[], ...unknown[]]) => void, namespaces: unknown[], locals: unknown[]): void;
17620
17689
 
17621
17690
  /**
17622
17691
  * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "19.0.0",
3
+ "version": "19.0.2",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.0
2
+ * @license Angular v19.0.2
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 v19.0.0
2
+ * @license Angular v19.0.2
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 v19.0.0
2
+ * @license Angular v19.0.2
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */