@angular/upgrade 16.0.0-next.2 → 16.0.0-next.4
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/version.mjs +1 -1
- package/esm2020/src/dynamic/src/upgrade_ng1_adapter.mjs +6 -7
- package/esm2020/static/src/upgrade_component.mjs +8 -4
- 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.mjs +13 -9
- package/fesm2015/static.mjs.map +1 -1
- package/fesm2015/upgrade.mjs +7 -8
- package/fesm2015/upgrade.mjs.map +1 -1
- package/fesm2020/static/testing.mjs +5 -5
- package/fesm2020/static.mjs +13 -9
- package/fesm2020/static.mjs.map +1 -1
- package/fesm2020/upgrade.mjs +7 -8
- package/fesm2020/upgrade.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +5 -5
- package/static/index.d.ts +5 -1
- package/static/testing/index.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0-next.
|
|
2
|
+
* @license Angular v16.0.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -110,10 +110,10 @@ class AngularTestingModule {
|
|
|
110
110
|
injector = i;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
AngularTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
114
|
-
AngularTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
115
|
-
AngularTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
113
|
+
AngularTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
114
|
+
AngularTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.4", ngImport: i0, type: AngularTestingModule });
|
|
115
|
+
AngularTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] });
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: AngularTestingModule, decorators: [{
|
|
117
117
|
type: NgModule,
|
|
118
118
|
args: [{ providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }]
|
|
119
119
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
package/fesm2020/static.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v16.0.0-next.
|
|
2
|
+
* @license Angular v16.0.0-next.4
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -845,7 +845,7 @@ function downgradeInjectable(token, downgradedModule = '') {
|
|
|
845
845
|
/**
|
|
846
846
|
* @publicApi
|
|
847
847
|
*/
|
|
848
|
-
const VERSION = new Version('16.0.0-next.
|
|
848
|
+
const VERSION = new Version('16.0.0-next.4');
|
|
849
849
|
|
|
850
850
|
// We have to do a little dance to get the ng1 injector into the module injector.
|
|
851
851
|
// We store the ng1 injector so that the provider in the module injector can access it
|
|
@@ -1389,6 +1389,7 @@ class UpgradeComponent {
|
|
|
1389
1389
|
this.$componentScope = $parentScope.$new(!!this.directive.scope);
|
|
1390
1390
|
this.initializeOutputs();
|
|
1391
1391
|
}
|
|
1392
|
+
/** @nodoc */
|
|
1392
1393
|
ngOnInit() {
|
|
1393
1394
|
// Collect contents, insert and compile template
|
|
1394
1395
|
const attachChildNodes = this.helper.prepareTransclusion();
|
|
@@ -1448,6 +1449,7 @@ class UpgradeComponent {
|
|
|
1448
1449
|
this.controllerInstance.$postLink();
|
|
1449
1450
|
}
|
|
1450
1451
|
}
|
|
1452
|
+
/** @nodoc */
|
|
1451
1453
|
ngOnChanges(changes) {
|
|
1452
1454
|
if (!this.bindingDestination) {
|
|
1453
1455
|
this.pendingChanges = changes;
|
|
@@ -1456,6 +1458,7 @@ class UpgradeComponent {
|
|
|
1456
1458
|
this.forwardChanges(changes, this.bindingDestination);
|
|
1457
1459
|
}
|
|
1458
1460
|
}
|
|
1461
|
+
/** @nodoc */
|
|
1459
1462
|
ngDoCheck() {
|
|
1460
1463
|
const twoWayBoundProperties = this.bindings.twoWayBoundProperties;
|
|
1461
1464
|
const twoWayBoundLastValues = this.bindings.twoWayBoundLastValues;
|
|
@@ -1471,6 +1474,7 @@ class UpgradeComponent {
|
|
|
1471
1474
|
}
|
|
1472
1475
|
});
|
|
1473
1476
|
}
|
|
1477
|
+
/** @nodoc */
|
|
1474
1478
|
ngOnDestroy() {
|
|
1475
1479
|
if (isFunction(this.unregisterDoCheckWatcher)) {
|
|
1476
1480
|
this.unregisterDoCheckWatcher();
|
|
@@ -1537,9 +1541,9 @@ class UpgradeComponent {
|
|
|
1537
1541
|
}
|
|
1538
1542
|
}
|
|
1539
1543
|
}
|
|
1540
|
-
UpgradeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1541
|
-
UpgradeComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1544
|
+
UpgradeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
1545
|
+
UpgradeComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.4", type: UpgradeComponent, usesOnChanges: true, ngImport: i0 });
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeComponent, decorators: [{
|
|
1543
1547
|
type: Directive
|
|
1544
1548
|
}], ctorParameters: function () { return [{ type: undefined }, { type: i0.ElementRef }, { type: i0.Injector }]; } });
|
|
1545
1549
|
|
|
@@ -1813,10 +1817,10 @@ class UpgradeModule {
|
|
|
1813
1817
|
return returnValue;
|
|
1814
1818
|
}
|
|
1815
1819
|
}
|
|
1816
|
-
UpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1817
|
-
UpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1818
|
-
UpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1820
|
+
UpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1821
|
+
UpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeModule });
|
|
1822
|
+
UpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] });
|
|
1823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeModule, decorators: [{
|
|
1820
1824
|
type: NgModule,
|
|
1821
1825
|
args: [{ providers: [angular1Providers] }]
|
|
1822
1826
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.NgZone }, { type: i0.PlatformRef }]; } });
|