@transferwise/neptune-validation
Advanced tools
Comparing version 3.0.5 to 3.0.6-next-6863af5c39.280
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@transferwise/neptune-validation"]={})}(this,function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}function c(t){try{return!!t()}catch(t){return!0}}function r(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function f(t){return b.call(t).slice(8,-1)}function o(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function a(t){return v(o(t))}function l(t){return"object"==typeof t?null!==t:"function"==typeof t}function i(t,e){return arguments.length<2?"function"==typeof(n=s[t])?n:void 0:s[t]&&s[t][e];var n}var u=function(t){return t&&t.Math==Math&&t},s=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof e&&e)||function(){return this}()||Function("return this")(),p=!c(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),y={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,g={f:d&&!y.call({1:2},1)?function(t){t=d(this,t);return!!t&&t.enumerable}:y},b={}.toString,h="".split,v=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,m=i("navigator","userAgent")||"",u=s.process,e=s.Deno,y=u&&u.versions||e&&e.version,u=y&&y.v8;u?ot=(rt=u.split("."))[0]<4?1:rt[0]+rt[1]:m&&(!(rt=m.match(/Edge\/(\d+)/))||74<=rt[1])&&(rt=m.match(/Chrome\/(\d+)/))&&(ot=rt[1]);function O(e,n){try{Object.defineProperty(s,e,{value:n,configurable:!0,writable:!0})}catch(t){s[e]=n}return n}function S(t){return Object(o(t))}function w(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++x+M).toString(36)}function E(t,e){if(!l(t)||k(t))return t;var n=t[D];if(void 0===n)return function(t,e){var n,r;if("string"===e&&"function"==typeof(n=t.toString)&&!l(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!l(r=n.call(t)))return r;if("string"!==e&&"function"==typeof(n=t.toString)&&!l(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}(t,e=void 0===e?"number":e);if(e=n.call(t,e=void 0===e?"default":e),!l(e)||k(e))return e;throw TypeError("Can't convert object to primitive value")}function j(t){return t=E(t,"string"),k(t)?t:String(t)}function N(t){return V?G.createElement(t):{}}function T(t){if(!l(t))throw TypeError(String(t)+" is not an object");return t}var _=ot&&+ot,I=!!Object.getOwnPropertySymbols&&!c(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&_&&_<41}),e=I&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,k=e?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return"function"==typeof e&&Object(t)instanceof e},y="__core-js_shared__",P=s[y]||O(y,{}),u=n(function(t){(t.exports=function(t,e){return P[t]||(P[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),A={}.hasOwnProperty,C=Object.hasOwn||function(t,e){return A.call(S(t),e)},x=0,M=Math.random(),F=u("wks"),L=s.Symbol,R=e?L:L&&L.withoutSetter||w,m=function(t){return C(F,t)&&(I||"string"==typeof F[t])||(I&&C(L,t)?F[t]=L[t]:F[t]=R("Symbol."+t)),F[t]},D=m("toPrimitive"),G=s.document,V=l(G)&&l(G.createElement),z=!p&&!c(function(){return 7!=Object.defineProperty(N("div"),"a",{get:function(){return 7}}).a}),U=Object.getOwnPropertyDescriptor,W={f:p?U:function(t,e){if(t=a(t),e=j(e),z)try{return U(t,e)}catch(t){}if(C(t,e))return r(!g.f.call(t,e),t[e])}},X=Object.defineProperty,Y={f:p?X:function(t,e,n){if(T(t),e=j(e),T(n),z)try{return X(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},B=p?function(t,e,n){return Y.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t},K=Function.toString;"function"!=typeof P.inspectSource&&(P.inspectSource=function(t){return K.call(t)});var q,$,H,J,Q,Z,tt,et,nt=P.inspectSource,rt=s.WeakMap,ot="function"==typeof rt&&/native code/.test(nt(rt)),it=u("keys"),y=function(t){return it[t]||(it[t]=w(t))},ut={},ct="Object already initialized",e=s.WeakMap;tt=ot||P.state?(q=P.state||(P.state=new e),$=q.get,H=q.has,J=q.set,Q=function(t,e){if(H.call(q,t))throw new TypeError(ct);return e.facade=t,J.call(q,t,e),e},Z=function(t){return $.call(q,t)||{}},function(t){return H.call(q,t)}):(et=y("state"),ut[et]=!0,Q=function(t,e){if(C(t,et))throw new TypeError(ct);return e.facade=t,B(t,et,e),e},Z=function(t){return C(t,et)?t[et]:{}},function(t){return C(t,et)});function ft(t){return isNaN(t=+t)?0:(0<t?yt:pt)(t)}function at(t,e){var n,r=a(t),o=0,i=[];for(n in r)!C(ut,n)&&C(r,n)&&i.push(n);for(;e.length>o;)C(r,n=e[o++])&&(~ht(i,n)||i.push(n));return i}var lt={set:Q,get:Z,has:tt,enforce:function(t){return tt(t)?Z(t):Q(t,{})},getterFor:function(n){return function(t){var e;if(!l(t)||(e=Z(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}}},st=n(function(t){var e=lt.get,c=lt.enforce,f=String(String).split("String");(t.exports=function(t,e,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||C(n,"name")||B(n,"name",e),(r=c(n)).source||(r.source=f.join("string"==typeof e?e:""))),t!==s?(o?!u&&t[e]&&(i=!0):delete t[e],i?t[e]=n:B(t,e,n)):i?t[e]=n:O(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||nt(this)})}),pt=Math.ceil,yt=Math.floor,dt=Math.min,gt=Math.max,bt=Math.min,rt=function(c){return function(t,e,n){var r,o=a(t),i=0<(t=o.length)?dt(ft(t),9007199254740991):0,u=function(t,e){t=ft(t);return t<0?gt(t+e,0):bt(t,e)}(n,i);if(c&&e!=e){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((c||u in o)&&o[u]===e)return c||u||0;return!c&&-1}},u={includes:rt(!0),indexOf:rt(!1)},ht=u.indexOf,vt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mt=vt.concat("length","prototype"),Ot={f:Object.getOwnPropertyNames||function(t){return at(t,mt)}},St={f:Object.getOwnPropertySymbols},wt=i("Reflect","ownKeys")||function(t){var e=Ot.f(T(t)),n=St.f;return n?e.concat(n(t)):e},Et=/#|\.prototype\./,ot=function(t,e){t=Nt[jt(t)];return t==_t||t!=Tt&&("function"==typeof e?c(e):!!e)},jt=ot.normalize=function(t){return String(t).replace(Et,".").toLowerCase()},Nt=ot.data={},Tt=ot.NATIVE="N",_t=ot.POLYFILL="P",It=ot,kt=W.f,e=function(t,e){var n,r,o,i=t.target,u=t.global,c=t.stat,f=u?s:c?s[i]||O(i,{}):(s[i]||{}).prototype;if(f)for(n in e){if(r=e[n],o=t.noTargetGet?(o=kt(f,n))&&o.value:f[n],!It(u?n:i+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;!function(t,e){for(var n=wt(e),r=Y.f,o=W.f,i=0;i<n.length;i++){var u=n[i];C(t,u)||r(t,u,o(e,u))}}(r,o)}(t.sham||o&&o.sham)&&B(r,"sham",!0),st(f,n,r,t)}};e({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});function Pt(){}function At(t){return"<script>"+t+"</"+Gt+">"}function Ct(t){t.write(At("")),t.close();var e=t.parentWindow.Object;return t=null,e}var xt,Mt=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,t={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),r=t instanceof Array}catch(t){}return function(t,e){return T(t),function(t){if(!l(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(e),r?n.call(t,e):t.__proto__=e,t}}():void 0),Ft=Object.keys||function(t){return at(t,vt)},Lt=p?Object.defineProperties:function(t,e){T(t);for(var n,r=Ft(e),o=r.length,i=0;i<o;)Y.f(t,n=r[i++],e[n]);return t},Rt=i("document","documentElement"),Dt="prototype",Gt="script",Vt=y("IE_PROTO"),zt=function(){try{xt=new ActiveXObject("htmlfile")}catch(t){}zt=(!document.domain||!xt)&&function(){var t=N("iframe");if(t.style)return t.style.display="none",Rt.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(At("document.F=Object")),t.close(),t.F}()||Ct(xt);for(var t=vt.length;t--;)delete zt[Dt][vt[t]];return zt()};ut[Vt]=!0;function Ut(t){if(k(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}function Wt(t){if(k(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,u,c,f=E(t,"number");if("string"==typeof f&&2<f.length)if(43===(e=(f=qt(f)).charCodeAt(0))||45===e){if(88===(t=f.charCodeAt(2))||120===t)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+f}for(i=(o=f.slice(2)).length,u=0;u<i;u++)if((c=o.charCodeAt(u))<48||r<c)return NaN;return parseInt(o,n)}return+f}var rt=Object.create||function(t,e){var n;return null!==t?(Pt[Dt]=T(t),n=new Pt,Pt[Dt]=null,n[Vt]=t):n=zt(),void 0===e?n:Lt(n,e)},ot="[\t\n\v\f\r \u2028\u2029\ufeff]",Xt=RegExp("^"+ot+ot+"*"),Yt=RegExp(ot+ot+"*$"),y=function(e){return function(t){t=Ut(o(t));return 1&e&&(t=t.replace(Xt,"")),t=2&e?t.replace(Yt,""):t}},ot={start:y(1),end:y(2),trim:y(3)},y=Ot.f,Bt=W.f,Kt=Y.f,qt=ot.trim,$t="Number",Ht=s[$t],Jt=Ht.prototype,Qt=f(rt(Jt))==$t;if(It($t,!Ht(" 0o1")||!Ht("0b1")||Ht("+0x1"))){for(var Zt,te=function(t){var e,n,r,o,i=arguments.length<1?0:t,u=this;return u instanceof te&&(Qt?c(function(){Jt.valueOf.call(u)}):f(u)!=$t)?(e=new Ht(Wt(i)),n=u,t=te,Mt&&"function"==typeof(r=n.constructor)&&r!==t&&l(o=r.prototype)&&o!==t.prototype&&Mt(e,o),e):Wt(i)},ee=p?y(Ht):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),ne=0;ee.length>ne;ne++)C(Ht,Zt=ee[ne])&&!C(te,Zt)&&Kt(te,Zt,Bt(Ht,Zt));(te.prototype=Jt).constructor=te,st(s,$t,te)}function re(t){return"string"==typeof t}function oe(t){return"number"==typeof t&&!Number.isNaN(t)}function ie(t){return!ce(t)&&!fe(t)&&t.constructor===Object}function ue(t){return Array.isArray(t)}var ce=function(t){return null===t},fe=function(t){return void 0===t};e({target:"Object",stat:!0,forced:c(function(){Ft(1)})},{keys:function(t){return Ft(S(t))}});var ae=m("unscopables"),le=Array.prototype;null==le[ae]&&Y.f(le,ae,{configurable:!0,value:rt(null)});var se=u.includes;e({target:"Array",proto:!0},{includes:function(t){return se(this,t,1<arguments.length?arguments[1]:void 0)}}),le[ae].includes=!0;function pe(t){if(l(e=t)&&(void 0!==(n=e[ye])?!!n:"RegExp"==f(e)))throw TypeError("The method doesn't accept regular expressions");var e,n;return t}var ye=m("match"),de=m("match");e({target:"String",proto:!0,forced:!function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[de]=!1,"/./"[e](n)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~Ut(o(this)).indexOf(Ut(pe(t)),1<arguments.length?arguments[1]:void 0)}});var ge={SPACE:{key:[" ","Spacebar"],keyCode:32},ENTER:{key:"Enter",keyCode:13},TAB:{key:"Tab",keyCode:9},ESCAPE:{key:"Escape",keyCode:27}};t.isArray=ue,t.isBoolean=function(t){return"boolean"==typeof t},t.isEmpty=function(t){return re(t)&&0===t.length||(ie(t)||ue(t))&&0===Object.keys(t).length},t.isInteger=function(t){return oe(t)&&Math.floor(t)===t},t.isKey=function(t){var e=t.keyType,n=t.event;if(!e||!n)return!1;t=e.toUpperCase(),e=ge[t];if(!e)return!1;t=n.key,n=n.keyCode;return t?ue(e.key)?e.key.includes(t):t===e.key:n===e.keyCode},t.isNull=ce,t.isNumber=oe,t.isObject=ie,t.isString=re,t.isUndefined=fe,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@transferwise/neptune-validation"]={})}(this,function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}function f(t){try{return!!t()}catch(t){return!0}}function r(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function o(t){return C(k(t),8,-1)}function i(t){if("Function"===o(t))return A(t)}function u(t){return null==t}function c(t){if(u(t))throw L("Can't call method on "+t);return t}function a(t){return x(c(t))}function l(t,e){return arguments.length<2?(n=O[t],R(n)?n:void 0):O[t]&&O[t][e];var n}function s(t){if(R(t))return t;throw K(function(t){try{return Y(t)}catch(t){return"Object"}}(t)+" is not a function")}function p(e,n){try{q(O,e,{value:n,configurable:!0,writable:!0})}catch(t){O[e]=n}return n}function y(t){return Q(c(t))}function b(t){return"Symbol("+(void 0===t?"":t)+")_"+rt(++et+nt,36)}function g(t,e){if(!U(t)||H(t))return t;var n=function(t,e){e=t[e];return u(e)?void 0:s(e)}(t,at);if(n){if(n=E(n,t,e=void 0===e?"default":e),!U(n)||H(n))return n;throw ft("Can't convert object to primitive value")}return function(t,e){var n,r;if("string"===e&&R(n=t.toString)&&!U(r=E(n,t)))return r;if(R(n=t.valueOf)&&!U(r=E(n,t)))return r;if("string"!==e&&R(n=t.toString)&&!U(r=E(n,t)))return r;throw $("Can't convert object to primitive value")}(t,e=void 0===e?"number":e)}function d(t){return t=g(t,"string"),H(t)?t:t+""}function h(t){return st?lt.createElement(t):{}}function v(t){if(U(t))return t;throw dt(gt(t)+" is not an object")}var m=function(t){return t&&t.Math==Math&&t},O=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof e&&e)||function(){return this}()||Function("return this")(),S=!f(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),j=!f(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}),w=Function.prototype.call,E=j?w.bind(w):function(){return w.apply(w,arguments)},T={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,I={f:N&&!T.call({1:2},1)?function(t){t=N(this,t);return!!t&&t.enumerable}:T},P=Function.prototype,_=P.call,m=j&&P.bind.bind(_,_),A=j?m:function(t){return function(){return _.apply(t,arguments)}},k=A({}.toString),C=A("".slice),M=Object,F=i("".split),x=f(function(){return!M("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?F(t,""):M(t)}:M,L=TypeError,e="object"==typeof document&&document.all,T={all:e,IS_HTMLDDA:void 0===e&&void 0!==e},D=T.all,R=T.IS_HTMLDDA?function(t){return"function"==typeof t||t===D}:function(t){return"function"==typeof t},z=T.all,U=T.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:R(t)||t===z}:function(t){return"object"==typeof t?null!==t:R(t)},G=i({}.isPrototypeOf),P=l("navigator","userAgent")||"",j=O.process,m=O.Deno,e=j&&j.versions||m&&m.version,T=e&&e.v8,V=Nt=!(Nt=T?0<(Tt=T.split("."))[0]&&Tt[0]<4?1:+(Tt[0]+Tt[1]):Nt)&&P&&(!(Tt=P.match(/Edge\/(\d+)/))||74<=Tt[1])&&(Tt=P.match(/Chrome\/(\d+)/))?+Tt[1]:Nt,W=!!Object.getOwnPropertySymbols&&!f(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V&&V<41}),B=W&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=Object,H=B?function(t){return"symbol"==typeof t}:function(t){var e=l("Symbol");return R(e)&&G(e.prototype,X(t))},Y=String,K=TypeError,$=TypeError,q=Object.defineProperty,j="__core-js_shared__",J=O[j]||p(j,{}),m=n(function(t){(t.exports=function(t,e){return J[t]||(J[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Q=Object,Z=i({}.hasOwnProperty),tt=Object.hasOwn||function(t,e){return Z(y(t),e)},et=0,nt=Math.random(),rt=i(1..toString),ot=m("wks"),it=O.Symbol,ut=it&&it.for,ct=B?it:it&&it.withoutSetter||b,e=function(t){var e;return tt(ot,t)&&(W||"string"==typeof ot[t])||(e="Symbol."+t,W&&tt(it,t)?ot[t]=it[t]:ot[t]=(B&&ut?ut:ct)(e)),ot[t]},ft=TypeError,at=e("toPrimitive"),lt=O.document,st=U(lt)&&U(lt.createElement),pt=!S&&!f(function(){return 7!=Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a}),yt=Object.getOwnPropertyDescriptor,bt={f:S?yt:function(t,e){if(t=a(t),e=d(e),pt)try{return yt(t,e)}catch(t){}if(tt(t,e))return r(!E(I.f,t,e),t[e])}},T=S&&f(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),gt=String,dt=TypeError,ht=TypeError,vt=Object.defineProperty,mt=Object.getOwnPropertyDescriptor,Ot="enumerable",St="configurable",jt="writable",wt={f:S?T?function(t,e,n){var r;return v(t),e=d(e),v(n),"function"==typeof t&&"prototype"===e&&"value"in n&&jt in n&&!n[jt]&&((r=mt(t,e))&&r[jt]&&(t[e]=n.value,n={configurable:(St in n?n:r)[St],enumerable:(Ot in n?n:r)[Ot],writable:!1})),vt(t,e,n)}:vt:function(t,e,n){if(v(t),e=d(e),v(n),pt)try{return vt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw ht("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Et=S?function(t,e,n){return wt.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t},P=Function.prototype,Tt=S&&Object.getOwnPropertyDescriptor,Nt=tt(P,"name"),It={EXISTS:Nt,PROPER:Nt&&"something"===function(){}.name,CONFIGURABLE:Nt&&(!S||S&&Tt(P,"name").configurable)},Pt=i(Function.toString);R(J.inspectSource)||(J.inspectSource=function(t){return Pt(t)});function _t(t,e,n,r){var o=(r=r||{}).enumerable,i=void 0!==r.name?r.name:e;if(R(n)&&Bt(n,i,r),r.global)o?t[e]=n:p(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:wt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t}function At(t){return(t=+t)!=t||0==t?0:Yt(t)}function kt(t){return 0<(t=t.length)?qt(At(t),9007199254740991):0}function Ct(t,e){var n,r=a(t),o=0,i=[];for(n in r)!tt(zt,n)&&tt(r,n)&&Qt(i,n);for(;e.length>o;)tt(r,n=e[o++])&&(~Jt(i,n)||Qt(i,n));return i}var Mt,Ft,xt,Lt,Dt=J.inspectSource,j=O.WeakMap,Nt=R(j)&&/native code/.test(String(j)),Rt=m("keys"),Tt=function(t){return Rt[t]||(Rt[t]=b(t))},zt={},Ut="Object already initialized",Gt=O.TypeError,P=O.WeakMap,Vt=Nt||J.state?((xt=J.state||(J.state=new P)).get=xt.get,xt.has=xt.has,xt.set=xt.set,Mt=function(t,e){if(xt.has(t))throw Gt(Ut);return e.facade=t,xt.set(t,e),e},Ft=function(t){return xt.get(t)||{}},function(t){return xt.has(t)}):(Lt=Tt("state"),zt[Lt]=!0,Mt=function(t,e){if(tt(t,Lt))throw Gt(Ut);return e.facade=t,Et(t,Lt,e),e},Ft=function(t){return tt(t,Lt)?t[Lt]:{}},function(t){return tt(t,Lt)}),Wt={set:Mt,get:Ft,has:Vt,enforce:function(t){return Vt(t)?Ft(t):Mt(t,{})},getterFor:function(n){return function(t){var e;if(!U(t)||(e=Ft(t)).type!==n)throw Gt("Incompatible receiver, "+n+" required");return e}}},Bt=n(function(t){var r=It.CONFIGURABLE,o=Wt.enforce,e=Wt.get,i=Object.defineProperty,u=S&&!f(function(){return 8!==i(function(){},"length",{value:8}).length}),c=String(String).split("String"),t=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!tt(t,"name")||r&&t.name!==e)&&(S?i(t,"name",{value:e,configurable:!0}):t.name=e),u&&n&&tt(n,"arity")&&t.length!==n.arity&&i(t,"length",{value:n.arity});try{n&&tt(n,"constructor")&&n.constructor?S&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}n=o(t);return tt(n,"source")||(n.source=c.join("string"==typeof e?e:"")),t};Function.prototype.toString=t(function(){return R(this)&&e(this).source||Dt(this)},"toString")}),Xt=Math.ceil,Ht=Math.floor,Yt=Math.trunc||function(t){t=+t;return(0<t?Ht:Xt)(t)},Kt=Math.max,$t=Math.min,qt=Math.min,j=function(c){return function(t,e,n){var r,o=a(t),i=kt(o),u=function(t,e){t=At(t);return t<0?Kt(t+e,0):$t(t,e)}(n,i);if(c&&e!=e){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((c||u in o)&&o[u]===e)return c||u||0;return!c&&-1}},m={includes:j(!0),indexOf:j(!1)},Jt=m.indexOf,Qt=i([].push),Zt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],te=Zt.concat("length","prototype"),ee={f:Object.getOwnPropertyNames||function(t){return Ct(t,te)}},ne={f:Object.getOwnPropertySymbols},re=i([].concat),oe=l("Reflect","ownKeys")||function(t){var e=ee.f(v(t)),n=ne.f;return n?re(e,n(t)):e},ie=/#|\.prototype\./,Nt=function(t,e){t=ce[ue(t)];return t==ae||t!=fe&&(R(e)?f(e):!!e)},ue=Nt.normalize=function(t){return String(t).replace(ie,".").toLowerCase()},ce=Nt.data={},fe=Nt.NATIVE="N",ae=Nt.POLYFILL="P",le=Nt,se=bt.f,P=function(t,e){var n,r,o,i=t.target,u=t.global,c=t.stat,f=u?O:c?O[i]||p(i,{}):(O[i]||{}).prototype;if(f)for(n in e){if(r=e[n],o=t.dontCallGetSet?(o=se(f,n))&&o.value:f[n],!le(u?n:i+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;!function(t,e,n){for(var r=oe(e),o=wt.f,i=bt.f,u=0;u<r.length;u++){var c=r[u];tt(t,c)||n&&tt(n,c)||o(t,c,i(e,c))}}(r,o)}(t.sham||o&&o.sham)&&Et(r,"sham",!0),_t(f,n,r,t)}};P({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var pe=String,ye=TypeError,be=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,t={};try{(n=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(t,[]),r=t instanceof Array}catch(t){}return function(t,e){return v(t),function(t){if("object"==typeof t||R(t))return;throw ye("Can't set "+pe(t)+" as a prototype")}(e),r?n(t,e):t.__proto__=e,t}}():void 0),ge=i(1..valueOf),j={};j[e("toStringTag")]="z";function de(t){if("Symbol"===Oe(t))throw TypeError("Cannot convert a Symbol value to a string");return Se(t)}var Nt="[object z]"===String(j),he=e("toStringTag"),ve=Object,me="Arguments"==o(function(){return arguments}()),Oe=Nt?o:function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=ve(t),he))?t:me?o(e):"Object"==(t=o(e))&&R(e.callee)?"Arguments":t},Se=String,je=i("".replace),j="[\t\n\v\f\r \u2028\u2029\ufeff]",we=RegExp("^"+j+j+"*"),Ee=RegExp(j+j+"*$"),Nt=function(e){return function(t){t=de(c(t));return 1&e&&(t=je(t,we,"")),t=2&e?je(t,Ee,""):t}},j={start:Nt(1),end:Nt(2),trim:Nt(3)},Nt=ee.f,Te=bt.f,Ne=wt.f,Ie=j.trim,j="Number",Pe=O[j],_e=Pe.prototype,Ae=O.TypeError,ke=i("".slice),Ce=i("".charCodeAt),Me=function(t){var e,n,r,o,i,u,c,f=g(t,"number");if(H(f))throw Ae("Cannot convert a Symbol value to a number");if("string"==typeof f&&2<f.length)if(f=Ie(f),43===(e=Ce(f,0))||45===e){if(88===(t=Ce(f,2))||120===t)return NaN}else if(48===e){switch(Ce(f,1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+f}for(i=(o=ke(f,2)).length,u=0;u<i;u++)if((c=Ce(o,u))<48||r<c)return NaN;return parseInt(o,n)}return+f};if(le(j,!Pe(" 0o1")||!Pe("0b1")||Pe("+0x1"))){for(var Fe,xe=function(t){var e,n,r,o,i=arguments.length<1?0:Pe(function(t){t=g(t,"number");return"bigint"==typeof t?t:Me(t)}(t)),u=this;return G(_e,u)&&f(function(){ge(u)})?(e=Object(i),n=u,t=xe,be&&R(r=n.constructor)&&r!==t&&U(o=r.prototype)&&o!==t.prototype&&be(e,o),e):i},Le=S?Nt(Pe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),De=0;Le.length>De;De++)tt(Pe,Fe=Le[De])&&!tt(xe,Fe)&&Ne(xe,Fe,Te(Pe,Fe));(xe.prototype=_e).constructor=xe,_t(O,j,xe,{constructor:!0})}function Re(t){return"string"==typeof t}function ze(t){return"number"==typeof t&&!Number.isNaN(t)}function Ue(t){return!Ve(t)&&!We(t)&&t.constructor===Object}function Ge(t){return Array.isArray(t)}var Ve=function(t){return null===t},We=function(t){return void 0===t},Be=Object.keys||function(t){return Ct(t,Zt)};P({target:"Object",stat:!0,forced:f(function(){Be(1)})},{keys:function(t){return Be(y(t))}});function Xe(){}function He(t){return"<script>"+t+"</"+Qe+">"}function Ye(t){t.write(He("")),t.close();var e=t.parentWindow.Object;return t=null,e}var Ke,$e={f:S&&!T?Object.defineProperties:function(t,e){v(t);for(var n,r=a(e),o=Be(e),i=o.length,u=0;u<i;)wt.f(t,n=o[u++],r[n]);return t}},qe=l("document","documentElement"),Je="prototype",Qe="script",Ze=Tt("IE_PROTO"),tn=function(){try{Ke=new ActiveXObject("htmlfile")}catch(t){}var t;tn="undefined"==typeof document||document.domain&&Ke?Ye(Ke):((t=h("iframe")).style.display="none",qe.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(He("document.F=Object")),t.close(),t.F);for(var e=Zt.length;e--;)delete tn[Je][Zt[e]];return tn()};zt[Ze]=!0;var T=Object.create||function(t,e){var n;return null!==t?(Xe[Je]=v(t),n=new Xe,Xe[Je]=null,n[Ze]=t):n=tn(),void 0===e?n:$e.f(n,e)},Tt=wt.f,en=e("unscopables"),nn=Array.prototype;null==nn[en]&&Tt(nn,en,{configurable:!0,value:T(null)});var rn=m.includes;P({target:"Array",proto:!0,forced:f(function(){return!Array(1).includes()})},{includes:function(t){return rn(this,t,1<arguments.length?arguments[1]:void 0)}}),nn[en].includes=!0;function on(t){if(U(e=t)&&(void 0!==(n=e[un])?!!n:"RegExp"==o(e)))throw cn("The method doesn't accept regular expressions");var e,n;return t}var un=e("match"),cn=TypeError,fn=e("match"),an=i("".indexOf);P({target:"String",proto:!0,forced:!function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[fn]=!1,"/./"[e](n)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~an(de(c(this)),de(on(t)),1<arguments.length?arguments[1]:void 0)}});var ln={SPACE:{key:[" ","Spacebar"],keyCode:32},ENTER:{key:"Enter",keyCode:13},TAB:{key:"Tab",keyCode:9},ESCAPE:{key:"Escape",keyCode:27}};t.isArray=Ge,t.isBoolean=function(t){return"boolean"==typeof t},t.isEmpty=function(t){return Re(t)&&0===t.length||(Ue(t)||Ge(t))&&0===Object.keys(t).length},t.isInteger=function(t){return ze(t)&&Math.floor(t)===t},t.isKey=function(t){var e=t.keyType,n=t.event;if(!e||!n)return!1;t=e.toUpperCase(),e=ln[t];if(!e)return!1;t=n.key,n=n.keyCode;return t?Ge(e.key)?e.key.includes(t):t===e.key:n===e.keyCode},t.isNull=Ve,t.isNumber=ze,t.isObject=Ue,t.isString=Re,t.isUndefined=We,Object.defineProperty(t,"__esModule",{value:!0})}); |
{ | ||
"name": "@transferwise/neptune-validation", | ||
"version": "3.0.5", | ||
"version": "3.0.6-next-6863af5c39.280+6863af5c39", | ||
"description": "Neptune Web validation", | ||
@@ -38,7 +38,7 @@ "license": "Apache-2.0", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@transferwise/test-config": "^5.0.0", | ||
"@transferwise/test-config": "^5.0.1-next-6863af5c39.586+6863af5c39", | ||
"rollup": "^2.34.0", | ||
"rollup-plugin-uglify": "^6.0.4" | ||
}, | ||
"gitHead": "fd351f4af991c1e082f6ce0b60f244a3a412a8d0" | ||
"gitHead": "6863af5c39b76de7044d8d4c77d4cbfc0ff8ed88" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
31040
60
2
1