update dependencies and push version

This commit is contained in:
David Miller
2020-01-14 18:24:29 -05:00
parent 08c6a31042
commit cfc7db04e7
189 changed files with 36879 additions and 8316 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Font Awesome Free 5.10.2 by @fontawesome - https://fontawesome.com
* Font Awesome Free 5.12.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
(function () {
@@ -1096,7 +1096,7 @@
mark: noop$1,
measure: noop$1
};
var preamble = "FA \"5.10.2\"";
var preamble = "FA \"5.12.0\"";
var begin = function begin(name) {
p.mark("".concat(preamble, " ").concat(name, " begins"));
@@ -1362,6 +1362,7 @@
var forSvg = new RegExp("".concat(config.familyPrefix, "-.*"));
delete abstract[0].attributes.style;
delete abstract[0].attributes.id;
var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
if (cls === config.replacementClass || cls.match(forSvg)) {
acc.toSvg.push(cls);
@@ -1808,6 +1809,12 @@
return resolve(asFoundIcon(icon));
}
var headers = {};
if (_typeof(WINDOW.FontAwesomeKitConfig) === 'object' && typeof window.FontAwesomeKitConfig.token === 'string') {
headers['fa-kit-token'] = WINDOW.FontAwesomeKitConfig.token;
}
if (iconName && prefix && !config.showMissingIcons) {
reject(new MissingIcon("Icon is missing for prefix ".concat(prefix, " with icon name ").concat(iconName)));
} else {