is-regexp-x
Advanced tools
Comparing version 3.0.16 to 3.0.17
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017", | ||
"date": "2019-07-27T08:51:04.751Z", | ||
"date": "2019-07-27T14:39:46.848Z", | ||
"describe": "", | ||
"description": "Is this value a JS regex?", | ||
"file": "is-regexp-x.min.js", | ||
"hash": "614c465d88dc9070b525", | ||
"hash": "a336b35e6e5f2d46044a", | ||
"license": "MIT", | ||
"version": "3.0.16" | ||
"version": "3.0.17" | ||
} | ||
@@ -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=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){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}}},o=function(e){return!!e},i={}.toString,c=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":i.call(e)},u=r(0),s=r.n(u);for(var a=n(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&s()(Symbol(""))}.bind(void 0)),f=!1===a.threw&&!0===a.value,l=f&&s()(Symbol.toStringTag),p=r(1),y=r.n(p),b=function(e){return null==e},d=function(e){if(b(e))throw new TypeError("Cannot call method on ".concat(e));return e},v="Cannot convert a Symbol value to a string",g=v.constructor,m=function(e){if(s()(e))throw new TypeError(v);return g(e)},w=function(e){return m(d(e))},h=[{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"}],_="",S=h.length,j=0;j<S;j+=1)h[j].es2016&&h[j].string,h[j].es2018&&(_+=h[j].string);var O=_,x=new(0,/none/.constructor)("^[".concat(O,"]+")),E="".replace,T=function(e){return E.call(w(e),x,"")},P=new(0,/none/.constructor)("[".concat(O,"]+$")),k="".replace,F=function(e){return k.call(w(e),P,"")},M=function(e){return T(F(e))},N=new(0,/none/.constructor)("[".concat(O,"]+"),"g"),C=" ".replace,I=function(e){return C.call(M(e),N," ")},D=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,$="".replace,G=function(e,t){return $.call(w(e),D,arguments.length>1?m(t):"")};var R=n.constructor,A=(!0).constructor,X=n.toString,q=/^class /,L=q.test,B=!1===n(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),R('"use strict"; return class My {};')()}.bind(void 0)).threw,H=function(e){return L.call(q,I(G(X.call(e)," ")))},U=function(e){var t=n(H,e);return!1===t.threw&&t.value},V=function(e,t){if(y()(e))return!1;if(l)return function(e,t){return!(B&&!1===t&&U(e)||!1!==n.call(e,X).threw)}(e,o(t));if(B&&!1===A(t)&&U(e))return!1;var r=c(e);return"[object Function]"===r||"[object GeneratorFunction]"===r||"[object AsyncFunction]"===r},z=function(e){return!1===y()(e)&&!1===V(e,!0)},J={}.constructor,K=function(e){return J(d(e))},Q=r(2),W=r.n(Q),Y="string".constructor,Z=(0).constructor,ee=f&&Symbol.toPrimitive,te=f&&Symbol.prototype.valueOf,re=["toString","valueOf"],ne=["valueOf","toString"],oe=function(e,t){if(d(e),"string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');for(var r,n,o="string"===t?re:ne,i=0;i<2;i+=1)if(r=e[o[i]],V(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},ie=function(e,t){if(t){if(e===Y)return"string";if(e===Z)return"number"}return"default"},ce=function(e){if(f){if(ee)return function(e,t){var r=e[t];if(!1===b(r)){if(!1===V(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,ee);if(s()(e))return te}},ue=function(e,t){if(y()(e))return e;var r=ie(t,arguments.length>1),n=ce(e);if(void 0!==n){var o=n.call(e,r);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i="default"===r&&(W()(e)||s()(e))?"string":r;return oe(e,"default"===i?"number":i)};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 ae,fe,le,pe=function(e){var t=ue(e,String);return f&&"symbol"===se(t)?t:m(t)},ye={}.hasOwnProperty,be=function(e,t){return ye.call(K(e),pe(t))},de=r(3),ve=r.n(de),ge=f&&Symbol.prototype.toString,me="function"==typeof ge&&s.a,we="".constructor,he=function(e){return me&&me(e)?ge.call(e):we(e)},_e=parseInt,Se=(0).constructor,je="".charAt,Oe=/^[-+]?0[xX]/,xe=Oe.test,Ee=function(e,t){var r=T(m(e));return""===je.call(r,0)?NaN:_e(r,Se(t)||(xe.call(Oe,r)?16:10))},Te=2..constructor,Pe="Cannot convert a Symbol value to a number".slice,ke=/^0b[01]+$/i,Fe=ke.test,Me=/^0o[0-7]+$/i,Ne=new(0,ke.constructor)("[ ]","g"),Ce=/^[-+]0x[0-9a-f]+$/i,Ie=function e(t){var r=ue(t,Te);if(s()(r))throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof r){if(function(e){return Fe.call(ke,e)}(r))return e(Ee(Pe.call(r,2),2));if(function(e){return Fe.call(Me,e)}(r))return e(Ee(Pe.call(r,2),8));if(function(e){return Fe.call(Ne,e)}(r)||function(e){return Fe.call(Ce,e)}(r))return NaN;var n=M(r);if(n!==r)return e(n)}return Te(r)},De=function(e){return e!=e},$e=function(e){return"number"==typeof e&&!1===De(e)&&e!==1/0&&e!==-1/0},Ge=function(e){var t=Ie(e);return 0===t||De(t)?t:t>0?1:-1},Re=Math.abs,Ae=Math.floor,Xe=function(e){var t=Ie(e);return De(t)?0:0===t||!1===$e(t)?t:Ge(t)*Ae(Re(t))},qe=function(e){var t=Ie(e),r=arguments.length;if(r<2)return t;var n,o=Ie(arguments[1]);if(r<3?(n=o,o=0):n=Ie(arguments[2]),o>n)throw new RangeError('"min" must be less than "max"');return t<o?o:t>n?n:t},Le=/^(?:0|[1-9]\d*)$/,Be=Le.test,He=function(e,t){var r=he(e);if(!1===Be.call(Le,r))return!1;var n=Ie(r);return arguments.length>1?n<qe(Xe(t),9007199254740991):n<9007199254740991},Ue={}.propertyIsEnumerable,Ve=function(e,t){return Ue.call(K(e),pe(t))},ze={}.constructor,Je=(!0).constructor,Ke="function"==typeof ze.getOwnPropertyDescriptor&&ze.getOwnPropertyDescriptor,Qe=function(e,t){e[pe(t)]=0;var r=n(Ke,e,t);return!1===r.threw&&0===r.value.value};if(Ke){var We="undefined"!=typeof document&&document;if(!We||Qe(We.createElement("div"),"sentinel")){var Ye=n(Ke,ze("abc"),1);if(!1===Ye.threw&&Ye.value&&"b"===Ye.value.value)if(Qe({},"sentinel")){var Ze=!1===n(Ke,42,"name").threw;le=f&&Qe({},ze(Symbol("")))?Ze?Ke:function(e,t){return Ke(K(e),t)}:Ze?function(e,t){return Ke(e,pe(t))}:function(e,t){return Ke(K(e),pe(t))}}else ae=Ke;else fe=Ke}}if(!1===Je(le)||ae||fe){var et,tt,rt=ze.prototype,nt=be(rt,"__defineGetter__");if(nt){var ot=rt.__lookupGetter__,it=rt.__lookupSetter__;et=function(e,t){return ot.call(e,t)},tt=function(e,t){return it.call(e,t)}}le=function(e,t){var r,o=K(e),i=pe(t);if(ae&&!1===(r=n.call(ze,ae,o,i)).threw)return r.value;var c=ve()(o)&&He(i,o.length);if(fe&&!1===c&&!1===(r=n.call(ze,fe,o,i)).threw)return r.value;var u=void 0;if(!1===c&&!1===be(o,i))return u;if(u={configurable:!1===y()(e)&&!1===c,enumerable:Ve(o,i)},nt){var s=o.__proto__,a=o!==rt;a&&(o.__proto__=rt);var f=et(o,i),l=tt(o,i);if(a&&(o.__proto__=s),f||l)return f&&(u.get=f),l&&(u.set=l),u}return c?(u.value=o.charAt(i),u.writable=!1):(u.value=o[i],u.writable=!0),u}}var ct,ut,st=le,at=function(e){if(y()(e))throw new TypeError("".concat(he(e)," is not an object"));return e},ft=(!0).constructor,lt="function"==typeof Object.defineProperty&&Object.defineProperty,pt=function(e){var t=K(e),r={};if(be(t,"enumerable")&&(r.enumerable=ft(t.enumerable)),be(t,"configurable")&&(r.configurable=ft(t.configurable)),be(t,"value")&&(r.value=t.value),be(t,"writable")&&(r.writable=ft(t.writable)),be(t,"get")){var n=t.get;if(void 0!==n&&!1===V(n))throw new TypeError("getter must be a function");r.get=n}if(be(t,"set")){var o=t.set;if(void 0!==o&&!1===V(o))throw new TypeError("setter must be a function");r.set=o}if((be(r,"get")||be(r,"set"))&&(be(r,"value")||be(r,"writable")))throw new TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r};if(lt){var yt=function(e){var t=n(lt,e,"sentinel",{});return!1===t.threw&&t.value===e&&"sentinel"in e},bt="undefined"!=typeof document&&document;yt({})&&(!1===ft(bt)||yt(bt.createElement("div")))?ut=function(e,t,r){return lt(at(e),pe(t),pt(r))}:ct=lt}if(!1===ft(lt)||ct){var dt,vt,gt,mt,wt=Object.prototype,ht=be(wt,"__defineGetter__");ht&&(dt=wt.__defineGetter__,vt=wt.__defineSetter__,gt=wt.__lookupGetter__,mt=wt.__lookupSetter__),ut=function(e,t,r){at(e);var o=pe(t),i=pt(r);if(ct){var c=n.call(Object,ct,e,o,i);if(!1===c.threw)return c.value}if(be(i,"value"))if(ht&&(gt.call(e,o)||mt.call(e,o))){var u=e.__proto__;e.__proto__=wt,delete e[o],e[o]=i.value,e.__proto__=u}else e[o]=i.value;else{if(!1===ht&&(i.get||i.set))throw new TypeError("getters & setters can not be defined on this javascript engine");i.get&&dt.call(e,o,i.get),i.set&&vt.call(e,o,i.set)}return e}}var _t=ut,St=/none/.exec;t.default=function(e){if(!1===z(e))return!1;if(!1===l)return"[object RegExp]"===c(e);var t=st(e,"lastIndex");return!0===(t&&be(t,"value"))&&function(e,t){try{return e.lastIndex=0,St.call(e),!0}catch(e){return!1}finally{_t(e,"lastIndex",t)}}(e,t)}}])}); | ||
*/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){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}}},o=function(e){return!!e},i={}.toString,c=function(e){return null===e?"[object Null]":void 0===e?"[object Undefined]":i.call(e)},u=r(0),s=r.n(u);for(var a=n(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&s()(Symbol(""))}.bind(void 0)),f=!1===a.threw&&!0===a.value,l=f&&s()(Symbol.toStringTag),p=r(1),y=r.n(p),b=function(e){return null==e},d=function(e){if(b(e))throw new TypeError("Cannot call method on ".concat(e));return e},v="Cannot convert a Symbol value to a string",g=v.constructor,m=function(e){if(s()(e))throw new TypeError(v);return g(e)},w=function(e){return m(d(e))},h=[{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"}],_="",S=h.length,j=0;j<S;j+=1)h[j].es2016&&h[j].string,h[j].es2018&&(_+=h[j].string);var O=_,x=new(0,/none/.constructor)("^[".concat(O,"]+")),E="".replace,T=function(e){return E.call(w(e),x,"")},P=new(0,/none/.constructor)("[".concat(O,"]+$")),k="".replace,F=function(e){return k.call(w(e),P,"")},M=function(e){return T(F(e))},N=new(0,/none/.constructor)("[".concat(O,"]+"),"g"),C=" ".replace,I=function(e){return C.call(M(e),N," ")},D=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,$="".replace,G=function(e,t){return $.call(w(e),D,arguments.length>1?m(t):"")};var R=n.constructor,A=(!0).constructor,X=n.toString,q=/^class /,L=q.test,B=!1===n(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),R('"use strict"; return class My {};')()}.bind(void 0)).threw,H=function(e){return L.call(q,I(G(X.call(e)," ")))},U=function(e){var t=n(H,e);return!1===t.threw&&t.value},V=function(e,t){if(y()(e))return!1;if(l)return function(e,t){return!(B&&!1===t&&U(e)||!1!==n.call(e,X).threw)}(e,o(t));if(B&&!1===A(t)&&U(e))return!1;var r=c(e);return"[object Function]"===r||"[object GeneratorFunction]"===r||"[object AsyncFunction]"===r},z=function(e){return!1===y()(e)&&!1===V(e,!0)},J={}.constructor,K=function(e){return J(d(e))},Q=r(2),W=r.n(Q),Y="string".constructor,Z=(0).constructor,ee=f&&Symbol.toPrimitive,te=f&&Symbol.prototype.valueOf,re=["toString","valueOf"],ne=["valueOf","toString"],oe=function(e,t){if(d(e),"string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');for(var r,n,o="string"===t?re:ne,i=0;i<2;i+=1)if(r=e[o[i]],V(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},ie=function(e,t){if(t){if(e===Y)return"string";if(e===Z)return"number"}return"default"},ce=function(e){if(f){if(ee)return function(e,t){var r=e[t];if(!1===b(r)){if(!1===V(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,ee);if(s()(e))return te}},ue=function(e,t){if(y()(e))return e;var r=ie(t,arguments.length>1),n=ce(e);if(void 0!==n){var o=n.call(e,r);if(y()(o))return o;throw new TypeError("unable to convert exotic object to primitive")}var i="default"===r&&(W()(e)||s()(e))?"string":r;return oe(e,"default"===i?"number":i)};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 ae,fe,le,pe=function(e){var t=ue(e,String);return f&&"symbol"===se(t)?t:m(t)},ye={}.hasOwnProperty,be=function(e,t){return ye.call(K(e),pe(t))},de=r(3),ve=r.n(de),ge=f&&Symbol.prototype.toString,me="function"==typeof ge&&s.a,we="".constructor,he=function(e){return me&&me(e)?ge.call(e):we(e)},_e=parseInt,Se=(0).constructor,je="".charAt,Oe=/^[-+]?0[xX]/,xe=Oe.test,Ee=function(e,t){var r=T(m(e));return""===je.call(r,0)?NaN:_e(r,Se(t)||(xe.call(Oe,r)?16:10))},Te=2..constructor,Pe="Cannot convert a Symbol value to a number".slice,ke=/^0b[01]+$/i,Fe=ke.test,Me=/^0o[0-7]+$/i,Ne=new(0,ke.constructor)("[ ]","g"),Ce=/^[-+]0x[0-9a-f]+$/i,Ie=function e(t){var r=ue(t,Te);if(s()(r))throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof r){if(function(e){return Fe.call(ke,e)}(r))return e(Ee(Pe.call(r,2),2));if(function(e){return Fe.call(Me,e)}(r))return e(Ee(Pe.call(r,2),8));if(function(e){return Fe.call(Ne,e)}(r)||function(e){return Fe.call(Ce,e)}(r))return NaN;var n=M(r);if(n!==r)return e(n)}return Te(r)},De=function(e){return e!=e},$e=function(e){return"number"==typeof e&&!1===De(e)&&e!==1/0&&e!==-1/0},Ge=function(e){var t=Ie(e);return 0===t||De(t)?t:t>0?1:-1},Re=Math.abs,Ae=Math.floor,Xe=function(e){var t=Ie(e);return De(t)?0:0===t||!1===$e(t)?t:Ge(t)*Ae(Re(t))},qe=function(e){var t=Ie(e),r=arguments.length;if(r<2)return t;var n,o=Ie(arguments[1]);if(r<3?(n=o,o=0):n=Ie(arguments[2]),o>n)throw new RangeError('"min" must be less than "max"');return t<o?o:t>n?n:t},Le=/^(?:0|[1-9]\d*)$/,Be=Le.test,He=function(e,t){var r=he(e);if(!1===Be.call(Le,r))return!1;var n=Ie(r);return arguments.length>1?n<qe(Xe(t),9007199254740991):n<9007199254740991},Ue={}.propertyIsEnumerable,Ve=function(e,t){return Ue.call(K(e),pe(t))},ze={}.constructor,Je=(!0).constructor,Ke="function"==typeof ze.getOwnPropertyDescriptor&&ze.getOwnPropertyDescriptor,Qe=function(e,t){e[pe(t)]=0;var r=n(Ke,e,t);return!1===r.threw&&0===r.value.value};if(Ke){var We="undefined"!=typeof document&&document;if(!We||Qe(We.createElement("div"),"sentinel")){var Ye=n(Ke,ze("abc"),1);if(!1===Ye.threw&&Ye.value&&"b"===Ye.value.value)if(Qe({},"sentinel")){var Ze=!1===n(Ke,42,"name").threw;le=f&&Qe({},ze(Symbol("")))?Ze?Ke:function(e,t){return Ke(K(e),t)}:Ze?function(e,t){return Ke(e,pe(t))}:function(e,t){return Ke(K(e),pe(t))}}else ae=Ke;else fe=Ke}}if(!1===Je(le)||ae||fe){var et,tt,rt=ze.prototype,nt=be(rt,"__defineGetter__");if(nt){var ot=rt.__lookupGetter__,it=rt.__lookupSetter__;et=function(e,t){return ot.call(e,t)},tt=function(e,t){return it.call(e,t)}}le=function(e,t){var r,o=K(e),i=pe(t);if(ae&&!1===(r=n.call(ze,ae,o,i)).threw)return r.value;var c=ve()(o)&&He(i,o.length);if(fe&&!1===c&&!1===(r=n.call(ze,fe,o,i)).threw)return r.value;var u=void 0;if(!1===c&&!1===be(o,i))return u;if(u={configurable:!1===y()(e)&&!1===c,enumerable:Ve(o,i)},nt){var s=o.__proto__,a=o!==rt;a&&(o.__proto__=rt);var f=et(o,i),l=tt(o,i);if(a&&(o.__proto__=s),f||l)return f&&(u.get=f),l&&(u.set=l),u}return c?(u.value=o.charAt(i),u.writable=!1):(u.value=o[i],u.writable=!0),u}}var ct,ut,st=le,at=function(e){if(y()(e))throw new TypeError("".concat(he(e)," is not an object"));return e},ft={}.constructor,lt=(!0).constructor,pt=ft.defineProperty,yt="function"==typeof pt&&pt,bt=function(e){var t=K(e),r={};if(be(t,"enumerable")&&(r.enumerable=lt(t.enumerable)),be(t,"configurable")&&(r.configurable=lt(t.configurable)),be(t,"value")&&(r.value=t.value),be(t,"writable")&&(r.writable=lt(t.writable)),be(t,"get")){var n=t.get;if(void 0!==n&&!1===V(n))throw new TypeError("getter must be a function");r.get=n}if(be(t,"set")){var o=t.set;if(void 0!==o&&!1===V(o))throw new TypeError("setter must be a function");r.set=o}if((be(r,"get")||be(r,"set"))&&(be(r,"value")||be(r,"writable")))throw new TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r};if(yt){var dt=function(e){var t=n(yt,e,"sentinel",{});return!1===t.threw&&t.value===e&&"sentinel"in e},vt="undefined"!=typeof document&&document;dt({})&&(!1===lt(vt)||dt(vt.createElement("div")))?ut=function(e,t,r){return yt(at(e),pe(t),bt(r))}:ct=yt}if(!1===lt(yt)||ct){var gt=ft.prototype,mt=be(gt,"__defineGetter__"),wt=mt&>.__defineGetter_,ht=mt&>.__defineSetter__,_t=mt&>.__lookupGetter__,St=mt&>.__lookupSetter__;ut=function(e,t,r){at(e);var o=pe(t),i=bt(r);if(ct){var c=n.call(ft,ct,e,o,i);if(!1===c.threw)return c.value}if(be(i,"value"))if(mt&&(_t.call(e,o)||St.call(e,o))){var u=e.__proto__;e.__proto__=gt,delete e[o],e[o]=i.value,e.__proto__=u}else e[o]=i.value;else{if(!1===mt&&(i.get||i.set))throw new TypeError("getters & setters can not be defined on this javascript engine");i.get&&wt.call(e,o,i.get),i.set&&ht.call(e,o,i.set)}return e}}var jt=ut,Ot=/none/.exec;t.default=function(e){if(!1===z(e))return!1;if(!1===l)return"[object RegExp]"===c(e);var t=st(e,"lastIndex");return!0===(t&&be(t,"value"))&&function(e,t){try{return e.lastIndex=0,Ot.call(e),!0}catch(e){return!1}finally{jt(e,"lastIndex",t)}}(e,t)}}])}); | ||
//# sourceMappingURL=is-regexp-x.min.js.map |
{ | ||
"name": "is-regexp-x", | ||
"version": "3.0.16", | ||
"version": "3.0.17", | ||
"description": "Is this value a JS regex?", | ||
@@ -52,8 +52,8 @@ "homepage": "https://github.com/Xotic750/is-regexp-x", | ||
"dependencies": { | ||
"has-own-property-x": "^4.0.15", | ||
"has-to-string-tag-x": "^2.0.21", | ||
"is-object-like-x": "^2.0.24", | ||
"object-define-property-x": "^5.0.15", | ||
"object-get-own-property-descriptor-x": "^4.0.16", | ||
"to-string-tag-x": "^2.0.25" | ||
"has-own-property-x": "^4.0.16", | ||
"has-to-string-tag-x": "^2.0.22", | ||
"is-object-like-x": "^2.0.25", | ||
"object-define-property-x": "^5.0.16", | ||
"object-get-own-property-descriptor-x": "^4.0.17", | ||
"to-string-tag-x": "^2.0.26" | ||
}, | ||
@@ -79,3 +79,3 @@ "devDependencies": { | ||
"babel-plugin-lodash": "^3.3.4", | ||
"caniuse-lite": "^1.0.30000985", | ||
"caniuse-lite": "^1.0.30000986", | ||
"chalk": "^2.4.2", | ||
@@ -82,0 +82,0 @@ "concurrently": "^4.1.1", |
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
265537
1823