@angular/upgrade 19.0.0 → 19.0.2
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 +11 -11
- package/fesm2022/static/testing.mjs.map +1 -1
- package/fesm2022/static.mjs +12 -12
- package/fesm2022/static.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +6 -6
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +5 -5
- package/static/index.d.ts +6 -6
- package/static/testing/index.d.ts +7 -7
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/upgrade",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.2",
|
|
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.0.
|
|
15
|
-
"@angular/compiler": "19.0.
|
|
16
|
-
"@angular/platform-browser": "19.0.
|
|
17
|
-
"@angular/platform-browser-dynamic": "19.0.
|
|
14
|
+
"@angular/core": "19.0.2",
|
|
15
|
+
"@angular/compiler": "19.0.2",
|
|
16
|
+
"@angular/platform-browser": "19.0.2",
|
|
17
|
+
"@angular/platform-browser-dynamic": "19.0.2"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
package/static/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.
|
|
2
|
+
* @license Angular v19.0.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -211,7 +211,7 @@ declare const DOWNGRADED_MODULE_COUNT_KEY = "$$angularDowngradedModuleCount";
|
|
|
211
211
|
*
|
|
212
212
|
* {@example upgrade/static/ts/full/module.ts region="example-app"}
|
|
213
213
|
*
|
|
214
|
-
* <div class="alert
|
|
214
|
+
* <div class="docs-alert docs-alert-important">
|
|
215
215
|
*
|
|
216
216
|
* When using `downgradeModule()`, downgraded injectables will not be available until the Angular
|
|
217
217
|
* module that provides them is instantiated. In order to be safe, you need to ensure that the
|
|
@@ -283,7 +283,7 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
|
|
|
283
283
|
* available until the downgraded module has been bootstrapped, i.e. by instantiating a downgraded
|
|
284
284
|
* component.
|
|
285
285
|
*
|
|
286
|
-
* <div class="alert
|
|
286
|
+
* <div class="docs-alert docs-alert-important">
|
|
287
287
|
*
|
|
288
288
|
* You cannot use `downgradeModule()` and `UpgradeModule` in the same hybrid application.<br />
|
|
289
289
|
* Use one or the other.
|
|
@@ -314,7 +314,7 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
|
|
|
314
314
|
* For a more detailed discussion of the differences and their implications, see
|
|
315
315
|
* [Upgrading for Performance](https://angular.io/guide/upgrade).
|
|
316
316
|
*
|
|
317
|
-
* <div class="alert
|
|
317
|
+
* <div class="docs-alert docs-alert-helpful">
|
|
318
318
|
*
|
|
319
319
|
* You can manually trigger a change detection run in AngularJS using
|
|
320
320
|
* [scope.$apply(...)](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$apply) or
|
|
@@ -398,7 +398,7 @@ export declare function downgradeModule<T>(moduleOrBootstrapFn: Type<T> | ((extr
|
|
|
398
398
|
* available until the downgraded module has been bootstrapped, i.e. by instantiating a downgraded
|
|
399
399
|
* component.
|
|
400
400
|
*
|
|
401
|
-
* <div class="alert
|
|
401
|
+
* <div class="docs-alert docs-alert-important">
|
|
402
402
|
*
|
|
403
403
|
* You cannot use `downgradeModule()` and `UpgradeModule` in the same hybrid application.<br />
|
|
404
404
|
* Use one or the other.
|
|
@@ -429,7 +429,7 @@ export declare function downgradeModule<T>(moduleOrBootstrapFn: Type<T> | ((extr
|
|
|
429
429
|
* For a more detailed discussion of the differences and their implications, see
|
|
430
430
|
* [Upgrading for Performance](https://angular.io/guide/upgrade).
|
|
431
431
|
*
|
|
432
|
-
* <div class="alert
|
|
432
|
+
* <div class="docs-alert docs-alert-helpful">
|
|
433
433
|
*
|
|
434
434
|
* You can manually trigger a change detection run in AngularJS using
|
|
435
435
|
* [scope.$apply(...)](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$apply) or
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.
|
|
2
|
+
* @license Angular v19.0.2
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -37,7 +37,7 @@ import { Type } from '@angular/core';
|
|
|
37
37
|
* <code-example path="upgrade/static/ts/full/module.spec.ts"
|
|
38
38
|
* region="angularjs-spec"></code-example>
|
|
39
39
|
*
|
|
40
|
-
* <div class="alert
|
|
40
|
+
* <div class="docs-alert docs-alert-important">
|
|
41
41
|
*
|
|
42
42
|
* This helper is for testing services not components.
|
|
43
43
|
* For Component testing you must still bootstrap a hybrid app. See `UpgradeModule` or
|
|
@@ -45,7 +45,7 @@ import { Type } from '@angular/core';
|
|
|
45
45
|
*
|
|
46
46
|
* </div>
|
|
47
47
|
*
|
|
48
|
-
* <div class="alert
|
|
48
|
+
* <div class="docs-alert docs-alert-important">
|
|
49
49
|
*
|
|
50
50
|
* The resulting configuration does not wire up AngularJS digests to Zone hooks. It is the
|
|
51
51
|
* responsibility of the test writer to call `$rootScope.$apply`, as necessary, to trigger
|
|
@@ -53,7 +53,7 @@ import { Type } from '@angular/core';
|
|
|
53
53
|
*
|
|
54
54
|
* </div>
|
|
55
55
|
*
|
|
56
|
-
* <div class="alert
|
|
56
|
+
* <div class="docs-alert docs-alert-important">
|
|
57
57
|
*
|
|
58
58
|
* The helper sets up global variables to hold the shared Angular and AngularJS injectors.
|
|
59
59
|
*
|
|
@@ -102,7 +102,7 @@ export declare function createAngularJSTestingModule(angularModules: any[]): str
|
|
|
102
102
|
*
|
|
103
103
|
* <code-example path="upgrade/static/ts/full/module.spec.ts" region="angular-spec"></code-example>
|
|
104
104
|
*
|
|
105
|
-
* <div class="alert
|
|
105
|
+
* <div class="docs-alert docs-alert-important">
|
|
106
106
|
*
|
|
107
107
|
* This helper is for testing services not Components.
|
|
108
108
|
* For Component testing you must still bootstrap a hybrid app. See `UpgradeModule` or
|
|
@@ -110,7 +110,7 @@ export declare function createAngularJSTestingModule(angularModules: any[]): str
|
|
|
110
110
|
*
|
|
111
111
|
* </div>
|
|
112
112
|
*
|
|
113
|
-
* <div class="alert
|
|
113
|
+
* <div class="docs-alert docs-alert-important">
|
|
114
114
|
*
|
|
115
115
|
* The resulting configuration does not wire up AngularJS digests to Zone hooks. It is the
|
|
116
116
|
* responsibility of the test writer to call `$rootScope.$apply`, as necessary, to trigger
|
|
@@ -118,7 +118,7 @@ export declare function createAngularJSTestingModule(angularModules: any[]): str
|
|
|
118
118
|
*
|
|
119
119
|
* </div>
|
|
120
120
|
*
|
|
121
|
-
* <div class="alert
|
|
121
|
+
* <div class="docs-alert docs-alert-important">
|
|
122
122
|
*
|
|
123
123
|
* The helper sets up global variables to hold the shared Angular and AngularJS injectors.
|
|
124
124
|
*
|