@angular/upgrade 15.1.2 → 15.1.3
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/esm2020/src/common/src/angular1.mjs +1 -1
- package/esm2020/src/common/src/component_info.mjs +1 -4
- package/esm2020/src/common/src/downgrade_component.mjs +4 -7
- package/esm2020/src/common/src/downgrade_component_adapter.mjs +62 -60
- package/esm2020/src/common/src/upgrade_helper.mjs +5 -6
- package/esm2020/src/common/src/util.mjs +2 -8
- package/esm2020/src/common/src/version.mjs +1 -1
- package/esm2020/src/dynamic/src/upgrade_adapter.mjs +32 -66
- package/esm2020/src/dynamic/src/upgrade_ng1_adapter.mjs +13 -20
- package/esm2020/static/src/upgrade_component.mjs +36 -29
- package/esm2020/static/src/upgrade_module.mjs +4 -4
- package/esm2020/static/testing/src/create_angular_testing_module.mjs +4 -4
- package/fesm2015/static/testing.mjs +5 -5
- package/fesm2015/static/testing.mjs.map +1 -1
- package/fesm2015/static.mjs +114 -114
- package/fesm2015/static.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +119 -168
- package/fesm2015/upgrade.mjs.map +1 -1
- package/fesm2020/static/testing.mjs +5 -5
- package/fesm2020/static/testing.mjs.map +1 -1
- package/fesm2020/static.mjs +110 -114
- package/fesm2020/static.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +116 -168
- package/fesm2020/upgrade.mjs.map +1 -1
- package/index.d.ts +1 -4
- package/package.json +5 -5
- package/static/index.d.ts +4 -9
- package/static/testing/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.
|
|
2
|
+
* @license Angular v15.1.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -131,10 +131,7 @@ export declare class UpgradeAdapter {
|
|
|
131
131
|
private idPrefix;
|
|
132
132
|
private downgradedComponents;
|
|
133
133
|
private upgradedProviders;
|
|
134
|
-
private ngZone;
|
|
135
|
-
private ng1Module;
|
|
136
134
|
private moduleRef;
|
|
137
|
-
private ng2BootstrapDeferred;
|
|
138
135
|
constructor(ng2AppModule: Type<any>, compilerOptions?: CompilerOptions | undefined);
|
|
139
136
|
/**
|
|
140
137
|
* Allows Angular Component to be used from AngularJS.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/upgrade",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.3",
|
|
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": "15.1.
|
|
15
|
-
"@angular/compiler": "15.1.
|
|
16
|
-
"@angular/platform-browser": "15.1.
|
|
17
|
-
"@angular/platform-browser-dynamic": "15.1.
|
|
14
|
+
"@angular/core": "15.1.3",
|
|
15
|
+
"@angular/compiler": "15.1.3",
|
|
16
|
+
"@angular/platform-browser": "15.1.3",
|
|
17
|
+
"@angular/platform-browser-dynamic": "15.1.3"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
package/static/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.
|
|
2
|
+
* @license Angular v15.1.3
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -449,20 +449,15 @@ export declare function setAngularLib(ng: any): void;
|
|
|
449
449
|
* @extensible
|
|
450
450
|
*/
|
|
451
451
|
export declare class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
|
|
452
|
-
private name;
|
|
453
|
-
private elementRef;
|
|
454
|
-
private injector;
|
|
455
452
|
private helper;
|
|
456
|
-
private $injector;
|
|
457
|
-
private element;
|
|
458
453
|
private $element;
|
|
459
454
|
private $componentScope;
|
|
460
455
|
private directive;
|
|
461
456
|
private bindings;
|
|
462
|
-
private controllerInstance
|
|
463
|
-
private bindingDestination
|
|
457
|
+
private controllerInstance?;
|
|
458
|
+
private bindingDestination?;
|
|
464
459
|
private pendingChanges;
|
|
465
|
-
private unregisterDoCheckWatcher
|
|
460
|
+
private unregisterDoCheckWatcher?;
|
|
466
461
|
/**
|
|
467
462
|
* Create a new `UpgradeComponent` instance. You should not normally need to do this.
|
|
468
463
|
* Instead you should derive a new class from this one and call the super constructor
|