Release 5.7.1 (#1312)

This commit is contained in:
Rob Madole
2019-02-01 13:14:03 -06:00
committed by GitHub
parent d6ab2e085a
commit be9aa60459
137 changed files with 9341 additions and 200 deletions

View File

@@ -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) {