object-keys-x
Advanced tools
Comparing version 3.0.19 to 3.0.20
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-08-05T18:43:46.899Z", | ||
"date": "2019-08-05T21:19:46.022Z", | ||
"describe": "", | ||
"description": "An ES6 Object.keys shim.", | ||
"file": "object-keys-x.min.js", | ||
"hash": "38e39e2e7047b7d81d67", | ||
"hash": "5d0a8fc2e3c1a04e5c74", | ||
"license": "MIT", | ||
"version": "3.0.19" | ||
"version": "3.0.20" | ||
} | ||
@@ -21,3 +21,3 @@ */ | ||
* 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=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";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},c=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},u=function(){return i(arguments)}();i.isLegacyArguments=c,e.exports=u?i:c},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=Array.prototype.slice,o=r(3),i=Object.keys,c=i?function(e){return i(e)}:r(10),u=Object.keys;c.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?u(n.call(e)):u(e)}):Object.keys=c;return Object.keys||c},e.exports=c},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(9);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(8))},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";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,c=r(3),u=Object.prototype.propertyIsEnumerable,s=!u.call({toString:null},"toString"),a=u.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===i.call(e),n=c(e),u=t&&"[object String]"===i.call(e),p=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var b=a&&r;if(u&&e.length>0&&!o.call(e,0))for(var d=0;d<e.length;++d)p.push(String(d));if(n&&e.length>0)for(var g=0;g<e.length;++g)p.push(String(g));else for(var v in e)b&&"prototype"===v||!o.call(e,v)||p.push(String(v));if(s)for(var m=function(e){if("undefined"==typeof window||!y)return f(e);try{return f(e)}catch(e){return!1}}(e),h=0;h<l.length;++h)m&&"constructor"===l[h]||!o.call(e,l[h])||p.push(l[h]);return p}}e.exports=n},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,c=function(e){return i(o(e))},u=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={}.toString,a=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":s.call(e)};var l=[].isArray,f="function"==typeof l&&l,p=f&&u(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),!0===f([])&&!1===f({length:0})}.bind(void 0)),y=p&&!1===p.threw&&!0===p.value?f:function(e){return"[object Array]"===a(e)},b=r(4),d=r.n(b),g=r(0),v=r.n(g);for(var m=u(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&v()(Symbol(""))}.bind(void 0)),h=!1===m.threw&&!0===m.value,w=r(1),j=r.n(w),S=r(5),_=r.n(S),O=function(e){return!!e},x=h&&v()(Symbol.toStringTag),$="Cannot convert a Symbol value to a string",T=$.constructor,E=function(e){if(v()(e))throw new TypeError($);return T(e)},k=function(e){return E(o(e))},P=[{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"}],F="",A=P.length,I=0;I<A;I+=1)P[I].es2016&&P[I].string,P[I].es2018&&(F+=P[I].string);var M=F,N=new(0,/none/.constructor)("^[".concat(M,"]+")),C="".replace,D=function(e){return C.call(k(e),N,"")},G=new(0,/none/.constructor)("[".concat(M,"]+$")),L="".replace,X=function(e){return L.call(k(e),G,"")},H=function(e){return D(X(e))},R=new(0,/none/.constructor)("[".concat(M,"]+"),"g"),q=" ".replace,z=function(e){return q.call(H(e),R," ")},B=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,K="".replace,W=function(e,t){return K.call(k(e),B,arguments.length>1?E(t):"")},Y=u.constructor,U=u.toString,V=/^class /,J=V.test,Q=!1===u(function(){return Y('"use strict"; return class My {};')()}).threw,Z=function(e){return J.call(V,z(W(U.call(e)," ")))},ee=function(e){var t=u(Z,e);return!1===t.threw&&t.value},te=function(e,t){return!j()(e)&&(x?function(e,t){return!(Q&&!1===t&&ee(e)||!1!==u.call(e,U).threw)}(e,O(t)):(!Q||!1!==O(t)||!ee(e))&&function(e){var t=a(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},re="string".constructor,ne=(0).constructor,oe=h&&Symbol.toPrimitive,ie=h&&Symbol.prototype.valueOf,ce=["toString","valueOf"],ue=["valueOf","toString"],se=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?ce:ue,c=0;c<2;c+=1)if(r=e[i[c]],te(r)&&(n=r.call(e),j()(n)))return n;throw new TypeError("No default value")},ae=function(e,t){if(t){if(e===re)return"string";if(e===ne)return"number"}return"default"},le=function(e){if(h){if(oe)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===te(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,oe);if(v()(e))return ie}},fe=function(e){var t=e.exoticToPrim,r=e.input,n=e.hint,o=t.call(r,n);if(j()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},pe=function(e,t){var r="default"===t&&(_()(e)||v()(e))?"string":t;return se(e,"default"===r?"number":r)},ye=function(e,t){if(j()(e))return e;var r=ae(t,arguments.length>1),n=le(e);return void 0===n?pe(e,r):fe({exoticToPrim:n,input:e,hint:r})},be=parseInt,de=(0).constructor,ge="".charAt,ve=/^[-+]?0[xX]/,me=ve.test,he=function(e,t){var r=D(E(e));return""===ge.call(r,0)?NaN:be(r,de(t)||(me.call(ve,r)?16:10))},we=2..constructor,je="Cannot convert a Symbol value to a number".slice,Se=/^0b[01]+$/i,_e=Se.test,Oe=/^0o[0-7]+$/i,xe=new(0,Se.constructor)("[ ]","g"),$e=/^[-+]0x[0-9a-f]+$/i,Te=function(e,t){return he(je.call(e,2),t)},Ee=function(e,t){return function(e){return _e.call(Se,e)}(t)?e(Te(t,2)):function(e){return _e.call(Oe,e)}(t)?e(Te(t,8)):null},ke=function(e,t){var r=Ee(e,t);if(null!==r)return r;if(function(e){return _e.call(xe,e)}(t)||function(e){return _e.call($e,e)}(t))return NaN;var n=H(t);return n!==t?e(n):null},Pe=function e(t){var r=function(e){if(v()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ye(t,we));if("string"==typeof r){var n=ke(e,r);if(null!==n)return n}return we(r)},Fe=function(e){return e!=e},Ae=function(e){return"number"==typeof e&&!1===Fe(e)&&e!==1/0&&e!==-1/0},Ie=function(e){var t=Pe(e);return 0===t||Fe(t)?t:t>0?1:-1},Me=Math.abs,Ne=Math.floor,Ce=function(e){var t=Pe(e);return Fe(t)?0:0===t||!1===Ae(t)?t:Ie(t)*Ne(Me(t))},De=function(e){var t=Ce(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Ge={}.constructor("a"),Le="a"===Ge[0]&&0 in Ge,Xe=r(2),He=r.n(Xe),Re="".split,qe=!1===Le&&"function"==typeof Re&&He.a,ze=function(e){return qe&&qe(e)?Re.call(e,""):e},Be=function(e,t){return e>=t?e:t},Ke=function(e,t){return e<0?Be(t+e,0):(r=e)<=(n=t)?r:n;var r,n},We=function(e,t,r){var n=ze(c(e)),o=De(n.length),i=Ke(Ce(t),o),u=void 0===r?o:Ce(r),s=Ke(u,o),a=[];a.length=Be(s-i,0);for(var l=0;i<s;)i in n&&(a[l]=n[i]),l+=1,i+=1;return a},Ye=function(e){return!1===j()(e)&&!1===te(e,!0)};function Ue(e){return(Ue="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 Ve,Je,Qe,Ze=function(e){var t=ye(e,String);return h&&"symbol"===Ue(t)?t:E(t)},et={}.hasOwnProperty,tt=function(e,t){return et.call(c(e),Ze(t))},rt=h&&Symbol.prototype.toString,nt="function"==typeof rt&&v.a,ot="".constructor,it=function(e){return nt&&nt(e)?rt.call(e):ot(e)},ct=function(e){var t=Pe(e[1]),r=e.length<3?{max:t,min:0}:{max:Pe(e[2]),min:t};if(r.min>r.max)throw new RangeError('"min" must be less than "max"');return r},ut=function(e){var t=Pe(e);if(arguments.length<2)return t;var r=ct(arguments),n=r.max,o=r.min;return t<o?o:t>n?n:t},st=/^(?:0|[1-9]\d*)$/,at=st.test,lt=function(e,t){var r=it(e);if(!1===at.call(st,r))return!1;var n=Pe(r);return arguments.length>1?n<ut(Ce(t),9007199254740991):n<9007199254740991},ft={}.propertyIsEnumerable,pt=function(e,t){return ft.call(c(e),Ze(t))},yt="".charAt,bt={}.constructor,dt=bt.getOwnPropertyDescriptor,gt="function"==typeof dt&&dt,vt=function(e,t){e[Ze(t)]=0;var r=u(gt,e,t);return!1===r.threw&&0===r.value.value};if(gt){var mt="undefined"!=typeof document&&document;if(!mt||vt(mt.createElement("div"),"sentinel")){var ht=u(gt,c("abc"),1);if(!1===ht.threw&&ht.value&&"b"===ht.value.value)if(vt({},"sentinel")){var wt=!1===u(gt,42,"name").threw;Qe=h&&vt({},c(Symbol("")))?wt?gt:function(e,t){return gt(c(e),t)}:wt?function(e,t){return gt(e,Ze(t))}:function(e,t){return gt(c(e),Ze(t))}}else Ve=gt;else Je=gt}}if(!1===O(Qe)||Ve||Je){var jt,St,_t=bt.prototype,Ot=tt(_t,"__defineGetter__");if(Ot){var xt=_t.__lookupGetter__,$t=_t.__lookupSetter__;jt=function(e,t){return xt.call(e,t)},St=function(e,t){return $t.call(e,t)}}Qe=function(e,t){var r,n=c(e),o=Ze(t);if(Ve&&!1===(r=u.call(c,Ve,n,o)).threw)return r.value;var i=He()(n)&<(o,n.length);if(Je&&!1===i&&!1===(r=u.call(c,Je,n,o)).threw)return r.value;var s=void 0;if(!1===i&&!1===tt(n,o))return s;if(s={configurable:!1===j()(e)&&!1===i,enumerable:pt(n,o)},Ot){var a=n.__proto__,l=n!==_t;l&&(n.__proto__=_t);var f=jt(n,o),p=St(n,o);if(l&&(n.__proto__=a),f||p)return f&&(s.get=f),p&&(s.set=p),s}return i?(s.value=yt.call(n,o),s.writable=!1):(s.value=n[o],s.writable=!0),s}}var Tt,Et,kt=Qe,Pt=function(e){if(j()(e))throw new TypeError("".concat(it(e)," is not an object"));return e},Ft={}.constructor,At=Ft.defineProperty,It="function"==typeof At&&At,Mt=function(e){var t=c(e),r={};if(tt(t,"enumerable")&&(r.enumerable=O(t.enumerable)),tt(t,"configurable")&&(r.configurable=O(t.configurable)),tt(t,"value")&&(r.value=t.value),tt(t,"writable")&&(r.writable=O(t.writable)),tt(t,"get")){var n=t.get;if(void 0!==n&&!1===te(n))throw new TypeError("getter must be a function");r.get=n}if(tt(t,"set")){var o=t.set;if(void 0!==o&&!1===te(o))throw new TypeError("setter must be a function");r.set=o}if((tt(r,"get")||tt(r,"set"))&&(tt(r,"value")||tt(r,"writable")))throw new TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r};if(It){var Nt=function(e){var t=u(It,e,"sentinel",{});return!1===t.threw&&t.value===e&&"sentinel"in e},Ct="undefined"!=typeof document&&document;Nt({})&&(!1===O(Ct)||Nt(Ct.createElement("div")))?Et=function(e,t,r){return It(Pt(e),Ze(t),Mt(r))}:Tt=It}if(!1===O(It)||Tt){var Dt=Ft.prototype,Gt=tt(Dt,"__defineGetter__"),Lt=Gt&&Dt.__defineGetter_,Xt=Gt&&Dt.__defineSetter__,Ht=Gt&&Dt.__lookupGetter__,Rt=Gt&&Dt.__lookupSetter__;Et=function(e,t,r){Pt(e);var n=Ze(t),o=Mt(r);if(Tt){var i=u.call(Ft,Tt,e,n,o);if(!1===i.threw)return i.value}if(tt(o,"value"))if(Gt&&(Ht.call(e,n)||Rt.call(e,n))){var c=e.__proto__;e.__proto__=Dt,delete e[n],e[n]=o.value,e.__proto__=c}else e[n]=o.value;else{if(!1===Gt&&(o.get||o.set))throw new TypeError("getters & setters can not be defined on this javascript engine");o.get&&Lt.call(e,n,o.get),o.set&&Xt.call(e,n,o.set)}return e}}var qt,zt,Bt,Kt,Wt,Yt,Ut=Et,Vt=/none/.exec,Jt=function(e){if(!1===Ye(e))return!1;if(!1===x)return"[object RegExp]"===a(e);var t=kt(e,"lastIndex");return!0===(t&&tt(t,"value"))&&function(e,t){try{return e.lastIndex=0,Vt.call(e),!0}catch(e){return!1}finally{Ut(e,"lastIndex",t)}}(e,t)},Qt=r(6),Zt=r.n(Qt),er={}.constructor,tr="function"==typeof er.keys&&er.keys;if(tr){var rr=function(e,t){return!1===e.threw&&y(e.value)&&e.value.length===t},nr=function(e,t,r){var n=e.value[0],o=e.value[1];return n===t&&o===r||n===r&&o===t},or={a:1,b:2},ir=u(tr,or);(qt=rr(ir,2)&&nr(ir,"a","b"))&&((or=Object("a")).y=1,qt=rr(ir=u(tr,or),2)&&nr(ir,"0","y")),qt&&(zt=u(tr,null).threw,Bt=rr(u(tr,42),0),Kt=!1===u(tr,/a/g).threw,ir=u(tr,function(){return arguments}(1,2)),Wt=rr(ir,2)&&nr(ir,"0","1"),ir=u(tr,Object("ab")),Yt=rr(ir,2)&&nr(ir,"0","1"))}var cr=qt?zt&&Bt&&Kt&&Wt&&Yt?tr:function(e){var t=c?c(e):e;if(!0!==Wt&&d()(t))t=We(t);else if(!0!==Yt&&He()(t))t=ze(t);else if(!0!==Kt&&Jt(t)){var r=[];for(var n in t)tt(t,n)&&(r[r.length]=n);return r}return tr(t)}:function(e){return Zt()(c(e))};t.default=cr}])}); | ||
*/e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof 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";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===n.call(e.callee)),r}},function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},c=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},u=function(){return i(arguments)}();i.isLegacyArguments=c,e.exports=u?i:c},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=Array.prototype.slice,o=r(3),i=Object.keys,c=i?function(e){return i(e)}:r(10),u=Object.keys;c.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?u(n.call(e)):u(e)}):Object.keys=c;return Object.keys||c},e.exports=c},function(e,t,r){"use strict";(function(t){var n=t.Symbol,o=r(9);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(8))},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";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,c=r(3),u=Object.prototype.propertyIsEnumerable,s=!u.call({toString:null},"toString"),a=u.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{f(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===i.call(e),n=c(e),u=t&&"[object String]"===i.call(e),p=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var b=a&&r;if(u&&e.length>0&&!o.call(e,0))for(var g=0;g<e.length;++g)p.push(String(g));if(n&&e.length>0)for(var d=0;d<e.length;++d)p.push(String(d));else for(var v in e)b&&"prototype"===v||!o.call(e,v)||p.push(String(v));if(s)for(var m=function(e){if("undefined"==typeof window||!y)return f(e);try{return f(e)}catch(e){return!1}}(e),h=0;h<l.length;++h)m&&"constructor"===l[h]||!o.call(e,l[h])||p.push(l[h]);return p}}e.exports=n},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,c=function(e){return i(o(e))},u=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={}.toString,a=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":s.call(e)},l=[].isArray,f="function"==typeof l&&l,p=u(function(){return!0===f([])&&!1===f({length:0})}),y=!1===p.threw&&!0===p.value?f:function(e){return"[object Array]"===a(e)},b=r(4),g=r.n(b),d=r(0),v=r.n(d);for(var m=u(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&v()(Symbol(""))}.bind(void 0)),h=!1===m.threw&&!0===m.value,w=r(1),j=r.n(w),S=r(5),_=r.n(S),O=function(e){return!!e},x=h&&v()(Symbol.toStringTag),$="Cannot convert a Symbol value to a string",T=$.constructor,E=function(e){if(v()(e))throw new TypeError($);return T(e)},k=function(e){return E(o(e))},P=[{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"}],F="",A=P.length,I=0;I<A;I+=1)P[I].es2016&&P[I].string,P[I].es2018&&(F+=P[I].string);var M=F,N=new(0,/none/.constructor)("^[".concat(M,"]+")),C="".replace,D=function(e){return C.call(k(e),N,"")},G=new(0,/none/.constructor)("[".concat(M,"]+$")),L="".replace,X=function(e){return L.call(k(e),G,"")},H=function(e){return D(X(e))},R=new(0,/none/.constructor)("[".concat(M,"]+"),"g"),q=" ".replace,z=function(e){return q.call(H(e),R," ")},B=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,K="".replace,W=function(e,t){return K.call(k(e),B,arguments.length>1?E(t):"")},Y=u.constructor,U=u.toString,V=/^class /,J=V.test,Q=!1===u(function(){return Y('"use strict"; return class My {};')()}).threw,Z=function(e){return J.call(V,z(W(U.call(e)," ")))},ee=function(e){var t=u(Z,e);return!1===t.threw&&t.value},te=function(e,t){return!j()(e)&&(x?function(e,t){return!(Q&&!1===t&&ee(e)||!1!==u.call(e,U).threw)}(e,O(t)):(!Q||!1!==O(t)||!ee(e))&&function(e){var t=a(e);return"[object Function]"===t||"[object GeneratorFunction]"===t||"[object AsyncFunction]"===t}(e))},re="string".constructor,ne=(0).constructor,oe=h&&Symbol.toPrimitive,ie=h&&Symbol.prototype.valueOf,ce=["toString","valueOf"],ue=["valueOf","toString"],se=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?ce:ue,c=0;c<2;c+=1)if(r=e[i[c]],te(r)&&(n=r.call(e),j()(n)))return n;throw new TypeError("No default value")},ae=function(e,t){if(t){if(e===re)return"string";if(e===ne)return"number"}return"default"},le=function(e){if(h){if(oe)return function(e,t){var r=e[t];if(!1===n(r)){if(!1===te(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,oe);if(v()(e))return ie}},fe=function(e){var t=e.exoticToPrim,r=e.input,n=e.hint,o=t.call(r,n);if(j()(o))return o;throw new TypeError("unable to convert exotic object to primitive")},pe=function(e,t){var r="default"===t&&(_()(e)||v()(e))?"string":t;return se(e,"default"===r?"number":r)},ye=function(e,t){if(j()(e))return e;var r=ae(t,arguments.length>1),n=le(e);return void 0===n?pe(e,r):fe({exoticToPrim:n,input:e,hint:r})},be=parseInt,ge=(0).constructor,de="".charAt,ve=/^[-+]?0[xX]/,me=ve.test,he=function(e,t){var r=D(E(e));return""===de.call(r,0)?NaN:be(r,ge(t)||(me.call(ve,r)?16:10))},we=2..constructor,je="Cannot convert a Symbol value to a number".slice,Se=/^0b[01]+$/i,_e=Se.test,Oe=/^0o[0-7]+$/i,xe=new(0,Se.constructor)("[ ]","g"),$e=/^[-+]0x[0-9a-f]+$/i,Te=function(e,t){return he(je.call(e,2),t)},Ee=function(e,t){return function(e){return _e.call(Se,e)}(t)?e(Te(t,2)):function(e){return _e.call(Oe,e)}(t)?e(Te(t,8)):null},ke=function(e,t){var r=Ee(e,t);if(null!==r)return r;if(function(e){return _e.call(xe,e)}(t)||function(e){return _e.call($e,e)}(t))return NaN;var n=H(t);return n!==t?e(n):null},Pe=function e(t){var r=function(e){if(v()(e))throw new TypeError("Cannot convert a Symbol value to a number");return e}(ye(t,we));if("string"==typeof r){var n=ke(e,r);if(null!==n)return n}return we(r)},Fe=function(e){return e!=e},Ae=function(e){return"number"==typeof e&&!1===Fe(e)&&e!==1/0&&e!==-1/0},Ie=function(e){var t=Pe(e);return 0===t||Fe(t)?t:t>0?1:-1},Me=Math.abs,Ne=Math.floor,Ce=function(e){var t=Pe(e);return Fe(t)?0:0===t||!1===Ae(t)?t:Ie(t)*Ne(Me(t))},De=function(e){var t=Ce(e);return t<=0?0:t>9007199254740991?9007199254740991:t},Ge={}.constructor("a"),Le="a"===Ge[0]&&0 in Ge,Xe=r(2),He=r.n(Xe),Re="".split,qe=!1===Le&&"function"==typeof Re&&He.a,ze=function(e){return qe&&qe(e)?Re.call(e,""):e},Be=function(e,t){return e>=t?e:t},Ke=function(e,t){return e<0?Be(t+e,0):(r=e)<=(n=t)?r:n;var r,n},We=function(e,t,r){var n=ze(c(e)),o=De(n.length),i=Ke(Ce(t),o),u=void 0===r?o:Ce(r),s=Ke(u,o),a=[];a.length=Be(s-i,0);for(var l=0;i<s;)i in n&&(a[l]=n[i]),l+=1,i+=1;return a},Ye=function(e){return!1===j()(e)&&!1===te(e,!0)};function Ue(e){return(Ue="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 Ve,Je,Qe,Ze=function(e){var t=ye(e,String);return h&&"symbol"===Ue(t)?t:E(t)},et={}.hasOwnProperty,tt=function(e,t){return et.call(c(e),Ze(t))},rt=h&&Symbol.prototype.toString,nt="function"==typeof rt&&v.a,ot="".constructor,it=function(e){return nt&&nt(e)?rt.call(e):ot(e)},ct=function(e){var t=Pe(e[1]),r=e.length<3?{max:t,min:0}:{max:Pe(e[2]),min:t};if(r.min>r.max)throw new RangeError('"min" must be less than "max"');return r},ut=function(e){var t=Pe(e);if(arguments.length<2)return t;var r=ct(arguments),n=r.max,o=r.min;return t<o?o:t>n?n:t},st=/^(?:0|[1-9]\d*)$/,at=st.test,lt=function(e,t){var r=it(e);if(!1===at.call(st,r))return!1;var n=Pe(r);return arguments.length>1?n<ut(Ce(t),9007199254740991):n<9007199254740991},ft={}.propertyIsEnumerable,pt=function(e,t){return ft.call(c(e),Ze(t))},yt="".charAt,bt={}.constructor,gt=bt.getOwnPropertyDescriptor,dt="function"==typeof gt&>,vt=function(e,t){e[Ze(t)]=0;var r=u(dt,e,t);return!1===r.threw&&0===r.value.value};if(dt){var mt="undefined"!=typeof document&&document;if(!mt||vt(mt.createElement("div"),"sentinel")){var ht=u(dt,c("abc"),1);if(!1===ht.threw&&ht.value&&"b"===ht.value.value)if(vt({},"sentinel")){var wt=!1===u(dt,42,"name").threw;Qe=h&&vt({},c(Symbol("")))?wt?dt:function(e,t){return dt(c(e),t)}:wt?function(e,t){return dt(e,Ze(t))}:function(e,t){return dt(c(e),Ze(t))}}else Ve=dt;else Je=dt}}if(!1===O(Qe)||Ve||Je){var jt,St,_t=bt.prototype,Ot=tt(_t,"__defineGetter__");if(Ot){var xt=_t.__lookupGetter__,$t=_t.__lookupSetter__;jt=function(e,t){return xt.call(e,t)},St=function(e,t){return $t.call(e,t)}}Qe=function(e,t){var r,n=c(e),o=Ze(t);if(Ve&&!1===(r=u.call(c,Ve,n,o)).threw)return r.value;var i=He()(n)&<(o,n.length);if(Je&&!1===i&&!1===(r=u.call(c,Je,n,o)).threw)return r.value;var s=void 0;if(!1===i&&!1===tt(n,o))return s;if(s={configurable:!1===j()(e)&&!1===i,enumerable:pt(n,o)},Ot){var a=n.__proto__,l=n!==_t;l&&(n.__proto__=_t);var f=jt(n,o),p=St(n,o);if(l&&(n.__proto__=a),f||p)return f&&(s.get=f),p&&(s.set=p),s}return i?(s.value=yt.call(n,o),s.writable=!1):(s.value=n[o],s.writable=!0),s}}var Tt,Et,kt=Qe,Pt=function(e){if(j()(e))throw new TypeError("".concat(it(e)," is not an object"));return e},Ft={}.constructor,At=Ft.defineProperty,It="function"==typeof At&&At,Mt=function(e){var t=c(e),r={};if(tt(t,"enumerable")&&(r.enumerable=O(t.enumerable)),tt(t,"configurable")&&(r.configurable=O(t.configurable)),tt(t,"value")&&(r.value=t.value),tt(t,"writable")&&(r.writable=O(t.writable)),tt(t,"get")){var n=t.get;if(void 0!==n&&!1===te(n))throw new TypeError("getter must be a function");r.get=n}if(tt(t,"set")){var o=t.set;if(void 0!==o&&!1===te(o))throw new TypeError("setter must be a function");r.set=o}if((tt(r,"get")||tt(r,"set"))&&(tt(r,"value")||tt(r,"writable")))throw new TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r};if(It){var Nt=function(e){var t=u(It,e,"sentinel",{});return!1===t.threw&&t.value===e&&"sentinel"in e},Ct="undefined"!=typeof document&&document;Nt({})&&(!1===O(Ct)||Nt(Ct.createElement("div")))?Et=function(e,t,r){return It(Pt(e),Ze(t),Mt(r))}:Tt=It}if(!1===O(It)||Tt){var Dt=Ft.prototype,Gt=tt(Dt,"__defineGetter__"),Lt=Gt&&Dt.__defineGetter_,Xt=Gt&&Dt.__defineSetter__,Ht=Gt&&Dt.__lookupGetter__,Rt=Gt&&Dt.__lookupSetter__;Et=function(e,t,r){Pt(e);var n=Ze(t),o=Mt(r);if(Tt){var i=u.call(Ft,Tt,e,n,o);if(!1===i.threw)return i.value}if(tt(o,"value"))if(Gt&&(Ht.call(e,n)||Rt.call(e,n))){var c=e.__proto__;e.__proto__=Dt,delete e[n],e[n]=o.value,e.__proto__=c}else e[n]=o.value;else{if(!1===Gt&&(o.get||o.set))throw new TypeError("getters & setters can not be defined on this javascript engine");o.get&&Lt.call(e,n,o.get),o.set&&Xt.call(e,n,o.set)}return e}}var qt,zt,Bt,Kt,Wt,Yt,Ut=Et,Vt=/none/.exec,Jt=function(e){if(!1===Ye(e))return!1;if(!1===x)return"[object RegExp]"===a(e);var t=kt(e,"lastIndex");return!0===(t&&tt(t,"value"))&&function(e,t){try{return e.lastIndex=0,Vt.call(e),!0}catch(e){return!1}finally{Ut(e,"lastIndex",t)}}(e,t)},Qt=r(6),Zt=r.n(Qt),er={}.constructor,tr="function"==typeof er.keys&&er.keys;if(tr){var rr=function(e,t){return!1===e.threw&&y(e.value)&&e.value.length===t},nr=function(e,t,r){var n=e.value[0],o=e.value[1];return n===t&&o===r||n===r&&o===t},or={a:1,b:2},ir=u(tr,or);(qt=rr(ir,2)&&nr(ir,"a","b"))&&((or=Object("a")).y=1,qt=rr(ir=u(tr,or),2)&&nr(ir,"0","y")),qt&&(zt=u(tr,null).threw,Bt=rr(u(tr,42),0),Kt=!1===u(tr,/a/g).threw,ir=u(tr,function(){return arguments}(1,2)),Wt=rr(ir,2)&&nr(ir,"0","1"),ir=u(tr,Object("ab")),Yt=rr(ir,2)&&nr(ir,"0","1"))}var cr=qt?zt&&Bt&&Kt&&Wt&&Yt?tr:function(e){var t=c?c(e):e;if(!0!==Wt&&g()(t))t=We(t);else if(!0!==Yt&&He()(t))t=ze(t);else if(!0!==Kt&&Jt(t)){var r=[];for(var n in t)tt(t,n)&&(r[r.length]=n);return r}return tr(t)}:function(e){return Zt()(c(e))};t.default=cr}])}); | ||
//# sourceMappingURL=object-keys-x.min.js.map |
{ | ||
"name": "object-keys-x", | ||
"version": "3.0.19", | ||
"version": "3.0.20", | ||
"description": "An ES6 Object.keys shim.", | ||
@@ -58,3 +58,3 @@ "homepage": "https://github.com/Xotic750/object-keys-x", | ||
"is-arguments": "^1.0.4", | ||
"is-array-x": "^2.0.23", | ||
"is-array-x": "^2.0.24", | ||
"is-regexp-x": "^3.0.19", | ||
@@ -61,0 +61,0 @@ "is-string": "^1.0.4", |
Sorry, the diff of this file is too big to display
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
340022
2385
Updatedis-array-x@^2.0.24