mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
71cc9e685c
This migration ensure that existing code is wrapped by the `$safeNavigationMigration` magic function when necessary to maintain the pre-exisiting behavior of exisiting optional chaining expressions.
45 lines
1.9 KiB
JSON
45 lines
1.9 KiB
JSON
{
|
|
"schematics": {
|
|
"change-detection-eager": {
|
|
"version": "22.0.0",
|
|
"description": "Adds `ChangeDetectionStrategy.Eager` to all components.",
|
|
"factory": "./bundles/change-detection-eager.cjs#migrate"
|
|
},
|
|
"http-xhr-backend": {
|
|
"version": "22.0.0",
|
|
"description": "Adds 'withXhr' to 'provideHttpClient' function calls when the 'HttpXhrBackend' is used. For more information see: https://angular.dev/api/common/http/withXhr",
|
|
"factory": "./bundles/http-xhr-backend.cjs#migrate"
|
|
},
|
|
"strict-templates-default": {
|
|
"version": "22.0.0",
|
|
"description": "Adds 'strictTemplates: false' in tsconfig.json when not set.",
|
|
"factory": "./bundles/strict-templates-default.cjs#migrate"
|
|
},
|
|
"can-match-snapshot-required": {
|
|
"version": "22.0.0",
|
|
"description": "Adds the required third argument to canMatch callsites.",
|
|
"factory": "./bundles/can-match-snapshot-required.cjs#migrate"
|
|
},
|
|
"incremental-hydration": {
|
|
"version": "22.0.0",
|
|
"description": "Adds withNoIncrementalHydration() opt out to provideClientHydration() when incremental hydration is not enabled to retain pre-v22 behavior-.",
|
|
"factory": "./bundles/incremental-hydration.cjs#migrate"
|
|
},
|
|
"strict-safe-navigation-narrow": {
|
|
"version": "22.0.0",
|
|
"description": "Disables the 'nullishCoalescingNotNullable & optionalChainNotNullable extended diagnostics.",
|
|
"factory": "./bundles/strict-safe-navigation-narrow.cjs#migrate"
|
|
},
|
|
"model-output": {
|
|
"version": "22.0.0",
|
|
"description": "Migrate broken duplicate outputs",
|
|
"factory": "./bundles/model-output.cjs#migrate"
|
|
},
|
|
"safe-optional-chaining": {
|
|
"version": "22.0.0",
|
|
"description": "Wraps optional chaining expressions in $safeNavigationMigration().",
|
|
"factory": "./bundles/safe-optional-chaining.cjs#migrate"
|
|
}
|
|
}
|
|
}
|