Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2021-07-27 22:26:09 +00:00
parent 3ba511a8f1
commit 1c4c64199f
175 changed files with 13227 additions and 15136 deletions

View file

@ -29,9 +29,9 @@ function iterableToString(obj) {
function mapToString(map) {
var representation = "";
/* eslint-disable-next-line local-rules/no-prototype-methods */
map.forEach(function(value, key) {
representation += "[" + stringify(key) + "," + stringify(value) + "],";
// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
map.forEach(function (value, key) {
representation += `[${stringify(key)},${stringify(value)}],`;
});
representation = slice(representation, 0, -1);
@ -48,9 +48,9 @@ function mapToString(map) {
function genericIterableToString(iterable) {
var representation = "";
/* eslint-disable-next-line local-rules/no-prototype-methods */
iterable.forEach(function(value) {
representation += stringify(value) + ",";
// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
iterable.forEach(function (value) {
representation += `${stringify(value)},`;
});
representation = slice(representation, 0, -1);
@ -65,7 +65,7 @@ function genericIterableToString(iterable) {
* @returns {string} A string representation of `item`
*/
function stringify(item) {
return typeof item === "string" ? "'" + item + "'" : valueToString(item);
return typeof item === "string" ? `'${item}'` : valueToString(item);
}
module.exports = iterableToString;