@angular/upgrade 19.2.0-rc.0 → 19.2.1
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.
- package/fesm2022/static/testing.mjs +6 -6
- package/fesm2022/static.mjs +16 -18
- package/fesm2022/static.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +9 -10
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +5 -5
- package/static/index.d.ts +9 -11
- package/static/testing/index.d.ts +2 -2
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/upgrade",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.1",
|
|
4
4
|
"description": "Angular - the library for easing update from v1 to v2",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/core": "19.2.
|
|
15
|
-
"@angular/compiler": "19.2.
|
|
16
|
-
"@angular/platform-browser": "19.2.
|
|
17
|
-
"@angular/platform-browser-dynamic": "19.2.
|
|
14
|
+
"@angular/core": "19.2.1",
|
|
15
|
+
"@angular/compiler": "19.2.1",
|
|
16
|
+
"@angular/platform-browser": "19.2.1",
|
|
17
|
+
"@angular/platform-browser-dynamic": "19.2.1"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
package/static/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v19.2.1
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -151,10 +151,9 @@ declare type DirectiveTranscludeProperty = boolean | 'element' | {
|
|
|
151
151
|
* <br />
|
|
152
152
|
* (This option is only necessary when using `downgradeModule()` to downgrade more than one
|
|
153
153
|
* Angular module.)
|
|
154
|
-
* - `propagateDigest?: boolean`: Whether to perform {@link ChangeDetectorRef#detectChanges} on the
|
|
155
|
-
* component on every
|
|
156
|
-
*
|
|
157
|
-
* change detection will still be performed when any of the component's inputs changes.
|
|
154
|
+
* - `propagateDigest?: boolean`: Whether to perform {@link /api/core/ChangeDetectorRef#detectChanges detectChanges} on the
|
|
155
|
+
* component on every {@link https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$digest $digest}.
|
|
156
|
+
* If set to `false`, change detection will still be performed when any of the component's inputs changes.
|
|
158
157
|
* (Default: true)
|
|
159
158
|
*
|
|
160
159
|
* @returns a factory function that can be used to register the component in an
|
|
@@ -344,7 +343,7 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
|
|
|
344
343
|
* {@link PlatformRef#bootstrapmodulefactory `bootstrapModuleFactory()`} to bootstrap the
|
|
345
344
|
* downgraded modules, each one is considered a "root" module. As a consequence, a new instance
|
|
346
345
|
* will be created for every injectable provided in `"root"` (via
|
|
347
|
-
* {@link Injectable#providedIn
|
|
346
|
+
* {@link /api/core/Injectable#providedIn providedIn}
|
|
348
347
|
* If this is not your intention, you can have a shared module (that will act as act as the "root"
|
|
349
348
|
* module) and create all downgraded modules using that module's injector:
|
|
350
349
|
*
|
|
@@ -459,7 +458,7 @@ export declare function downgradeModule<T>(moduleOrBootstrapFn: Type<T> | ((extr
|
|
|
459
458
|
* {@link PlatformRef#bootstrapmodulefactory `bootstrapModuleFactory()`} to bootstrap the
|
|
460
459
|
* downgraded modules, each one is considered a "root" module. As a consequence, a new instance
|
|
461
460
|
* will be created for every injectable provided in `"root"` (via
|
|
462
|
-
* {@link Injectable#providedIn
|
|
461
|
+
* {@link /api/core/Injectable#providedIn providedIn}
|
|
463
462
|
* If this is not your intention, you can have a shared module (that will act as act as the "root"
|
|
464
463
|
* module) and create all downgraded modules using that module's injector:
|
|
465
464
|
*
|
|
@@ -970,7 +969,7 @@ declare class UpgradeHelper {
|
|
|
970
969
|
* {@link UpgradeModule#upgrading-an-angular-1-service Upgrading an AngularJS service} below.
|
|
971
970
|
* 4. Creation of an AngularJS service that wraps and exposes an Angular injectable
|
|
972
971
|
* so that it can be injected into an AngularJS context. See `downgradeInjectable`.
|
|
973
|
-
*
|
|
972
|
+
* 5. Bootstrapping of a hybrid Angular application which contains both of the frameworks
|
|
974
973
|
* coexisting in a single application.
|
|
975
974
|
*
|
|
976
975
|
* @usageNotes
|
|
@@ -1036,7 +1035,7 @@ declare class UpgradeHelper {
|
|
|
1036
1035
|
*
|
|
1037
1036
|
* ### Examples
|
|
1038
1037
|
*
|
|
1039
|
-
* Import the `UpgradeModule` into your top level {@link NgModule
|
|
1038
|
+
* Import the `UpgradeModule` into your top level Angular {@link NgModule NgModule}.
|
|
1040
1039
|
*
|
|
1041
1040
|
* {@example upgrade/static/ts/full/module.ts region='ng2-module'}
|
|
1042
1041
|
*
|
|
@@ -1050,7 +1049,6 @@ declare class UpgradeHelper {
|
|
|
1050
1049
|
*
|
|
1051
1050
|
* {@example upgrade/static/ts/full/module.ts region='bootstrap-ng2'}
|
|
1052
1051
|
*
|
|
1053
|
-
* {@a upgrading-an-angular-1-service}
|
|
1054
1052
|
* ### Upgrading an AngularJS service
|
|
1055
1053
|
*
|
|
1056
1054
|
* There is no specific API for upgrading an AngularJS service. Instead you should just follow the
|