angular/packages/core/schematics/test
Ryan Russell b144126612 fix(core): inject migration: replace param with this. (#60713)
The inject tool inserts `const foo = this.foo` if code
in the constructor referenced the constructor parameter `foo`.
If `foo` is a readonly property, we can instead replace `foo` with
`this.foo`. This allows more properties to be moved out of the
constructor with combineMemberInitializers.
For now, it only touches initializers, not all of the code in the
constructor.

PR Close #60713
2025-04-10 13:31:31 -04:00
..
google3 refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
all-migrations.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel feat(migrations): add migration to convert templates to use self-closing tags (#57342) 2025-02-18 17:33:59 +00:00
cleanup_unused_imports_migration_spec.ts fix(migrations): avoid applying the same replacements twice when cleaning up unused imports (#59656) 2025-01-22 07:57:38 -08:00
control_flow_migration_spec.ts fix(core): fix used templates are not deleted (#60459) 2025-03-24 09:04:06 -07:00
explicit_standalone_flag_spec.ts refactor(migrations): Make the explicit standalone migration idempotent (#58418) 2024-10-30 11:55:11 -07:00
helpers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
inject_migration_spec.ts fix(core): inject migration: replace param with this. (#60713) 2025-04-10 13:31:31 -04:00
output_migration_spec.ts feat(migrations): expose output as function migration (#58299) 2024-10-22 07:41:41 -07:00
pending_tasks_spec.ts docs: update license URL from angular.io to angular.dev and year of license to 2025 (#59407) 2025-01-09 10:27:54 -05:00
project_tsconfig_paths_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
provide_initializer_spec.ts docs: update license URL from angular.io to angular.dev and year of license to 2025 (#59407) 2025-01-09 10:27:54 -05:00
queries_migration_spec.ts fix(migrations): incorrect stats when migrating queries with best effort mode (#59463) 2025-01-10 11:52:13 -05:00
self_closing_tags_migration_spec.ts refactor(migrations): Don't migrate twice the same file on the self-closing tag migration (#60065) 2025-02-28 16:27:40 +00:00
signal_input_migration_spec.ts fix(migrations): incorrect stats when migrating queries with best effort mode (#59463) 2025-01-10 11:52:13 -05:00
signals_migration_spec.ts fix(migrations): add outputs migration to combined shorthand (#58318) 2024-10-23 08:02:50 -07:00
standalone_migration_spec.ts fix(migrations): replace removed NgModules in tests with their exports (#58627) 2024-11-13 18:04:31 +00:00
standalone_routes_spec.ts fix(core): correctly perform lazy routes migration for components with additional decorators (#58796) 2024-11-21 16:43:30 +00:00