@angular/animations 13.3.1 → 13.3.2

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 v13.3.1
2
+ * @license Angular v13.3.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.3.1
2
+ * @license Angular v13.3.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.3.1
2
+ * @license Angular v13.3.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -372,9 +372,9 @@ class NoopAnimationDriver {
372
372
  return new NoopAnimationPlayer(duration, delay);
373
373
  }
374
374
  }
375
- NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
376
- NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NoopAnimationDriver });
377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NoopAnimationDriver, decorators: [{
375
+ NoopAnimationDriver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NoopAnimationDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
376
+ NoopAnimationDriver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NoopAnimationDriver });
377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: NoopAnimationDriver, decorators: [{
378
378
  type: Injectable
379
379
  }] });
380
380
  /**
@@ -1251,11 +1251,10 @@ function isObject(value) {
1251
1251
  return !Array.isArray(value) && typeof value == 'object';
1252
1252
  }
1253
1253
  function constructTimingAst(value, errors) {
1254
- let timings = null;
1255
1254
  if (value.hasOwnProperty('duration')) {
1256
- timings = value;
1255
+ return value;
1257
1256
  }
1258
- else if (typeof value == 'number') {
1257
+ if (typeof value == 'number') {
1259
1258
  const duration = resolveTiming(value, errors).duration;
1260
1259
  return makeTimingAst(duration, 0, '');
1261
1260
  }
@@ -1267,7 +1266,7 @@ function constructTimingAst(value, errors) {
1267
1266
  ast.strValue = strValue;
1268
1267
  return ast;
1269
1268
  }
1270
- timings = timings || resolveTiming(strValue, errors);
1269
+ const timings = resolveTiming(strValue, errors);
1271
1270
  return makeTimingAst(timings.duration, timings.delay, timings.easing);
1272
1271
  }
1273
1272
  function normalizeAnimationOptions(options) {