@angular/platform-browser 12.1.0 → 12.1.1

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.1.0
2
+ * @license Angular v12.1.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/animations.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.1.0
2
+ * @license Angular v12.1.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.1.0
2
+ * @license Angular v12.1.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.1.0
2
+ * @license Angular v12.1.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v12.1.0
2
+ * @license Angular v12.1.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1959,14 +1959,15 @@
1959
1959
  }
1960
1960
  };
1961
1961
  Meta.prototype._getOrCreateElement = function (meta, forceCreation) {
1962
+ var _this = this;
1962
1963
  if (forceCreation === void 0) { forceCreation = false; }
1963
1964
  if (!forceCreation) {
1964
1965
  var selector = this._parseSelector(meta);
1965
- var elem = this.getTag(selector);
1966
1966
  // It's allowed to have multiple elements with the same name so it's not enough to
1967
1967
  // just check that element with the same name already present on the page. We also need to
1968
1968
  // check if element has tag attributes
1969
- if (elem && this._containsAttributes(meta, elem))
1969
+ var elem = this.getTags(selector).filter(function (elem) { return _this._containsAttributes(meta, elem); })[0];
1970
+ if (elem !== undefined)
1970
1971
  return elem;
1971
1972
  }
1972
1973
  var element = this._dom.createElement('meta');
@@ -2403,7 +2404,7 @@
2403
2404
  /**
2404
2405
  * @publicApi
2405
2406
  */
2406
- var VERSION = new i0.Version('12.1.0');
2407
+ var VERSION = new i0.Version('12.1.1');
2407
2408
 
2408
2409
  /**
2409
2410
  * @license