@angular/compiler-cli 19.1.0 → 19.1.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.
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-VDCSJC7H.js";
7
+ } from "./chunk-U65IRA6O.js";
8
8
  import {
9
9
  CompilationMode,
10
10
  ComponentDecoratorHandler,
@@ -51,7 +51,7 @@ import {
51
51
  retagAllTsFiles,
52
52
  tryParseInitializerApi,
53
53
  untagAllTsFiles
54
- } from "./chunk-OJIDZREH.js";
54
+ } from "./chunk-6L6IA5LC.js";
55
55
  import {
56
56
  AbsoluteModuleStrategy,
57
57
  AliasStrategy,
@@ -5034,4 +5034,4 @@ export {
5034
5034
  * Use of this source code is governed by an MIT-style license that can be
5035
5035
  * found in the LICENSE file at https://angular.dev/license
5036
5036
  */
5037
- //# sourceMappingURL=chunk-47HIVWNK.js.map
5037
+ //# sourceMappingURL=chunk-5OSHDF7H.js.map
@@ -14478,14 +14478,22 @@ var ComponentDecoratorHandler = class {
14478
14478
  deferBlocks.set(deferBlock, deferBlockBinder.bind({ template: deferBlock.children }));
14479
14479
  }
14480
14480
  const eagerlyUsed = /* @__PURE__ */ new Set();
14481
- for (const dir of bound.getEagerlyUsedDirectives()) {
14482
- eagerlyUsed.add(dir.ref.node);
14483
- }
14484
- for (const name of bound.getEagerlyUsedPipes()) {
14485
- if (!pipes.has(name)) {
14486
- continue;
14481
+ if (this.enableHmr) {
14482
+ for (const dep of dependencies) {
14483
+ if (dep.ref.node !== node) {
14484
+ eagerlyUsed.add(dep.ref.node);
14485
+ }
14486
+ }
14487
+ } else {
14488
+ for (const dir of bound.getEagerlyUsedDirectives()) {
14489
+ eagerlyUsed.add(dir.ref.node);
14490
+ }
14491
+ for (const name of bound.getEagerlyUsedPipes()) {
14492
+ if (!pipes.has(name)) {
14493
+ continue;
14494
+ }
14495
+ eagerlyUsed.add(pipes.get(name).ref.node);
14487
14496
  }
14488
- eagerlyUsed.add(pipes.get(name).ref.node);
14489
14497
  }
14490
14498
  const wholeTemplateUsed = new Set(eagerlyUsed);
14491
14499
  for (const bound2 of deferBlocks.values()) {
@@ -15495,4 +15503,4 @@ export {
15495
15503
  * Use of this source code is governed by an MIT-style license that can be
15496
15504
  * found in the LICENSE file at https://angular.dev/license
15497
15505
  */
15498
- //# sourceMappingURL=chunk-OJIDZREH.js.map
15506
+ //# sourceMappingURL=chunk-6L6IA5LC.js.map