array-some-x
Advanced tools
Comparing version 3.0.14 to 3.1.0
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-08-05T18:52:36.836Z", | ||
"date": "2019-08-14T15:44:04.422Z", | ||
"describe": "", | ||
"description": "Tests whether some element passes the provided function.", | ||
"file": "array-some-x.js", | ||
"hash": "081e9e9c7af4da654961", | ||
"hash": "821d7c8e2ebef94e7278", | ||
"license": "MIT", | ||
"version": "3.0.14" | ||
"version": "3.1.0" | ||
} | ||
@@ -27,15 +27,44 @@ */ | ||
if (typeof self !== 'undefined') { | ||
return self; | ||
} | ||
var ObjectCtr = {}.constructor; | ||
var objectPrototype = ObjectCtr.prototype; | ||
var defineProperty = ObjectCtr.defineProperty; | ||
var $globalThis; | ||
var getGlobalFallback = function() { | ||
if (typeof self !== 'undefined') { | ||
return self; | ||
} | ||
if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
if (typeof global !== 'undefined') { | ||
return global; | ||
if (typeof global !== 'undefined') { | ||
return global; | ||
} | ||
return void 0; | ||
}; | ||
var returnThis = function() { | ||
return this; | ||
}; | ||
try { | ||
if (defineProperty) { | ||
defineProperty(objectPrototype, '$$globalThis$$', { | ||
get: returnThis, | ||
configurable: true | ||
}); | ||
} else { | ||
objectPrototype.__defineGetter__('$$globalThis$$', returnThis); | ||
} | ||
$globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$; | ||
delete objectPrototype.$$globalThis$$; | ||
return $globalThis; | ||
} catch (error) { | ||
return getGlobalFallback(); | ||
} | ||
return Function('return this')(); | ||
}()), function() { | ||
@@ -1103,2 +1132,3 @@ return /******/ (function(modules) { // webpackBootstrap | ||
* @param {*} callback - The argument to be tested. | ||
* @param {string} [message] - An alternative user message. | ||
* @throws {TypeError} Throws if `callback` is not a function. | ||
@@ -1108,6 +1138,6 @@ * @returns {*} Returns `callback` if it is function. | ||
var assert_is_function_x_esm_assertIsFunction = function assertIsFunction(callback) { | ||
var assert_is_function_x_esm_assertIsFunction = function assertIsFunction(callback, message) { | ||
if (is_function_x_esm(callback) === false) { | ||
var msg = is_primitive_default()(callback) ? to_string_symbols_supported_x_esm(callback) : '#<Object>'; | ||
throw new TypeError("".concat(msg, " is not a function")); | ||
var msg = arguments.length > 1 ? to_string_symbols_supported_x_esm(message) : "".concat(is_primitive_default()(callback) ? to_string_symbols_supported_x_esm(callback) : '#<Object>', " is not a function"); | ||
throw new TypeError(msg); | ||
} | ||
@@ -1309,3 +1339,4 @@ | ||
*/ | ||
/* harmony default export */ var nan_x_esm = (0 / 0); | ||
var constantNAN = 0 / 0; | ||
/* harmony default export */ var nan_x_esm = (constantNAN); | ||
@@ -1489,3 +1520,4 @@ | ||
*/ | ||
/* harmony default export */ var infinity_x_esm = (1 / 0); | ||
var constantInfinity = 1 / 0; | ||
/* harmony default export */ var infinity_x_esm = (constantInfinity); | ||
@@ -1492,0 +1524,0 @@ |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-08-05T18:52:36.836Z", | ||
"date": "2019-08-14T15:44:04.422Z", | ||
"describe": "", | ||
"description": "Tests whether some element passes the provided function.", | ||
"file": "array-some-x.min.js", | ||
"hash": "314f1024d39a6978c6a0", | ||
"hash": "5d52af345b64b7c067de", | ||
"license": "MIT", | ||
"version": "3.0.14" | ||
"version": "3.1.0" | ||
} | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.arraySomeX=t():e.arraySomeX=t()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(4)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.arraySomeX=t():e.arraySomeX=t()}(function(){"use strict";var e,t={}.constructor,n=t.prototype,r=t.defineProperty,o=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},i=function(){return this};try{return r?r(n,"$$globalThis$$",{get:i,configurable:!0}):n.__defineGetter__("$$globalThis$$",i),e="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete n.$$globalThis$$,e}catch(e){return o()}}(),function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(4)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict"; | ||
/*! | ||
@@ -21,3 +21,3 @@ * is-primitive <https://github.com/jonschlinkert/is-primitive> | ||
* Released under the MIT License. | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(6);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(5))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";n.r(t);var r=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{threw:!1,value:e.apply(this,n)}}catch(e){return{threw:!0,value:e}}},o=function(e){return null==e},i=function(e){if(o(e))throw new TypeError("Cannot call method on ".concat(e));return e},c={}.constructor,u=function(e){return c(i(e))},s=function(e){return!!e},a={}.toString,f=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":a.call(e)},l=n(0),p=n.n(l);for(var y=r(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&p()(Symbol(""))}.bind(void 0)),d=!1===y.threw&&!0===y.value,b=d&&p()(Symbol.toStringTag),v=n(1),g=n.n(v),m="Cannot convert a Symbol value to a string",h=m.constructor,w=function(e){if(p()(e))throw new TypeError(m);return h(e)},S=function(e){return w(i(e))},j=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],O="",x=j.length,T=0;T<x;T+=1)j[T].es2016&&j[T].string,j[T].es2018&&(O+=j[T].string);var E=O,P=new(0,/none/.constructor)("^[".concat(E,"]+")),F="".replace,N=function(e){return F.call(S(e),P,"")},M=new(0,/none/.constructor)("[".concat(E,"]+$")),_="".replace,C=function(e){return _.call(S(e),M,"")},k=function(e){return N(C(e))},D=new(0,/none/.constructor)("[".concat(E,"]+"),"g"),$=" ".replace,A=function(e){return $.call(k(e),D," ")},I=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,B="".replace,X=function(e,t){return B.call(S(e),I,arguments.length>1?w(t):"")},q=r.constructor,L=r.toString,G=/^class /,H=G.test,R=!1===r(function(){return q('"use strict"; return class My {};')()}).threw,U=function(e){return H.call(G,A(X(L.call(e)," ")))},V=function(e){var t=r(U,e);return!1===t.threw&&t.value},z=function(e,t){return!g()(e)&&(b?function(e,t){return!(R&&!1===t&&V(e)||!1!==r.call(e,L).threw)}(e,s(t)):(!R||!1!==s(t)||!V(e))&&function(e){var t=f(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},J=d&&Symbol.prototype.toString,K="function"==typeof J&&p.a,Q="".constructor,W=function(e){return K&&K(e)?J.call(e):Q(e)},Y=function(e){if(!1===z(e)){var t=g()(e)?W(e):"#<Object>";throw new TypeError("".concat(t," is not a function"))}return e},Z=n(2),ee=n.n(Z),te="string".constructor,ne=(0).constructor,re=d&&Symbol.toPrimitive,oe=d&&Symbol.prototype.valueOf,ie=["toString","valueOf"],ce=["valueOf","toString"],ue=function(e,t){i(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var n,r,o="string"===t?ie:ce,c=0;c<2;c+=1)if(n=e[o[c]],z(n)&&(r=n.call(e),g()(r)))return r;throw new TypeError("No default value")},se=function(e,t){if(t){if(e===te)return"string";if(e===ne)return"number"}return"default"},ae=function(e){if(d){if(re)return function(e,t){var n=e[t];if(!1===o(n)){if(!1===z(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,re);if(p()(e))return oe}},fe=function(e){var t=e.exoticToPrim,n=e.input,r=e.hint,o=t.call(n,r);if(g()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},le=function(e,t){var n="default"===t&&(ee()(e)||p()(e))?"string":t;return ue(e,"default"===n?"number":n)},pe=function(e,t){if(g()(e))return e;var n=se(t,arguments.length>1),r=ae(e);return void 0===r?le(e,n):fe({exoticToPrim:r,input:e,hint:n})},ye=parseInt,de=(0).constructor,be="".charAt,ve=/^[-+]?0[xX]/,ge=ve.test,me=function(e,t){var n=N(w(e));return""===be.call(n,0)?NaN:ye(n,de(t)||(ge.call(ve,n)?16:10))},he=2..constructor,we="Cannot convert a Symbol value to a number".slice,Se=/^0b[01]+$/i,je=Se.test,Oe=/^0o[0-7]+$/i,xe=new(0,Se.constructor)("[ ]","g"),Te=/^[-+]0x[0-9a-f]+$/i,Ee=function(e,t){return me(we.call(e,2),t)},Pe=function(e,t){return function(e){return je.call(Se,e)}(t)?e(Ee(t,2)):function(e){return je.call(Oe,e)}(t)?e(Ee(t,8)):null},Fe=function(e,t){var n=Pe(e,t);if(null!==n)return n;if(function(e){return je.call(xe,e)}(t)||function(e){return je.call(Te,e)}(t))return NaN;var r=k(t);return r!==t?e(r):null},Ne=function e(t){var n=function(e){if(p()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(pe(t,he));if("string"==typeof n){var r=Fe(e,n);if(null!==r)return r}return he(n)},Me=function(e){return e!=e},_e=function(e){return"number"==typeof e&&!1===Me(e)&&e!==1/0&&e!==-1/0},Ce=function(e){var t=Ne(e);return 0===t||Me(t)?t:t>0?1:-1},ke=Math.abs,De=Math.floor,$e=function(e){var t=Ne(e);return Me(t)?0:0===t||!1===_e(t)?t:Ce(t)*De(ke(t))},Ae=function(e){var t=$e(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Ie={}.constructor("a"),Be="a"===Ie[0]&&0 in Ie,Xe=n(3),qe="".split,Le=!1===Be&&"function"==typeof qe&&n.n(Xe).a,Ge=function(e){return Le&&Le(e)?qe.call(e,""):e};function He(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Re=function(e){var t=He(e,6),n=t[0],r=t[1],o=t[2],i=t[3],c=t[4],u=t[5],s=i[c];return n?o(s,c,u):o.call(r,s,c,u)},Ue=function(e){var t=Ge(e);return[t,Ae(t.length)]},Ve=function(e,t){var n=u(e);Y(t);var r=Ue(n),o=He(r,2),i=o[0],c=o[1],s=arguments.length>2?arguments[2]:void 0,a=void 0===s;if(c)for(var f=0;f<c;f+=1)if(Re([a,s,t,i,f,n]))return!0;return!1};n.d(t,"implementation",function(){return Ye});var ze,Je,Ke=[].some,Qe="function"==typeof Ke&&Ke,We=s(Qe)&&(ze=0,!1===(Je=r.call([1,2],Qe,function(e){return ze+=e,!1})).threw&&!1===Je.value&&3===ze)&&function(){var e="",t=r.call(u("abc"),Qe,function(t,n){return e+=t,1===n});return!1===t.threw&&!0===t.value&&"ab"===e}()&&function(){var e=0,t=r.call(function(){return arguments}(1,2,3),Qe,function(t,n){return e+=t,2===n});return!1===t.threw&&!0===t.value&&6===e}()&&function(){var e=0,t=r.call({0:1,1:2,3:3,4:4,length:4},Qe,function(t){return e+=t,!1});return!1===t.threw&&!1===t.value&&6===e}()&&function(){var e="undefined"!=typeof document&&document;if(e){var t=null,n=e.createDocumentFragment(),o=e.createElement("div");n.appendChild(o);var i=r.call(n.childNodes,Qe,function(e){return t=e,e});return!1===i.threw&&!0===i.value&&t===o}return!0}()&&function(){if(function(){return!1===s(this)}()){var e=null,t=r.call([1],Qe,function(){e="string"==typeof this},"x");return!1===t.threw&&!1===t.value&&!0===e}return!0}()&&function(){var e={},t=r(Function("nativeSome","spy","castBoolean",'return nativeSome.call("foo", function (_, __, context) {if (castBoolean(context) === false || typeof context !== "object") {spy.value = true;}});'),Qe,e,s);return!1===t.threw&&!1===t.value&&!0!==e.value}(),Ye=function(e,t){var n=u(e);Y(t);var r=function(){var e=arguments[1];return!!(e in arguments[2]&&t.call(this,arguments[0],e,n))};return Ve(n,r,arguments[2])},Ze=We?function(e,t){i(e);var n=[Y(t)];return arguments.length>2&&(n[1]=arguments[2]),Qe.apply(e,n)}:Ye;t.default=Ze}])}); | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=String.prototype.valueOf,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(6);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,n(5))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";n.r(t);var r=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{threw:!1,value:e.apply(this,n)}}catch(e){return{threw:!0,value:e}}},o=function(e){return null==e},i=function(e){if(o(e))throw new TypeError("Cannot call method on ".concat(e));return e},c={}.constructor,u=function(e){return c(i(e))},s=function(e){return!!e},a={}.toString,f=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":a.call(e)},l=n(0),p=n.n(l);for(var y=r(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&p()(Symbol(""))}.bind(void 0)),d=!1===y.threw&&!0===y.value,b=d&&p()(Symbol.toStringTag),g=n(1),v=n.n(g),m="Cannot convert a Symbol value to a string",h=m.constructor,w=function(e){if(p()(e))throw new TypeError(m);return h(e)},S=function(e){return w(i(e))},j=[{code:9,description:"Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\t"},{code:10,description:"Line Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\n"},{code:11,description:"Vertical Tab",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\v"},{code:12,description:"Form Feed",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\f"},{code:13,description:"Carriage Return",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\r"},{code:32,description:"Space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:160,description:"No-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:5760,description:"Ogham space mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:6158,description:"Mongolian vowel separator",es5:!0,es2015:!0,es2016:!0,es2017:!1,es2018:!1,string:""},{code:8192,description:"En quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8193,description:"Em quad",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8194,description:"En space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8195,description:"Em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8196,description:"Three-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8197,description:"Four-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8198,description:"Six-per-em space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8199,description:"Figure space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8200,description:"Punctuation space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8201,description:"Thin space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8202,description:"Hair space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8232,description:"Line separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2028"},{code:8233,description:"Paragraph separator",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\u2029"},{code:8239,description:"Narrow no-break space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:8287,description:"Medium mathematical space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:12288,description:"Ideographic space",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:" "},{code:65279,description:"Byte Order Mark",es5:!0,es2015:!0,es2016:!0,es2017:!0,es2018:!0,string:"\ufeff"}],O="",x=j.length,T=0;T<x;T+=1)j[T].es2016&&j[T].string,j[T].es2018&&(O+=j[T].string);var $=O,P=new(0,/none/.constructor)("^[".concat($,"]+")),E="".replace,_=function(e){return E.call(S(e),P,"")},F=new(0,/none/.constructor)("[".concat($,"]+$")),N="".replace,M=function(e){return N.call(S(e),F,"")},C=function(e){return _(M(e))},k=new(0,/none/.constructor)("[".concat($,"]+"),"g"),D=" ".replace,A=function(e){return D.call(C(e),k," ")},I=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,B="".replace,X=function(e,t){return B.call(S(e),I,arguments.length>1?w(t):"")},q=r.constructor,G=r.toString,L=/^class /,H=L.test,R=!1===r(function(){return q('"use strict"; return class My {};')()}).threw,U=function(e){return H.call(L,A(X(G.call(e)," ")))},V=function(e){var t=r(U,e);return!1===t.threw&&t.value},z=function(e,t){return!v()(e)&&(b?function(e,t){return!(R&&!1===t&&V(e)||!1!==r.call(e,G).threw)}(e,s(t)):(!R||!1!==s(t)||!V(e))&&function(e){var t=f(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},J=d&&Symbol.prototype.toString,K="function"==typeof J&&p.a,Q="".constructor,W=function(e){return K&&K(e)?J.call(e):Q(e)},Y=function(e,t){if(!1===z(e)){var n=arguments.length>1?W(t):"".concat(v()(e)?W(e):"#<Object>"," is not a function");throw new TypeError(n)}return e},Z=n(2),ee=n.n(Z),te="string".constructor,ne=(0).constructor,re=d&&Symbol.toPrimitive,oe=d&&Symbol.prototype.valueOf,ie=["toString","valueOf"],ce=["valueOf","toString"],ue=function(e,t){i(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var n,r,o="string"===t?ie:ce,c=0;c<2;c+=1)if(n=e[o[c]],z(n)&&(r=n.call(e),v()(r)))return r;throw new TypeError("No default value")},se=function(e,t){if(t){if(e===te)return"string";if(e===ne)return"number"}return"default"},ae=function(e){if(d){if(re)return function(e,t){var n=e[t];if(!1===o(n)){if(!1===z(n))throw new TypeError("".concat(n," returned for property ").concat(t," of object ").concat(e," is not a function"));return n}}(e,re);if(p()(e))return oe}},fe=function(e){var t=e.exoticToPrim,n=e.input,r=e.hint,o=t.call(n,r);if(v()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},le=function(e,t){var n="default"===t&&(ee()(e)||p()(e))?"string":t;return ue(e,"default"===n?"number":n)},pe=function(e,t){if(v()(e))return e;var n=se(t,arguments.length>1),r=ae(e);return void 0===r?le(e,n):fe({exoticToPrim:r,input:e,hint:n})},ye=parseInt,de=(0).constructor,be="".charAt,ge=/^[-+]?0[xX]/,ve=ge.test,me=function(e,t){var n=_(w(e));return""===be.call(n,0)?NaN:ye(n,de(t)||(ve.call(ge,n)?16:10))},he=2..constructor,we="Cannot convert a Symbol value to a number".slice,Se=/^0b[01]+$/i,je=Se.test,Oe=/^0o[0-7]+$/i,xe=new(0,Se.constructor)("[ ]","g"),Te=/^[-+]0x[0-9a-f]+$/i,$e=function(e,t){return me(we.call(e,2),t)},Pe=function(e,t){return function(e){return je.call(Se,e)}(t)?e($e(t,2)):function(e){return je.call(Oe,e)}(t)?e($e(t,8)):null},Ee=function(e,t){var n=Pe(e,t);if(null!==n)return n;if(function(e){return je.call(xe,e)}(t)||function(e){return je.call(Te,e)}(t))return NaN;var r=C(t);return r!==t?e(r):null},_e=function e(t){var n=function(e){if(p()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(pe(t,he));if("string"==typeof n){var r=Ee(e,n);if(null!==r)return r}return he(n)},Fe=function(e){return e!=e},Ne=function(e){return"number"==typeof e&&!1===Fe(e)&&e!==1/0&&e!==-1/0},Me=function(e){var t=_e(e);return 0===t||Fe(t)?t:t>0?1:-1},Ce=Math.abs,ke=Math.floor,De=function(e){var t=_e(e);return Fe(t)?0:0===t||!1===Ne(t)?t:Me(t)*ke(Ce(t))},Ae=function(e){var t=De(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Ie={}.constructor("a"),Be="a"===Ie[0]&&0 in Ie,Xe=n(3),qe="".split,Ge=!1===Be&&"function"==typeof qe&&n.n(Xe).a,Le=function(e){return Ge&&Ge(e)?qe.call(e,""):e};function He(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Re=function(e){var t=He(e,6),n=t[0],r=t[1],o=t[2],i=t[3],c=t[4],u=t[5],s=i[c];return n?o(s,c,u):o.call(r,s,c,u)},Ue=function(e){var t=Le(e);return[t,Ae(t.length)]},Ve=function(e,t){var n=u(e);Y(t);var r=Ue(n),o=He(r,2),i=o[0],c=o[1],s=arguments.length>2?arguments[2]:void 0,a=void 0===s;if(c)for(var f=0;f<c;f+=1)if(Re([a,s,t,i,f,n]))return!0;return!1};n.d(t,"implementation",function(){return Ye});var ze,Je,Ke=[].some,Qe="function"==typeof Ke&&Ke,We=s(Qe)&&(ze=0,!1===(Je=r.call([1,2],Qe,function(e){return ze+=e,!1})).threw&&!1===Je.value&&3===ze)&&function(){var e="",t=r.call(u("abc"),Qe,function(t,n){return e+=t,1===n});return!1===t.threw&&!0===t.value&&"ab"===e}()&&function(){var e=0,t=r.call(function(){return arguments}(1,2,3),Qe,function(t,n){return e+=t,2===n});return!1===t.threw&&!0===t.value&&6===e}()&&function(){var e=0,t=r.call({0:1,1:2,3:3,4:4,length:4},Qe,function(t){return e+=t,!1});return!1===t.threw&&!1===t.value&&6===e}()&&function(){var e="undefined"!=typeof document&&document;if(e){var t=null,n=e.createDocumentFragment(),o=e.createElement("div");n.appendChild(o);var i=r.call(n.childNodes,Qe,function(e){return t=e,e});return!1===i.threw&&!0===i.value&&t===o}return!0}()&&function(){if(function(){return!1===s(this)}()){var e=null,t=r.call([1],Qe,function(){e="string"==typeof this},"x");return!1===t.threw&&!1===t.value&&!0===e}return!0}()&&function(){var e={},t=r(Function("nativeSome","spy","castBoolean",'return nativeSome.call("foo", function (_, __, context) {if (castBoolean(context) === false || typeof context !== "object") {spy.value = true;}});'),Qe,e,s);return!1===t.threw&&!1===t.value&&!0!==e.value}(),Ye=function(e,t){var n=u(e);Y(t);var r=function(){var e=arguments[1];return!!(e in arguments[2]&&t.call(this,arguments[0],e,n))};return Ve(n,r,arguments[2])},Ze=We?function(e,t){i(e);var n=[Y(t)];return arguments.length>2&&(n[1]=arguments[2]),Qe.apply(e,n)}:Ye;t.default=Ze}])}); | ||
//# sourceMappingURL=array-some-x.min.js.map |
{ | ||
"name": "array-some-x", | ||
"version": "3.0.14", | ||
"version": "3.1.0", | ||
"description": "Tests whether some element passes the provided function.", | ||
@@ -42,2 +42,3 @@ "homepage": "https://github.com/Xotic750/array-some-x", | ||
"test:ci": "npm run test -- --ci --maxWorkers=2", | ||
"test:ci-coveralls": "npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls", | ||
"test:coverage": "npm run test -- --coverage" | ||
@@ -54,8 +55,8 @@ }, | ||
"dependencies": { | ||
"array-any-x": "^1.0.1", | ||
"assert-is-function-x": "^3.0.19", | ||
"attempt-x": "^2.0.23", | ||
"require-object-coercible-x": "^2.0.27", | ||
"to-boolean-x": "^2.0.25", | ||
"to-object-x": "^2.0.21" | ||
"array-any-x": "^1.1.0", | ||
"assert-is-function-x": "^3.1.0", | ||
"attempt-x": "^2.1.0", | ||
"require-object-coercible-x": "^2.1.0", | ||
"to-boolean-x": "^2.1.0", | ||
"to-object-x": "^2.2.0" | ||
}, | ||
@@ -70,5 +71,6 @@ "devDependencies": { | ||
"@babel/runtime": "^7.5.5", | ||
"@types/jest": "^24.0.16", | ||
"@types/node": "^12.6.9", | ||
"@xotic750/eslint-config-recommended": "^1.0.5", | ||
"@types/jest": "^24.0.17", | ||
"@types/node": "^12.7.1", | ||
"@types/webpack": "^4.32.1", | ||
"@xotic750/eslint-config-recommended": "^1.1.2", | ||
"babel-core": "^7.0.0-0", | ||
@@ -78,5 +80,6 @@ "babel-eslint": "^10.0.2", | ||
"babel-plugin-lodash": "^3.3.4", | ||
"caniuse-lite": "^1.0.30000988", | ||
"caniuse-lite": "^1.0.30000989", | ||
"coveralls": "^3.0.6", | ||
"cross-env": "^5.2.0", | ||
"eslint": "=5.16.0", | ||
"eslint": "^6.1.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
@@ -91,6 +94,6 @@ "eslint-import-resolver-webpack": "^0.11.1", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.14.1", | ||
"eslint-plugin-jest": "^22.15.1", | ||
"eslint-plugin-jsdoc": "^15.8.0", | ||
"eslint-plugin-json": "^1.4.0", | ||
"eslint-plugin-lodash": "^5.1.0", | ||
"eslint-plugin-lodash": "^6.0.0", | ||
"eslint-plugin-no-use-extend-native": "^0.4.1", | ||
@@ -118,2 +121,3 @@ "eslint-plugin-prefer-object-spread": "^1.2.1", | ||
"webpack-cli": "^3.3.6", | ||
"webpack-global-object-x": "^1.0.0", | ||
"webpack-merge": "^4.2.1" | ||
@@ -120,0 +124,0 @@ }, |
@@ -38,2 +38,8 @@ <a | ||
</a> | ||
<a | ||
href="https://coveralls.io/github/Xotic750/array-some-x?branch=master" | ||
title="Coverage Status"> | ||
<img src="https://coveralls.io/repos/github/Xotic750/array-some-x/badge.svg?branch=master" | ||
alt="Coverage Status" height="18"> | ||
</a> | ||
@@ -40,0 +46,0 @@ <a name="module_array-some-x"></a> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
244087
1867
84
56
Updatedarray-any-x@^1.1.0
Updatedassert-is-function-x@^3.1.0
Updatedattempt-x@^2.1.0
Updatedto-boolean-x@^2.1.0
Updatedto-object-x@^2.2.0