@modern-js/utils 2.46.0 → 2.47.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,6 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var constants_exports = {};
21
20
  __export(constants_exports, {
@@ -51,7 +50,6 @@ __export(constants_exports, {
51
50
  SHARED_DIR: () => SHARED_DIR
52
51
  });
53
52
  module.exports = __toCommonJS(constants_exports);
54
- __reExport(constants_exports, require("./chainId"), module.exports);
55
53
  const ROUTE_SPEC_FILE = "route.json";
56
54
  const NESTED_ROUTE_SPEC_FILE = "nestedRoutes.json";
57
55
  const MAIN_ENTRY_NAME = "main";
@@ -175,6 +173,5 @@ const INTERNAL_SERVER_PLUGINS = {
175
173
  SERVER_PLUGIN_SERVER,
176
174
  SERVER_RENDER_FUNCTION_NAME,
177
175
  SERVER_WORKER_BUNDLE_DIRECTORY,
178
- SHARED_DIR,
179
- ...require("./chainId")
176
+ SHARED_DIR
180
177
  });
@@ -1 +1 @@
1
- (()=>{var e={844:(e,t,r)=>{"use strict";const s=r(605);const n=Symbol("max");const i=Symbol("length");const o=Symbol("lengthCalculator");const l=Symbol("allowStale");const a=Symbol("maxAge");const h=Symbol("dispose");const c=Symbol("noDisposeOnSet");const u=Symbol("lruList");const f=Symbol("cache");const p=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const r=e.length||naiveLength;this[o]=typeof r!=="function"?naiveLength:r;this[l]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0;this[h]=e.dispose;this[c]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;trim(this)}get max(){return this[n]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[a]=e;trim(this)}get maxAge(){return this[a]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[o]){this[o]=e;this[i]=0;this[u].forEach((e=>{e.length=this[o](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;r!==null;){const s=r.prev;forEachStep(this,e,r,t);r=s}}forEach(e,t){t=t||this;for(let r=this[u].head;r!==null;){const s=r.next;forEachStep(this,e,r,t);r=s}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){if(this[h]&&this[u]&&this[u].length){this[u].forEach((e=>this[h](e.key,e.value)))}this[f]=new Map;this[u]=new s;this[i]=0}dump(){return this[u].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){r=r||this[a];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0;const l=this[o](t,e);if(this[f].has(e)){if(l>this[n]){del(this,this[f].get(e));return false}const o=this[f].get(e);const a=o.value;if(this[h]){if(!this[c])this[h](e,a.value)}a.now=s;a.maxAge=r;a.value=t;this[i]+=l-a.length;a.length=l;this.get(e);trim(this);return true}const p=new Entry(e,t,l,s,r);if(p.length>this[n]){if(this[h])this[h](e,t);return false}this[i]+=p.length;this[u].unshift(p);this[f].set(e,this[u].head);trim(this);return true}has(e){if(!this[f].has(e))return false;const t=this[f].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[u].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[f].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const s=e[r];const n=s.e||0;if(n===0)this.set(s.k,s.v);else{const e=n-t;if(e>0){this.set(s.k,s.v,e)}}}}prune(){this[f].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const s=e[f].get(t);if(s){const t=s.value;if(isStale(e,t)){del(e,s);if(!e[l])return undefined}else{if(r){if(e[p])s.value.now=Date.now();e[u].unshiftNode(s)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[a])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]};const trim=e=>{if(e[i]>e[n]){for(let t=e[u].tail;e[i]>e[n]&&t!==null;){const r=t.prev;del(e,t);t=r}}};const del=(e,t)=>{if(t){const r=t.value;if(e[h])e[h](r.key,r.value);e[i]-=r.length;e[f].delete(r.key);e[u].removeNode(t)}};class Entry{constructor(e,t,r,s,n){this.key=e;this.value=t;this.length=r;this.now=s;this.maxAge=n||0}}const forEachStep=(e,t,r,s)=>{let n=r.value;if(isStale(e,n)){del(e,r);if(!e[l])n=undefined}if(n)t.call(s,n.value,n.key,e)};e.exports=LRUCache},685:(e,t,r)=>{const s=Symbol("SemVer ANY");class Comparator{static get ANY(){return s}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}a("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===s){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}parse(e){const t=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=s}else{this.semver=new h(r[2],this.options.loose)}}toString(){return this.value}test(e){a("Comparator.test",e,this.options.loose);if(this.semver===s||e===s){return true}if(typeof e==="string"){try{e=new h(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new c(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new c(this.value,t).test(e.semver)}const r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const n=this.semver.version===e.semver.version;const i=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const o=l(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const a=l(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||s||n&&i||o||a}}e.exports=Comparator;const n=r(912);const{re:i,t:o}=r(475);const l=r(852);const a=r(805);const h=r(607);const c=r(12)},12:(e,t,r)=>{class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof o){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=Object.keys(this.options).join(",");const r=`parseRange:${t}:${e}`;const s=n.get(r);if(s){return s}const i=this.options.loose;const a=i?h[c.HYPHENRANGELOOSE]:h[c.HYPHENRANGE];e=e.replace(a,hyphenReplace(this.options.includePrerelease));l("hyphen replace",e);e=e.replace(h[c.COMPARATORTRIM],u);l("comparator trim",e);e=e.replace(h[c.TILDETRIM],f);e=e.replace(h[c.CARETTRIM],p);e=e.split(/\s+/).join(" ");let E=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(i){E=E.filter((e=>{l("loose invalid filter",e,this.options);return!!e.match(h[c.COMPARATORLOOSE])}))}l("range list",E);const m=new Map;const v=E.map((e=>new o(e,this.options)));for(const e of v){if(isNullSet(e)){return[e]}m.set(e.value,e)}if(m.size>1&&m.has("")){m.delete("")}const $=[...m.values()];n.set(r,$);return $}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new a(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(844);const n=new s({max:1e3});const i=r(912);const o=r(685);const l=r(805);const a=r(607);const{re:h,t:c,comparatorTrimReplace:u,tildeTrimReplace:f,caretTrimReplace:p}=r(475);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const s=e.slice();let n=s.pop();while(r&&s.length){r=s.every((e=>n.intersects(e,t)));n=s.pop()}return r};const parseComparator=(e,t)=>{l("comp",e,t);e=replaceCarets(e,t);l("caret",e);e=replaceTildes(e,t);l("tildes",e);e=replaceXRanges(e,t);l("xrange",e);e=replaceStars(e,t);l("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?h[c.TILDELOOSE]:h[c.TILDE];return e.replace(r,((t,r,s,n,i)=>{l("tilde",e,t,r,s,n,i);let o;if(isX(r)){o=""}else if(isX(s)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(n)){o=`>=${r}.${s}.0 <${r}.${+s+1}.0-0`}else if(i){l("replaceTilde pr",i);o=`>=${r}.${s}.${n}-${i} <${r}.${+s+1}.0-0`}else{o=`>=${r}.${s}.${n} <${r}.${+s+1}.0-0`}l("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{l("caret",e,t);const r=t.loose?h[c.CARETLOOSE]:h[c.CARET];const s=t.includePrerelease?"-0":"";return e.replace(r,((t,r,n,i,o)=>{l("caret",e,t,r,n,i,o);let a;if(isX(r)){a=""}else if(isX(n)){a=`>=${r}.0.0${s} <${+r+1}.0.0-0`}else if(isX(i)){if(r==="0"){a=`>=${r}.${n}.0${s} <${r}.${+n+1}.0-0`}else{a=`>=${r}.${n}.0${s} <${+r+1}.0.0-0`}}else if(o){l("replaceCaret pr",o);if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}-${o} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i}-${o} <${+r+1}.0.0-0`}}else{l("no pr");if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}${s} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}${s} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i} <${+r+1}.0.0-0`}}l("caret return",a);return a}))};const replaceXRanges=(e,t)=>{l("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?h[c.XRANGELOOSE]:h[c.XRANGE];return e.replace(r,((r,s,n,i,o,a)=>{l("xRange",e,r,s,n,i,o,a);const h=isX(n);const c=h||isX(i);const u=c||isX(o);const f=u;if(s==="="&&f){s=""}a=t.includePrerelease?"-0":"";if(h){if(s===">"||s==="<"){r="<0.0.0-0"}else{r="*"}}else if(s&&f){if(c){i=0}o=0;if(s===">"){s=">=";if(c){n=+n+1;i=0;o=0}else{i=+i+1;o=0}}else if(s==="<="){s="<";if(c){n=+n+1}else{i=+i+1}}if(s==="<"){a="-0"}r=`${s+n}.${i}.${o}${a}`}else if(c){r=`>=${n}.0.0${a} <${+n+1}.0.0-0`}else if(u){r=`>=${n}.${i}.0${a} <${n}.${+i+1}.0-0`}l("xRange return",r);return r}))};const replaceStars=(e,t)=>{l("replaceStars",e,t);return e.trim().replace(h[c.STAR],"")};const replaceGTE0=(e,t)=>{l("replaceGTE0",e,t);return e.trim().replace(h[t.includePrerelease?c.GTE0PRE:c.GTE0],"")};const hyphenReplace=e=>(t,r,s,n,i,o,l,a,h,c,u,f,p)=>{if(isX(s)){r=""}else if(isX(n)){r=`>=${s}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${s}.${n}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(h)){a=""}else if(isX(c)){a=`<${+h+1}.0.0-0`}else if(isX(u)){a=`<${h}.${+c+1}.0-0`}else if(f){a=`<=${h}.${c}.${u}-${f}`}else if(e){a=`<${h}.${c}.${+u+1}-0`}else{a=`<=${a}`}return`${r} ${a}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){l(e[r].semver);if(e[r].semver===o.ANY){continue}if(e[r].semver.prerelease.length>0){const s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}},607:(e,t,r)=>{const s=r(805);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=r(393);const{re:o,t:l}=r(475);const a=r(912);const{compareIdentifiers:h}=r(350);class SemVer{constructor(e,t){t=a(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}s("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[l.LOOSE]:o[l.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){s("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const n=e.prerelease[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return h(r,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const n=e.build[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return h(r,n)}}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let e=this.prerelease.length;while(--e>=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(h(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},219:(e,t,r)=>{const s=r(278);const clean=(e,t)=>{const r=s(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},852:(e,t,r)=>{const s=r(620);const n=r(443);const i=r(421);const o=r(294);const l=r(808);const a=r(923);const cmp=(e,t,r,h)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return s(e,r,h);case"!=":return n(e,r,h);case">":return i(e,r,h);case">=":return o(e,r,h);case"<":return l(e,r,h);case"<=":return a(e,r,h);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},970:(e,t,r)=>{const s=r(607);const n=r(278);const{re:i,t:o}=r(475);const coerce=(e,t)=>{if(e instanceof s){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(i[o.COERCE])}else{let t;while((t=i[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}i[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}i[o.COERCERTL].lastIndex=-1}if(r===null){return null}return n(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};e.exports=coerce},25:(e,t,r)=>{const s=r(607);const compareBuild=(e,t,r)=>{const n=new s(e,r);const i=new s(t,r);return n.compare(i)||n.compareBuild(i)};e.exports=compareBuild},414:(e,t,r)=>{const s=r(433);const compareLoose=(e,t)=>s(e,t,true);e.exports=compareLoose},433:(e,t,r)=>{const s=r(607);const compare=(e,t,r)=>new s(e,r).compare(new s(t,r));e.exports=compare},74:(e,t,r)=>{const s=r(278);const n=r(620);const diff=(e,t)=>{if(n(e,t)){return null}else{const r=s(e);const n=s(t);const i=r.prerelease.length||n.prerelease.length;const o=i?"pre":"";const l=i?"prerelease":"";for(const e in r){if(e==="major"||e==="minor"||e==="patch"){if(r[e]!==n[e]){return o+e}}}return l}};e.exports=diff},620:(e,t,r)=>{const s=r(433);const eq=(e,t,r)=>s(e,t,r)===0;e.exports=eq},421:(e,t,r)=>{const s=r(433);const gt=(e,t,r)=>s(e,t,r)>0;e.exports=gt},294:(e,t,r)=>{const s=r(433);const gte=(e,t,r)=>s(e,t,r)>=0;e.exports=gte},779:(e,t,r)=>{const s=r(607);const inc=(e,t,r,n)=>{if(typeof r==="string"){n=r;r=undefined}try{return new s(e instanceof s?e.version:e,r).inc(t,n).version}catch(e){return null}};e.exports=inc},808:(e,t,r)=>{const s=r(433);const lt=(e,t,r)=>s(e,t,r)<0;e.exports=lt},923:(e,t,r)=>{const s=r(433);const lte=(e,t,r)=>s(e,t,r)<=0;e.exports=lte},972:(e,t,r)=>{const s=r(607);const major=(e,t)=>new s(e,t).major;e.exports=major},857:(e,t,r)=>{const s=r(607);const minor=(e,t)=>new s(e,t).minor;e.exports=minor},443:(e,t,r)=>{const s=r(433);const neq=(e,t,r)=>s(e,t,r)!==0;e.exports=neq},278:(e,t,r)=>{const{MAX_LENGTH:s}=r(393);const{re:n,t:i}=r(475);const o=r(607);const l=r(912);const parse=(e,t)=>{t=l(t);if(e instanceof o){return e}if(typeof e!=="string"){return null}if(e.length>s){return null}const r=t.loose?n[i.LOOSE]:n[i.FULL];if(!r.test(e)){return null}try{return new o(e,t)}catch(e){return null}};e.exports=parse},410:(e,t,r)=>{const s=r(607);const patch=(e,t)=>new s(e,t).patch;e.exports=patch},235:(e,t,r)=>{const s=r(278);const prerelease=(e,t)=>{const r=s(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},9:(e,t,r)=>{const s=r(433);const rcompare=(e,t,r)=>s(t,e,r);e.exports=rcompare},190:(e,t,r)=>{const s=r(25);const rsort=(e,t)=>e.sort(((e,r)=>s(r,e,t)));e.exports=rsort},27:(e,t,r)=>{const s=r(12);const satisfies=(e,t,r)=>{try{t=new s(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},297:(e,t,r)=>{const s=r(25);const sort=(e,t)=>e.sort(((e,r)=>s(e,r,t)));e.exports=sort},862:(e,t,r)=>{const s=r(278);const valid=(e,t)=>{const r=s(e,t);return r?r.version:null};e.exports=valid},124:(e,t,r)=>{const s=r(475);e.exports={re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:r(393).SEMVER_SPEC_VERSION,SemVer:r(607),compareIdentifiers:r(350).compareIdentifiers,rcompareIdentifiers:r(350).rcompareIdentifiers,parse:r(278),valid:r(862),clean:r(219),inc:r(779),diff:r(74),major:r(972),minor:r(857),patch:r(410),prerelease:r(235),compare:r(433),rcompare:r(9),compareLoose:r(414),compareBuild:r(25),sort:r(297),rsort:r(190),gt:r(421),lt:r(808),eq:r(620),neq:r(443),gte:r(294),lte:r(923),cmp:r(852),coerce:r(970),Comparator:r(685),Range:r(12),satisfies:r(27),toComparators:r(564),maxSatisfying:r(771),minSatisfying:r(758),minVersion:r(521),validRange:r(764),outside:r(866),gtr:r(234),ltr:r(63),intersects:r(875),simplifyRange:r(843),subset:r(747)}},393:e=>{const t="2.0.0";const r=256;const s=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:r,MAX_SAFE_INTEGER:s,MAX_SAFE_COMPONENT_LENGTH:n}},805:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},350:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const s=t.test(e);const n=t.test(r);if(s&&n){e=+e;r=+r}return e===r?0:s&&!n?-1:n&&!s?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},912:e=>{const t=["includePrerelease","loose","rtl"];const parseOptions=e=>!e?{}:typeof e!=="object"?{loose:true}:t.filter((t=>e[t])).reduce(((e,t)=>{e[t]=true;return e}),{});e.exports=parseOptions},475:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:s}=r(393);const n=r(805);t=e.exports={};const i=t.re=[];const o=t.src=[];const l=t.t={};let a=0;const createToken=(e,t,r)=>{const s=a++;n(e,s,t);l[e]=s;o[s]=t;i[s]=new RegExp(t,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${o[l.NUMERICIDENTIFIER]})\\.`+`(${o[l.NUMERICIDENTIFIER]})\\.`+`(${o[l.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${o[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${o[l.NUMERICIDENTIFIERLOOSE]})\\.`+`(${o[l.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${o[l.NUMERICIDENTIFIER]}|${o[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${o[l.NUMERICIDENTIFIERLOOSE]}|${o[l.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${o[l.PRERELEASEIDENTIFIER]}(?:\\.${o[l.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${o[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[l.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${o[l.BUILDIDENTIFIER]}(?:\\.${o[l.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${o[l.MAINVERSION]}${o[l.PRERELEASE]}?${o[l.BUILD]}?`);createToken("FULL",`^${o[l.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${o[l.MAINVERSIONLOOSE]}${o[l.PRERELEASELOOSE]}?${o[l.BUILD]}?`);createToken("LOOSE",`^${o[l.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${o[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${o[l.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${o[l.XRANGEIDENTIFIER]})`+`(?:\\.(${o[l.XRANGEIDENTIFIER]})`+`(?:\\.(${o[l.XRANGEIDENTIFIER]})`+`(?:${o[l.PRERELEASE]})?${o[l.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${o[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${o[l.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${o[l.XRANGEIDENTIFIERLOOSE]})`+`(?:${o[l.PRERELEASELOOSE]})?${o[l.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${o[l.GTLT]}\\s*${o[l.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${o[l.GTLT]}\\s*${o[l.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${s}})`+`(?:\\.(\\d{1,${s}}))?`+`(?:\\.(\\d{1,${s}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",o[l.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${o[l.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${o[l.LONETILDE]}${o[l.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${o[l.LONETILDE]}${o[l.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${o[l.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${o[l.LONECARET]}${o[l.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${o[l.LONECARET]}${o[l.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${o[l.GTLT]}\\s*(${o[l.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${o[l.GTLT]}\\s*(${o[l.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${o[l.GTLT]}\\s*(${o[l.LOOSEPLAIN]}|${o[l.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${o[l.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${o[l.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${o[l.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${o[l.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},234:(e,t,r)=>{const s=r(866);const gtr=(e,t,r)=>s(e,t,">",r);e.exports=gtr},875:(e,t,r)=>{const s=r(12);const intersects=(e,t,r)=>{e=new s(e,r);t=new s(t,r);return e.intersects(t)};e.exports=intersects},63:(e,t,r)=>{const s=r(866);const ltr=(e,t,r)=>s(e,t,"<",r);e.exports=ltr},771:(e,t,r)=>{const s=r(607);const n=r(12);const maxSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===-1){i=e;o=new s(i,r)}}}));return i};e.exports=maxSatisfying},758:(e,t,r)=>{const s=r(607);const n=r(12);const minSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===1){i=e;o=new s(i,r)}}}));return i};e.exports=minSatisfying},521:(e,t,r)=>{const s=r(607);const n=r(12);const i=r(421);const minVersion=(e,t)=>{e=new n(e,t);let r=new s("0.0.0");if(e.test(r)){return r}r=new s("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let o=null;n.forEach((e=>{const t=new s(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||i(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||i(r,o))){r=o}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},866:(e,t,r)=>{const s=r(607);const n=r(685);const{ANY:i}=n;const o=r(12);const l=r(27);const a=r(421);const h=r(808);const c=r(923);const u=r(294);const outside=(e,t,r,f)=>{e=new s(e,f);t=new o(t,f);let p,E,m,v,$;switch(r){case">":p=a;E=c;m=h;v=">";$=">=";break;case"<":p=h;E=u;m=a;v="<";$="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,f)){return false}for(let r=0;r<t.set.length;++r){const s=t.set[r];let o=null;let l=null;s.forEach((e=>{if(e.semver===i){e=new n(">=0.0.0")}o=o||e;l=l||e;if(p(e.semver,o.semver,f)){o=e}else if(m(e.semver,l.semver,f)){l=e}}));if(o.operator===v||o.operator===$){return false}if((!l.operator||l.operator===v)&&E(e,l.semver)){return false}else if(l.operator===$&&m(e,l.semver)){return false}}return true};e.exports=outside},843:(e,t,r)=>{const s=r(27);const n=r(433);e.exports=(e,t,r)=>{const i=[];let o=null;let l=null;const a=e.sort(((e,t)=>n(e,t,r)));for(const e of a){const n=s(e,t,r);if(n){l=e;if(!o){o=e}}else{if(l){i.push([o,l])}l=null;o=null}}if(o){i.push([o,null])}const h=[];for(const[e,t]of i){if(e===t){h.push(e)}else if(!t&&e===a[0]){h.push("*")}else if(!t){h.push(`>=${e}`)}else if(e===a[0]){h.push(`<=${t}`)}else{h.push(`${e} - ${t}`)}}const c=h.join(" || ");const u=typeof t.raw==="string"?t.raw:String(t);return c.length<u.length?c:t}},747:(e,t,r)=>{const s=r(12);const n=r(685);const{ANY:i}=n;const o=r(27);const l=r(433);const subset=(e,t,r={})=>{if(e===t){return true}e=new s(e,r);t=new s(t,r);let n=false;e:for(const s of e.set){for(const e of t.set){const t=simpleSubset(s,e,r);n=n||t!==null;if(t){continue e}}if(n){return false}}return true};const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i){return true}else if(r.includePrerelease){e=[new n(">=0.0.0-0")]}else{e=[new n(">=0.0.0")]}}if(t.length===1&&t[0].semver===i){if(r.includePrerelease){return true}else{t=[new n(">=0.0.0")]}}const s=new Set;let a,h;for(const t of e){if(t.operator===">"||t.operator===">="){a=higherGT(a,t,r)}else if(t.operator==="<"||t.operator==="<="){h=lowerLT(h,t,r)}else{s.add(t.semver)}}if(s.size>1){return null}let c;if(a&&h){c=l(a.semver,h.semver,r);if(c>0){return null}else if(c===0&&(a.operator!==">="||h.operator!=="<=")){return null}}for(const e of s){if(a&&!o(e,String(a),r)){return null}if(h&&!o(e,String(h),r)){return null}for(const s of t){if(!o(e,String(s),r)){return false}}return true}let u,f;let p,E;let m=h&&!r.includePrerelease&&h.semver.prerelease.length?h.semver:false;let v=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:false;if(m&&m.prerelease.length===1&&h.operator==="<"&&m.prerelease[0]===0){m=false}for(const e of t){E=E||e.operator===">"||e.operator===">=";p=p||e.operator==="<"||e.operator==="<=";if(a){if(v){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch){v=false}}if(e.operator===">"||e.operator===">="){u=higherGT(a,e,r);if(u===e&&u!==a){return false}}else if(a.operator===">="&&!o(a.semver,String(e),r)){return false}}if(h){if(m){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===m.major&&e.semver.minor===m.minor&&e.semver.patch===m.patch){m=false}}if(e.operator==="<"||e.operator==="<="){f=lowerLT(h,e,r);if(f===e&&f!==h){return false}}else if(h.operator==="<="&&!o(h.semver,String(e),r)){return false}}if(!e.operator&&(h||a)&&c!==0){return false}}if(a&&p&&!h&&c!==0){return false}if(h&&E&&!a&&c!==0){return false}if(v||m){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s>0?e:s<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s<0?e:s>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},564:(e,t,r)=>{const s=r(12);const toComparators=(e,t)=>new s(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},764:(e,t,r)=>{const s=r(12);const validRange=(e,t)=>{try{return new s(e,t).range||"*"}catch(e){return null}};e.exports=validRange},77:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},605:(e,t,r)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,s=arguments.length;r<s;r++){t.push(arguments[r])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var r=e.prev;if(t){t.prev=r}if(r){r.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=r}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,s=0;r!==null;s++){e.call(t,r.value,s,this);r=r.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,s=this.length-1;r!==null;s--){e.call(t,r.value,s,this);r=r.prev}};Yallist.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++){r=r.next}if(t===e&&r!==null){return r.value}};Yallist.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++){r=r.prev}if(t===e&&r!==null){return r.value}};Yallist.prototype.map=function(e,t){t=t||this;var r=new Yallist;for(var s=this.head;s!==null;){r.push(e.call(t,s.value,this));s=s.next}return r};Yallist.prototype.mapReverse=function(e,t){t=t||this;var r=new Yallist;for(var s=this.tail;s!==null;){r.push(e.call(t,s.value,this));s=s.prev}return r};Yallist.prototype.reduce=function(e,t){var r;var s=this.head;if(arguments.length>1){r=t}else if(this.head){s=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;s!==null;n++){r=e(r,s.value,n);s=s.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var s=this.tail;if(arguments.length>1){r=t}else if(this.tail){s=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;s!==null;n--){r=e(r,s.value,n);s=s.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}for(;n!==null&&s<t;s++,n=n.next){r.push(n.value)}return r};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=this.length,n=this.tail;n!==null&&s>t;s--){n=n.prev}for(;n!==null&&s>e;s--,n=n.prev){r.push(n.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}var i=[];for(var s=0;n&&s<t;s++){i.push(n.value);n=this.removeNode(n)}if(n===null){n=this.tail}if(n!==this.head&&n!==this.tail){n=n.prev}for(var s=0;s<r.length;s++){n=insert(this,n,r[s])}return i};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var r=e;r!==null;r=r.prev){var s=r.prev;r.prev=r.next;r.next=s}this.head=t;this.tail=e;return this};function insert(e,t,r){var s=t===e.head?new Node(r,null,t,e):new Node(r,t,t.next,e);if(s.next===null){e.tail=s}if(s.prev===null){e.head=s}e.length++;return s}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,r,s){if(!(this instanceof Node)){return new Node(e,t,r,s)}this.list=s;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(r){r.prev=this;this.next=r}else{this.next=null}}try{r(77)(Yallist)}catch(e){}}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var i=true;try{e[r](n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(124);module.exports=r})();
1
+ (()=>{var e={844:(e,t,r)=>{"use strict";const s=r(605);const n=Symbol("max");const i=Symbol("length");const o=Symbol("lengthCalculator");const l=Symbol("allowStale");const a=Symbol("maxAge");const h=Symbol("dispose");const c=Symbol("noDisposeOnSet");const u=Symbol("lruList");const f=Symbol("cache");const p=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const r=e.length||naiveLength;this[o]=typeof r!=="function"?naiveLength:r;this[l]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0;this[h]=e.dispose;this[c]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;trim(this)}get max(){return this[n]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[a]=e;trim(this)}get maxAge(){return this[a]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[o]){this[o]=e;this[i]=0;this[u].forEach((e=>{e.length=this[o](e.value,e.key);this[i]+=e.length}))}trim(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;r!==null;){const s=r.prev;forEachStep(this,e,r,t);r=s}}forEach(e,t){t=t||this;for(let r=this[u].head;r!==null;){const s=r.next;forEachStep(this,e,r,t);r=s}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){if(this[h]&&this[u]&&this[u].length){this[u].forEach((e=>this[h](e.key,e.value)))}this[f]=new Map;this[u]=new s;this[i]=0}dump(){return this[u].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){r=r||this[a];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0;const l=this[o](t,e);if(this[f].has(e)){if(l>this[n]){del(this,this[f].get(e));return false}const o=this[f].get(e);const a=o.value;if(this[h]){if(!this[c])this[h](e,a.value)}a.now=s;a.maxAge=r;a.value=t;this[i]+=l-a.length;a.length=l;this.get(e);trim(this);return true}const p=new Entry(e,t,l,s,r);if(p.length>this[n]){if(this[h])this[h](e,t);return false}this[i]+=p.length;this[u].unshift(p);this[f].set(e,this[u].head);trim(this);return true}has(e){if(!this[f].has(e))return false;const t=this[f].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[u].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[f].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const s=e[r];const n=s.e||0;if(n===0)this.set(s.k,s.v);else{const e=n-t;if(e>0){this.set(s.k,s.v,e)}}}}prune(){this[f].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const s=e[f].get(t);if(s){const t=s.value;if(isStale(e,t)){del(e,s);if(!e[l])return undefined}else{if(r){if(e[p])s.value.now=Date.now();e[u].unshiftNode(s)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[a])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]};const trim=e=>{if(e[i]>e[n]){for(let t=e[u].tail;e[i]>e[n]&&t!==null;){const r=t.prev;del(e,t);t=r}}};const del=(e,t)=>{if(t){const r=t.value;if(e[h])e[h](r.key,r.value);e[i]-=r.length;e[f].delete(r.key);e[u].removeNode(t)}};class Entry{constructor(e,t,r,s,n){this.key=e;this.value=t;this.length=r;this.now=s;this.maxAge=n||0}}const forEachStep=(e,t,r,s)=>{let n=r.value;if(isStale(e,n)){del(e,r);if(!e[l])n=undefined}if(n)t.call(s,n.value,n.key,e)};e.exports=LRUCache},584:(e,t,r)=>{const s=Symbol("SemVer ANY");class Comparator{static get ANY(){return s}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");a("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===s){this.value=""}else{this.value=this.operator+this.semver.version}a("comp",this)}parse(e){const t=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=s}else{this.semver=new h(r[2],this.options.loose)}}toString(){return this.value}test(e){a("Comparator.test",e,this.options.loose);if(this.semver===s||e===s){return true}if(typeof e==="string"){try{e=new h(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new c(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new c(this.value,t).test(e.semver)}t=n(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const n=r(110);const{safeRe:i,t:o}=r(258);const l=r(159);const a=r(935);const h=r(649);const c=r(530)},530:(e,t,r)=>{class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof o){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&E)|(this.options.loose&&m);const r=t+":"+e;const s=n.get(r);if(s){return s}const i=this.options.loose;const a=i?h[c.HYPHENRANGELOOSE]:h[c.HYPHENRANGE];e=e.replace(a,hyphenReplace(this.options.includePrerelease));l("hyphen replace",e);e=e.replace(h[c.COMPARATORTRIM],u);l("comparator trim",e);e=e.replace(h[c.TILDETRIM],f);l("tilde trim",e);e=e.replace(h[c.CARETTRIM],p);l("caret trim",e);let v=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(i){v=v.filter((e=>{l("loose invalid filter",e,this.options);return!!e.match(h[c.COMPARATORLOOSE])}))}l("range list",v);const $=new Map;const R=v.map((e=>new o(e,this.options)));for(const e of R){if(isNullSet(e)){return[e]}$.set(e.value,e)}if($.size>1&&$.has("")){$.delete("")}const d=[...$.values()];n.set(r,d);return d}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new a(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(844);const n=new s({max:1e3});const i=r(110);const o=r(584);const l=r(935);const a=r(649);const{safeRe:h,t:c,comparatorTrimReplace:u,tildeTrimReplace:f,caretTrimReplace:p}=r(258);const{FLAG_INCLUDE_PRERELEASE:E,FLAG_LOOSE:m}=r(745);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const s=e.slice();let n=s.pop();while(r&&s.length){r=s.every((e=>n.intersects(e,t)));n=s.pop()}return r};const parseComparator=(e,t)=>{l("comp",e,t);e=replaceCarets(e,t);l("caret",e);e=replaceTildes(e,t);l("tildes",e);e=replaceXRanges(e,t);l("xrange",e);e=replaceStars(e,t);l("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?h[c.TILDELOOSE]:h[c.TILDE];return e.replace(r,((t,r,s,n,i)=>{l("tilde",e,t,r,s,n,i);let o;if(isX(r)){o=""}else if(isX(s)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(n)){o=`>=${r}.${s}.0 <${r}.${+s+1}.0-0`}else if(i){l("replaceTilde pr",i);o=`>=${r}.${s}.${n}-${i} <${r}.${+s+1}.0-0`}else{o=`>=${r}.${s}.${n} <${r}.${+s+1}.0-0`}l("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{l("caret",e,t);const r=t.loose?h[c.CARETLOOSE]:h[c.CARET];const s=t.includePrerelease?"-0":"";return e.replace(r,((t,r,n,i,o)=>{l("caret",e,t,r,n,i,o);let a;if(isX(r)){a=""}else if(isX(n)){a=`>=${r}.0.0${s} <${+r+1}.0.0-0`}else if(isX(i)){if(r==="0"){a=`>=${r}.${n}.0${s} <${r}.${+n+1}.0-0`}else{a=`>=${r}.${n}.0${s} <${+r+1}.0.0-0`}}else if(o){l("replaceCaret pr",o);if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}-${o} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i}-${o} <${+r+1}.0.0-0`}}else{l("no pr");if(r==="0"){if(n==="0"){a=`>=${r}.${n}.${i}${s} <${r}.${n}.${+i+1}-0`}else{a=`>=${r}.${n}.${i}${s} <${r}.${+n+1}.0-0`}}else{a=`>=${r}.${n}.${i} <${+r+1}.0.0-0`}}l("caret return",a);return a}))};const replaceXRanges=(e,t)=>{l("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?h[c.XRANGELOOSE]:h[c.XRANGE];return e.replace(r,((r,s,n,i,o,a)=>{l("xRange",e,r,s,n,i,o,a);const h=isX(n);const c=h||isX(i);const u=c||isX(o);const f=u;if(s==="="&&f){s=""}a=t.includePrerelease?"-0":"";if(h){if(s===">"||s==="<"){r="<0.0.0-0"}else{r="*"}}else if(s&&f){if(c){i=0}o=0;if(s===">"){s=">=";if(c){n=+n+1;i=0;o=0}else{i=+i+1;o=0}}else if(s==="<="){s="<";if(c){n=+n+1}else{i=+i+1}}if(s==="<"){a="-0"}r=`${s+n}.${i}.${o}${a}`}else if(c){r=`>=${n}.0.0${a} <${+n+1}.0.0-0`}else if(u){r=`>=${n}.${i}.0${a} <${n}.${+i+1}.0-0`}l("xRange return",r);return r}))};const replaceStars=(e,t)=>{l("replaceStars",e,t);return e.trim().replace(h[c.STAR],"")};const replaceGTE0=(e,t)=>{l("replaceGTE0",e,t);return e.trim().replace(h[t.includePrerelease?c.GTE0PRE:c.GTE0],"")};const hyphenReplace=e=>(t,r,s,n,i,o,l,a,h,c,u,f,p)=>{if(isX(s)){r=""}else if(isX(n)){r=`>=${s}.0.0${e?"-0":""}`}else if(isX(i)){r=`>=${s}.${n}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(h)){a=""}else if(isX(c)){a=`<${+h+1}.0.0-0`}else if(isX(u)){a=`<${h}.${+c+1}.0-0`}else if(f){a=`<=${h}.${c}.${u}-${f}`}else if(e){a=`<${h}.${c}.${+u+1}-0`}else{a=`<=${a}`}return`${r} ${a}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){l(e[r].semver);if(e[r].semver===o.ANY){continue}if(e[r].semver.prerelease.length>0){const s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}},649:(e,t,r)=>{const s=r(935);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=r(745);const{safeRe:o,t:l}=r(258);const a=r(110);const{compareIdentifiers:h}=r(74);class SemVer{constructor(e,t){t=a(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}s("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[l.LOOSE]:o[l.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>i||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>i||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>i||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){s("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const n=e.prerelease[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return h(r,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const n=e.build[t];s("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return h(r,n)}}while(++t)}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t,r);this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t,r)}this.inc("pre",t,r);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(!t&&r===false){throw new Error("invalid increment argument: identifier is empty")}if(this.prerelease.length===0){this.prerelease=[e]}else{let s=this.prerelease.length;while(--s>=0){if(typeof this.prerelease[s]==="number"){this.prerelease[s]++;s=-2}}if(s===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let s=[t,e];if(r===false){s=[t]}if(h(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=s}}else{this.prerelease=s}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},640:(e,t,r)=>{const s=r(447);const clean=(e,t)=>{const r=s(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},159:(e,t,r)=>{const s=r(164);const n=r(196);const i=r(478);const o=r(528);const l=r(654);const a=r(355);const cmp=(e,t,r,h)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return s(e,r,h);case"!=":return n(e,r,h);case">":return i(e,r,h);case">=":return o(e,r,h);case"<":return l(e,r,h);case"<=":return a(e,r,h);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},732:(e,t,r)=>{const s=r(649);const n=r(447);const{safeRe:i,t:o}=r(258);const coerce=(e,t)=>{if(e instanceof s){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(t.includePrerelease?i[o.COERCEFULL]:i[o.COERCE])}else{const s=t.includePrerelease?i[o.COERCERTLFULL]:i[o.COERCERTL];let n;while((n=s.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||n.index+n[0].length!==r.index+r[0].length){r=n}s.lastIndex=n.index+n[1].length+n[2].length}s.lastIndex=-1}if(r===null){return null}const l=r[2];const a=r[3]||"0";const h=r[4]||"0";const c=t.includePrerelease&&r[5]?`-${r[5]}`:"";const u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return n(`${l}.${a}.${h}${c}${u}`,t)};e.exports=coerce},425:(e,t,r)=>{const s=r(649);const compareBuild=(e,t,r)=>{const n=new s(e,r);const i=new s(t,r);return n.compare(i)||n.compareBuild(i)};e.exports=compareBuild},59:(e,t,r)=>{const s=r(936);const compareLoose=(e,t)=>s(e,t,true);e.exports=compareLoose},936:(e,t,r)=>{const s=r(649);const compare=(e,t,r)=>new s(e,r).compare(new s(t,r));e.exports=compare},163:(e,t,r)=>{const s=r(447);const diff=(e,t)=>{const r=s(e,null,true);const n=s(t,null,true);const i=r.compare(n);if(i===0){return null}const o=i>0;const l=o?r:n;const a=o?n:r;const h=!!l.prerelease.length;const c=!!a.prerelease.length;if(c&&!h){if(!a.patch&&!a.minor){return"major"}if(l.patch){return"patch"}if(l.minor){return"minor"}return"major"}const u=h?"pre":"";if(r.major!==n.major){return u+"major"}if(r.minor!==n.minor){return u+"minor"}if(r.patch!==n.patch){return u+"patch"}return"prerelease"};e.exports=diff},164:(e,t,r)=>{const s=r(936);const eq=(e,t,r)=>s(e,t,r)===0;e.exports=eq},478:(e,t,r)=>{const s=r(936);const gt=(e,t,r)=>s(e,t,r)>0;e.exports=gt},528:(e,t,r)=>{const s=r(936);const gte=(e,t,r)=>s(e,t,r)>=0;e.exports=gte},53:(e,t,r)=>{const s=r(649);const inc=(e,t,r,n,i)=>{if(typeof r==="string"){i=n;n=r;r=undefined}try{return new s(e instanceof s?e.version:e,r).inc(t,n,i).version}catch(e){return null}};e.exports=inc},654:(e,t,r)=>{const s=r(936);const lt=(e,t,r)=>s(e,t,r)<0;e.exports=lt},355:(e,t,r)=>{const s=r(936);const lte=(e,t,r)=>s(e,t,r)<=0;e.exports=lte},86:(e,t,r)=>{const s=r(649);const major=(e,t)=>new s(e,t).major;e.exports=major},753:(e,t,r)=>{const s=r(649);const minor=(e,t)=>new s(e,t).minor;e.exports=minor},196:(e,t,r)=>{const s=r(936);const neq=(e,t,r)=>s(e,t,r)!==0;e.exports=neq},447:(e,t,r)=>{const s=r(649);const parse=(e,t,r=false)=>{if(e instanceof s){return e}try{return new s(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},772:(e,t,r)=>{const s=r(649);const patch=(e,t)=>new s(e,t).patch;e.exports=patch},973:(e,t,r)=>{const s=r(447);const prerelease=(e,t)=>{const r=s(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},580:(e,t,r)=>{const s=r(936);const rcompare=(e,t,r)=>s(t,e,r);e.exports=rcompare},573:(e,t,r)=>{const s=r(425);const rsort=(e,t)=>e.sort(((e,r)=>s(r,e,t)));e.exports=rsort},727:(e,t,r)=>{const s=r(530);const satisfies=(e,t,r)=>{try{t=new s(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},318:(e,t,r)=>{const s=r(425);const sort=(e,t)=>e.sort(((e,r)=>s(e,r,t)));e.exports=sort},458:(e,t,r)=>{const s=r(447);const valid=(e,t)=>{const r=s(e,t);return r?r.version:null};e.exports=valid},921:(e,t,r)=>{const s=r(258);const n=r(745);const i=r(649);const o=r(74);const l=r(447);const a=r(458);const h=r(640);const c=r(53);const u=r(163);const f=r(86);const p=r(753);const E=r(772);const m=r(973);const v=r(936);const $=r(580);const R=r(59);const d=r(425);const g=r(318);const I=r(573);const N=r(478);const L=r(654);const A=r(164);const w=r(196);const O=r(528);const S=r(355);const T=r(159);const y=r(732);const x=r(584);const P=r(530);const C=r(727);const b=r(857);const D=r(754);const _=r(786);const G=r(200);const M=r(115);const F=r(443);const j=r(490);const Y=r(987);const U=r(219);const X=r(333);const k=r(958);e.exports={parse:l,valid:a,clean:h,inc:c,diff:u,major:f,minor:p,patch:E,prerelease:m,compare:v,rcompare:$,compareLoose:R,compareBuild:d,sort:g,rsort:I,gt:N,lt:L,eq:A,neq:w,gte:O,lte:S,cmp:T,coerce:y,Comparator:x,Range:P,satisfies:C,toComparators:b,maxSatisfying:D,minSatisfying:_,minVersion:G,validRange:M,outside:F,gtr:j,ltr:Y,intersects:U,simplifyRange:X,subset:k,SemVer:i,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},745:e=>{const t="2.0.0";const r=256;const s=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;const i=r-6;const o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_SAFE_INTEGER:s,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},935:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},74:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const s=t.test(e);const n=t.test(r);if(s&&n){e=+e;r=+r}return e===r?0:s&&!n?-1:n&&!s?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},110:e=>{const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},258:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=r(745);const o=r(935);t=e.exports={};const l=t.re=[];const a=t.safeRe=[];const h=t.src=[];const c=t.t={};let u=0;const f="[a-zA-Z0-9-]";const p=[["\\s",1],["\\d",i],[f,n]];const makeSafeRegex=e=>{for(const[t,r]of p){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const s=makeSafeRegex(t);const n=u++;o(e,n,t);c[e]=n;h[n]=t;l[n]=new RegExp(t,r?"g":undefined);a[n]=new RegExp(s,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`);createToken("MAINVERSION",`(${h[c.NUMERICIDENTIFIER]})\\.`+`(${h[c.NUMERICIDENTIFIER]})\\.`+`(${h[c.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${h[c.NUMERICIDENTIFIERLOOSE]})\\.`+`(${h[c.NUMERICIDENTIFIERLOOSE]})\\.`+`(${h[c.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${h[c.NUMERICIDENTIFIER]}|${h[c.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${h[c.NUMERICIDENTIFIERLOOSE]}|${h[c.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${h[c.PRERELEASEIDENTIFIER]}(?:\\.${h[c.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${h[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[c.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${f}+`);createToken("BUILD",`(?:\\+(${h[c.BUILDIDENTIFIER]}(?:\\.${h[c.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${h[c.MAINVERSION]}${h[c.PRERELEASE]}?${h[c.BUILD]}?`);createToken("FULL",`^${h[c.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${h[c.MAINVERSIONLOOSE]}${h[c.PRERELEASELOOSE]}?${h[c.BUILD]}?`);createToken("LOOSE",`^${h[c.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${h[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${h[c.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${h[c.XRANGEIDENTIFIER]})`+`(?:\\.(${h[c.XRANGEIDENTIFIER]})`+`(?:\\.(${h[c.XRANGEIDENTIFIER]})`+`(?:${h[c.PRERELEASE]})?${h[c.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${h[c.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${h[c.XRANGEIDENTIFIERLOOSE]})`+`(?:${h[c.PRERELEASELOOSE]})?${h[c.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${h[c.GTLT]}\\s*${h[c.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${s}})`+`(?:\\.(\\d{1,${s}}))?`+`(?:\\.(\\d{1,${s}}))?`);createToken("COERCE",`${h[c.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",h[c.COERCEPLAIN]+`(?:${h[c.PRERELEASE]})?`+`(?:${h[c.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",h[c.COERCE],true);createToken("COERCERTLFULL",h[c.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${h[c.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${h[c.LONETILDE]}${h[c.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${h[c.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${h[c.LONECARET]}${h[c.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${h[c.LONECARET]}${h[c.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${h[c.GTLT]}\\s*(${h[c.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${h[c.GTLT]}\\s*(${h[c.LOOSEPLAIN]}|${h[c.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${h[c.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${h[c.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${h[c.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${h[c.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},490:(e,t,r)=>{const s=r(443);const gtr=(e,t,r)=>s(e,t,">",r);e.exports=gtr},219:(e,t,r)=>{const s=r(530);const intersects=(e,t,r)=>{e=new s(e,r);t=new s(t,r);return e.intersects(t,r)};e.exports=intersects},987:(e,t,r)=>{const s=r(443);const ltr=(e,t,r)=>s(e,t,"<",r);e.exports=ltr},754:(e,t,r)=>{const s=r(649);const n=r(530);const maxSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===-1){i=e;o=new s(i,r)}}}));return i};e.exports=maxSatisfying},786:(e,t,r)=>{const s=r(649);const n=r(530);const minSatisfying=(e,t,r)=>{let i=null;let o=null;let l=null;try{l=new n(t,r)}catch(e){return null}e.forEach((e=>{if(l.test(e)){if(!i||o.compare(e)===1){i=e;o=new s(i,r)}}}));return i};e.exports=minSatisfying},200:(e,t,r)=>{const s=r(649);const n=r(530);const i=r(478);const minVersion=(e,t)=>{e=new n(e,t);let r=new s("0.0.0");if(e.test(r)){return r}r=new s("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let o=null;n.forEach((e=>{const t=new s(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||i(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||i(r,o))){r=o}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},443:(e,t,r)=>{const s=r(649);const n=r(584);const{ANY:i}=n;const o=r(530);const l=r(727);const a=r(478);const h=r(654);const c=r(355);const u=r(528);const outside=(e,t,r,f)=>{e=new s(e,f);t=new o(t,f);let p,E,m,v,$;switch(r){case">":p=a;E=c;m=h;v=">";$=">=";break;case"<":p=h;E=u;m=a;v="<";$="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,f)){return false}for(let r=0;r<t.set.length;++r){const s=t.set[r];let o=null;let l=null;s.forEach((e=>{if(e.semver===i){e=new n(">=0.0.0")}o=o||e;l=l||e;if(p(e.semver,o.semver,f)){o=e}else if(m(e.semver,l.semver,f)){l=e}}));if(o.operator===v||o.operator===$){return false}if((!l.operator||l.operator===v)&&E(e,l.semver)){return false}else if(l.operator===$&&m(e,l.semver)){return false}}return true};e.exports=outside},333:(e,t,r)=>{const s=r(727);const n=r(936);e.exports=(e,t,r)=>{const i=[];let o=null;let l=null;const a=e.sort(((e,t)=>n(e,t,r)));for(const e of a){const n=s(e,t,r);if(n){l=e;if(!o){o=e}}else{if(l){i.push([o,l])}l=null;o=null}}if(o){i.push([o,null])}const h=[];for(const[e,t]of i){if(e===t){h.push(e)}else if(!t&&e===a[0]){h.push("*")}else if(!t){h.push(`>=${e}`)}else if(e===a[0]){h.push(`<=${t}`)}else{h.push(`${e} - ${t}`)}}const c=h.join(" || ");const u=typeof t.raw==="string"?t.raw:String(t);return c.length<u.length?c:t}},958:(e,t,r)=>{const s=r(530);const n=r(584);const{ANY:i}=n;const o=r(727);const l=r(936);const subset=(e,t,r={})=>{if(e===t){return true}e=new s(e,r);t=new s(t,r);let n=false;e:for(const s of e.set){for(const e of t.set){const t=simpleSubset(s,e,r);n=n||t!==null;if(t){continue e}}if(n){return false}}return true};const a=[new n(">=0.0.0-0")];const h=[new n(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i){return true}else if(r.includePrerelease){e=a}else{e=h}}if(t.length===1&&t[0].semver===i){if(r.includePrerelease){return true}else{t=h}}const s=new Set;let n,c;for(const t of e){if(t.operator===">"||t.operator===">="){n=higherGT(n,t,r)}else if(t.operator==="<"||t.operator==="<="){c=lowerLT(c,t,r)}else{s.add(t.semver)}}if(s.size>1){return null}let u;if(n&&c){u=l(n.semver,c.semver,r);if(u>0){return null}else if(u===0&&(n.operator!==">="||c.operator!=="<=")){return null}}for(const e of s){if(n&&!o(e,String(n),r)){return null}if(c&&!o(e,String(c),r)){return null}for(const s of t){if(!o(e,String(s),r)){return false}}return true}let f,p;let E,m;let v=c&&!r.includePrerelease&&c.semver.prerelease.length?c.semver:false;let $=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:false;if(v&&v.prerelease.length===1&&c.operator==="<"&&v.prerelease[0]===0){v=false}for(const e of t){m=m||e.operator===">"||e.operator===">=";E=E||e.operator==="<"||e.operator==="<=";if(n){if($){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===$.major&&e.semver.minor===$.minor&&e.semver.patch===$.patch){$=false}}if(e.operator===">"||e.operator===">="){f=higherGT(n,e,r);if(f===e&&f!==n){return false}}else if(n.operator===">="&&!o(n.semver,String(e),r)){return false}}if(c){if(v){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch){v=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(c,e,r);if(p===e&&p!==c){return false}}else if(c.operator==="<="&&!o(c.semver,String(e),r)){return false}}if(!e.operator&&(c||n)&&u!==0){return false}}if(n&&E&&!c&&u!==0){return false}if(c&&m&&!n&&u!==0){return false}if($||v){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s>0?e:s<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const s=l(e.semver,t.semver,r);return s<0?e:s>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},857:(e,t,r)=>{const s=r(530);const toComparators=(e,t)=>new s(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},115:(e,t,r)=>{const s=r(530);const validRange=(e,t)=>{try{return new s(e,t).range||"*"}catch(e){return null}};e.exports=validRange},77:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},605:(e,t,r)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,s=arguments.length;r<s;r++){t.push(arguments[r])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var r=e.prev;if(t){t.prev=r}if(r){r.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=r}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,s=0;r!==null;s++){e.call(t,r.value,s,this);r=r.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,s=this.length-1;r!==null;s--){e.call(t,r.value,s,this);r=r.prev}};Yallist.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++){r=r.next}if(t===e&&r!==null){return r.value}};Yallist.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++){r=r.prev}if(t===e&&r!==null){return r.value}};Yallist.prototype.map=function(e,t){t=t||this;var r=new Yallist;for(var s=this.head;s!==null;){r.push(e.call(t,s.value,this));s=s.next}return r};Yallist.prototype.mapReverse=function(e,t){t=t||this;var r=new Yallist;for(var s=this.tail;s!==null;){r.push(e.call(t,s.value,this));s=s.prev}return r};Yallist.prototype.reduce=function(e,t){var r;var s=this.head;if(arguments.length>1){r=t}else if(this.head){s=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;s!==null;n++){r=e(r,s.value,n);s=s.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var s=this.tail;if(arguments.length>1){r=t}else if(this.tail){s=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;s!==null;n--){r=e(r,s.value,n);s=s.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}for(;n!==null&&s<t;s++,n=n.next){r.push(n.value)}return r};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(t<e||t<0){return r}if(e<0){e=0}if(t>this.length){t=this.length}for(var s=this.length,n=this.tail;n!==null&&s>t;s--){n=n.prev}for(;n!==null&&s>e;s--,n=n.prev){r.push(n.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var s=0,n=this.head;n!==null&&s<e;s++){n=n.next}var i=[];for(var s=0;n&&s<t;s++){i.push(n.value);n=this.removeNode(n)}if(n===null){n=this.tail}if(n!==this.head&&n!==this.tail){n=n.prev}for(var s=0;s<r.length;s++){n=insert(this,n,r[s])}return i};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var r=e;r!==null;r=r.prev){var s=r.prev;r.prev=r.next;r.next=s}this.head=t;this.tail=e;return this};function insert(e,t,r){var s=t===e.head?new Node(r,null,t,e):new Node(r,t,t.next,e);if(s.next===null){e.tail=s}if(s.prev===null){e.head=s}e.length++;return s}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,r,s){if(!(this instanceof Node)){return new Node(e,t,r,s)}this.list=s;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(r){r.prev=this;this.next=r}else{this.next=null}}try{r(77)(Yallist)}catch(e){}}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var n=t[r]={exports:{}};var i=true;try{e[r](n,n.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(921);module.exports=r})();
@@ -1 +1 @@
1
- {"name":"semver","author":"GitHub Inc.","version":"7.3.7","license":"ISC"}
1
+ {"name":"semver","author":"GitHub Inc.","version":"7.6.0","license":"ISC"}
@@ -86,7 +86,6 @@ var SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
86
86
  var SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
87
87
  var _obj;
88
88
  var INTERNAL_SERVER_PLUGINS = (_obj = {}, _define_property(_obj, SERVER_PLUGIN_BFF, "@modern-js/plugin-bff/server"), _define_property(_obj, SERVER_PLUGIN_EXPRESS, "@modern-js/plugin-express/server"), _define_property(_obj, SERVER_PLUGIN_KOA, "@modern-js/plugin-koa/server"), _define_property(_obj, SERVER_PLUGIN_SERVER, "@modern-js/plugin-server/server"), _define_property(_obj, SERVER_PLUGIN_POLYFILL, "@modern-js/plugin-polyfill/server"), _obj);
89
- export * from "./chainId";
90
89
  export {
91
90
  API_DIR,
92
91
  CONFIG_CACHE_DIR,
@@ -90,7 +90,6 @@ const INTERNAL_SERVER_PLUGINS = {
90
90
  [SERVER_PLUGIN_SERVER]: "@modern-js/plugin-server/server",
91
91
  [SERVER_PLUGIN_POLYFILL]: "@modern-js/plugin-polyfill/server"
92
92
  };
93
- export * from "./chainId";
94
93
  export {
95
94
  API_DIR,
96
95
  CONFIG_CACHE_DIR,
@@ -89,4 +89,3 @@ export declare const SERVER_PLUGIN_KOA = "@modern-js/plugin-koa";
89
89
  export declare const SERVER_PLUGIN_SERVER = "@modern-js/plugin-server";
90
90
  export declare const SERVER_PLUGIN_POLYFILL = "@modern-js/plugin-polyfill";
91
91
  export declare const INTERNAL_SERVER_PLUGINS: InternalPlugins;
92
- export * from './chainId';
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.46.0",
18
+ "version": "2.47.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -154,9 +154,9 @@
154
154
  "jest": "^29",
155
155
  "typescript": "^5",
156
156
  "webpack": "^5.89.0",
157
- "@scripts/build": "2.46.0",
158
- "@scripts/jest-config": "2.46.0",
159
- "@modern-js/types": "2.46.0"
157
+ "@modern-js/types": "2.47.0",
158
+ "@scripts/jest-config": "2.47.0",
159
+ "@scripts/build": "2.47.0"
160
160
  },
161
161
  "sideEffects": false,
162
162
  "scripts": {
@@ -1,223 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chainId_exports = {};
20
- __export(chainId_exports, {
21
- CHAIN_ID: () => CHAIN_ID
22
- });
23
- module.exports = __toCommonJS(chainId_exports);
24
- const CHAIN_ID = {
25
- /** Predefined rules */
26
- RULE: {
27
- /** Rule for .mjs */
28
- MJS: "mjs",
29
- /** Rule for predefined loaders */
30
- LOADERS: "loaders",
31
- /** Rule for fonts */
32
- FONT: "font",
33
- /** Rule for images */
34
- IMAGE: "image",
35
- /** Rule for media */
36
- MEDIA: "media",
37
- /** Rule for js */
38
- JS: "js",
39
- /** Rule for data uri encoded javascript */
40
- JS_DATA_URI: "js-data-uri",
41
- /** Rule for ts */
42
- TS: "ts",
43
- /** Rule for css */
44
- CSS: "css",
45
- /** Rule for less */
46
- LESS: "less",
47
- /** Rule for sass */
48
- SASS: "sass",
49
- /** Rule for stylus */
50
- STYLUS: "stylus",
51
- /** Rule for svg */
52
- SVG: "svg",
53
- /** Rule for pug */
54
- PUG: "pug",
55
- /** Rule for Vue */
56
- VUE: "vue",
57
- /** Rule for toml */
58
- TOML: "toml",
59
- /** Rule for yaml */
60
- YAML: "yaml",
61
- /** Rule for wasm */
62
- WASM: "wasm",
63
- /** Rule for node */
64
- NODE: "node",
65
- /** Rule for bff */
66
- JS_BFF_API: "js-bff-api"
67
- },
68
- /** Predefined rule groups */
69
- ONE_OF: {
70
- SVG: "svg",
71
- SVG_URL: "svg-url",
72
- SVG_ASSET: "svg-asset",
73
- SVG_INLINE: "svg-inline"
74
- },
75
- /** Predefined loaders */
76
- USE: {
77
- /** ts-loader */
78
- TS: "ts",
79
- /** css-loader */
80
- CSS: "css",
81
- /** sass-loader */
82
- SASS: "sass",
83
- /** less-loader */
84
- LESS: "less",
85
- /** stylus-loader */
86
- STYLUS: "stylus",
87
- /** url-loader */
88
- URL: "url",
89
- /** pug-loader */
90
- PUG: "pug",
91
- /** vue-loader */
92
- VUE: "vue",
93
- /** file-loader */
94
- FILE: "file",
95
- /** @svgr/webpack */
96
- SVGR: "svgr",
97
- /** yaml-loader */
98
- YAML: "yaml",
99
- /** toml-loader */
100
- TOML: "toml",
101
- /** html-loader */
102
- HTML: "html",
103
- /** node-loader */
104
- NODE: "html",
105
- /** babel-loader */
106
- BABEL: "babel",
107
- /** esbuild-loader */
108
- ESBUILD: "esbuild",
109
- /** swc-loader */
110
- SWC: "swc",
111
- /** style-loader */
112
- STYLE: "style-loader",
113
- /** postcss-loader */
114
- POSTCSS: "postcss",
115
- /** ignore-css-loader */
116
- IGNORE_CSS: "ignore-css",
117
- /** css-modules-typescript-loader */
118
- CSS_MODULES_TS: "css-modules-typescript",
119
- /** mini-css-extract-plugin.loader */
120
- MINI_CSS_EXTRACT: "mini-css-extract",
121
- /** resolve-url-loader */
122
- RESOLVE_URL_LOADER_FOR_SASS: "resolve-url-loader",
123
- /** builder-plugin-image-compress.loader */
124
- IMAGE_COMPRESS: "image-compress",
125
- /** builder-plugin-image-compress svgo-loader */
126
- SVGO: "svgo",
127
- /** builder-plugin-imagex */
128
- IMAGEX: "imagex",
129
- /** storybook-react-docgen */
130
- REACT_DOCGEN: "react-docgen"
131
- },
132
- /** Predefined plugins */
133
- PLUGIN: {
134
- /** HotModuleReplacementPlugin */
135
- HMR: "hmr",
136
- /** CopyWebpackPlugin */
137
- COPY: "copy",
138
- /** HtmlWebpackPlugin */
139
- HTML: "html",
140
- /** DefinePlugin */
141
- DEFINE: "define",
142
- /** IgnorePlugin */
143
- IGNORE: "ignore",
144
- /** BannerPlugin */
145
- BANNER: "banner",
146
- /** Webpackbar */
147
- PROGRESS: "progress",
148
- /** Inspector */
149
- INSPECTOR: "inspector",
150
- /** AppIconPlugin */
151
- APP_ICON: "app-icon",
152
- /** FaviconUrlPlugin */
153
- FAVICON_URL: "favicon-url",
154
- /** LoadableWebpackPlugin */
155
- LOADABLE: "loadable",
156
- /** WebpackManifestPlugin */
157
- MANIFEST: "webpack-manifest",
158
- /** ForkTsCheckerWebpackPlugin */
159
- TS_CHECKER: "ts-checker",
160
- /** InlineChunkHtmlPlugin */
161
- INLINE_HTML: "inline-html",
162
- /** WebpackBundleAnalyzer */
163
- BUNDLE_ANALYZER: "bundle-analyze",
164
- /** BottomTemplatePlugin */
165
- BOTTOM_TEMPLATE: "bottom-template",
166
- /** HtmlTagsPlugin */
167
- HTML_TAGS: "html-tags",
168
- /** HtmlNoncePlugin */
169
- HTML_NONCE: "html-nonce",
170
- /** HtmlCrossOriginPlugin */
171
- HTML_CROSS_ORIGIN: "html-cross-origin",
172
- /** htmlPreconnectPlugin */
173
- HTML_PRECONNECT: "html-preconnect-plugin",
174
- /** htmlDnsPrefetchPlugin */
175
- HTML_DNS_PREFETCH: "html-dns-prefetch-plugin",
176
- /** htmlPrefetchPlugin */
177
- HTML_PREFETCH: "html-prefetch-plugin",
178
- /** htmlPreloadPlugin */
179
- HTML_PRELOAD: "html-preload-plugin",
180
- /** MiniCssExtractPlugin */
181
- MINI_CSS_EXTRACT: "mini-css-extract",
182
- /** VueLoaderPlugin */
183
- VUE_LOADER_PLUGIN: "vue-loader-plugin",
184
- /** ReactFastRefreshPlugin */
185
- REACT_FAST_REFRESH: "react-fast-refresh",
186
- /** ProvidePlugin for node polyfill */
187
- NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
188
- /** WebpackSRIPlugin */
189
- SUBRESOURCE_INTEGRITY: "subresource-integrity",
190
- /** WebpackAssetsRetryPlugin */
191
- ASSETS_RETRY: "ASSETS_RETRY",
192
- /** AutoSetRootFontSizePlugin */
193
- AUTO_SET_ROOT_SIZE: "auto-set-root-size",
194
- /** HtmlAsyncChunkPlugin */
195
- HTML_ASYNC_CHUNK: "html-async-chunk",
196
- /** SWC_POLYFILL_CHECKER */
197
- SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
198
- /** RouterPlugin */
199
- ROUTER_MANIFEST: "route-plugin"
200
- },
201
- /** Predefined minimizers */
202
- MINIMIZER: {
203
- /** TerserWebpackPlugin */
204
- JS: "js",
205
- /** CssMinimizerWebpackPlugin */
206
- CSS: "css",
207
- /** ESBuildPlugin */
208
- ESBUILD: "js-css",
209
- /** SWCPlugin */
210
- SWC: "swc"
211
- },
212
- /** Predefined resolve plugins */
213
- RESOLVE_PLUGIN: {
214
- /** ModuleScopePlugin */
215
- MODULE_SCOPE: "module-scope",
216
- /** TsConfigPathsPlugin */
217
- TS_CONFIG_PATHS: "ts-config-paths"
218
- }
219
- };
220
- // Annotate the CommonJS export names for ESM import in node:
221
- 0 && (module.exports = {
222
- CHAIN_ID
223
- });
@@ -1,199 +0,0 @@
1
- var CHAIN_ID = {
2
- /** Predefined rules */
3
- RULE: {
4
- /** Rule for .mjs */
5
- MJS: "mjs",
6
- /** Rule for predefined loaders */
7
- LOADERS: "loaders",
8
- /** Rule for fonts */
9
- FONT: "font",
10
- /** Rule for images */
11
- IMAGE: "image",
12
- /** Rule for media */
13
- MEDIA: "media",
14
- /** Rule for js */
15
- JS: "js",
16
- /** Rule for data uri encoded javascript */
17
- JS_DATA_URI: "js-data-uri",
18
- /** Rule for ts */
19
- TS: "ts",
20
- /** Rule for css */
21
- CSS: "css",
22
- /** Rule for less */
23
- LESS: "less",
24
- /** Rule for sass */
25
- SASS: "sass",
26
- /** Rule for stylus */
27
- STYLUS: "stylus",
28
- /** Rule for svg */
29
- SVG: "svg",
30
- /** Rule for pug */
31
- PUG: "pug",
32
- /** Rule for Vue */
33
- VUE: "vue",
34
- /** Rule for toml */
35
- TOML: "toml",
36
- /** Rule for yaml */
37
- YAML: "yaml",
38
- /** Rule for wasm */
39
- WASM: "wasm",
40
- /** Rule for node */
41
- NODE: "node",
42
- /** Rule for bff */
43
- JS_BFF_API: "js-bff-api"
44
- },
45
- /** Predefined rule groups */
46
- ONE_OF: {
47
- SVG: "svg",
48
- SVG_URL: "svg-url",
49
- SVG_ASSET: "svg-asset",
50
- SVG_INLINE: "svg-inline"
51
- },
52
- /** Predefined loaders */
53
- USE: {
54
- /** ts-loader */
55
- TS: "ts",
56
- /** css-loader */
57
- CSS: "css",
58
- /** sass-loader */
59
- SASS: "sass",
60
- /** less-loader */
61
- LESS: "less",
62
- /** stylus-loader */
63
- STYLUS: "stylus",
64
- /** url-loader */
65
- URL: "url",
66
- /** pug-loader */
67
- PUG: "pug",
68
- /** vue-loader */
69
- VUE: "vue",
70
- /** file-loader */
71
- FILE: "file",
72
- /** @svgr/webpack */
73
- SVGR: "svgr",
74
- /** yaml-loader */
75
- YAML: "yaml",
76
- /** toml-loader */
77
- TOML: "toml",
78
- /** html-loader */
79
- HTML: "html",
80
- /** node-loader */
81
- NODE: "html",
82
- /** babel-loader */
83
- BABEL: "babel",
84
- /** esbuild-loader */
85
- ESBUILD: "esbuild",
86
- /** swc-loader */
87
- SWC: "swc",
88
- /** style-loader */
89
- STYLE: "style-loader",
90
- /** postcss-loader */
91
- POSTCSS: "postcss",
92
- /** ignore-css-loader */
93
- IGNORE_CSS: "ignore-css",
94
- /** css-modules-typescript-loader */
95
- CSS_MODULES_TS: "css-modules-typescript",
96
- /** mini-css-extract-plugin.loader */
97
- MINI_CSS_EXTRACT: "mini-css-extract",
98
- /** resolve-url-loader */
99
- RESOLVE_URL_LOADER_FOR_SASS: "resolve-url-loader",
100
- /** builder-plugin-image-compress.loader */
101
- IMAGE_COMPRESS: "image-compress",
102
- /** builder-plugin-image-compress svgo-loader */
103
- SVGO: "svgo",
104
- /** builder-plugin-imagex */
105
- IMAGEX: "imagex",
106
- /** storybook-react-docgen */
107
- REACT_DOCGEN: "react-docgen"
108
- },
109
- /** Predefined plugins */
110
- PLUGIN: {
111
- /** HotModuleReplacementPlugin */
112
- HMR: "hmr",
113
- /** CopyWebpackPlugin */
114
- COPY: "copy",
115
- /** HtmlWebpackPlugin */
116
- HTML: "html",
117
- /** DefinePlugin */
118
- DEFINE: "define",
119
- /** IgnorePlugin */
120
- IGNORE: "ignore",
121
- /** BannerPlugin */
122
- BANNER: "banner",
123
- /** Webpackbar */
124
- PROGRESS: "progress",
125
- /** Inspector */
126
- INSPECTOR: "inspector",
127
- /** AppIconPlugin */
128
- APP_ICON: "app-icon",
129
- /** FaviconUrlPlugin */
130
- FAVICON_URL: "favicon-url",
131
- /** LoadableWebpackPlugin */
132
- LOADABLE: "loadable",
133
- /** WebpackManifestPlugin */
134
- MANIFEST: "webpack-manifest",
135
- /** ForkTsCheckerWebpackPlugin */
136
- TS_CHECKER: "ts-checker",
137
- /** InlineChunkHtmlPlugin */
138
- INLINE_HTML: "inline-html",
139
- /** WebpackBundleAnalyzer */
140
- BUNDLE_ANALYZER: "bundle-analyze",
141
- /** BottomTemplatePlugin */
142
- BOTTOM_TEMPLATE: "bottom-template",
143
- /** HtmlTagsPlugin */
144
- HTML_TAGS: "html-tags",
145
- /** HtmlNoncePlugin */
146
- HTML_NONCE: "html-nonce",
147
- /** HtmlCrossOriginPlugin */
148
- HTML_CROSS_ORIGIN: "html-cross-origin",
149
- /** htmlPreconnectPlugin */
150
- HTML_PRECONNECT: "html-preconnect-plugin",
151
- /** htmlDnsPrefetchPlugin */
152
- HTML_DNS_PREFETCH: "html-dns-prefetch-plugin",
153
- /** htmlPrefetchPlugin */
154
- HTML_PREFETCH: "html-prefetch-plugin",
155
- /** htmlPreloadPlugin */
156
- HTML_PRELOAD: "html-preload-plugin",
157
- /** MiniCssExtractPlugin */
158
- MINI_CSS_EXTRACT: "mini-css-extract",
159
- /** VueLoaderPlugin */
160
- VUE_LOADER_PLUGIN: "vue-loader-plugin",
161
- /** ReactFastRefreshPlugin */
162
- REACT_FAST_REFRESH: "react-fast-refresh",
163
- /** ProvidePlugin for node polyfill */
164
- NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
165
- /** WebpackSRIPlugin */
166
- SUBRESOURCE_INTEGRITY: "subresource-integrity",
167
- /** WebpackAssetsRetryPlugin */
168
- ASSETS_RETRY: "ASSETS_RETRY",
169
- /** AutoSetRootFontSizePlugin */
170
- AUTO_SET_ROOT_SIZE: "auto-set-root-size",
171
- /** HtmlAsyncChunkPlugin */
172
- HTML_ASYNC_CHUNK: "html-async-chunk",
173
- /** SWC_POLYFILL_CHECKER */
174
- SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
175
- /** RouterPlugin */
176
- ROUTER_MANIFEST: "route-plugin"
177
- },
178
- /** Predefined minimizers */
179
- MINIMIZER: {
180
- /** TerserWebpackPlugin */
181
- JS: "js",
182
- /** CssMinimizerWebpackPlugin */
183
- CSS: "css",
184
- /** ESBuildPlugin */
185
- ESBUILD: "js-css",
186
- /** SWCPlugin */
187
- SWC: "swc"
188
- },
189
- /** Predefined resolve plugins */
190
- RESOLVE_PLUGIN: {
191
- /** ModuleScopePlugin */
192
- MODULE_SCOPE: "module-scope",
193
- /** TsConfigPathsPlugin */
194
- TS_CONFIG_PATHS: "ts-config-paths"
195
- }
196
- };
197
- export {
198
- CHAIN_ID
199
- };
@@ -1,199 +0,0 @@
1
- const CHAIN_ID = {
2
- /** Predefined rules */
3
- RULE: {
4
- /** Rule for .mjs */
5
- MJS: "mjs",
6
- /** Rule for predefined loaders */
7
- LOADERS: "loaders",
8
- /** Rule for fonts */
9
- FONT: "font",
10
- /** Rule for images */
11
- IMAGE: "image",
12
- /** Rule for media */
13
- MEDIA: "media",
14
- /** Rule for js */
15
- JS: "js",
16
- /** Rule for data uri encoded javascript */
17
- JS_DATA_URI: "js-data-uri",
18
- /** Rule for ts */
19
- TS: "ts",
20
- /** Rule for css */
21
- CSS: "css",
22
- /** Rule for less */
23
- LESS: "less",
24
- /** Rule for sass */
25
- SASS: "sass",
26
- /** Rule for stylus */
27
- STYLUS: "stylus",
28
- /** Rule for svg */
29
- SVG: "svg",
30
- /** Rule for pug */
31
- PUG: "pug",
32
- /** Rule for Vue */
33
- VUE: "vue",
34
- /** Rule for toml */
35
- TOML: "toml",
36
- /** Rule for yaml */
37
- YAML: "yaml",
38
- /** Rule for wasm */
39
- WASM: "wasm",
40
- /** Rule for node */
41
- NODE: "node",
42
- /** Rule for bff */
43
- JS_BFF_API: "js-bff-api"
44
- },
45
- /** Predefined rule groups */
46
- ONE_OF: {
47
- SVG: "svg",
48
- SVG_URL: "svg-url",
49
- SVG_ASSET: "svg-asset",
50
- SVG_INLINE: "svg-inline"
51
- },
52
- /** Predefined loaders */
53
- USE: {
54
- /** ts-loader */
55
- TS: "ts",
56
- /** css-loader */
57
- CSS: "css",
58
- /** sass-loader */
59
- SASS: "sass",
60
- /** less-loader */
61
- LESS: "less",
62
- /** stylus-loader */
63
- STYLUS: "stylus",
64
- /** url-loader */
65
- URL: "url",
66
- /** pug-loader */
67
- PUG: "pug",
68
- /** vue-loader */
69
- VUE: "vue",
70
- /** file-loader */
71
- FILE: "file",
72
- /** @svgr/webpack */
73
- SVGR: "svgr",
74
- /** yaml-loader */
75
- YAML: "yaml",
76
- /** toml-loader */
77
- TOML: "toml",
78
- /** html-loader */
79
- HTML: "html",
80
- /** node-loader */
81
- NODE: "html",
82
- /** babel-loader */
83
- BABEL: "babel",
84
- /** esbuild-loader */
85
- ESBUILD: "esbuild",
86
- /** swc-loader */
87
- SWC: "swc",
88
- /** style-loader */
89
- STYLE: "style-loader",
90
- /** postcss-loader */
91
- POSTCSS: "postcss",
92
- /** ignore-css-loader */
93
- IGNORE_CSS: "ignore-css",
94
- /** css-modules-typescript-loader */
95
- CSS_MODULES_TS: "css-modules-typescript",
96
- /** mini-css-extract-plugin.loader */
97
- MINI_CSS_EXTRACT: "mini-css-extract",
98
- /** resolve-url-loader */
99
- RESOLVE_URL_LOADER_FOR_SASS: "resolve-url-loader",
100
- /** builder-plugin-image-compress.loader */
101
- IMAGE_COMPRESS: "image-compress",
102
- /** builder-plugin-image-compress svgo-loader */
103
- SVGO: "svgo",
104
- /** builder-plugin-imagex */
105
- IMAGEX: "imagex",
106
- /** storybook-react-docgen */
107
- REACT_DOCGEN: "react-docgen"
108
- },
109
- /** Predefined plugins */
110
- PLUGIN: {
111
- /** HotModuleReplacementPlugin */
112
- HMR: "hmr",
113
- /** CopyWebpackPlugin */
114
- COPY: "copy",
115
- /** HtmlWebpackPlugin */
116
- HTML: "html",
117
- /** DefinePlugin */
118
- DEFINE: "define",
119
- /** IgnorePlugin */
120
- IGNORE: "ignore",
121
- /** BannerPlugin */
122
- BANNER: "banner",
123
- /** Webpackbar */
124
- PROGRESS: "progress",
125
- /** Inspector */
126
- INSPECTOR: "inspector",
127
- /** AppIconPlugin */
128
- APP_ICON: "app-icon",
129
- /** FaviconUrlPlugin */
130
- FAVICON_URL: "favicon-url",
131
- /** LoadableWebpackPlugin */
132
- LOADABLE: "loadable",
133
- /** WebpackManifestPlugin */
134
- MANIFEST: "webpack-manifest",
135
- /** ForkTsCheckerWebpackPlugin */
136
- TS_CHECKER: "ts-checker",
137
- /** InlineChunkHtmlPlugin */
138
- INLINE_HTML: "inline-html",
139
- /** WebpackBundleAnalyzer */
140
- BUNDLE_ANALYZER: "bundle-analyze",
141
- /** BottomTemplatePlugin */
142
- BOTTOM_TEMPLATE: "bottom-template",
143
- /** HtmlTagsPlugin */
144
- HTML_TAGS: "html-tags",
145
- /** HtmlNoncePlugin */
146
- HTML_NONCE: "html-nonce",
147
- /** HtmlCrossOriginPlugin */
148
- HTML_CROSS_ORIGIN: "html-cross-origin",
149
- /** htmlPreconnectPlugin */
150
- HTML_PRECONNECT: "html-preconnect-plugin",
151
- /** htmlDnsPrefetchPlugin */
152
- HTML_DNS_PREFETCH: "html-dns-prefetch-plugin",
153
- /** htmlPrefetchPlugin */
154
- HTML_PREFETCH: "html-prefetch-plugin",
155
- /** htmlPreloadPlugin */
156
- HTML_PRELOAD: "html-preload-plugin",
157
- /** MiniCssExtractPlugin */
158
- MINI_CSS_EXTRACT: "mini-css-extract",
159
- /** VueLoaderPlugin */
160
- VUE_LOADER_PLUGIN: "vue-loader-plugin",
161
- /** ReactFastRefreshPlugin */
162
- REACT_FAST_REFRESH: "react-fast-refresh",
163
- /** ProvidePlugin for node polyfill */
164
- NODE_POLYFILL_PROVIDE: "node-polyfill-provide",
165
- /** WebpackSRIPlugin */
166
- SUBRESOURCE_INTEGRITY: "subresource-integrity",
167
- /** WebpackAssetsRetryPlugin */
168
- ASSETS_RETRY: "ASSETS_RETRY",
169
- /** AutoSetRootFontSizePlugin */
170
- AUTO_SET_ROOT_SIZE: "auto-set-root-size",
171
- /** HtmlAsyncChunkPlugin */
172
- HTML_ASYNC_CHUNK: "html-async-chunk",
173
- /** SWC_POLYFILL_CHECKER */
174
- SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin",
175
- /** RouterPlugin */
176
- ROUTER_MANIFEST: "route-plugin"
177
- },
178
- /** Predefined minimizers */
179
- MINIMIZER: {
180
- /** TerserWebpackPlugin */
181
- JS: "js",
182
- /** CssMinimizerWebpackPlugin */
183
- CSS: "css",
184
- /** ESBuildPlugin */
185
- ESBUILD: "js-css",
186
- /** SWCPlugin */
187
- SWC: "swc"
188
- },
189
- /** Predefined resolve plugins */
190
- RESOLVE_PLUGIN: {
191
- /** ModuleScopePlugin */
192
- MODULE_SCOPE: "module-scope",
193
- /** TsConfigPathsPlugin */
194
- TS_CONFIG_PATHS: "ts-config-paths"
195
- }
196
- };
197
- export {
198
- CHAIN_ID
199
- };
@@ -1,200 +0,0 @@
1
- /**
2
- * Don't add anything. will be removed on next version
3
- */
4
- export declare const CHAIN_ID: {
5
- /** Predefined rules */
6
- readonly RULE: {
7
- /** Rule for .mjs */
8
- readonly MJS: "mjs";
9
- /** Rule for predefined loaders */
10
- readonly LOADERS: "loaders";
11
- /** Rule for fonts */
12
- readonly FONT: "font";
13
- /** Rule for images */
14
- readonly IMAGE: "image";
15
- /** Rule for media */
16
- readonly MEDIA: "media";
17
- /** Rule for js */
18
- readonly JS: "js";
19
- /** Rule for data uri encoded javascript */
20
- readonly JS_DATA_URI: "js-data-uri";
21
- /** Rule for ts */
22
- readonly TS: "ts";
23
- /** Rule for css */
24
- readonly CSS: "css";
25
- /** Rule for less */
26
- readonly LESS: "less";
27
- /** Rule for sass */
28
- readonly SASS: "sass";
29
- /** Rule for stylus */
30
- readonly STYLUS: "stylus";
31
- /** Rule for svg */
32
- readonly SVG: "svg";
33
- /** Rule for pug */
34
- readonly PUG: "pug";
35
- /** Rule for Vue */
36
- readonly VUE: "vue";
37
- /** Rule for toml */
38
- readonly TOML: "toml";
39
- /** Rule for yaml */
40
- readonly YAML: "yaml";
41
- /** Rule for wasm */
42
- readonly WASM: "wasm";
43
- /** Rule for node */
44
- readonly NODE: "node";
45
- /** Rule for bff */
46
- readonly JS_BFF_API: "js-bff-api";
47
- };
48
- /** Predefined rule groups */
49
- readonly ONE_OF: {
50
- readonly SVG: "svg";
51
- readonly SVG_URL: "svg-url";
52
- readonly SVG_ASSET: "svg-asset";
53
- readonly SVG_INLINE: "svg-inline";
54
- };
55
- /** Predefined loaders */
56
- readonly USE: {
57
- /** ts-loader */
58
- readonly TS: "ts";
59
- /** css-loader */
60
- readonly CSS: "css";
61
- /** sass-loader */
62
- readonly SASS: "sass";
63
- /** less-loader */
64
- readonly LESS: "less";
65
- /** stylus-loader */
66
- readonly STYLUS: "stylus";
67
- /** url-loader */
68
- readonly URL: "url";
69
- /** pug-loader */
70
- readonly PUG: "pug";
71
- /** vue-loader */
72
- readonly VUE: "vue";
73
- /** file-loader */
74
- readonly FILE: "file";
75
- /** @svgr/webpack */
76
- readonly SVGR: "svgr";
77
- /** yaml-loader */
78
- readonly YAML: "yaml";
79
- /** toml-loader */
80
- readonly TOML: "toml";
81
- /** html-loader */
82
- readonly HTML: "html";
83
- /** node-loader */
84
- readonly NODE: "html";
85
- /** babel-loader */
86
- readonly BABEL: "babel";
87
- /** esbuild-loader */
88
- readonly ESBUILD: "esbuild";
89
- /** swc-loader */
90
- readonly SWC: "swc";
91
- /** style-loader */
92
- readonly STYLE: "style-loader";
93
- /** postcss-loader */
94
- readonly POSTCSS: "postcss";
95
- /** ignore-css-loader */
96
- readonly IGNORE_CSS: "ignore-css";
97
- /** css-modules-typescript-loader */
98
- readonly CSS_MODULES_TS: "css-modules-typescript";
99
- /** mini-css-extract-plugin.loader */
100
- readonly MINI_CSS_EXTRACT: "mini-css-extract";
101
- /** resolve-url-loader */
102
- readonly RESOLVE_URL_LOADER_FOR_SASS: "resolve-url-loader";
103
- /** builder-plugin-image-compress.loader */
104
- readonly IMAGE_COMPRESS: "image-compress";
105
- /** builder-plugin-image-compress svgo-loader */
106
- readonly SVGO: "svgo";
107
- /** builder-plugin-imagex */
108
- readonly IMAGEX: "imagex";
109
- /** storybook-react-docgen */
110
- readonly REACT_DOCGEN: "react-docgen";
111
- };
112
- /** Predefined plugins */
113
- readonly PLUGIN: {
114
- /** HotModuleReplacementPlugin */
115
- readonly HMR: "hmr";
116
- /** CopyWebpackPlugin */
117
- readonly COPY: "copy";
118
- /** HtmlWebpackPlugin */
119
- readonly HTML: "html";
120
- /** DefinePlugin */
121
- readonly DEFINE: "define";
122
- /** IgnorePlugin */
123
- readonly IGNORE: "ignore";
124
- /** BannerPlugin */
125
- readonly BANNER: "banner";
126
- /** Webpackbar */
127
- readonly PROGRESS: "progress";
128
- /** Inspector */
129
- readonly INSPECTOR: "inspector";
130
- /** AppIconPlugin */
131
- readonly APP_ICON: "app-icon";
132
- /** FaviconUrlPlugin */
133
- readonly FAVICON_URL: "favicon-url";
134
- /** LoadableWebpackPlugin */
135
- readonly LOADABLE: "loadable";
136
- /** WebpackManifestPlugin */
137
- readonly MANIFEST: "webpack-manifest";
138
- /** ForkTsCheckerWebpackPlugin */
139
- readonly TS_CHECKER: "ts-checker";
140
- /** InlineChunkHtmlPlugin */
141
- readonly INLINE_HTML: "inline-html";
142
- /** WebpackBundleAnalyzer */
143
- readonly BUNDLE_ANALYZER: "bundle-analyze";
144
- /** BottomTemplatePlugin */
145
- readonly BOTTOM_TEMPLATE: "bottom-template";
146
- /** HtmlTagsPlugin */
147
- readonly HTML_TAGS: "html-tags";
148
- /** HtmlNoncePlugin */
149
- readonly HTML_NONCE: "html-nonce";
150
- /** HtmlCrossOriginPlugin */
151
- readonly HTML_CROSS_ORIGIN: "html-cross-origin";
152
- /** htmlPreconnectPlugin */
153
- readonly HTML_PRECONNECT: "html-preconnect-plugin";
154
- /** htmlDnsPrefetchPlugin */
155
- readonly HTML_DNS_PREFETCH: "html-dns-prefetch-plugin";
156
- /** htmlPrefetchPlugin */
157
- readonly HTML_PREFETCH: "html-prefetch-plugin";
158
- /** htmlPreloadPlugin */
159
- readonly HTML_PRELOAD: "html-preload-plugin";
160
- /** MiniCssExtractPlugin */
161
- readonly MINI_CSS_EXTRACT: "mini-css-extract";
162
- /** VueLoaderPlugin */
163
- readonly VUE_LOADER_PLUGIN: "vue-loader-plugin";
164
- /** ReactFastRefreshPlugin */
165
- readonly REACT_FAST_REFRESH: "react-fast-refresh";
166
- /** ProvidePlugin for node polyfill */
167
- readonly NODE_POLYFILL_PROVIDE: "node-polyfill-provide";
168
- /** WebpackSRIPlugin */
169
- readonly SUBRESOURCE_INTEGRITY: "subresource-integrity";
170
- /** WebpackAssetsRetryPlugin */
171
- readonly ASSETS_RETRY: "ASSETS_RETRY";
172
- /** AutoSetRootFontSizePlugin */
173
- readonly AUTO_SET_ROOT_SIZE: "auto-set-root-size";
174
- /** HtmlAsyncChunkPlugin */
175
- readonly HTML_ASYNC_CHUNK: "html-async-chunk";
176
- /** SWC_POLYFILL_CHECKER */
177
- readonly SWC_POLYFILL_CHECKER: "swc-polyfill-checker-plugin";
178
- /** RouterPlugin */
179
- readonly ROUTER_MANIFEST: "route-plugin";
180
- };
181
- /** Predefined minimizers */
182
- readonly MINIMIZER: {
183
- /** TerserWebpackPlugin */
184
- readonly JS: "js";
185
- /** CssMinimizerWebpackPlugin */
186
- readonly CSS: "css";
187
- /** ESBuildPlugin */
188
- readonly ESBUILD: "js-css";
189
- /** SWCPlugin */
190
- readonly SWC: "swc";
191
- };
192
- /** Predefined resolve plugins */
193
- readonly RESOLVE_PLUGIN: {
194
- /** ModuleScopePlugin */
195
- readonly MODULE_SCOPE: "module-scope";
196
- /** TsConfigPathsPlugin */
197
- readonly TS_CONFIG_PATHS: "ts-config-paths";
198
- };
199
- };
200
- export type ChainIdentifier = typeof CHAIN_ID;