@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!');
@@ -1253,9 +1253,8 @@ class UpgradeNg1ComponentAdapter {
1253
1253
  }
1254
1254
  ngOnChanges(changes) {
1255
1255
  const ng1Changes = {};
1256
- Object.keys(changes).forEach(name => {
1257
- const change = changes[name];
1258
- const propertyMapName = getInputPropertyMapName(name);
1256
+ Object.keys(changes).forEach(propertyMapName => {
1257
+ const change = changes[propertyMapName];
1259
1258
  this.setComponentProperty(propertyMapName, change.currentValue);
1260
1259
  ng1Changes[this.propertyMap[propertyMapName]] = change;
1261
1260
  });
@@ -1287,9 +1286,9 @@ class UpgradeNg1ComponentAdapter {
1287
1286
  this.destinationObj[this.propertyMap[name]] = value;
1288
1287
  }
1289
1288
  }
1290
- UpgradeNg1ComponentAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1291
- UpgradeNg1ComponentAdapter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 });
1292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1289
+ UpgradeNg1ComponentAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
1290
+ UpgradeNg1ComponentAdapter.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.4", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 });
1291
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.4", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
1293
1292
  type: Directive
1294
1293
  }], ctorParameters: function () { return [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; } });
1295
1294