angular/packages/core/schematics
Lukas Matta e1f933fed0 fix(migrations): Prevent removal of templates referenced with preceding whitespace characters
In https://github.com/angular/angular/pull/64745, a fix was introduced for templates referenced with a trailing semicolon. However, templates are still incorrectly removed when there are whitespace characters before the template name.

This commit updates the control flow migration logic to ensure templates referenced with preceding whitespace are not removed.

Fixes #64854

(cherry picked from commit 5b210e97af)
2025-11-04 15:26:08 -08:00
..
migrations fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 15:26:08 -08:00
ng-generate refactor(compiler-cli): Remove deep imports of compiler-cli in angular/core 2025-10-28 15:58:59 +01:00
test fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 15:26:08 -08:00
utils refactor(compiler-cli): Remove deep imports of compiler-cli in angular/core 2025-10-28 15:58:59 +01:00
BUILD.bazel feat(migrations): Adds support for CommonModule to standalone migration (#64138) 2025-10-15 10:37:37 -07:00
collection.json feat(migrations): Adds support for CommonModule to standalone migration (#64138) 2025-10-15 10:37:37 -07:00
migrations.json refactor(core): run control-flow migration by default (#64136) 2025-10-01 11:51:33 -04:00
rollup.config.js refactor(migrations): exclude all @angular/* packages from schematics bundle 2025-10-28 20:51:53 +01:00
tsconfig-test.json build: migrate packages/core/schematics to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig.json build: migrate packages/core/schematics to ts_project (#61370) 2025-05-16 11:02:07 +00:00