@angular/platform-browser 12.2.5 → 12.2.9

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 v12.2.5
2
+ * @license Angular v12.2.9
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -245,7 +245,7 @@
245
245
  ar[i] = from[i];
246
246
  }
247
247
  }
248
- return to.concat(ar || from);
248
+ return to.concat(ar || Array.prototype.slice.call(from));
249
249
  }
250
250
  function __await(v) {
251
251
  return this instanceof __await ? (this.v = v, this) : new __await(v);
@@ -1070,7 +1070,7 @@
1070
1070
  var AT_CHARCODE = (ɵ0$1)();
1071
1071
  function checkNoSyntheticProp(name, nameKind) {
1072
1072
  if (name.charCodeAt(0) === AT_CHARCODE) {
1073
- throw new Error("Found the synthetic " + nameKind + " " + name + ". Please include either \"BrowserAnimationsModule\" or \"NoopAnimationsModule\" in your application.");
1073
+ throw new Error("Unexpected synthetic " + nameKind + " " + name + " found. Please make sure that:\n - Either `BrowserAnimationsModule` or `NoopAnimationsModule` are imported in your application.\n - There is corresponding configuration for the animation named `" + name + "` defined in the `animations` field of the `@Component` decorator (see https://angular.io/api/core/Component#animations).");
1074
1074
  }
1075
1075
  }
1076
1076
  var EmulatedEncapsulationDomRenderer2 = /** @class */ (function (_super) {
@@ -2405,7 +2405,7 @@
2405
2405
  /**
2406
2406
  * @publicApi
2407
2407
  */
2408
- var VERSION = new i0.Version('12.2.5');
2408
+ var VERSION = new i0.Version('12.2.9');
2409
2409
 
2410
2410
  /**
2411
2411
  * @license