@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v16.0.0-next.2
2
+ * @license Angular v16.0.0-next.4
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -17,7 +17,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
17
17
  /**
18
18
  * @publicApi
19
19
  */
20
- const VERSION = new Version('16.0.0-next.2');
20
+ const VERSION = new Version('16.0.0-next.4');
21
21
 
22
22
  function noNg() {
23
23
  throw new Error('AngularJS v1.x is not loaded!');
@@ -1250,9 +1250,8 @@ class UpgradeNg1ComponentAdapter {
1250
1250
  }
1251
1251
  ngOnChanges(changes) {
1252
1252
  const ng1Changes = {};
1253
- Object.keys(changes).forEach(name => {
1254
- const change = changes[name];
1255
- const propertyMapName = getInputPropertyMapName(name);
1253
+ Object.keys(changes).forEach(propertyMapName => {
1254
+ const change = changes[propertyMapName];
1256
1255
  this.setComponentProperty(propertyMapName, change.currentValue);
1257
1256
  ng1Changes[this.propertyMap[propertyMapName]] = change;
1258
1257
  });
@@ -1284,9 +1283,9 @@ class UpgradeNg1ComponentAdapter {
1284
1283
  this.destinationObj[this.propertyMap[name]] = value;
1285
1284
  }
1286
1285
  }
1287
- UpgradeNg1ComponentAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1288
- UpgradeNg1ComponentAdapter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 });
1289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1286
+ UpgradeNg1ComponentAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1287
+ UpgradeNg1ComponentAdapter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.4", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 });
1288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1290
1289
  type: Directive
1291
1290
  }], ctorParameters: function () { return [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; } });
1292
1291