Comparing version 2.0.15 to 2.1.0
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2015-2017", | ||
"date": "2019-08-05T18:55:08.637Z", | ||
"date": "2019-08-14T15:48:42.551Z", | ||
"describe": "", | ||
"description": "Detect whether or not an object is an ES6 SET.", | ||
"file": "is-set-x.js", | ||
"hash": "74443afd119b9bc05cbe", | ||
"hash": "8b2296b6b77b7e399f1f", | ||
"license": "MIT", | ||
"version": "2.0.15" | ||
"version": "2.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() { | ||
@@ -1330,3 +1359,4 @@ return /******/ (function(modules) { // webpackBootstrap | ||
*/ | ||
/* harmony default export */ var nan_x_esm = (0 / 0); | ||
var constantNAN = 0 / 0; | ||
/* harmony default export */ var nan_x_esm = (constantNAN); | ||
@@ -1510,3 +1540,4 @@ | ||
*/ | ||
/* harmony default export */ var infinity_x_esm = (1 / 0); | ||
var constantInfinity = 1 / 0; | ||
/* harmony default export */ var infinity_x_esm = (constantInfinity); | ||
@@ -1513,0 +1544,0 @@ |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2015-2017", | ||
"date": "2019-08-05T18:55:08.637Z", | ||
"date": "2019-08-14T15:48:42.551Z", | ||
"describe": "", | ||
"description": "Detect whether or not an object is an ES6 SET.", | ||
"file": "is-set-x.min.js", | ||
"hash": "1116fe0b17bd307016c0", | ||
"hash": "e0792154643f2ef7780f", | ||
"license": "MIT", | ||
"version": "2.0.15" | ||
"version": "2.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.isSetX=t():e.isSetX=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 r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(4)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.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,r){"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.isSetX=t():e.isSetX=t()}(function(){"use strict";var e,t={}.constructor,r=t.prototype,n=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 n?n(r,"$$globalThis$$",{get:i,configurable:!0}):r.__defineGetter__("$$globalThis$$",i),e="undefined"==typeof $$globalThis$$?o():$$globalThis$$,delete r.$$globalThis$$,e}catch(e){return o()}}(),function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=7)}([function(e,t,r){"use strict";var n=Object.prototype.toString;if(r(4)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==n.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,r){"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,r){"use strict";var n=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 n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";var n=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 n.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(6);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(5))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"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"),r=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(r))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 n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[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,r){"use strict";r.r(t);var n=function(e){return null==e},o=function(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e},i={}.constructor,u=function(e){return i(o(e))},c=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}},s=r(0),f=r.n(s);for(var a=c(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&f()(Symbol(""))}.bind(void 0)),l=!1===a.threw&&!0===a.value,p=r(1),y=r.n(p),b=r(2),d=r.n(b),g=function(e){return!!e},v={}.toString,m=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":v.call(e)},S=l&&f()(Symbol.toStringTag),h="Cannot convert a Symbol value to a string",w=h.constructor,j=function(e){if(f()(e))throw new TypeError(h);return w(e)},O=function(e){return j(o(e))},_=[{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"}],x="",T=_.length,P=0;P<T;P+=1)_[P].es2016&&_[P].string,_[P].es2018&&(x+=_[P].string);var E=x,F=new(0,/none/.constructor)("^[".concat(E,"]+")),M="".replace,N=function(e){return M.call(O(e),F,"")},k=new(0,/none/.constructor)("[".concat(E,"]+$")),$="".replace,C=function(e){return $.call(O(e),k,"")},D=function(e){return N(C(e))},A=new(0,/none/.constructor)("[".concat(E,"]+"),"g"),I=" ".replace,G=function(e){return I.call(D(e),A," ")},X=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,q="".replace,L=function(e,t){return q.call(O(e),X,arguments.length>1?j(t):"")},R=c.constructor,z=c.toString,B=/^class /,H=B.test,U=!1===c(function(){return R('"use strict"; return class My {};')()}).threw,V=function(e){return H.call(B,G(L(z.call(e)," ")))},J=function(e){var t=c(V,e);return!1===t.threw&&t.value},K=function(e,t){return!y()(e)&&(S?function(e,t){return!(U&&!1===t&&J(e)||!1!==c.call(e,z).threw)}(e,g(t)):(!U||!1!==g(t)||!J(e))&&function(e){var t=m(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},Q="string".constructor,W=(0).constructor,Y=l&&Symbol.toPrimitive,Z=l&&Symbol.prototype.valueOf,ee=["toString","valueOf"],te=["valueOf","toString"],re=function(e,t){o(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var r,n,i="string"===t?ee:te,u=0;u<2;u+=1)if(r=e[i[u]],K(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},ne=function(e,t){if(t){if(e===Q)return"string";if(e===W)return"number"}return"default"},oe=function(e){if(l){if(Y)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===K(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,Y);if(f()(e))return Z}},ie=function(e){var t=e.exoticToPrim,r=e.input,n=e.hint,o=t.call(r,n);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},ue=function(e,t){var r="default"===t&&(d()(e)||f()(e))?"string":t;return re(e,"default"===r?"number":r)},ce=function(e,t){if(y()(e))return e;var r=ne(t,arguments.length>1),n=oe(e);return void 0===n?ue(e,r):ie({exoticToPrim:n,input:e,hint:r})};function se(e){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var fe,ae,le,pe=function(e){var t=ce(e,String);return l&&"symbol"===se(t)?t:j(t)},ye={}.hasOwnProperty,be=function(e,t){return ye.call(u(e),pe(t))},de=r(3),ge=r.n(de),ve=l&&Symbol.prototype.toString,me="function"==typeof ve&&f.a,Se="".constructor,he=function(e){return me&&me(e)?ve.call(e):Se(e)},we=parseInt,je=(0).constructor,Oe="".charAt,_e=/^[-+]?0[xX]/,xe=_e.test,Te=function(e,t){var r=N(j(e));return""===Oe.call(r,0)?NaN:we(r,je(t)||(xe.call(_e,r)?16:10))},Pe=2..constructor,Ee="Cannot convert a Symbol value to a number".slice,Fe=/^0b[01]+$/i,Me=Fe.test,Ne=/^0o[0-7]+$/i,ke=new(0,Fe.constructor)("[ ]","g"),$e=/^[-+]0x[0-9a-f]+$/i,Ce=function(e,t){return Te(Ee.call(e,2),t)},De=function(e,t){return function(e){return Me.call(Fe,e)}(t)?e(Ce(t,2)):function(e){return Me.call(Ne,e)}(t)?e(Ce(t,8)):null},Ae=function(e,t){var r=De(e,t);if(null!==r)return r;if(function(e){return Me.call(ke,e)}(t)||function(e){return Me.call($e,e)}(t))return NaN;var n=D(t);return n!==t?e(n):null},Ie=function e(t){var r=function(e){if(f()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ce(t,Pe));if("string"==typeof r){var n=Ae(e,r);if(null!==n)return n}return Pe(r)},Ge=function(e){return e!=e},Xe=function(e){return"number"==typeof e&&!1===Ge(e)&&e!==1/0&&e!==-1/0},qe=function(e){var t=Ie(e);return 0===t||Ge(t)?t:t>0?1:-1},Le=Math.abs,Re=Math.floor,ze=function(e){var t=Ie(e);return Ge(t)?0:0===t||!1===Xe(t)?t:qe(t)*Re(Le(t))},Be=function(e){var t=Ie(e[1]),r=e.length<3?{max:t,min:0}:{max:Ie(e[2]),min:t};if(r.min>r.max)throw new RangeError('"min" must be less than "max"');return r},He=function(e){var t=Ie(e);if(arguments.length<2)return t;var r=Be(arguments),n=r.max,o=r.min;return t<o?o:t>n?n:t},Ue=/^(?:0|[1-9]\d*)$/,Ve=Ue.test,Je=function(e,t){var r=he(e);if(!1===Ve.call(Ue,r))return!1;var n=Ie(r);return arguments.length>1?n<He(ze(t),9007199254740991):n<9007199254740991},Ke={}.propertyIsEnumerable,Qe=function(e,t){return Ke.call(u(e),pe(t))},We="".charAt,Ye={}.constructor,Ze=Ye.getOwnPropertyDescriptor,et="function"==typeof Ze&&Ze,tt=function(e,t){e[pe(t)]=0;var r=c(et,e,t);return!1===r.threw&&0===r.value.value};if(et){var rt="undefined"!=typeof document&&document;if(!rt||tt(rt.createElement("div"),"sentinel")){var nt=c(et,u("abc"),1);if(!1===nt.threw&&nt.value&&"b"===nt.value.value)if(tt({},"sentinel")){var ot=!1===c(et,42,"name").threw;le=l&&tt({},u(Symbol("")))?ot?et:function(e,t){return et(u(e),t)}:ot?function(e,t){return et(e,pe(t))}:function(e,t){return et(u(e),pe(t))}}else fe=et;else ae=et}}if(!1===g(le)||fe||ae){var it,ut,ct=Ye.prototype,st=be(ct,"__defineGetter__");if(st){var ft=ct.__lookupGetter__,at=ct.__lookupSetter__;it=function(e,t){return ft.call(e,t)},ut=function(e,t){return at.call(e,t)}}le=function(e,t){var r,n=u(e),o=pe(t);if(fe&&!1===(r=c.call(u,fe,n,o)).threw)return r.value;var i=ge()(n)&&Je(o,n.length);if(ae&&!1===i&&!1===(r=c.call(u,ae,n,o)).threw)return r.value;var s=void 0;if(!1===i&&!1===be(n,o))return s;if(s={configurable:!1===y()(e)&&!1===i,enumerable:Qe(n,o)},st){var f=n.__proto__,a=n!==ct;a&&(n.__proto__=ct);var l=it(n,o),p=ut(n,o);if(a&&(n.__proto__=f),l||p)return l&&(s.get=l),p&&(s.set=p),s}return i?(s.value=We.call(n,o),s.writable=!1):(s.value=n[o],s.writable=!0),s}}var lt=le,pt=function(e){return!1===y()(e)&&!1===K(e,!0)},yt=function(e){return Xe(e)&&ze(e)===e},bt=function(e){return yt(e)&&e>=-9007199254740991&&e<=9007199254740991},dt=function(e){return bt(e)&&e>=0},gt=function(e){var t=c(function(){return new Set});if(!1===t.threw&&pt(t.value)){var r=c.call(t.value,e.get);if(!1===r.threw&&dt(r.value))return e.get}return null},vt=function(){if("function"==typeof Set){var e=lt(Set.prototype,"size");if(e&&"function"==typeof e.get){var t=gt(e);if(null!==t)return t}}return null}();t.default=function(e){if(null===vt||!1===pt(e))return!1;var t=c.call(e,vt);return!1===t.threw&&dt(t.value)}}])}); | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},function(e,t,r){"use strict";var n=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 n.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,r){"use strict";var n=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 n.call(e),!0}catch(e){return!1}}(e):"[object String]"===o.call(e))}},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(6);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(5))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"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"),r=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(r))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 n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[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,r){"use strict";r.r(t);var n=function(e){return null==e},o=function(e){if(n(e))throw new TypeError("Cannot call method on ".concat(e));return e},i={}.constructor,u=function(e){return i(o(e))},c=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return{threw:!1,value:e.apply(this,r)}}catch(e){return{threw:!0,value:e}}},s=r(0),f=r.n(s);for(var a=c(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&f()(Symbol(""))}.bind(void 0)),l=!1===a.threw&&!0===a.value,p=r(1),y=r.n(p),b=r(2),d=r.n(b),g=function(e){return!!e},v={}.toString,m=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":v.call(e)},h=l&&f()(Symbol.toStringTag),S="Cannot convert a Symbol value to a string",w=S.constructor,j=function(e){if(f()(e))throw new TypeError(S);return w(e)},O=function(e){return j(o(e))},_=[{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"}],x="",$=_.length,T=0;T<$;T+=1)_[T].es2016&&_[T].string,_[T].es2018&&(x+=_[T].string);var P=x,E=new(0,/none/.constructor)("^[".concat(P,"]+")),M="".replace,N=function(e){return M.call(O(e),E,"")},F=new(0,/none/.constructor)("[".concat(P,"]+$")),k="".replace,C=function(e){return k.call(O(e),F,"")},D=function(e){return N(C(e))},A=new(0,/none/.constructor)("[".concat(P,"]+"),"g"),G=" ".replace,I=function(e){return G.call(D(e),A," ")},X=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,q="".replace,L=function(e,t){return q.call(O(e),X,arguments.length>1?j(t):"")},R=c.constructor,z=c.toString,B=/^class /,H=B.test,U=!1===c(function(){return R('"use strict"; return class My {};')()}).threw,V=function(e){return H.call(B,I(L(z.call(e)," ")))},J=function(e){var t=c(V,e);return!1===t.threw&&t.value},K=function(e,t){return!y()(e)&&(h?function(e,t){return!(U&&!1===t&&J(e)||!1!==c.call(e,z).threw)}(e,g(t)):(!U||!1!==g(t)||!J(e))&&function(e){var t=m(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},Q="string".constructor,W=(0).constructor,Y=l&&Symbol.toPrimitive,Z=l&&Symbol.prototype.valueOf,ee=["toString","valueOf"],te=["valueOf","toString"],re=function(e,t){o(e),function(e){if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"')}(t);for(var r,n,i="string"===t?ee:te,u=0;u<2;u+=1)if(r=e[i[u]],K(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},ne=function(e,t){if(t){if(e===Q)return"string";if(e===W)return"number"}return"default"},oe=function(e){if(l){if(Y)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===K(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,Y);if(f()(e))return Z}},ie=function(e){var t=e.exoticToPrim,r=e.input,n=e.hint,o=t.call(r,n);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},ue=function(e,t){var r="default"===t&&(d()(e)||f()(e))?"string":t;return re(e,"default"===r?"number":r)},ce=function(e,t){if(y()(e))return e;var r=ne(t,arguments.length>1),n=oe(e);return void 0===n?ue(e,r):ie({exoticToPrim:n,input:e,hint:r})};function se(e){return(se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var fe,ae,le,pe=function(e){var t=ce(e,String);return l&&"symbol"===se(t)?t:j(t)},ye={}.hasOwnProperty,be=function(e,t){return ye.call(u(e),pe(t))},de=r(3),ge=r.n(de),ve=l&&Symbol.prototype.toString,me="function"==typeof ve&&f.a,he="".constructor,Se=function(e){return me&&me(e)?ve.call(e):he(e)},we=parseInt,je=(0).constructor,Oe="".charAt,_e=/^[-+]?0[xX]/,xe=_e.test,$e=function(e,t){var r=N(j(e));return""===Oe.call(r,0)?NaN:we(r,je(t)||(xe.call(_e,r)?16:10))},Te=2..constructor,Pe="Cannot convert a Symbol value to a number".slice,Ee=/^0b[01]+$/i,Me=Ee.test,Ne=/^0o[0-7]+$/i,Fe=new(0,Ee.constructor)("[ ]","g"),ke=/^[-+]0x[0-9a-f]+$/i,Ce=function(e,t){return $e(Pe.call(e,2),t)},De=function(e,t){return function(e){return Me.call(Ee,e)}(t)?e(Ce(t,2)):function(e){return Me.call(Ne,e)}(t)?e(Ce(t,8)):null},Ae=function(e,t){var r=De(e,t);if(null!==r)return r;if(function(e){return Me.call(Fe,e)}(t)||function(e){return Me.call(ke,e)}(t))return NaN;var n=D(t);return n!==t?e(n):null},Ge=function e(t){var r=function(e){if(f()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ce(t,Te));if("string"==typeof r){var n=Ae(e,r);if(null!==n)return n}return Te(r)},Ie=function(e){return e!=e},Xe=function(e){return"number"==typeof e&&!1===Ie(e)&&e!==1/0&&e!==-1/0},qe=function(e){var t=Ge(e);return 0===t||Ie(t)?t:t>0?1:-1},Le=Math.abs,Re=Math.floor,ze=function(e){var t=Ge(e);return Ie(t)?0:0===t||!1===Xe(t)?t:qe(t)*Re(Le(t))},Be=function(e){var t=Ge(e[1]),r=e.length<3?{max:t,min:0}:{max:Ge(e[2]),min:t};if(r.min>r.max)throw new RangeError('"min" must be less than "max"');return r},He=function(e){var t=Ge(e);if(arguments.length<2)return t;var r=Be(arguments),n=r.max,o=r.min;return t<o?o:t>n?n:t},Ue=/^(?:0|[1-9]\d*)$/,Ve=Ue.test,Je=function(e,t){var r=Se(e);if(!1===Ve.call(Ue,r))return!1;var n=Ge(r);return arguments.length>1?n<He(ze(t),9007199254740991):n<9007199254740991},Ke={}.propertyIsEnumerable,Qe=function(e,t){return Ke.call(u(e),pe(t))},We="".charAt,Ye={}.constructor,Ze=Ye.getOwnPropertyDescriptor,et="function"==typeof Ze&&Ze,tt=function(e,t){e[pe(t)]=0;var r=c(et,e,t);return!1===r.threw&&0===r.value.value};if(et){var rt="undefined"!=typeof document&&document;if(!rt||tt(rt.createElement("div"),"sentinel")){var nt=c(et,u("abc"),1);if(!1===nt.threw&&nt.value&&"b"===nt.value.value)if(tt({},"sentinel")){var ot=!1===c(et,42,"name").threw;le=l&&tt({},u(Symbol("")))?ot?et:function(e,t){return et(u(e),t)}:ot?function(e,t){return et(e,pe(t))}:function(e,t){return et(u(e),pe(t))}}else fe=et;else ae=et}}if(!1===g(le)||fe||ae){var it,ut,ct=Ye.prototype,st=be(ct,"__defineGetter__");if(st){var ft=ct.__lookupGetter__,at=ct.__lookupSetter__;it=function(e,t){return ft.call(e,t)},ut=function(e,t){return at.call(e,t)}}le=function(e,t){var r,n=u(e),o=pe(t);if(fe&&!1===(r=c.call(u,fe,n,o)).threw)return r.value;var i=ge()(n)&&Je(o,n.length);if(ae&&!1===i&&!1===(r=c.call(u,ae,n,o)).threw)return r.value;var s=void 0;if(!1===i&&!1===be(n,o))return s;if(s={configurable:!1===y()(e)&&!1===i,enumerable:Qe(n,o)},st){var f=n.__proto__,a=n!==ct;a&&(n.__proto__=ct);var l=it(n,o),p=ut(n,o);if(a&&(n.__proto__=f),l||p)return l&&(s.get=l),p&&(s.set=p),s}return i?(s.value=We.call(n,o),s.writable=!1):(s.value=n[o],s.writable=!0),s}}var lt=le,pt=function(e){return!1===y()(e)&&!1===K(e,!0)},yt=function(e){return Xe(e)&&ze(e)===e},bt=function(e){return yt(e)&&e>=-9007199254740991&&e<=9007199254740991},dt=function(e){return bt(e)&&e>=0},gt=function(e){var t=c(function(){return new Set});if(!1===t.threw&&pt(t.value)){var r=c.call(t.value,e.get);if(!1===r.threw&&dt(r.value))return e.get}return null},vt=function(){if("function"==typeof Set){var e=lt(Set.prototype,"size");if(e&&"function"==typeof e.get){var t=gt(e);if(null!==t)return t}}return null}();t.default=function(e){if(null===vt||!1===pt(e))return!1;var t=c.call(e,vt);return!1===t.threw&&dt(t.value)}}])}); | ||
//# sourceMappingURL=is-set-x.min.js.map |
{ | ||
"name": "is-set-x", | ||
"version": "2.0.15", | ||
"version": "2.1.0", | ||
"description": "Detect whether or not an object is an ES6 SET.", | ||
@@ -42,2 +42,3 @@ "homepage": "https://github.com/Xotic750/is-set-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,6 +55,6 @@ }, | ||
"dependencies": { | ||
"attempt-x": "^2.0.23", | ||
"is-length-x": "^3.0.26", | ||
"is-object-like-x": "^2.0.26", | ||
"object-get-own-property-descriptor-x": "^4.0.19" | ||
"attempt-x": "^2.1.0", | ||
"is-length-x": "^3.2.0", | ||
"is-object-like-x": "^2.1.0", | ||
"object-get-own-property-descriptor-x": "^4.1.0" | ||
}, | ||
@@ -68,5 +69,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", | ||
@@ -76,5 +78,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", | ||
@@ -89,6 +92,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", | ||
@@ -116,2 +119,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" | ||
@@ -118,0 +122,0 @@ }, |
@@ -38,2 +38,8 @@ <a | ||
</a> | ||
<a | ||
href="https://coveralls.io/github/Xotic750/is-set-x?branch=master" | ||
title="Coverage Status"> | ||
<img src="https://coveralls.io/repos/github/Xotic750/is-set-x/badge.svg?branch=master" | ||
alt="Coverage Status" height="18"> | ||
</a> | ||
@@ -40,0 +46,0 @@ <a name="module_is-set-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
251781
1810
76
56
Updatedattempt-x@^2.1.0
Updatedis-length-x@^3.2.0
Updatedis-object-like-x@^2.1.0