Release 5.7.1 (#1312)
This commit is contained in:
@@ -460,7 +460,7 @@ function P(resolver) {
|
||||
throw new TypeError('Promise resolver ' + resolver + ' is not a function');
|
||||
}
|
||||
|
||||
if (this instanceof Promise === false) {
|
||||
if (this instanceof P === false) {
|
||||
throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.');
|
||||
}
|
||||
|
||||
@@ -1049,7 +1049,7 @@ var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMA
|
||||
mark: noop$1,
|
||||
measure: noop$1
|
||||
};
|
||||
var preamble = "FA \"5.7.0\"";
|
||||
var preamble = "FA \"5.7.1\"";
|
||||
|
||||
var begin = function begin(name) {
|
||||
p.mark("".concat(preamble, " ").concat(name, " begins"));
|
||||
@@ -1857,9 +1857,13 @@ function onTree(root) {
|
||||
hclAdd('complete');
|
||||
hclRemove('pending');
|
||||
if (typeof callback === 'function') callback();
|
||||
mark();
|
||||
resolve();
|
||||
});
|
||||
}).catch(reject).finally(mark);
|
||||
}).catch(function () {
|
||||
mark();
|
||||
reject();
|
||||
});
|
||||
});
|
||||
}
|
||||
function onNode(node) {
|
||||
|
||||
@@ -466,7 +466,7 @@
|
||||
throw new TypeError('Promise resolver ' + resolver + ' is not a function');
|
||||
}
|
||||
|
||||
if (this instanceof Promise === false) {
|
||||
if (this instanceof P === false) {
|
||||
throw new TypeError('Failed to construct \'Promise\': Please use the \'new\' operator, this object constructor cannot be called as a function.');
|
||||
}
|
||||
|
||||
@@ -1055,7 +1055,7 @@
|
||||
mark: noop$1,
|
||||
measure: noop$1
|
||||
};
|
||||
var preamble = "FA \"5.7.0\"";
|
||||
var preamble = "FA \"5.7.1\"";
|
||||
|
||||
var begin = function begin(name) {
|
||||
p.mark("".concat(preamble, " ").concat(name, " begins"));
|
||||
@@ -1863,9 +1863,13 @@
|
||||
hclAdd('complete');
|
||||
hclRemove('pending');
|
||||
if (typeof callback === 'function') callback();
|
||||
mark();
|
||||
resolve();
|
||||
});
|
||||
}).catch(reject).finally(mark);
|
||||
}).catch(function () {
|
||||
mark();
|
||||
reject();
|
||||
});
|
||||
});
|
||||
}
|
||||
function onNode(node) {
|
||||
|
||||
@@ -47,9 +47,9 @@
|
||||
"node": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-common-types": "^0.2.13"
|
||||
"@fortawesome/fontawesome-common-types": "^0.2.14"
|
||||
},
|
||||
"version": "1.2.13",
|
||||
"version": "1.2.14",
|
||||
"name": "@fortawesome/fontawesome-svg-core",
|
||||
"main": "index.js",
|
||||
"module": "index.es.js",
|
||||
|
||||
Reference in New Issue
Block a user