Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-regexp-x

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-regexp-x - npm Package Compare versions

Comparing version 3.0.11 to 3.0.12

8

dist/is-regexp-x.min.js

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2017",
"date": "2019-07-22T12:56:56.611Z",
"date": "2019-07-24T00:38:01.431Z",
"describe": "",
"description": "Is this value a JS regex?",
"file": "is-regexp-x.min.js",
"hash": "d61fdea3313c1c1d4f0e",
"hash": "614c465d88dc9070b525",
"license": "MIT",
"version": "3.0.11"
"version": "3.0.12"
}

@@ -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="",j=h.length,O=0;O<j;O+=1)h[O].es2016&&(_+=h[O].string),h[O].es2018&&(S+=h[O].string);var x=S,E=_,T="",P=/none/.constructor,k=(new P("^[".concat(E,"]+")),new P("^[".concat(x,"]+"))),F=T.replace;var M=function(e){return F.call(w(e),k,T)},I="",N=/none/.constructor,$=(new N("[".concat(E,"]+$")),new N("[".concat(x,"]+$"))),C=I.replace;var D=function(e){return C.call(w(e),$,I)};var G=function(e){return M(D(e))},R=" ",A=/none/.constructor,X=(new A("[".concat(E,"]+"),"g"),new A("[".concat(x,"]+"),"g")),q=R.replace;var L=function(e){return q.call(G(e),X,R)},B=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,H="".replace,U=function(e,t){return H.call(w(e),B,arguments.length>1?m(t):"")};var V=n.constructor,z=(!0).constructor,J=n.toString,K=/^class /,Q=K.test,W=!1===n(function(){return function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),V('"use strict"; return class My {};')()}.bind(void 0)).threw,Y=function(e){return Q.call(K,L(U(J.call(e)," ")))},Z=function(e){var t=n(Y,e);return!1===t.threw&&t.value},ee=function(e,t){if(y()(e))return!1;if(l)return function(e,t){return!(W&&!1===t&&Z(e)||!1!==n.call(e,J).threw)}(e,o(t));if(W&&!1===z(t)&&Z(e))return!1;var r=c(e);return"[object Function]"===r||"[object GeneratorFunction]"===r||"[object AsyncFunction]"===r},te=function(e){return!1===y()(e)&&!1===ee(e,!0)},re={}.constructor,ne=function(e){return re(d(e))},oe=r(2),ie=r.n(oe),ce="string".constructor,ue=(0).constructor,se=f&&Symbol.toPrimitive,ae=f&&Symbol.prototype.valueOf,fe=["toString","valueOf"],le=["valueOf","toString"],pe=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?fe:le,i=0;i<2;i+=1)if(r=e[o[i]],ee(r)&&(n=r.call(e),y()(n)))return n;throw new TypeError("No default value")},ye=function(e,t){if(t){if(e===ce)return"string";if(e===ue)return"number"}return"default"},be=function(e){if(f){if(se)return function(e,t){var r=e[t];if(!1===b(r)){if(!1===ee(r))throw new TypeError("".concat(r," returned for property ").concat(t," of object ").concat(e," is not a function"));return r}}(e,se);if(s()(e))return ae}},de=function(e,t){if(y()(e))return e;var r=ye(t,arguments.length>1),n=be(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&&(ie()(e)||s()(e))?"string":r;return pe(e,"default"===i?"number":i)};function ve(e){return(ve="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 ge=function(e){var t=de(e,String);return f&&"symbol"===ve(t)?t:m(t)},me={}.hasOwnProperty,we=function(e,t){return me.call(ne(e),ge(t))},he=r(3),_e=r.n(he),Se=f&&Symbol.prototype.toString,je="function"==typeof Se&&s.a,Oe="".constructor,xe=function(e){return je&&je(e)?Se.call(e):Oe(e)},Ee=NaN,Te=parseInt,Pe=(0).constructor,ke="".charAt,Fe=/^[-+]?0[xX]/,Me=Fe.test;var Ie=function(e,t){var r=M(m(e));return"᠎"===ke.call(r,0)?Ee:Te(r,Pe(t)||(Me.call(Fe,r)?16:10))},Ne=2,$e=8,Ce=2,De="Cannot convert a Symbol value to a number",Ge=Ce.constructor,Re=De.slice,Ae=/^0b[01]+$/i,Xe=Ae.constructor,qe=Ae.test,Le=function(e){return qe.call(Ae,e)},Be=/^0o[0-7]+$/i,He=function(e){return qe.call(Be,e)},Ue=(new Xe("[…​￾]","g"),new Xe("[…᠎​￾]","g")),Ve=/^[-+]0x[0-9a-f]+$/i,ze=function(e){return qe.call(Ve,e)};var Je=function e(t){var r=de(t,Ge);if(s()(r))throw new TypeError(De);if("string"==typeof r){if(Le(r))return e(Ie(Re.call(r,Ce),Ne));if(He(r))return e(Ie(Re.call(r,Ce),$e));if(function(e){return qe.call(Ue,e)}(r)||ze(r))return Ee;var n=G(r);if(n!==r)return e(n)}return Ge(r)},Ke=function(e){return e!=e},Qe=function(e){return"number"==typeof e&&!1===Ke(e)&&e!==1/0&&e!==-1/0};var We=function(e){var t=Je(e);return 0===t||Ke(t)?t:t>0?1:-1},Ye=Math.abs,Ze=Math.floor;var et,tt,rt,nt=function(e){var t=Je(e);return Ke(t)?0:0===t||!1===Qe(t)?t:We(t)*Ze(Ye(t))},ot=function(e){var t=Je(e),r=arguments.length;if(r<2)return t;var n,o=Je(arguments[1]);if(r<3?(n=o,o=0):n=Je(arguments[2]),o>n)throw new RangeError('"min" must be less than "max"');return t<o?o:t>n?n:t},it=/^(?:0|[1-9]\d*)$/,ct=it.test,ut=function(e,t){var r=xe(e);if(!1===ct.call(it,r))return!1;var n=Je(r);return arguments.length>1?n<ot(nt(t),9007199254740991):n<9007199254740991},st={}.propertyIsEnumerable,at=function(e,t){return st.call(ne(e),ge(t))},ft={}.constructor,lt=(!0).constructor,pt="function"==typeof ft.getOwnPropertyDescriptor&&ft.getOwnPropertyDescriptor,yt=function(e,t){e[ge(t)]=0;var r=n(pt,e,t);return!1===r.threw&&0===r.value.value};if(pt){var bt="undefined"!=typeof document&&document;if(!bt||yt(bt.createElement("div"),"sentinel")){var dt=n(pt,ft("abc"),1);if(!1===dt.threw&&dt.value&&"b"===dt.value.value)if(yt({},"sentinel")){var vt=!1===n(pt,42,"name").threw;rt=f&&yt({},ft(Symbol("")))?vt?pt:function(e,t){return pt(ne(e),t)}:vt?function(e,t){return pt(e,ge(t))}:function(e,t){return pt(ne(e),ge(t))}}else et=pt;else tt=pt}}if(!1===lt(rt)||et||tt){var gt,mt,wt=ft.prototype,ht=we(wt,"__defineGetter__");if(ht){var _t=wt.__lookupGetter__,St=wt.__lookupSetter__;gt=function(e,t){return _t.call(e,t)},mt=function(e,t){return St.call(e,t)}}rt=function(e,t){var r,o=ne(e),i=ge(t);if(et&&!1===(r=n.call(ft,et,o,i)).threw)return r.value;var c=_e()(o)&&ut(i,o.length);if(tt&&!1===c&&!1===(r=n.call(ft,tt,o,i)).threw)return r.value;var u=void 0;if(!1===c&&!1===we(o,i))return u;if(u={configurable:!1===y()(e)&&!1===c,enumerable:at(o,i)},ht){var s=o.__proto__,a=o!==wt;a&&(o.__proto__=wt);var f=gt(o,i),l=mt(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 jt,Ot,xt=rt,Et=function(e){if(y()(e))throw new TypeError("".concat(xe(e)," is not an object"));return e},Tt=(!0).constructor,Pt="function"==typeof Object.defineProperty&&Object.defineProperty,kt=function(e){var t=ne(e),r={};if(we(t,"enumerable")&&(r.enumerable=Tt(t.enumerable)),we(t,"configurable")&&(r.configurable=Tt(t.configurable)),we(t,"value")&&(r.value=t.value),we(t,"writable")&&(r.writable=Tt(t.writable)),we(t,"get")){var n=t.get;if(void 0!==n&&!1===ee(n))throw new TypeError("getter must be a function");r.get=n}if(we(t,"set")){var o=t.set;if(void 0!==o&&!1===ee(o))throw new TypeError("setter must be a function");r.set=o}if((we(r,"get")||we(r,"set"))&&(we(r,"value")||we(r,"writable")))throw new TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r};if(Pt){var Ft=function(e){var t=n(Pt,e,"sentinel",{});return!1===t.threw&&t.value===e&&"sentinel"in e},Mt="undefined"!=typeof document&&document;Ft({})&&(!1===Tt(Mt)||Ft(Mt.createElement("div")))?Ot=function(e,t,r){return Pt(Et(e),ge(t),kt(r))}:jt=Pt}if(!1===Tt(Pt)||jt){var It,Nt,$t,Ct,Dt=Object.prototype,Gt=we(Dt,"__defineGetter__");Gt&&(It=Dt.__defineGetter__,Nt=Dt.__defineSetter__,$t=Dt.__lookupGetter__,Ct=Dt.__lookupSetter__),Ot=function(e,t,r){Et(e);var o=ge(t),i=kt(r);if(jt){var c=n.call(Object,jt,e,o,i);if(!1===c.threw)return c.value}if(we(i,"value"))if(Gt&&($t.call(e,o)||Ct.call(e,o))){var u=e.__proto__;e.__proto__=Dt,delete e[o],e[o]=i.value,e.__proto__=u}else e[o]=i.value;else{if(!1===Gt&&(i.get||i.set))throw new TypeError("getters & setters can not be defined on this javascript engine");i.get&&It.call(e,o,i.get),i.set&&Nt.call(e,o,i.set)}return e}}var Rt=Ot,At=/none/.exec;t.default=function(e){if(!1===te(e))return!1;if(!1===l)return"[object RegExp]"===c(e);var t=xt(e,"lastIndex");return!0===(t&&we(t,"value"))&&function(e,t){try{return e.lastIndex=0,At.call(e),!0}catch(e){return!1}finally{Rt(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=(!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)}}])});
//# sourceMappingURL=is-regexp-x.min.js.map
{
"name": "is-regexp-x",
"version": "3.0.11",
"version": "3.0.12",
"description": "Is this value a JS regex?",

@@ -51,8 +51,8 @@ "homepage": "https://github.com/Xotic750/is-regexp-x",

"dependencies": {
"has-own-property-x": "^4.0.10",
"has-to-string-tag-x": "^2.0.15",
"is-object-like-x": "^2.0.18",
"object-define-property-x": "^5.0.10",
"object-get-own-property-descriptor-x": "^4.0.11",
"to-string-tag-x": "^2.0.19"
"has-own-property-x": "^4.0.11",
"has-to-string-tag-x": "^2.0.16",
"is-object-like-x": "^2.0.19",
"object-define-property-x": "^5.0.11",
"object-get-own-property-descriptor-x": "^4.0.12",
"to-string-tag-x": "^2.0.20"
},

@@ -71,3 +71,3 @@ "devDependencies": {

"@babel/runtime": "^7.5.5",
"@prorenata/eslint-config-vue": "^1.13.10",
"@prorenata/eslint-config-vue": "^1.13.11",
"@types/jest": "^24.0.15",

@@ -95,4 +95,4 @@ "@types/node": "^12.6.8",

"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.13.0",
"eslint-plugin-jsdoc": "^15.6.1",
"eslint-plugin-jest": "^22.13.6",
"eslint-plugin-jsdoc": "^15.7.1",
"eslint-plugin-json": "^1.4.0",

@@ -120,3 +120,3 @@ "eslint-plugin-lodash": "^5.1.0",

"rimraf": "^2.6.3",
"semver": "^6.2.0",
"semver": "^6.3.0",
"source-map-loader": "^0.2.4",

@@ -126,3 +126,3 @@ "strip-ansi": "^5.2.0",

"typescript": "^3.5.3",
"webpack": "^4.36.1",
"webpack": "^4.37.0",
"webpack-bundle-analyzer": "^3.3.2",

@@ -129,0 +129,0 @@ "webpack-cli": "^3.3.6",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc