@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.
- package/animations/animations.d.ts +1 -1
- package/animations.d.ts +1 -1
- package/bundles/platform-browser-animations.umd.js +1 -1
- package/bundles/platform-browser-testing.umd.js +1 -1
- package/bundles/platform-browser.umd.js +5 -4
- package/bundles/platform-browser.umd.js.map +1 -1
- package/esm2015/src/browser/meta.js +3 -3
- package/esm2015/src/version.js +1 -1
- package/fesm2015/animations.js +1 -1
- package/fesm2015/platform-browser.js +4 -4
- package/fesm2015/platform-browser.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +4 -4
- package/platform-browser.d.ts +1 -1
- package/platform-browser.metadata.json +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/animations.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Angular v12.1.
|
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
|
-
|
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.
|
2407
|
+
var VERSION = new i0.Version('12.1.1');
|
2407
2408
|
|
2408
2409
|
/**
|
2409
2410
|
* @license
|