angular-cn/packages/core/schematics/migrations
Paul Gschwendtner d751ca7596 fix(core): renderer-to-renderer2 migration not migrating methods (#33571)
The `renderer-to-renderer2` migration currently does not work
properly in v9 because the migration relies on the type checker
for detecting references to `Renderer` from `@angular/core`.

This is contradictory since the `Renderer` is no longer
exported in v9 `@angular/core`. In order to make sure that
the migration still works in v9, and that we can rely on the
type checker for the best possible detection, we take advantage
of module augmentation and in-memory add the `Renderer` export
to the `@angular/core` module.

PR Close #33571
2019-11-05 22:05:17 +00:00
..
dynamic-queries refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
google3 refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
missing-injectable refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
module-with-providers refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
move-document refactor(core): add `createMigrationCompilerHost` (#32827) 2019-10-04 11:45:35 -07:00
postinstall-ngcc refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
renderer-to-renderer2 fix(core): renderer-to-renderer2 migration not migrating methods (#33571) 2019-11-05 22:05:17 +00:00
static-queries refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
template-var-assignment refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
undecorated-classes-with-decorated-fields refactor(core): update migrations descriptions (#33440) 2019-10-28 17:07:50 -07:00
undecorated-classes-with-di fix(core): undecorated-classes-with-di migration should report config errors (#33567) 2019-11-05 21:06:47 +00:00