Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2022-01-29 01:49:46 +00:00
parent 9673b562d9
commit 6410c0691e
28 changed files with 8738 additions and 3194 deletions

View file

@ -120,16 +120,16 @@ var proxyApi = {
var args = slice(arguments, 1);
var formatter;
return (format || "").replace(/%(.)/g, function (match, specifyer) {
formatter = proxyApi.formatters[specifyer];
return (format || "").replace(/%(.)/g, function (match, specifier) {
formatter = proxyApi.formatters[specifier];
if (typeof formatter === "function") {
return String(formatter(spyInstance, args));
} else if (!isNaN(parseInt(specifyer, 10))) {
return sinonFormat(args[specifyer - 1]);
} else if (!isNaN(parseInt(specifier, 10))) {
return sinonFormat(args[specifier - 1]);
}
return `%${specifyer}`;
return `%${specifier}`;
});
},