@angular/upgrade 18.0.0-next.3 → 18.0.0-next.5
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/esm2022/src/common/src/downgrade_component.mjs +2 -2
- package/esm2022/src/common/src/version.mjs +1 -1
- package/esm2022/src/dynamic/src/upgrade_adapter.mjs +3 -3
- package/esm2022/src/dynamic/src/upgrade_ng1_adapter.mjs +3 -3
- package/esm2022/static/src/downgrade_module.mjs +3 -3
- package/esm2022/static/src/upgrade_component.mjs +3 -3
- package/esm2022/static/src/upgrade_module.mjs +4 -4
- package/esm2022/static/testing/src/create_angular_testing_module.mjs +4 -4
- package/fesm2022/static/testing.mjs +6 -6
- package/fesm2022/static.mjs +13 -13
- package/fesm2022/static.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +9 -9
- package/fesm2022/upgrade.mjs.map +1 -1
- package/index.d.ts +4 -4
- package/package.json +5 -5
- package/static/index.d.ts +7 -7
- package/static/testing/index.d.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.0.0-next.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v18.0.0-next.5
|
|
3
|
+
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -123,7 +123,7 @@ declare type Ng1Expression = string | Function;
|
|
|
123
123
|
* ```
|
|
124
124
|
*
|
|
125
125
|
* @deprecated Deprecated since v5. Use `upgrade/static` instead, which also supports
|
|
126
|
-
* [Ahead-of-Time compilation](
|
|
126
|
+
* [Ahead-of-Time compilation](tools/cli/aot-compiler).
|
|
127
127
|
* @publicApi
|
|
128
128
|
*/
|
|
129
129
|
export declare class UpgradeAdapter {
|
|
@@ -443,7 +443,7 @@ export declare class UpgradeAdapter {
|
|
|
443
443
|
* Use `UpgradeAdapterRef` to control a hybrid AngularJS / Angular application.
|
|
444
444
|
*
|
|
445
445
|
* @deprecated Deprecated since v5. Use `upgrade/static` instead, which also supports
|
|
446
|
-
* [Ahead-of-Time compilation](
|
|
446
|
+
* [Ahead-of-Time compilation](tools/cli/aot-compiler).
|
|
447
447
|
* @publicApi
|
|
448
448
|
*/
|
|
449
449
|
export declare class UpgradeAdapterRef {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/upgrade",
|
|
3
|
-
"version": "18.0.0-next.
|
|
3
|
+
"version": "18.0.0-next.5",
|
|
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": "18.0.0-next.
|
|
15
|
-
"@angular/compiler": "18.0.0-next.
|
|
16
|
-
"@angular/platform-browser": "18.0.0-next.
|
|
17
|
-
"@angular/platform-browser-dynamic": "18.0.0-next.
|
|
14
|
+
"@angular/core": "18.0.0-next.5",
|
|
15
|
+
"@angular/compiler": "18.0.0-next.5",
|
|
16
|
+
"@angular/platform-browser": "18.0.0-next.5",
|
|
17
|
+
"@angular/platform-browser-dynamic": "18.0.0-next.5"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
package/static/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v18.0.0-next.
|
|
3
|
-
* (c) 2010-
|
|
2
|
+
* @license Angular v18.0.0-next.5
|
|
3
|
+
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -140,7 +140,7 @@ declare type DirectiveTranscludeProperty = boolean | 'element' | {
|
|
|
140
140
|
* {@example upgrade/static/ts/full/module.ts region="ng2-heroes-wrapper"}
|
|
141
141
|
*
|
|
142
142
|
* For more details and examples on downgrading Angular components to AngularJS components please
|
|
143
|
-
* visit the [Upgrade guide](guide/upgrade#using-angular-components-from-angularjs-code).
|
|
143
|
+
* visit the [Upgrade guide](https://angular.io/guide/upgrade#using-angular-components-from-angularjs-code).
|
|
144
144
|
*
|
|
145
145
|
* @param info contains information about the Component that is being downgraded:
|
|
146
146
|
*
|
|
@@ -274,7 +274,7 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
|
|
|
274
274
|
* {@example upgrade/static/ts/lite/module.ts region="basic-how-to"}
|
|
275
275
|
*
|
|
276
276
|
* For more details on how to use `downgradeModule()` see
|
|
277
|
-
* [Upgrading for Performance](guide/upgrade
|
|
277
|
+
* [Upgrading for Performance](https://angular.io/guide/upgrade).
|
|
278
278
|
*
|
|
279
279
|
* @usageNotes
|
|
280
280
|
*
|
|
@@ -312,7 +312,7 @@ export declare function downgradeInjectable(token: any, downgradedModule?: strin
|
|
|
312
312
|
* notify each framework as needed.
|
|
313
313
|
*
|
|
314
314
|
* For a more detailed discussion of the differences and their implications, see
|
|
315
|
-
* [Upgrading for Performance](guide/upgrade
|
|
315
|
+
* [Upgrading for Performance](https://angular.io/guide/upgrade).
|
|
316
316
|
*
|
|
317
317
|
* <div class="alert is-helpful">
|
|
318
318
|
*
|
|
@@ -389,7 +389,7 @@ export declare function downgradeModule<T>(moduleOrBootstrapFn: Type<T> | ((extr
|
|
|
389
389
|
* {@example upgrade/static/ts/lite/module.ts region="basic-how-to"}
|
|
390
390
|
*
|
|
391
391
|
* For more details on how to use `downgradeModule()` see
|
|
392
|
-
* [Upgrading for Performance](guide/upgrade
|
|
392
|
+
* [Upgrading for Performance](https://angular.io/guide/upgrade).
|
|
393
393
|
*
|
|
394
394
|
* @usageNotes
|
|
395
395
|
*
|
|
@@ -427,7 +427,7 @@ export declare function downgradeModule<T>(moduleOrBootstrapFn: Type<T> | ((extr
|
|
|
427
427
|
* notify each framework as needed.
|
|
428
428
|
*
|
|
429
429
|
* For a more detailed discussion of the differences and their implications, see
|
|
430
|
-
* [Upgrading for Performance](guide/upgrade
|
|
430
|
+
* [Upgrading for Performance](https://angular.io/guide/upgrade).
|
|
431
431
|
*
|
|
432
432
|
* <div class="alert is-helpful">
|
|
433
433
|
*
|