X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fcore-js%2Fmodules%2Fesnext.map.some.js;h=23365c7457b1608f734f3d5700efb59684118663;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=56cc03a74e898dc8363fd894c0162e3c210ede7c;hpb=3aba54c891969552833dbc350b3139e944e17a97;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.map.some.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.map.some.js index 56cc03a7..23365c74 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.map.some.js +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.map.some.js @@ -12,9 +12,9 @@ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, { some: function some(callbackfn /* , thisArg */) { var map = anObject(this); var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - return iterate(iterator, function (key, value) { - if (boundFunction(value, key, map)) return iterate.stop(); - }, undefined, true, true).stopped; + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(iterator, function (key, value, stop) { + if (boundFunction(value, key, map)) return stop(); + }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).stopped; } });