New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@qiwi/uniconfig

Package Overview
Dependencies
Maintainers
5
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiwi/uniconfig - npm Package Compare versions

Comparing version 1.13.0 to 1.13.2

14

CHANGELOG.md

@@ -0,1 +1,15 @@

# [@qiwi/uniconfig-v1.13.2](https://github.com/qiwi/uniconfig/compare/v1.13.1...v1.13.2) (2018-08-26)
### Performance Improvements
* migrate to latest `release-hooks` ([16f4817](https://github.com/qiwi/uniconfig/commit/16f4817))
# [@qiwi/uniconfig-v1.13.1](https://github.com/qiwi/uniconfig/compare/v1.13.0...v1.13.1) (2018-07-30)
### Performance Improvements
* tech release ([da0e4c4](https://github.com/qiwi/uniconfig/commit/da0e4c4))
# [@qiwi/uniconfig-v1.13.0](https://github.com/qiwi/uniconfig/compare/v1.12.17...v1.13.0) (2018-07-24)

@@ -2,0 +16,0 @@

2

dist/bundle/index.js

@@ -1,1 +0,1 @@

(function () {var p={};Object.defineProperty(p,"__esModule",{value:!0});var Fa={};Object.defineProperty(p,"get",{enumerable:!0,get:function(){return Fa.get}}),Object.defineProperty(p,"has",{enumerable:!0,get:function(){return Fa.has}});var Ga=jb;p.$5$var$isBrowser=Ga;var nb=gb;function jb(){try{var r=window;return void 0!==r&&void 0!==r.document}catch(r){return!1}}function gb(r){return r}p.$5$var$echo=nb;var Aa,xa,E={};function Za(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function Va(r,t){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?r:t}function hb(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}Object.defineProperty(E,"__esModule",{value:!0});var Zb=(Aa="target path is not found in config data",E.$6$var$MISSED_VALUE_PATH=Aa),$a=(xa=function(r){function t(){return Za(this,t),Va(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return hb(t,Error),t}(),E.$6$var$ConfigError=xa),Ya=$a;E.default=Ya;var R={};Object.defineProperty(R,"__esModule",{value:!0});var $="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},Na=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function zb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Nb=function(){function e(){return zb(this,e),this.events={},this}return Na(e,[{key:"on",value:function(e,t){return"object"!==$(this.events[e])&&(this.events[e]=[]),this.events[e].push(t),this}},{key:"removeListener",value:function(e,t){var r=void 0;return"object"===$(this.events[e])&&(r=this.events[e].indexOf(t))>-1&&this.events[e].splice(r,1),this}},{key:"once",value:function(e,t){var r=this;return this.on(e,function n(){r.removeListener(e,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];t.apply(null,a)})}},{key:"emit",value:function(e){var t=void 0,r=void 0,n=void 0;if("object"===$(this.events[e])){n=(r=this.events[e].slice()).length;for(var o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];for(t=0;t<n;t++)r[t].apply(this,a);return r.length>0}return!1}}]),e}(),Hb=Nb;R.default=Hb;var Eb,Lb=false;function g(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function l(e){return"function"==typeof e}function Vb(e){return"number"==typeof e}function C(e){return"object"==typeof e&&null!==e}function Ka(e){return void 0===e}function Xa(){if(Lb)return;Lb=true;Eb={};Eb=g,g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.prototype.setMaxListeners=function(e){if(!Vb(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},g.prototype.emit=function(e){var t,r,i,n,s,v;if(this._events||(this._events={}),"error"===e&&(!this._events.error||C(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var o=new Error("Uncaught, unspecified \"error\" event. ("+t+")");throw o.context=t,o}if(Ka(r=this._events[e]))return!1;if(l(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:n=Array.prototype.slice.call(arguments,1),r.apply(this,n);}else if(C(r))for(n=Array.prototype.slice.call(arguments,1),i=(v=r.slice()).length,s=0;s<i;s++)v[s].apply(this,n);return!0},g.prototype.addListener=function(e,t){var r;if(!l(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,l(t.listener)?t.listener:t),this._events[e]?C(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,C(this._events[e])&&!this._events[e].warned&&(r=Ka(this._maxListeners)?g.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},g.prototype.on=g.prototype.addListener,g.prototype.once=function(e,t){if(!l(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},g.prototype.removeListener=function(e,t){var r,i,n,s;if(!l(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=(r=this._events[e]).length,i=-1,r===t||l(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(C(r)){for(s=n;s-->0;)if(r[s]===t||r[s].listener&&r[s].listener===t){i=s;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},g.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(l(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},g.prototype.listeners=function(e){return this._events&&this._events[e]?l(this._events[e])?[this._events[e]]:this._events[e].slice():[]},g.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(l(t))return 1;if(t)return t.length}return 0},g.listenerCount=function(e,t){return e.listenerCount(t)}}var J={};Object.defineProperty(J,"__esModule",{value:!0});var da=void 0;J.READY=da;var za=Ta;J.$9$var$eventEmitterFactory=za;var Qa=Sa(R);function Sa($){return $&&$.__esModule?$:{default:$}}function Ta(){return new((0,Ga)()?Qa.default:(Xa(),Eb))}var $b=(da="CONFIG_READY",J.$9$var$READY=da);var v,u,sa={},e=sa={};function _(){throw new Error("setTimeout has not been defined")}function Q(){throw new Error("clearTimeout has not been defined")}function ka($){if(v===setTimeout)return setTimeout($,0);if((v===_||!v)&&setTimeout)return v=setTimeout,setTimeout($,0);try{return v($,0)}catch(e){try{return v.call(null,$,0)}catch(e){return v.call(this,$,0)}}}function Ua($){if(u===clearTimeout)return clearTimeout($);if((u===Q||!u)&&clearTimeout)return u=clearTimeout,clearTimeout($);try{return u($)}catch(e){try{return u.call(null,$)}catch(e){return u.call(this,$)}}}!function(){try{v="function"==typeof setTimeout?setTimeout:_}catch($){v=_}try{u="function"==typeof clearTimeout?clearTimeout:Q}catch($){u=Q}}();var B,o=[],P=!1,Ea=-1;function Kb(){P&&B&&(P=!1,B.length?o=B.concat(o):Ea=-1,o.length&&Da())}function Da(){if(!P){var $=ka(Kb);P=!0;for(var e=o.length;e;){for(B=o,o=[];++Ea<e;)B&&B[Ea].run();Ea=-1,e=o.length}B=null,P=!1,Ua($)}}function oa($,e){this.fun=$,this.array=e}function k(){}e.nextTick=function($){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];o.push(new oa($,e)),1!==o.length||P||ka(Da)},oa.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=k,e.addListener=k,e.once=k,e.off=k,e.removeListener=k,e.removeAllListeners=k,e.emit=k,e.prependListener=k,e.prependOnceListener=k,e.listeners=function($){return[]},e.binding=function($){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function($){throw new Error("process.chdir is not supported")},e.umask=function(){return 0};var Oa,Pa,c;$657$exports=f,"object"==typeof sa&&sa.env,c=function(){};var ja=256,O=Number.MAX_SAFE_INTEGER||9007199254740991,Z=16,d=(Oa=[],Oa),a=(Pa=[],Pa),b=0,s=b++;a[s]="0|[1-9]\\d*";var r=b++;a[r]="[0-9]+";var S=b++;a[S]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var na=b++;a[na]="("+a[s]+")\\.("+a[s]+")\\.("+a[s]+")";var Ba=b++;a[Ba]="("+a[r]+")\\.("+a[r]+")\\.("+a[r]+")";var T=b++;a[T]="(?:"+a[s]+"|"+a[S]+")";var U=b++;a[U]="(?:"+a[r]+"|"+a[S]+")";var V=b++;a[V]="(?:-("+a[T]+"(?:\\."+a[T]+")*))";var W=b++;a[W]="(?:-?("+a[U]+"(?:\\."+a[U]+")*))";var X=b++;a[X]="[0-9A-Za-z-]+";var D=b++;a[D]="(?:\\+("+a[X]+"(?:\\."+a[X]+")*))";var qa=b++,ra="v?"+a[na]+a[V]+"?"+a[D]+"?";a[qa]="^"+ra+"$";var Y="[v=\\s]*"+a[Ba]+a[W]+"?"+a[D]+"?",Ca=b++;a[Ca]="^"+Y+"$";var q=b++;a[q]="((?:<|>)?=?)";var F=b++;a[F]=a[r]+"|x|X|\\*";var L=b++;a[L]=a[s]+"|x|X|\\*";var m=b++;a[m]="[v=\\s]*("+a[L]+")(?:\\.("+a[L]+")(?:\\.("+a[L]+")(?:"+a[V]+")?"+a[D]+"?)?)?";var w=b++;a[w]="[v=\\s]*("+a[F]+")(?:\\.("+a[F]+")(?:\\.("+a[F]+")(?:"+a[W]+")?"+a[D]+"?)?)?";var Ja=b++;a[Ja]="^"+a[q]+"\\s*"+a[m]+"$";var ia=b++;a[ia]="^"+a[q]+"\\s*"+a[w]+"$";var yb=b++;a[yb]="(?:^|[^\\d])(\\d{1,"+Z+"})(?:\\.(\\d{1,"+Z+"}))?(?:\\.(\\d{1,"+Z+"}))?(?:$|[^\\d])";var K=b++;a[K]="(?:~>?)";var I=b++;a[I]="(\\s*)"+a[K]+"\\s+",d[I]=new RegExp(a[I],"g");var Gb="$1~",la=b++;a[la]="^"+a[K]+a[m]+"$";var ma=b++;a[ma]="^"+a[K]+a[w]+"$";var H=b++;a[H]="(?:\\^)";var G=b++;a[G]="(\\s*)"+a[H]+"\\s+",d[G]=new RegExp(a[G],"g");var Ob="$1^",Ma=b++;a[Ma]="^"+a[H]+a[m]+"$";var pa=b++;a[pa]="^"+a[H]+a[w]+"$";var aa=b++;a[aa]="^"+a[q]+"\\s*("+Y+")$|^$";var ba=b++;a[ba]="^"+a[q]+"\\s*("+ra+")$|^$";var A=b++;a[A]="(\\s*)"+a[q]+"\\s*("+Y+"|"+a[m]+")",d[A]=new RegExp(a[A],"g");var Ra="$1$2$3",ta=b++;a[ta]="^\\s*("+a[m]+")\\s+-\\s+("+a[m]+")\\s*$";var ua=b++;a[ua]="^\\s*("+a[w]+")\\s+-\\s+("+a[w]+")\\s*$";var va=b++;a[va]="(<|>)?=?\\s*\\*";for(var n=0;n<b;n++)c(n,a[n]),d[n]||(d[n]=new RegExp(a[n]));var Wa=f;function f($,r){if($ instanceof f){if($.loose===r)return $;$=$.version}else if("string"!=typeof $)throw new TypeError("Invalid Version: "+$);if($.length>ja)throw new TypeError("version is longer than "+ja+" characters");if(!(this instanceof f))return new f($,r);c("SemVer",$,r),this.loose=r;var e=$.trim().match(r?d[Ca]:d[qa]);if(!e)throw new TypeError("Invalid Version: "+$);if(this.raw=$,this.major=+e[1],this.minor=+e[2],this.patch=+e[3],this.major>O||this.major<0)throw new TypeError("Invalid major version");if(this.minor>O||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>O||this.patch<0)throw new TypeError("Invalid patch version");e[4]?this.prerelease=e[4].split(".").map(function($){if(/^[0-9]+$/.test($)){var r=+$;if(r>=0&&r<O)return r}return $}):this.prerelease=[],this.build=e[5]?e[5].split("."):[],this.format()}Wa,f.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},f.prototype.toString=function(){return this.version},f.prototype.compare=function($){return c("SemVer.compare",this.version,this.loose,$),$ instanceof f||($=new f($,this.loose)),this.compareMain($)||this.comparePre($)},f.prototype.compareMain=function($){return $ instanceof f||($=new f($,this.loose)),N(this.major,$.major)||N(this.minor,$.minor)||N(this.patch,$.patch)},f.prototype.comparePre=function($){if($ instanceof f||($=new f($,this.loose)),this.prerelease.length&&!$.prerelease.length)return-1;if(!this.prerelease.length&&$.prerelease.length)return 1;if(!this.prerelease.length&&!$.prerelease.length)return 0;var r=0;do{var e=this.prerelease[r],a=$.prerelease[r];if(c("prerelease compare",r,e,a),void 0===e&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===e)return-1;if(e!==a)return N(e,a)}while(++r)},f.prototype.inc=function($,r){switch($){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",r),this.inc("pre",r);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var e=this.prerelease.length;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}r&&(this.prerelease[0]===r?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error("invalid increment argument: "+$);}return this.format(),this.raw=this.version,this};var ya=/^[0-9]+$/;function N($,r){var e=ya.test($),a=ya.test(r);return e&&a&&($=+$,r=+r),e&&!a?-1:a&&!e?1:$<r?-1:$>r?1:0}function x($,r,e){return new f($,e).compare(new f(r,e))}function _a($,r,e){return x($,r,e)>0}function ab($,r,e){return x($,r,e)<0}function bb($,r,e){return 0===x($,r,e)}function cb($,r,e){return 0!==x($,r,e)}function db($,r,e){return x($,r,e)>=0}function eb($,r,e){return x($,r,e)<=0}function ca($,r,e,a){var t;switch(r){case"===":"object"==typeof $&&($=$.version),"object"==typeof e&&(e=e.version),t=$===e;break;case"!==":"object"==typeof $&&($=$.version),"object"==typeof e&&(e=e.version),t=$!==e;break;case"":case"=":case"==":t=bb($,e,a);break;case"!=":t=cb($,e,a);break;case">":t=_a($,e,a);break;case">=":t=db($,e,a);break;case"<":t=ab($,e,a);break;case"<=":t=eb($,e,a);break;default:throw new TypeError("Invalid operator: "+r);}return t}function i($,r){if($ instanceof i){if($.loose===r)return $;$=$.value}if(!(this instanceof i))return new i($,r);c("comparator",$,r),this.loose=r,this.parse($),this.semver===M?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}var M={};i.prototype.parse=function($){var r=this.loose?d[aa]:d[ba],e=$.match(r);if(!e)throw new TypeError("Invalid comparator: "+$);this.operator=e[1],"="===this.operator&&(this.operator=""),e[2]?this.semver=new f(e[2],this.loose):this.semver=M},i.prototype.toString=function(){return this.value},i.prototype.test=function($){return c("Comparator.test",$,this.loose),this.semver===M||("string"==typeof $&&($=new f($,this.loose)),ca($,this.operator,this.semver,this.loose))},i.prototype.intersects=function($,r){if(!($ instanceof i))throw new TypeError("a Comparator is required");var e;if(""===this.operator)return e=new h($.value,r),ea(this.value,e,r);if(""===$.operator)return e=new h(this.value,r),ea($.semver,e,r);var a=!(">="!==this.operator&&">"!==this.operator||">="!==$.operator&&">"!==$.operator),t=!("<="!==this.operator&&"<"!==this.operator||"<="!==$.operator&&"<"!==$.operator),v=this.semver.version===$.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==$.operator&&"<="!==$.operator),s=ca(this.semver,"<",$.semver,r)&&(">="===this.operator||">"===this.operator)&&("<="===$.operator||"<"===$.operator),n=ca(this.semver,">",$.semver,r)&&("<="===this.operator||"<"===this.operator)&&(">="===$.operator||">"===$.operator);return a||t||v&&o||s||n};var ib=h;function h($,r){if($ instanceof h)return $.loose===r?$:new h($.raw,r);if($ instanceof i)return new h($.value,r);if(!(this instanceof h))return new h($,r);if(this.loose=r,this.raw=$,this.set=$.split(/\s*\|\|\s*/).map(function($){return this.parseRange($.trim())},this).filter(function($){return $.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+$);this.format()}ib,h.prototype.format=function(){return this.range=this.set.map(function($){return $.join(" ").trim()}).join("||").trim(),this.range},h.prototype.toString=function(){return this.range},h.prototype.parseRange=function($){var r=this.loose;$=$.trim(),c("range",$,r);var e=r?d[ua]:d[ta];$=$.replace(e,vb),c("hyphen replace",$),$=$.replace(d[A],Ra),c("comparator trim",$,d[A]),$=($=($=$.replace(d[I],Gb)).replace(d[G],Ob)).split(/\s+/).join(" ");var a=r?d[aa]:d[ba],t=$.split(" ").map(function($){return mb($,r)}).join(" ").split(/\s+/);return this.loose&&(t=t.filter(function($){return!!$.match(a)})),t=t.map(function($){return new i($,r)})},h.prototype.intersects=function($,r){if(!($ instanceof h))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(e){return $.set.some(function($){return $.every(function($){return e.intersects($,r)})})})})};var kb=lb;function lb($,r){return new h($,r).set.map(function($){return $.map(function($){return $.value}).join(" ").trim().split(" ")})}function mb($,r){return c("comp",$),$=qb($,r),c("caret",$),$=ob($,r),c("tildes",$),$=sb($,r),c("xrange",$),$=ub($,r),c("stars",$),$}function j($){return!$||"x"===$.toLowerCase()||"*"===$}function ob($,r){return $.trim().split(/\s+/).map(function($){return pb($,r)}).join(" ")}function pb($,r){var e=r?d[ma]:d[la];return $.replace(e,function(r,e,a,t,v){var o;return c("tilde",$,r,e,a,t,v),j(e)?o="":j(a)?o=">="+e+".0.0 <"+(+e+1)+".0.0":j(t)?o=">="+e+"."+a+".0 <"+e+"."+(+a+1)+".0":v?(c("replaceTilde pr",v),"-"!==v.charAt(0)&&(v="-"+v),o=">="+e+"."+a+"."+t+v+" <"+e+"."+(+a+1)+".0"):o=">="+e+"."+a+"."+t+" <"+e+"."+(+a+1)+".0",c("tilde return",o),o})}function qb($,r){return $.trim().split(/\s+/).map(function($){return rb($,r)}).join(" ")}function rb($,r){c("caret",$,r);var e=r?d[pa]:d[Ma];return $.replace(e,function(r,e,a,t,v){var o;return c("caret",$,r,e,a,t,v),j(e)?o="":j(a)?o=">="+e+".0.0 <"+(+e+1)+".0.0":j(t)?o="0"===e?">="+e+"."+a+".0 <"+e+"."+(+a+1)+".0":">="+e+"."+a+".0 <"+(+e+1)+".0.0":v?(c("replaceCaret pr",v),"-"!==v.charAt(0)&&(v="-"+v),o="0"===e?"0"===a?">="+e+"."+a+"."+t+v+" <"+e+"."+a+"."+(+t+1):">="+e+"."+a+"."+t+v+" <"+e+"."+(+a+1)+".0":">="+e+"."+a+"."+t+v+" <"+(+e+1)+".0.0"):(c("no pr"),o="0"===e?"0"===a?">="+e+"."+a+"."+t+" <"+e+"."+a+"."+(+t+1):">="+e+"."+a+"."+t+" <"+e+"."+(+a+1)+".0":">="+e+"."+a+"."+t+" <"+(+e+1)+".0.0"),c("caret return",o),o})}function sb($,r){return c("replaceXRanges",$,r),$.split(/\s+/).map(function($){return tb($,r)}).join(" ")}function tb($,r){$=$.trim();var e=r?d[ia]:d[Ja];return $.replace(e,function(r,e,a,t,v,o){c("xRange",$,r,e,a,t,v,o);var s=j(a),n=s||j(t),i=n||j(v);return"="===e&&i&&(e=""),s?r=">"===e||"<"===e?"<0.0.0":"*":e&&i?(n&&(t=0),i&&(v=0),">"===e?(e=">=",n?(a=+a+1,t=0,v=0):i&&(t=+t+1,v=0)):"<="===e&&(e="<",n?a=+a+1:t=+t+1),r=e+a+"."+t+"."+v):n?r=">="+a+".0.0 <"+(+a+1)+".0.0":i&&(r=">="+a+"."+t+".0 <"+a+"."+(+t+1)+".0"),c("xRange return",r),r})}function ub($,r){return c("replaceStars",$,r),$.trim().replace(d[va],"")}function vb($,r,e,a,t,v,o,s,n,i,p,c,E){return((r=j(e)?"":j(a)?">="+e+".0.0":j(t)?">="+e+"."+a+".0":">="+r)+" "+(s=j(n)?"":j(i)?"<"+(+n+1)+".0.0":j(p)?"<"+n+"."+(+i+1)+".0":c?"<="+n+"."+i+"."+p+"-"+c:"<="+s)).trim()}function wb($,r){for(var e=0;e<$.length;e++)if(!$[e].test(r))return!1;if(r.prerelease.length){for(e=0;e<$.length;e++)if(c($[e].semver),$[e].semver!==M&&$[e].semver.prerelease.length>0){var a=$[e].semver;if(a.major===r.major&&a.minor===r.minor&&a.patch===r.patch)return!0}return!1}return!0}kb,h.prototype.test=function($){if(!$)return!1;"string"==typeof $&&($=new f($,this.loose));for(var r=0;r<this.set.length;r++)if(wb(this.set[r],$))return!0;return!1};var xb=ea;function ea($,r,e){try{r=new h(r,e)}catch($){return!1}return r.test($)}var fa={};Object.defineProperty(fa,"__esModule",{value:!0});var Ab=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(r,t,a){return t&&e(r.prototype,t),a&&e(r,a),r}}();function Bb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var Cb=function(){function e(){return Bb(this,e),this.store=[],this}return Ab(e,[{key:"register",value:function(e,r,t){return this.store.push({type:e,range:r,schema:t}),this}},{key:"get",value:function(e,r){var t=this.store.find(function(t){var a=t.range;return t.type===e&&(0,xb)(r,a)});return t?t.schema:null}},{key:"has",value:function(e,r){return!!this.get(e,r)}},{key:"flush",value:function(){return this.store.length=0,this}}]),e}(),Db=Cb;fa.default=Db;var ga={};Object.defineProperty(ga,"__esModule",{value:!0});var Fb=function(e,t){return!1};ga.default=Fb;var t={};Object.defineProperty(t,"__esModule",{value:!0});var Ha=(ha=void 0,t.SchemaRegistry=ha);t.validator=Ha;var Ib=Ia(fa),Jb=Ia(ga);function Ia($){return $&&$.__esModule?$:{default:$}}var ha=Ib.default;t.SchemaRegistry=ha,Ha=Jb.default,t.validator=Ha;var Mb={};t.default=Mb;var z={};Object.defineProperty(z,"__esModule",{value:!0});var La=void 0;z.DEFAULT_OPTS=La;var Pb=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var $ in t)Object.prototype.hasOwnProperty.call(t,$)&&(e[$]=t[$])}return e},Qb=function(){function e(e,r){for(var t=0;t<r.length;t++){var $=r[t];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(e,$.key,$)}}return function(r,t,$){return t&&e(r.prototype,t),$&&e(r,$),r}}();function Rb(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var Sb=(La={tolerateMissed:!0},z.$3$var$DEFAULT_OPTS=La),Tb=function(){function e(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Rb(this,e),this.opts=Pb({},Sb,t),this.data=this.constructor.parse(this.constructor.load(r)),this.type="config",this.id=""+Math.random(),this.emitter=this.opts.emitter||(0,za)(),this.registry=new ha,this.emit(da),this}return Qb(e,[{key:"get",value:function(e){if(!this.opts.tolerateMissed&&!this.has(e))throw new xa(Aa);return(0,p.get)(this.data,e)}},{key:"has",value:function(e){return(0,p.has)(this.data,e)}},{key:"on",value:function(e,r){return this.emitter.on(e+this.id,r),this}},{key:"off",value:function(e,r){return this.emitter.removeListener(e+this.id,r),this}},{key:"emit",value:function(e,r){return this.emitter.emit(e+this.id,{type:e,data:r})}}],[{key:"load",value:function(e){}},{key:"parse",value:function(e){}}]),e}(),Ub=Tb;z.default=Ub;var y={};Object.defineProperty(y,"__esModule",{value:!0});var Wb=wa;y.$1$var$factory=Wb;var Xb=fb(z);function fb($){return $&&$.__esModule?$:{default:$}}function wa($,r){return new Xb.default($,r)}var Yb=wa;y.default=Yb;if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=y}else if(typeof define==="function"&&define.amd){define(function(){return y})}})();
(function () {var p={};Object.defineProperty(p,"__esModule",{value:!0});var xa={};Object.defineProperty(p,"get",{enumerable:!0,get:function(){return xa.get}}),Object.defineProperty(p,"has",{enumerable:!0,get:function(){return xa.has}});var Ja=Qc;p.$O1i9$var$isBrowser=Ja;var Wb=vb;function Qc(){try{var r=window;return void 0!==r&&void 0!==r.document}catch(r){return!1}}function vb(r){return r}p.$O1i9$var$echo=Wb;var Va,Ra,L={};function Rc(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function $a(r,t){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?r:t}function bb(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}Object.defineProperty(L,"__esModule",{value:!0});var ad=(Va="target path is not found in config data",L.$lOD0$var$MISSED_VALUE_PATH=Va),Fb=(Ra=function(r){function t(){return Rc(this,t),$a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return bb(t,Error),t}(),L.$lOD0$var$ConfigError=Ra),Jb=Fb;L.default=Jb;var Y={};Object.defineProperty(Y,"__esModule",{value:!0});var $="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},$b=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Cc=function(){function e(){return jc(this,e),this.events={},this}return $b(e,[{key:"on",value:function(e,t){return"object"!==$(this.events[e])&&(this.events[e]=[]),this.events[e].push(t),this}},{key:"removeListener",value:function(e,t){var r=void 0;return"object"===$(this.events[e])&&(r=this.events[e].indexOf(t))>-1&&this.events[e].splice(r,1),this}},{key:"once",value:function(e,t){var r=this;return this.on(e,function n(){r.removeListener(e,n);for(var o=arguments.length,f=Array(o),a=0;a<o;a++)f[a]=arguments[a];t.apply(null,f)})}},{key:"emit",value:function(e){var t=void 0,r=void 0,n=void 0;if("object"===$(this.events[e])){n=(r=this.events[e].slice()).length;for(var o=arguments.length,f=Array(o>1?o-1:0),a=1;a<o;a++)f[a-1]=arguments[a];for(t=0;t<n;t++)r[t].apply(this,f);return r.length>0}return!1}}]),e}(),Hc=Cc;Y.default=Hc;var Jc,Nc=false;function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function Yc(e){return"number"==typeof e}function G(e){return"object"==typeof e&&null!==e}function Ba(e){return void 0===e}function eb(){if(Nc)return;Nc=true;Jc={};Jc=i,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(e){if(!Yc(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},i.prototype.emit=function(e){var t,r,i,n,s,h;if(this._events||(this._events={}),"error"===e&&(!this._events.error||G(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var v=new Error("Uncaught, unspecified \"error\" event. ("+t+")");throw v.context=t,v}if(Ba(r=this._events[e]))return!1;if(o(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:n=Array.prototype.slice.call(arguments,1),r.apply(this,n);}else if(G(r))for(n=Array.prototype.slice.call(arguments,1),i=(h=r.slice()).length,s=0;s<i;s++)h[s].apply(this,n);return!0},i.prototype.addListener=function(e,t){var r;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?G(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,G(this._events[e])&&!this._events[e].warned&&(r=Ba(this._maxListeners)?i.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(e,t){if(!o(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},i.prototype.removeListener=function(e,t){var r,i,n,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=(r=this._events[e]).length,i=-1,r===t||o(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(G(r)){for(s=n;s-->0;)if(r[s]===t||r[s].listener&&r[s].listener===t){i=s;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(o(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},i.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},i.listenerCount=function(e,t){return e.listenerCount(t)}}var V={};Object.defineProperty(V,"__esModule",{value:!0});var oa=void 0;V.READY=oa;var wa=Pb;V.$A6jS$var$eventEmitterFactory=wa;var Lb=Nb(Y);function Nb($){return $&&$.__esModule?$:{default:$}}function Pb(){return new((0,Ja)()?Lb.default:(eb(),Jc))}var l=(oa="CONFIG_READY",V.$A6jS$var$READY=oa);var A,z,va={},e=va={};function ra(){throw new Error("setTimeout has not been defined")}function da(){throw new Error("clearTimeout has not been defined")}function Xa($){if(A===setTimeout)return setTimeout($,0);if((A===ra||!A)&&setTimeout)return A=setTimeout,setTimeout($,0);try{return A($,0)}catch(e){try{return A.call(null,$,0)}catch(e){return A.call(this,$,0)}}}function Kc($){if(z===clearTimeout)return clearTimeout($);if((z===da||!z)&&clearTimeout)return z=clearTimeout,clearTimeout($);try{return z($)}catch(e){try{return z.call(null,$)}catch(e){return z.call(this,$)}}}!function(){try{A="function"==typeof setTimeout?setTimeout:ra}catch($){A=ra}try{z="function"==typeof clearTimeout?clearTimeout:da}catch($){z=da}}();var E,s=[],_=!1,Ma=-1;function Ya(){_&&E&&(_=!1,E.length?s=E.concat(s):Ma=-1,s.length&&Pa())}function Pa(){if(!_){var $=Xa(Ya);_=!0;for(var e=s.length;e;){for(E=s,s=[];++Ma<e;)E&&E[Ma].run();Ma=-1,e=s.length}E=null,_=!1,Kc($)}}function Qa($,e){this.fun=$,this.array=e}function n(){}e.nextTick=function($){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];s.push(new Qa($,e)),1!==s.length||_||Xa(Pa)},Qa.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=n,e.addListener=n,e.once=n,e.off=n,e.removeListener=n,e.removeAllListeners=n,e.emit=n,e.prependListener=n,e.prependOnceListener=n,e.listeners=function($){return[]},e.binding=function($){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function($){throw new Error("process.chdir is not supported")},e.umask=function(){return 0};var kb,lb,f,b={};b=b=d,"object"==typeof va&&va.env,f=function(){};var Hb="2.0.0";b.SEMVER_SPEC_VERSION=Hb;var pa=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,ia=16,g=(kb=[],b.re=kb),a=(lb=[],b.src=lb),c=0,w=c++;a[w]="0|[1-9]\\d*";var v=c++;a[v]="[0-9]+";var ca=c++;a[ca]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var Oa=c++;a[Oa]="("+a[w]+")\\.("+a[w]+")\\.("+a[w]+")";var Na=c++;a[Na]="("+a[v]+")\\.("+a[v]+")\\.("+a[v]+")";var ja=c++;a[ja]="(?:"+a[w]+"|"+a[ca]+")";var ka=c++;a[ka]="(?:"+a[v]+"|"+a[ca]+")";var la=c++;a[la]="(?:-("+a[ja]+"(?:\\."+a[ja]+")*))";var ma=c++;a[ma]="(?:-?("+a[ka]+"(?:\\."+a[ka]+")*))";var na=c++;a[na]="[0-9A-Za-z-]+";var H=c++;a[H]="(?:\\+("+a[na]+"(?:\\."+a[na]+")*))";var X=c++,Ka="v?"+a[Oa]+a[la]+"?"+a[H]+"?";a[X]="^"+Ka+"$";var Z="[v=\\s]*"+a[Na]+a[ma]+"?"+a[H]+"?",sa=c++;a[sa]="^"+Z+"$";var x=c++;a[x]="((?:<|>)?=?)";var M=c++;a[M]=a[v]+"|x|X|\\*";var N=c++;a[N]=a[w]+"|x|X|\\*";var r=c++;a[r]="[v=\\s]*("+a[N]+")(?:\\.("+a[N]+")(?:\\.("+a[N]+")(?:"+a[la]+")?"+a[H]+"?)?)?";var y=c++;a[y]="[v=\\s]*("+a[M]+")(?:\\.("+a[M]+")(?:\\.("+a[M]+")(?:"+a[ma]+")?"+a[H]+"?)?)?";var Ha=c++;a[Ha]="^"+a[x]+"\\s*"+a[r]+"$";var Ga=c++;a[Ga]="^"+a[x]+"\\s*"+a[y]+"$";var Ea=c++;a[Ea]="(?:^|[^\\d])(\\d{1,"+ia+"})(?:\\.(\\d{1,"+ia+"}))?(?:\\.(\\d{1,"+ia+"}))?(?:$|[^\\d])";var P=c++;a[P]="(?:~>?)";var J=c++;a[J]="(\\s*)"+a[P]+"\\s+",g[J]=new RegExp(a[J],"g");var Tb="$1~",Da=c++;a[Da]="^"+a[P]+a[r]+"$";var Ca=c++;a[Ca]="^"+a[P]+a[y]+"$";var T=c++;a[T]="(?:\\^)";var U=c++;a[U]="(\\s*)"+a[T]+"\\s+",g[U]=new RegExp(a[U],"g");var vc="$1^",Aa=c++;a[Aa]="^"+a[T]+a[r]+"$";var ya=c++;a[ya]="^"+a[T]+a[y]+"$";var W=c++;a[W]="^"+a[x]+"\\s*("+Z+")$|^$";var qa=c++;a[qa]="^"+a[x]+"\\s*("+Ka+")$|^$";var I=c++;a[I]="(\\s*)"+a[x]+"\\s*("+Z+"|"+a[r]+")",g[I]=new RegExp(a[I],"g");var Oc="$1$2$3",ta=c++;a[ta]="^\\s*("+a[r]+")\\s+-\\s+("+a[r]+")\\s*$";var Ia=c++;a[Ia]="^\\s*("+a[y]+")\\s+-\\s+("+a[y]+")\\s*$";var ua=c++;a[ua]="(<|>)?=?\\s*\\*";for(var t=0;t<c;t++)f(t,a[t]),g[t]||(g[t]=new RegExp(a[t]));var Za=q;function q($,r){if($ instanceof d)return $;if("string"!=typeof $)return null;if($.length>pa)return null;if(!(r?g[sa]:g[X]).test($))return null;try{return new d($,r)}catch($){return null}}b.parse=Za;var _a=ab;function ab($,r){var e=q($,r);return e?e.version:null}b.valid=_a;var _c=cb;function cb($,r){var e=q($.trim().replace(/^[=v]+/,""),r);return e?e.version:null}b.clean=_c;var db=d;function d($,r){if($ instanceof d){if($.loose===r)return $;$=$.version}else if("string"!=typeof $)throw new TypeError("Invalid Version: "+$);if($.length>pa)throw new TypeError("version is longer than "+pa+" characters");if(!(this instanceof d))return new d($,r);f("SemVer",$,r),this.loose=r;var e=$.trim().match(r?g[sa]:g[X]);if(!e)throw new TypeError("Invalid Version: "+$);if(this.raw=$,this.major=+e[1],this.minor=+e[2],this.patch=+e[3],this.major>K||this.major<0)throw new TypeError("Invalid major version");if(this.minor>K||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>K||this.patch<0)throw new TypeError("Invalid patch version");e[4]?this.prerelease=e[4].split(".").map(function($){if(/^[0-9]+$/.test($)){var r=+$;if(r>=0&&r<K)return r}return $}):this.prerelease=[],this.build=e[5]?e[5].split("."):[],this.format()}b.SemVer=db,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function($){return f("SemVer.compare",this.version,this.loose,$),$ instanceof d||($=new d($,this.loose)),this.compareMain($)||this.comparePre($)},d.prototype.compareMain=function($){return $ instanceof d||($=new d($,this.loose)),B(this.major,$.major)||B(this.minor,$.minor)||B(this.patch,$.patch)},d.prototype.comparePre=function($){if($ instanceof d||($=new d($,this.loose)),this.prerelease.length&&!$.prerelease.length)return-1;if(!this.prerelease.length&&$.prerelease.length)return 1;if(!this.prerelease.length&&!$.prerelease.length)return 0;var r=0;do{var e=this.prerelease[r],a=$.prerelease[r];if(f("prerelease compare",r,e,a),void 0===e&&void 0===a)return 0;if(void 0===a)return 1;if(void 0===e)return-1;if(e!==a)return B(e,a)}while(++r)},d.prototype.inc=function($,r){switch($){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",r),this.inc("pre",r);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var e=this.prerelease.length;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}r&&(this.prerelease[0]===r?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error("invalid increment argument: "+$);}return this.format(),this.raw=this.version,this};var fb=gb;function gb($,r,e,a){"string"==typeof e&&(a=e,e=void 0);try{return new d($,e).inc(r,a).version}catch($){return null}}b.inc=fb;var hb=ib;function ib($,r){if(ga($,r))return null;var e=q($),a=q(r);if(e.prerelease.length||a.prerelease.length){for(var l in e)if(("major"===l||"minor"===l||"patch"===l)&&e[l]!==a[l])return"pre"+l;return"prerelease"}for(var l in e)if(("major"===l||"minor"===l||"patch"===l)&&e[l]!==a[l])return l}b.diff=hb;var jb=B;b.compareIdentifiers=jb;var za=/^[0-9]+$/;function B($,r){var e=za.test($),a=za.test(r);return e&&a&&($=+$,r=+r),e&&!a?-1:a&&!e?1:$<r?-1:$>r?1:0}var mb=nb;function nb($,r){return B(r,$)}b.rcompareIdentifiers=mb;var ob=pb;function pb($,r){return new d($,r).major}b.major=ob;var qb=rb;function rb($,r){return new d($,r).minor}b.minor=qb;var sb=tb;function tb($,r){return new d($,r).patch}b.patch=sb;var ub=m;function m($,r,e){return new d($,e).compare(new d(r,e))}b.compare=ub;var wb=xb;function xb($,r){return m($,r,!0)}b.compareLoose=wb;var yb=zb;function zb($,r,e){return m(r,$,e)}b.rcompare=yb;var Ab=Bb;function Bb($,r){return $.sort(function($,e){return b.compare($,e,r)})}b.sort=Ab;var Cb=Db;function Db($,r){return $.sort(function($,e){return b.rcompare($,e,r)})}b.rsort=Cb;var Eb=S;function S($,r,e){return m($,r,e)>0}b.gt=Eb;var Gb=R;function R($,r,e){return m($,r,e)<0}b.lt=Gb;var Ib=ga;function ga($,r,e){return 0===m($,r,e)}b.eq=Ib;var Kb=Fa;function Fa($,r,e){return 0!==m($,r,e)}b.neq=Kb;var Mb=fa;function fa($,r,e){return m($,r,e)>=0}b.gte=Mb;var Ob=ea;function ea($,r,e){return m($,r,e)<=0}b.lte=Ob;var Qb=O;function O($,r,e,a){var l;switch(r){case"===":"object"==typeof $&&($=$.version),"object"==typeof e&&(e=e.version),l=$===e;break;case"!==":"object"==typeof $&&($=$.version),"object"==typeof e&&(e=e.version),l=$!==e;break;case"":case"=":case"==":l=ga($,e,a);break;case"!=":l=Fa($,e,a);break;case">":l=S($,e,a);break;case">=":l=fa($,e,a);break;case"<":l=R($,e,a);break;case"<=":l=ea($,e,a);break;default:throw new TypeError("Invalid operator: "+r);}return l}b.cmp=Qb;var Sb=k;function k($,r){if($ instanceof k){if($.loose===r)return $;$=$.value}if(!(this instanceof k))return new k($,r);f("comparator",$,r),this.loose=r,this.parse($),this.semver===F?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}b.Comparator=Sb;var F={};k.prototype.parse=function($){var r=this.loose?g[W]:g[qa],e=$.match(r);if(!e)throw new TypeError("Invalid comparator: "+$);this.operator=e[1],"="===this.operator&&(this.operator=""),e[2]?this.semver=new d(e[2],this.loose):this.semver=F},k.prototype.toString=function(){return this.value},k.prototype.test=function($){return f("Comparator.test",$,this.loose),this.semver===F||("string"==typeof $&&($=new d($,this.loose)),O($,this.operator,this.semver,this.loose))},k.prototype.intersects=function($,r){if(!($ instanceof k))throw new TypeError("a Comparator is required");var e;if(""===this.operator)return e=new h($.value,r),Q(this.value,e,r);if(""===$.operator)return e=new h(this.value,r),Q($.semver,e,r);var a=!(">="!==this.operator&&">"!==this.operator||">="!==$.operator&&">"!==$.operator),l=!("<="!==this.operator&&"<"!==this.operator||"<="!==$.operator&&"<"!==$.operator),t=this.semver.version===$.semver.version,v=!(">="!==this.operator&&"<="!==this.operator||">="!==$.operator&&"<="!==$.operator),Y=O(this.semver,"<",$.semver,r)&&(">="===this.operator||">"===this.operator)&&("<="===$.operator||"<"===$.operator),W=O(this.semver,">",$.semver,r)&&("<="===this.operator||"<"===this.operator)&&(">="===$.operator||">"===$.operator);return a||l||t&&v||Y||W};var Vb=h;function h($,r){if($ instanceof h)return $.loose===r?$:new h($.raw,r);if($ instanceof k)return new h($.value,r);if(!(this instanceof h))return new h($,r);if(this.loose=r,this.raw=$,this.set=$.split(/\s*\|\|\s*/).map(function($){return this.parseRange($.trim())},this).filter(function($){return $.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+$);this.format()}b.Range=Vb,h.prototype.format=function(){return this.range=this.set.map(function($){return $.join(" ").trim()}).join("||").trim(),this.range},h.prototype.toString=function(){return this.range},h.prototype.parseRange=function($){var r=this.loose;$=$.trim(),f("range",$,r);var e=r?g[Ia]:g[ta];$=$.replace(e,gc),f("hyphen replace",$),$=$.replace(g[I],Oc),f("comparator trim",$,g[I]),$=($=($=$.replace(g[J],Tb)).replace(g[U],vc)).split(/\s+/).join(" ");var a=r?g[W]:g[qa],l=$.split(" ").map(function($){return Zb($,r)}).join(" ").split(/\s+/);return this.loose&&(l=l.filter(function($){return!!$.match(a)})),l=l.map(function($){return new k($,r)})},h.prototype.intersects=function($,r){if(!($ instanceof h))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(e){return $.set.some(function($){return $.every(function($){return e.intersects($,r)})})})})};var Xb=Yb;function Yb($,r){return new h($,r).set.map(function($){return $.map(function($){return $.value}).join(" ").trim().split(" ")})}function Zb($,r){return f("comp",$),$=bc($,r),f("caret",$),$=_b($,r),f("tildes",$),$=dc($,r),f("xrange",$),$=fc($,r),f("stars",$),$}function j($){return!$||"x"===$.toLowerCase()||"*"===$}function _b($,r){return $.trim().split(/\s+/).map(function($){return ac($,r)}).join(" ")}function ac($,r){var e=r?g[Ca]:g[Da];return $.replace(e,function(r,e,a,l,t){var v;return f("tilde",$,r,e,a,l,t),j(e)?v="":j(a)?v=">="+e+".0.0 <"+(+e+1)+".0.0":j(l)?v=">="+e+"."+a+".0 <"+e+"."+(+a+1)+".0":t?(f("replaceTilde pr",t),"-"!==t.charAt(0)&&(t="-"+t),v=">="+e+"."+a+"."+l+t+" <"+e+"."+(+a+1)+".0"):v=">="+e+"."+a+"."+l+" <"+e+"."+(+a+1)+".0",f("tilde return",v),v})}function bc($,r){return $.trim().split(/\s+/).map(function($){return cc($,r)}).join(" ")}function cc($,r){f("caret",$,r);var e=r?g[ya]:g[Aa];return $.replace(e,function(r,e,a,l,t){var v;return f("caret",$,r,e,a,l,t),j(e)?v="":j(a)?v=">="+e+".0.0 <"+(+e+1)+".0.0":j(l)?v="0"===e?">="+e+"."+a+".0 <"+e+"."+(+a+1)+".0":">="+e+"."+a+".0 <"+(+e+1)+".0.0":t?(f("replaceCaret pr",t),"-"!==t.charAt(0)&&(t="-"+t),v="0"===e?"0"===a?">="+e+"."+a+"."+l+t+" <"+e+"."+a+"."+(+l+1):">="+e+"."+a+"."+l+t+" <"+e+"."+(+a+1)+".0":">="+e+"."+a+"."+l+t+" <"+(+e+1)+".0.0"):(f("no pr"),v="0"===e?"0"===a?">="+e+"."+a+"."+l+" <"+e+"."+a+"."+(+l+1):">="+e+"."+a+"."+l+" <"+e+"."+(+a+1)+".0":">="+e+"."+a+"."+l+" <"+(+e+1)+".0.0"),f("caret return",v),v})}function dc($,r){return f("replaceXRanges",$,r),$.split(/\s+/).map(function($){return ec($,r)}).join(" ")}function ec($,r){$=$.trim();var e=r?g[Ga]:g[Ha];return $.replace(e,function(r,e,a,l,t,v){f("xRange",$,r,e,a,l,t,v);var Y=j(a),W=Y||j(l),o=W||j(t);return"="===e&&o&&(e=""),Y?r=">"===e||"<"===e?"<0.0.0":"*":e&&o?(W&&(l=0),o&&(t=0),">"===e?(e=">=",W?(a=+a+1,l=0,t=0):o&&(l=+l+1,t=0)):"<="===e&&(e="<",W?a=+a+1:l=+l+1),r=e+a+"."+l+"."+t):W?r=">="+a+".0.0 <"+(+a+1)+".0.0":o&&(r=">="+a+"."+l+".0 <"+a+"."+(+l+1)+".0"),f("xRange return",r),r})}function fc($,r){return f("replaceStars",$,r),$.trim().replace(g[ua],"")}function gc($,r,e,a,l,t,v,Y,W,o,s,n,i){return((r=j(e)?"":j(a)?">="+e+".0.0":j(l)?">="+e+"."+a+".0":">="+r)+" "+(Y=j(W)?"":j(o)?"<"+(+W+1)+".0.0":j(s)?"<"+W+"."+(+o+1)+".0":n?"<="+W+"."+o+"."+s+"-"+n:"<="+Y)).trim()}function hc($,r){for(var e=0;e<$.length;e++)if(!$[e].test(r))return!1;if(r.prerelease.length){for(e=0;e<$.length;e++)if(f($[e].semver),$[e].semver!==F&&$[e].semver.prerelease.length>0){var a=$[e].semver;if(a.major===r.major&&a.minor===r.minor&&a.patch===r.patch)return!0}return!1}return!0}b.toComparators=Xb,h.prototype.test=function($){if(!$)return!1;"string"==typeof $&&($=new d($,this.loose));for(var r=0;r<this.set.length;r++)if(hc(this.set[r],$))return!0;return!1};var ic=Q;function Q($,r,e){try{r=new h(r,e)}catch($){return!1}return r.test($)}b.satisfies=ic;var kc=lc;function lc($,r,e){var a=null,l=null;try{var t=new h(r,e)}catch($){return null}return $.forEach(function($){t.test($)&&(a&&-1!==l.compare($)||(l=new d(a=$,e)))}),a}b.maxSatisfying=kc;var mc=nc;function nc($,r,e){var a=null,l=null;try{var t=new h(r,e)}catch($){return null}return $.forEach(function($){t.test($)&&(a&&1!==l.compare($)||(l=new d(a=$,e)))}),a}b.minSatisfying=mc;var oc=pc;function pc($,r){try{return new h($,r).range||"*"}catch($){return null}}b.validRange=oc;var qc=rc;function rc($,r,e){return ha($,r,"<",e)}b.ltr=qc;var sc=tc;function tc($,r,e){return ha($,r,">",e)}b.gtr=sc;var uc=ha;function ha($,r,e,a){var l,t,v,Y,W;switch($=new d($,a),r=new h(r,a),e){case">":l=S,t=ea,v=R,Y=">",W=">=";break;case"<":l=R,t=fa,v=S,Y="<",W="<=";break;default:throw new TypeError("Must provide a hilo val of \"<\" or \">\"");}if(Q($,r,a))return!1;for(var o=0;o<r.set.length;++o){var s=r.set[o],n=null,i=null;if(s.forEach(function($){$.semver===F&&($=new k(">=0.0.0")),n=n||$,i=i||$,l($.semver,n.semver,a)?n=$:v($.semver,i.semver,a)&&(i=$)}),n.operator===Y||n.operator===W)return!1;if((!i.operator||i.operator===Y)&&t($,i.semver))return!1;if(i.operator===W&&v($,i.semver))return!1}return!0}b.outside=uc;var wc=xc;function xc($,r){var e=q($,r);return e&&e.prerelease.length?e.prerelease:null}b.prerelease=wc;var yc=zc;function zc($,r,e){return $=new h($,e),r=new h(r,e),$.intersects(r)}b.intersects=yc;var Ac=Bc;function Bc($){if($ instanceof d)return $;if("string"!=typeof $)return null;var r=$.match(g[Ea]);return null==r?null:q((r[1]||"0")+"."+(r[2]||"0")+"."+(r[3]||"0"))}b.coerce=Ac;var ba={};Object.defineProperty(ba,"__esModule",{value:!0});var Dc=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(r,t,a){return t&&e(r.prototype,t),a&&e(r,a),r}}();function Ec(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}var Fc=function(){function e(){return Ec(this,e),this.store=[],this}return Dc(e,[{key:"register",value:function(e,r,t){return this.store.push({type:e,range:r,schema:t}),this}},{key:"get",value:function(e,r){var t=this.store.find(function(t){var a=t.range;return t.type===e&&(0,b.satisfies)(r,a)});return t?t.schema:null}},{key:"has",value:function(e,r){return!!this.get(e,r)}},{key:"flush",value:function(){return this.store.length=0,this}}]),e}(),Gc=Fc;ba.default=Gc;var aa={};Object.defineProperty(aa,"__esModule",{value:!0});var Ic=function(e,t){return!1};aa.default=Ic;var u={};Object.defineProperty(u,"__esModule",{value:!0});var Sa=(Ua=void 0,u.SchemaRegistry=Ua);u.validator=Sa;var Lc=Ta(ba),Mc=Ta(aa);function Ta($){return $&&$.__esModule?$:{default:$}}var Ua=Lc.default;u.SchemaRegistry=Ua,Sa=Mc.default,u.validator=Sa;var Pc={};u.default=Pc;var C={};Object.defineProperty(C,"__esModule",{value:!0});var Wa=void 0;C.DEFAULT_OPTS=Wa;var Sc=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Tc=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();function Uc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Vc=(Wa={tolerateMissed:!0},C.$itQ$var$DEFAULT_OPTS=Wa),Wc=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Uc(this,t),this.opts=Sc({},Vc,r),this.data=this.constructor.parse(this.constructor.load(e)),this.type="config",this.id=""+Math.random(),this.emitter=this.opts.emitter||(0,wa)(),this.registry=new u.SchemaRegistry,this.emit(oa),this}return Tc(t,[{key:"get",value:function(t){if(!this.opts.tolerateMissed&&!this.has(t))throw new Ra(Va);return(0,p.get)(this.data,t)}},{key:"has",value:function(t){return(0,p.has)(this.data,t)}},{key:"on",value:function(t,e){return this.emitter.on(t+this.id,e),this}},{key:"off",value:function(t,e){return this.emitter.removeListener(t+this.id,e),this}},{key:"emit",value:function(t,e){return this.emitter.emit(t+this.id,{type:t,data:e})}}],[{key:"load",value:function(t){}},{key:"parse",value:function(t){}}]),t}(),Xc=Wc;C.default=Xc;var D={};Object.defineProperty(D,"__esModule",{value:!0});var Zc=La;D.$Focm$var$factory=Zc;var $c=Rb(C);function Rb($){return $&&$.__esModule?$:{default:$}}function La($,o){return new $c.default($,o)}var Ub=La;D.default=Ub;if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=D}else if(typeof define==="function"&&define.amd){define(function(){return D})}})();
{
"name": "@qiwi/uniconfig",
"version": "1.13.0",
"version": "1.13.2",
"description": "Yet another one config processor. Weird. Slow. Our own.",

@@ -5,0 +5,0 @@ "main": "dist/es6/index.js",

@@ -16,2 +16,3 @@ # @qiwi/uniconfig-core

import uniconfigPluginYaml from '@qiwi/uniconfig-plugin-yaml'
rollupPlugin(uniconfigPluginYaml)

@@ -21,2 +22,4 @@ const config = uniconfig('./foobar.yml')

Each plugin must expose at least two methods to be registered: `rollup` and `rollback`.

@@ -23,0 +26,0 @@ ```javascript

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