Comparing version 1.6.0 to 1.6.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.6.1](https://github.com/nuxt-contrib/jiti/compare/v1.6.0...v1.6.1) (2021-03-05) | ||
### Bug Fixes | ||
* stub @babel/helper-compilation-targets to ignore browserslist in package.json ([af8fedc](https://github.com/nuxt-contrib/jiti/commit/af8fedc57fbe742c219d41c42a84e5df91e97f13)), closes [nuxt/nuxt.js#8916](https://github.com/nuxt/nuxt.js/issues/8916) | ||
## [1.6.0](https://github.com/nuxt-contrib/jiti/compare/v1.5.0...v1.6.0) (2021-03-03) | ||
@@ -7,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { TransformOptions } from './types'; | ||
export default function transform(opts: TransformOptions): string; | ||
import { TransformOptions, TRANSFORM_RESULT } from './types'; | ||
export default function transform(opts: TransformOptions): TRANSFORM_RESULT; |
/// <reference types="node" /> | ||
import { TransformOptions } from './types'; | ||
import { TransformOptions, TRANSFORM_RESULT } from './types'; | ||
export declare type JITIOptions = { | ||
transform?: (opts: TransformOptions) => string; | ||
transform?: (opts: TransformOptions) => TRANSFORM_RESULT; | ||
debug?: boolean; | ||
@@ -6,0 +6,0 @@ cache?: boolean | string; |
@@ -1,1 +0,1 @@ | ||
(()=>{var e={"./node_modules/create-require/create-require.js":(e,s,t)=>{const r=t("module"),n=t("path"),o=t("fs");e.exports=function(e){return e||(e=process.cwd()),function(e){try{return o.lstatSync(e).isDirectory()}catch(e){return!1}}(e)&&(e=n.join(e,"index.js")),r.createRequire?r.createRequire(e):r.createRequireFromPath?r.createRequireFromPath(e):function(e){const s=new r.Module(e,null);return s.filename=e,s.paths=r.Module._nodeModulePaths(n.dirname(e)),s._compile("module.exports = require;",e),s.exports}(e)}},"./node_modules/lru-cache/index.js":(e,s,t)=>{"use strict";const r=t("./node_modules/yallist/yallist.js"),n=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),m=Symbol("lruList"),d=Symbol("cache"),h=Symbol("updateAgeOnGet"),p=()=>1,f=(e,s,t)=>{const r=e[d].get(s);if(r){const s=r.value;if(v(e,s)){if(g(e,r),!e[a])return}else t&&(e[h]&&(r.value.now=Date.now()),e[m].unshiftNode(r));return s.value}},v=(e,s)=>{if(!s||!s.maxAge&&!e[l])return!1;const t=Date.now()-s.now;return s.maxAge?t>s.maxAge:e[l]&&t>e[l]},E=e=>{if(e[o]>e[n])for(let s=e[m].tail;e[o]>e[n]&&null!==s;){const t=s.prev;g(e,s),s=t}},g=(e,s)=>{if(s){const t=s.value;e[u]&&e[u](t.key,t.value),e[o]-=t.length,e[d].delete(t.key),e[m].removeNode(s)}};class _{constructor(e,s,t,r,n){this.key=e,this.value=s,this.length=t,this.now=r,this.maxAge=n||0}}const j=(e,s,t,r)=>{let n=t.value;v(e,n)&&(g(e,t),e[a]||(n=void 0)),n&&s.call(r,n.value,n.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[n]=e.max||1/0;const s=e.length||p;if(this[i]="function"!=typeof s?p:s,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||1/0,E(this)}get max(){return this[n]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,E(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=p),e!==this[i]&&(this[i]=e,this[o]=0,this[m].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),E(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[m].length}rforEach(e,s){s=s||this;for(let t=this[m].tail;null!==t;){const r=t.prev;j(this,e,t,s),t=r}}forEach(e,s){s=s||this;for(let t=this[m].head;null!==t;){const r=t.next;j(this,e,t,s),t=r}}keys(){return this[m].toArray().map((e=>e.key))}values(){return this[m].toArray().map((e=>e.value))}reset(){this[u]&&this[m]&&this[m].length&&this[m].forEach((e=>this[u](e.key,e.value))),this[d]=new Map,this[m]=new r,this[o]=0}dump(){return this[m].map((e=>!v(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[m]}set(e,s,t){if((t=t||this[l])&&"number"!=typeof t)throw new TypeError("maxAge must be a number");const r=t?Date.now():0,a=this[i](s,e);if(this[d].has(e)){if(a>this[n])return g(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[u]&&(this[c]||this[u](e,i.value)),i.now=r,i.maxAge=t,i.value=s,this[o]+=a-i.length,i.length=a,this.get(e),E(this),!0}const h=new _(e,s,a,r,t);return h.length>this[n]?(this[u]&&this[u](e,s),!1):(this[o]+=h.length,this[m].unshift(h),this[d].set(e,this[m].head),E(this),!0)}has(e){if(!this[d].has(e))return!1;const s=this[d].get(e).value;return!v(this,s)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[m].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[d].get(e))}load(e){this.reset();const s=Date.now();for(let t=e.length-1;t>=0;t--){const r=e[t],n=r.e||0;if(0===n)this.set(r.k,r.v);else{const e=n-s;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,s)=>f(this,s,!1)))}}},"./node_modules/mkdirp/index.js":(e,s,t)=>{const r=t("./node_modules/mkdirp/lib/opts-arg.js"),n=t("./node_modules/mkdirp/lib/path-arg.js"),{mkdirpNative:o,mkdirpNativeSync:i}=t("./node_modules/mkdirp/lib/mkdirp-native.js"),{mkdirpManual:a,mkdirpManualSync:l}=t("./node_modules/mkdirp/lib/mkdirp-manual.js"),{useNative:u,useNativeSync:c}=t("./node_modules/mkdirp/lib/use-native.js"),m=(e,s)=>(e=n(e),s=r(s),u(s)?o(e,s):a(e,s));m.sync=(e,s)=>(e=n(e),s=r(s),c(s)?i(e,s):l(e,s)),m.native=(e,s)=>o(n(e),r(s)),m.manual=(e,s)=>a(n(e),r(s)),m.nativeSync=(e,s)=>i(n(e),r(s)),m.manualSync=(e,s)=>l(n(e),r(s)),e.exports=m},"./node_modules/mkdirp/lib/find-made.js":(e,s,t)=>{const{dirname:r}=t("path"),n=(e,s,t)=>t===s?Promise.resolve():e.statAsync(s).then((e=>e.isDirectory()?t:void 0),(t=>"ENOENT"===t.code?n(e,r(s),s):void 0)),o=(e,s,t)=>{if(t!==s)try{return e.statSync(s).isDirectory()?t:void 0}catch(t){return"ENOENT"===t.code?o(e,r(s),s):void 0}};e.exports={findMade:n,findMadeSync:o}},"./node_modules/mkdirp/lib/mkdirp-manual.js":(e,s,t)=>{const{dirname:r}=t("path"),n=(e,s,t)=>{s.recursive=!1;const o=r(e);return o===e?s.mkdirAsync(e,s).catch((e=>{if("EISDIR"!==e.code)throw e})):s.mkdirAsync(e,s).then((()=>t||e),(r=>{if("ENOENT"===r.code)return n(o,s).then((t=>n(e,s,t)));if("EEXIST"!==r.code&&"EROFS"!==r.code)throw r;return s.statAsync(e).then((e=>{if(e.isDirectory())return t;throw r}),(()=>{throw r}))}))},o=(e,s,t)=>{const n=r(e);if(s.recursive=!1,n===e)try{return s.mkdirSync(e,s)}catch(e){if("EISDIR"!==e.code)throw e;return}try{return s.mkdirSync(e,s),t||e}catch(r){if("ENOENT"===r.code)return o(e,s,o(n,s,t));if("EEXIST"!==r.code&&"EROFS"!==r.code)throw r;try{if(!s.statSync(e).isDirectory())throw r}catch(e){throw r}}};e.exports={mkdirpManual:n,mkdirpManualSync:o}},"./node_modules/mkdirp/lib/mkdirp-native.js":(e,s,t)=>{const{dirname:r}=t("path"),{findMade:n,findMadeSync:o}=t("./node_modules/mkdirp/lib/find-made.js"),{mkdirpManual:i,mkdirpManualSync:a}=t("./node_modules/mkdirp/lib/mkdirp-manual.js");e.exports={mkdirpNative:(e,s)=>(s.recursive=!0,r(e)===e?s.mkdirAsync(e,s):n(s,e).then((t=>s.mkdirAsync(e,s).then((()=>t)).catch((t=>{if("ENOENT"===t.code)return i(e,s);throw t}))))),mkdirpNativeSync:(e,s)=>{if(s.recursive=!0,r(e)===e)return s.mkdirSync(e,s);const t=o(s,e);try{return s.mkdirSync(e,s),t}catch(t){if("ENOENT"===t.code)return a(e,s);throw t}}}},"./node_modules/mkdirp/lib/opts-arg.js":(e,s,t)=>{const{promisify:r}=t("util"),n=t("fs");e.exports=e=>{if(e)if("object"==typeof e)e={mode:511,fs:n,...e};else if("number"==typeof e)e={mode:e,fs:n};else{if("string"!=typeof e)throw new TypeError("invalid options argument");e={mode:parseInt(e,8),fs:n}}else e={mode:511,fs:n};return e.mkdir=e.mkdir||e.fs.mkdir||n.mkdir,e.mkdirAsync=r(e.mkdir),e.stat=e.stat||e.fs.stat||n.stat,e.statAsync=r(e.stat),e.statSync=e.statSync||e.fs.statSync||n.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||n.mkdirSync,e}},"./node_modules/mkdirp/lib/path-arg.js":(e,s,t)=>{const r=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:n,parse:o}=t("path");e.exports=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=n(e),"win32"===r){const s=/[*|"<>?:]/,{root:t}=o(e);if(s.test(e.substr(t.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e}},"./node_modules/mkdirp/lib/use-native.js":(e,s,t)=>{const r=t("fs"),n=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),o=+n[0]>10||10==+n[0]&&+n[1]>=12,i=o?e=>e.mkdir===r.mkdir:()=>!1,a=o?e=>e.mkdirSync===r.mkdirSync:()=>!1;e.exports={useNative:i,useNativeSync:a}},"./node_modules/node-modules-regexp/index.js":e=>{"use strict";e.exports=/^(?:.*[\\\/])?node_modules(?:[\\\/].*)?$/},"./node_modules/pirates/lib/index.js":(e,s,t)=>{"use strict";e=t.nmd(e),Object.defineProperty(s,"__esModule",{value:!0}),s.addHook=function(e,s={}){let t=!1;const r=[],i=[];let l;const u=a._extensions[".js"],c=s.matcher||null,m=!1!==s.ignoreNodeModules;return l=s.extensions||s.exts||s.extension||s.ext||[".js"],Array.isArray(l)||(l=[l]),l.forEach((s=>{if("string"!=typeof s)throw new TypeError(`Invalid Extension: ${s}`);const d=a._extensions[s]||u;i[s]=d,r[s]=a._extensions[s]=function(s,r){let i;t||function(e,s,t,r){if("string"!=typeof e)return!1;if(-1===s.indexOf(n.default.extname(e)))return!1;const i=n.default.resolve(e);return(!r||!o.default.test(i))&&(!t||"function"!=typeof t||!!t(i))}(r,l,c,m)&&(i=s._compile,s._compile=function(t){s._compile=i;const n=e(t,r);if("string"!=typeof n)throw new Error("[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!\n--------------------\nIf you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.");return s._compile(n,r)}),d(s,r)}})),function(){t||(t=!0,l.forEach((e=>{a._extensions[e]===r[e]&&(a._extensions[e]=i[e])})))}};var r=i(t("module")),n=i(t("path")),o=i(t("./node_modules/node-modules-regexp/index.js"));function i(e){return e&&e.__esModule?e:{default:e}}const a=e.constructor.length>1?e.constructor:r.default},"./node_modules/semver/classes/comparator.js":(e,s,t)=>{const r=Symbol("SemVer ANY");class n{static get ANY(){return r}constructor(e,s){if(s=o(s),e instanceof n){if(e.loose===!!s.loose)return e;e=e.value}u("comparator",e,s),this.options=s,this.loose=!!s.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const s=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],t=e.match(s);if(!t)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),t[2]?this.semver=new c(t[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,s){if(!(e instanceof n))throw new TypeError("a Comparator is required");if(s&&"object"==typeof s||(s={loose:!!s,includePrerelease:!1}),""===this.operator)return""===this.value||new m(e.value,s).test(this.value);if(""===e.operator)return""===e.value||new m(this.value,s).test(e.semver);const t=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=l(this.semver,"<",e.semver,s)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=l(this.semver,">",e.semver,s)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return t||r||o&&i||a||u}}e.exports=n;const o=t("./node_modules/semver/internal/parse-options.js"),{re:i,t:a}=t("./node_modules/semver/internal/re.js"),l=t("./node_modules/semver/functions/cmp.js"),u=t("./node_modules/semver/internal/debug.js"),c=t("./node_modules/semver/classes/semver.js"),m=t("./node_modules/semver/classes/range.js")},"./node_modules/semver/classes/range.js":(e,s,t)=>{class r{constructor(e,s){if(s=o(s),e instanceof r)return e.loose===!!s.loose&&e.includePrerelease===!!s.includePrerelease?e:new r(e.raw,s);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!p(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const s=`parseRange:${Object.keys(this.options).join(",")}:${e}`,t=n.get(s);if(t)return t;const r=this.options.loose,o=r?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];e=e.replace(o,w(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(u[c.COMPARATORTRIM],m),a("comparator trim",e,u[c.COMPARATORTRIM]),e=(e=(e=e.replace(u[c.TILDETRIM],d)).replace(u[c.CARETTRIM],h)).split(/\s+/).join(" ");const l=r?u[c.COMPARATORLOOSE]:u[c.COMPARATOR],f=e.split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>N(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),v=(f.length,new Map);for(const e of f){if(p(e))return[e];v.set(e.value,e)}v.size>1&&v.has("")&&v.delete("");const g=[...v.values()];return n.set(s,g),g}intersects(e,s){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((t=>v(t,s)&&e.set.some((e=>v(e,s)&&t.every((t=>e.every((e=>t.intersects(e,s)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let s=0;s<this.set.length;s++)if(O(this.set[s],e,this.options))return!0;return!1}}e.exports=r;const n=new(t("./node_modules/lru-cache/index.js"))({max:1e3}),o=t("./node_modules/semver/internal/parse-options.js"),i=t("./node_modules/semver/classes/comparator.js"),a=t("./node_modules/semver/internal/debug.js"),l=t("./node_modules/semver/classes/semver.js"),{re:u,t:c,comparatorTrimReplace:m,tildeTrimReplace:d,caretTrimReplace:h}=t("./node_modules/semver/internal/re.js"),p=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,v=(e,s)=>{let t=!0;const r=e.slice();let n=r.pop();for(;t&&r.length;)t=r.every((e=>n.intersects(e,s))),n=r.pop();return t},E=(e,s)=>(a("comp",e,s),e=y(e,s),a("caret",e),e=_(e,s),a("tildes",e),e=I(e,s),a("xrange",e),e=x(e,s),a("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,s)=>e.trim().split(/\s+/).map((e=>j(e,s))).join(" "),j=(e,s)=>{const t=s.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(t,((s,t,r,n,o)=>{let i;return a("tilde",e,s,t,r,n,o),g(t)?i="":g(r)?i=`>=${t}.0.0 <${+t+1}.0.0-0`:g(n)?i=`>=${t}.${r}.0 <${t}.${+r+1}.0-0`:o?(a("replaceTilde pr",o),i=`>=${t}.${r}.${n}-${o} <${t}.${+r+1}.0-0`):i=`>=${t}.${r}.${n} <${t}.${+r+1}.0-0`,a("tilde return",i),i}))},y=(e,s)=>e.trim().split(/\s+/).map((e=>$(e,s))).join(" "),$=(e,s)=>{a("caret",e,s);const t=s.loose?u[c.CARETLOOSE]:u[c.CARET],r=s.includePrerelease?"-0":"";return e.replace(t,((s,t,n,o,i)=>{let l;return a("caret",e,s,t,n,o,i),g(t)?l="":g(n)?l=`>=${t}.0.0${r} <${+t+1}.0.0-0`:g(o)?l="0"===t?`>=${t}.${n}.0${r} <${t}.${+n+1}.0-0`:`>=${t}.${n}.0${r} <${+t+1}.0.0-0`:i?(a("replaceCaret pr",i),l="0"===t?"0"===n?`>=${t}.${n}.${o}-${i} <${t}.${n}.${+o+1}-0`:`>=${t}.${n}.${o}-${i} <${t}.${+n+1}.0-0`:`>=${t}.${n}.${o}-${i} <${+t+1}.0.0-0`):(a("no pr"),l="0"===t?"0"===n?`>=${t}.${n}.${o}${r} <${t}.${n}.${+o+1}-0`:`>=${t}.${n}.${o}${r} <${t}.${+n+1}.0-0`:`>=${t}.${n}.${o} <${+t+1}.0.0-0`),a("caret return",l),l}))},I=(e,s)=>(a("replaceXRanges",e,s),e.split(/\s+/).map((e=>R(e,s))).join(" ")),R=(e,s)=>{e=e.trim();const t=s.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(t,((t,r,n,o,i,l)=>{a("xRange",e,t,r,n,o,i,l);const u=g(n),c=u||g(o),m=c||g(i),d=m;return"="===r&&d&&(r=""),l=s.includePrerelease?"-0":"",u?t=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(o=0),i=0,">"===r?(r=">=",c?(n=+n+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",c?n=+n+1:o=+o+1),"<"===r&&(l="-0"),t=`${r+n}.${o}.${i}${l}`):c?t=`>=${n}.0.0${l} <${+n+1}.0.0-0`:m&&(t=`>=${n}.${o}.0${l} <${n}.${+o+1}.0-0`),a("xRange return",t),t}))},x=(e,s)=>(a("replaceStars",e,s),e.trim().replace(u[c.STAR],"")),N=(e,s)=>(a("replaceGTE0",e,s),e.trim().replace(u[s.includePrerelease?c.GTE0PRE:c.GTE0],"")),w=e=>(s,t,r,n,o,i,a,l,u,c,m,d,h)=>`${t=g(r)?"":g(n)?`>=${r}.0.0${e?"-0":""}`:g(o)?`>=${r}.${n}.0${e?"-0":""}`:i?`>=${t}`:`>=${t}${e?"-0":""}`} ${l=g(u)?"":g(c)?`<${+u+1}.0.0-0`:g(m)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${m}-${d}`:e?`<${u}.${c}.${+m+1}-0`:`<=${l}`}`.trim(),O=(e,s,t)=>{for(let t=0;t<e.length;t++)if(!e[t].test(s))return!1;if(s.prerelease.length&&!t.includePrerelease){for(let t=0;t<e.length;t++)if(a(e[t].semver),e[t].semver!==i.ANY&&e[t].semver.prerelease.length>0){const r=e[t].semver;if(r.major===s.major&&r.minor===s.minor&&r.patch===s.patch)return!0}return!1}return!0}},"./node_modules/semver/classes/semver.js":(e,s,t)=>{const r=t("./node_modules/semver/internal/debug.js"),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=t("./node_modules/semver/internal/constants.js"),{re:i,t:a}=t("./node_modules/semver/internal/re.js"),l=t("./node_modules/semver/internal/parse-options.js"),{compareIdentifiers:u}=t("./node_modules/semver/internal/identifiers.js");class c{constructor(e,s){if(s=l(s),e instanceof c){if(e.loose===!!s.loose&&e.includePrerelease===!!s.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;const t=e.trim().match(s.loose?i[a.LOOSE]:i[a.FULL]);if(!t)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const s=+e;if(s>=0&&s<o)return s}return e})):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let s=0;do{const t=this.prerelease[s],n=e.prerelease[s];if(r("prerelease compare",s,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return u(t,n)}while(++s)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let s=0;do{const t=this.build[s],n=e.build[s];if(r("prerelease compare",s,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return u(t,n)}while(++s)}inc(e,s){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",s),this.inc("pre",s);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",s),this.inc("pre",s);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}s&&(this.prerelease[0]===s?isNaN(this.prerelease[1])&&(this.prerelease=[s,0]):this.prerelease=[s,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=c},"./node_modules/semver/functions/clean.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js");e.exports=(e,s)=>{const t=r(e.trim().replace(/^[=v]+/,""),s);return t?t.version:null}},"./node_modules/semver/functions/cmp.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/eq.js"),n=t("./node_modules/semver/functions/neq.js"),o=t("./node_modules/semver/functions/gt.js"),i=t("./node_modules/semver/functions/gte.js"),a=t("./node_modules/semver/functions/lt.js"),l=t("./node_modules/semver/functions/lte.js");e.exports=(e,s,t,u)=>{switch(s){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof t&&(t=t.version),e===t;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof t&&(t=t.version),e!==t;case"":case"=":case"==":return r(e,t,u);case"!=":return n(e,t,u);case">":return o(e,t,u);case">=":return i(e,t,u);case"<":return a(e,t,u);case"<=":return l(e,t,u);default:throw new TypeError(`Invalid operator: ${s}`)}}},"./node_modules/semver/functions/coerce.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/functions/parse.js"),{re:o,t:i}=t("./node_modules/semver/internal/re.js");e.exports=(e,s)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let t=null;if((s=s||{}).rtl){let s;for(;(s=o[i.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length);)t&&s.index+s[0].length===t.index+t[0].length||(t=s),o[i.COERCERTL].lastIndex=s.index+s[1].length+s[2].length;o[i.COERCERTL].lastIndex=-1}else t=e.match(o[i.COERCE]);return null===t?null:n(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,s)}},"./node_modules/semver/functions/compare-build.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s,t)=>{const n=new r(e,t),o=new r(s,t);return n.compare(o)||n.compareBuild(o)}},"./node_modules/semver/functions/compare-loose.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s)=>r(e,s,!0)},"./node_modules/semver/functions/compare.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s,t)=>new r(e,t).compare(new r(s,t))},"./node_modules/semver/functions/diff.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js"),n=t("./node_modules/semver/functions/eq.js");e.exports=(e,s)=>{if(n(e,s))return null;{const t=r(e),n=r(s),o=t.prerelease.length||n.prerelease.length,i=o?"pre":"",a=o?"prerelease":"";for(const e in t)if(("major"===e||"minor"===e||"patch"===e)&&t[e]!==n[e])return i+e;return a}}},"./node_modules/semver/functions/eq.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>0===r(e,s,t)},"./node_modules/semver/functions/gt.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)>0},"./node_modules/semver/functions/gte.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)>=0},"./node_modules/semver/functions/inc.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s,t,n)=>{"string"==typeof t&&(n=t,t=void 0);try{return new r(e,t).inc(s,n).version}catch(e){return null}}},"./node_modules/semver/functions/lt.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)<0},"./node_modules/semver/functions/lte.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)<=0},"./node_modules/semver/functions/major.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s)=>new r(e,s).major},"./node_modules/semver/functions/minor.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s)=>new r(e,s).minor},"./node_modules/semver/functions/neq.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>0!==r(e,s,t)},"./node_modules/semver/functions/parse.js":(e,s,t)=>{const{MAX_LENGTH:r}=t("./node_modules/semver/internal/constants.js"),{re:n,t:o}=t("./node_modules/semver/internal/re.js"),i=t("./node_modules/semver/classes/semver.js"),a=t("./node_modules/semver/internal/parse-options.js");e.exports=(e,s)=>{if(s=a(s),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(s.loose?n[o.LOOSE]:n[o.FULL]).test(e))return null;try{return new i(e,s)}catch(e){return null}}},"./node_modules/semver/functions/patch.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s)=>new r(e,s).patch},"./node_modules/semver/functions/prerelease.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js");e.exports=(e,s)=>{const t=r(e,s);return t&&t.prerelease.length?t.prerelease:null}},"./node_modules/semver/functions/rcompare.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(s,e,t)},"./node_modules/semver/functions/rsort.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare-build.js");e.exports=(e,s)=>e.sort(((e,t)=>r(t,e,s)))},"./node_modules/semver/functions/satisfies.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>{try{s=new r(s,t)}catch(e){return!1}return s.test(e)}},"./node_modules/semver/functions/sort.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare-build.js");e.exports=(e,s)=>e.sort(((e,t)=>r(e,t,s)))},"./node_modules/semver/functions/valid.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js");e.exports=(e,s)=>{const t=r(e,s);return t?t.version:null}},"./node_modules/semver/index.js":(e,s,t)=>{const r=t("./node_modules/semver/internal/re.js");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:t("./node_modules/semver/internal/constants.js").SEMVER_SPEC_VERSION,SemVer:t("./node_modules/semver/classes/semver.js"),compareIdentifiers:t("./node_modules/semver/internal/identifiers.js").compareIdentifiers,rcompareIdentifiers:t("./node_modules/semver/internal/identifiers.js").rcompareIdentifiers,parse:t("./node_modules/semver/functions/parse.js"),valid:t("./node_modules/semver/functions/valid.js"),clean:t("./node_modules/semver/functions/clean.js"),inc:t("./node_modules/semver/functions/inc.js"),diff:t("./node_modules/semver/functions/diff.js"),major:t("./node_modules/semver/functions/major.js"),minor:t("./node_modules/semver/functions/minor.js"),patch:t("./node_modules/semver/functions/patch.js"),prerelease:t("./node_modules/semver/functions/prerelease.js"),compare:t("./node_modules/semver/functions/compare.js"),rcompare:t("./node_modules/semver/functions/rcompare.js"),compareLoose:t("./node_modules/semver/functions/compare-loose.js"),compareBuild:t("./node_modules/semver/functions/compare-build.js"),sort:t("./node_modules/semver/functions/sort.js"),rsort:t("./node_modules/semver/functions/rsort.js"),gt:t("./node_modules/semver/functions/gt.js"),lt:t("./node_modules/semver/functions/lt.js"),eq:t("./node_modules/semver/functions/eq.js"),neq:t("./node_modules/semver/functions/neq.js"),gte:t("./node_modules/semver/functions/gte.js"),lte:t("./node_modules/semver/functions/lte.js"),cmp:t("./node_modules/semver/functions/cmp.js"),coerce:t("./node_modules/semver/functions/coerce.js"),Comparator:t("./node_modules/semver/classes/comparator.js"),Range:t("./node_modules/semver/classes/range.js"),satisfies:t("./node_modules/semver/functions/satisfies.js"),toComparators:t("./node_modules/semver/ranges/to-comparators.js"),maxSatisfying:t("./node_modules/semver/ranges/max-satisfying.js"),minSatisfying:t("./node_modules/semver/ranges/min-satisfying.js"),minVersion:t("./node_modules/semver/ranges/min-version.js"),validRange:t("./node_modules/semver/ranges/valid.js"),outside:t("./node_modules/semver/ranges/outside.js"),gtr:t("./node_modules/semver/ranges/gtr.js"),ltr:t("./node_modules/semver/ranges/ltr.js"),intersects:t("./node_modules/semver/ranges/intersects.js"),simplifyRange:t("./node_modules/semver/ranges/simplify.js"),subset:t("./node_modules/semver/ranges/subset.js")}},"./node_modules/semver/internal/constants.js":e=>{const s=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:s,MAX_SAFE_COMPONENT_LENGTH:16}},"./node_modules/semver/internal/debug.js":e=>{const s="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=s},"./node_modules/semver/internal/identifiers.js":e=>{const s=/^[0-9]+$/,t=(e,t)=>{const r=s.test(e),n=s.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1};e.exports={compareIdentifiers:t,rcompareIdentifiers:(e,s)=>t(s,e)}},"./node_modules/semver/internal/parse-options.js":e=>{const s=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:s.filter((s=>e[s])).reduce(((e,s)=>(e[s]=!0,e)),{}):{}},"./node_modules/semver/internal/re.js":(e,s,t)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=t("./node_modules/semver/internal/constants.js"),n=t("./node_modules/semver/internal/debug.js"),o=(s=e.exports={}).re=[],i=s.src=[],a=s.t={};let l=0;const u=(e,s,t)=>{const r=l++;n(r,s),a[e]=r,i[r]=s,o[r]=new RegExp(s,t?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),u("FULL",`^${i[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),u("LOOSE",`^${i[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),u("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",i[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),s.tildeTrimReplace="$1~",u("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),s.caretTrimReplace="$1^",u("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),s.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"./node_modules/semver/ranges/gtr.js":(e,s,t)=>{const r=t("./node_modules/semver/ranges/outside.js");e.exports=(e,s,t)=>r(e,s,">",t)},"./node_modules/semver/ranges/intersects.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>(e=new r(e,t),s=new r(s,t),e.intersects(s))},"./node_modules/semver/ranges/ltr.js":(e,s,t)=>{const r=t("./node_modules/semver/ranges/outside.js");e.exports=(e,s,t)=>r(e,s,"<",t)},"./node_modules/semver/ranges/max-satisfying.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>{let o=null,i=null,a=null;try{a=new n(s,t)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,t)))})),o}},"./node_modules/semver/ranges/min-satisfying.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>{let o=null,i=null,a=null;try{a=new n(s,t)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,t)))})),o}},"./node_modules/semver/ranges/min-version.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/range.js"),o=t("./node_modules/semver/functions/gt.js");e.exports=(e,s)=>{e=new n(e,s);let t=new r("0.0.0");if(e.test(t))return t;if(t=new r("0.0.0-0"),e.test(t))return t;t=null;for(let s=0;s<e.set.length;++s){const n=e.set[s];let i=null;n.forEach((e=>{const s=new r(e.semver.version);switch(e.operator){case">":0===s.prerelease.length?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":i&&!o(s,i)||(i=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||t&&!o(t,i)||(t=i)}return t&&e.test(t)?t:null}},"./node_modules/semver/ranges/outside.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/comparator.js"),{ANY:o}=n,i=t("./node_modules/semver/classes/range.js"),a=t("./node_modules/semver/functions/satisfies.js"),l=t("./node_modules/semver/functions/gt.js"),u=t("./node_modules/semver/functions/lt.js"),c=t("./node_modules/semver/functions/lte.js"),m=t("./node_modules/semver/functions/gte.js");e.exports=(e,s,t,d)=>{let h,p,f,v,E;switch(e=new r(e,d),s=new i(s,d),t){case">":h=l,p=c,f=u,v=">",E=">=";break;case"<":h=u,p=m,f=l,v="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,s,d))return!1;for(let t=0;t<s.set.length;++t){const r=s.set[t];let i=null,a=null;if(r.forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),i=i||e,a=a||e,h(e.semver,i.semver,d)?i=e:f(e.semver,a.semver,d)&&(a=e)})),i.operator===v||i.operator===E)return!1;if((!a.operator||a.operator===v)&&p(e,a.semver))return!1;if(a.operator===E&&f(e,a.semver))return!1}return!0}},"./node_modules/semver/ranges/simplify.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/satisfies.js"),n=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>{const o=[];let i=null,a=null;const l=e.sort(((e,s)=>n(e,s,t)));for(const e of l)r(e,s,t)?(a=e,i||(i=e)):(a&&o.push([i,a]),a=null,i=null);i&&o.push([i,null]);const u=[];for(const[e,s]of o)e===s?u.push(e):s||e!==l[0]?s?e===l[0]?u.push(`<=${s}`):u.push(`${e} - ${s}`):u.push(`>=${e}`):u.push("*");const c=u.join(" || "),m="string"==typeof s.raw?s.raw:String(s);return c.length<m.length?c:s}},"./node_modules/semver/ranges/subset.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js"),{ANY:n}=t("./node_modules/semver/classes/comparator.js"),o=t("./node_modules/semver/functions/satisfies.js"),i=t("./node_modules/semver/functions/compare.js"),a=(e,s,t)=>{if(e===s)return!0;if(1===e.length&&e[0].semver===n)return 1===s.length&&s[0].semver===n;const r=new Set;let a,c,m,d,h,p,f;for(const s of e)">"===s.operator||">="===s.operator?a=l(a,s,t):"<"===s.operator||"<="===s.operator?c=u(c,s,t):r.add(s.semver);if(r.size>1)return null;if(a&&c){if(m=i(a.semver,c.semver,t),m>0)return null;if(0===m&&(">="!==a.operator||"<="!==c.operator))return null}for(const e of r){if(a&&!o(e,String(a),t))return null;if(c&&!o(e,String(c),t))return null;for(const r of s)if(!o(e,String(r),t))return!1;return!0}for(const e of s){if(f=f||">"===e.operator||">="===e.operator,p=p||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(d=l(a,e,t),d===e&&d!==a)return!1}else if(">="===a.operator&&!o(a.semver,String(e),t))return!1;if(c)if("<"===e.operator||"<="===e.operator){if(h=u(c,e,t),h===e&&h!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),t))return!1;if(!e.operator&&(c||a)&&0!==m)return!1}return!(a&&p&&!c&&0!==m||c&&f&&!a&&0!==m)},l=(e,s,t)=>{if(!e)return s;const r=i(e.semver,s.semver,t);return r>0?e:r<0||">"===s.operator&&">="===e.operator?s:e},u=(e,s,t)=>{if(!e)return s;const r=i(e.semver,s.semver,t);return r<0?e:r>0||"<"===s.operator&&"<="===e.operator?s:e};e.exports=(e,s,t)=>{if(e===s)return!0;e=new r(e,t),s=new r(s,t);let n=!1;e:for(const r of e.set){for(const e of s.set){const s=a(r,e,t);if(n=n||null!==s,s)continue e}if(n)return!1}return!0}},"./node_modules/semver/ranges/to-comparators.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s)=>new r(e,s).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},"./node_modules/semver/ranges/valid.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s)=>{try{return new r(e,s).range||"*"}catch(e){return null}}},"./src/jiti.ts":(e,s,t)=>{"use strict";t.d(s,{default:()=>N});var r=t("fs"),n=t("module"),o=t("path");const i=require("os"),a=require("crypto"),l=require("vm");var u=t.n(l),c=t("./node_modules/mkdirp/index.js"),m=t.n(c);const d=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,p=/^["{[]|^-?[0-9][0-9.]{0,14}$/;function f(e,s){if("__proto__"!==e&&"constructor"!==e)return s}const v=function(e){if("string"!=typeof e)return e;const s=e.toLowerCase();if("true"===s)return!0;if("false"===s)return!1;if("null"===s)return null;if("nan"===s)return NaN;if("infinity"===s)return 1/0;if("undefined"!==s){if(!p.test(e))return e;try{return d.test(e)||h.test(e)?JSON.parse(e,f):JSON.parse(e)}catch(s){return e}}};var E=t("./node_modules/create-require/create-require.js"),g=t.n(E),_=t("./node_modules/semver/index.js"),j=t.n(_),y=t("./node_modules/pirates/lib/index.js");e=t.hmd(e);const $=v(process.env.JITI_DEBUG),I=v(process.env.JITI_CACHE),R={debug:$,cache:void 0===I||I,legacy:j().lt(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".ts"]};function x(e,s=8){return(0,a.createHash)("md5").update(e).digest("hex").substr(0,s)}function N(s=process.cwd(),t={}){const a="4"+((t=Object.assign(Object.assign({},R),t)).legacy?"-legacy":"");function l(...e){t.debug&&console.log("[jiti]",...e)}if(function(e){try{return(0,r.lstatSync)(e).isDirectory()}catch(e){return!1}}(s)&&(s=(0,o.join)(s,"index.js")),!0===t.cache&&(t.cache=(0,o.join)((0,i.tmpdir)(),"node-jiti")),t.cache)try{if(m().sync(t.cache),!function(e){try{return(0,r.accessSync)(e,r.constants.W_OK),!0}catch(e){return!1}}(t.cache))throw new Error("directory is not writable")}catch(e){l("Error creating cache directory at ",t.cache,e),t.cache=!1}const c=g()(s),d=(e,s)=>{try{return c.resolve(e,s)}catch(e){}},h=[...t.extensions].filter((e=>".js"!==e)),p=(e,s)=>{if(t.extensions.includes((0,o.extname)(e)))return c.resolve(e,s);let r,n;try{return c.resolve(e,s)}catch(e){n=e}for(const t of h)if(r=d(e+t,s)||d(e+"/index"+t,s),r)return r;throw n};function f(e,s,n){let i=function(e,s,n){if(!t.cache)return n();const i=` /* v${a}-${x(s,16)} */`,u=(0,o.basename)((0,o.dirname)(e))+"-"+(0,o.basename)(e),c=(0,o.join)(t.cache,u+"."+x(e)+".js");if((0,r.existsSync)(c)){const s=(0,r.readFileSync)(c,"utf-8");if(s.endsWith(i))return l("[cache hit]",e,"~>",c),s}l("[cache miss]",e);const m=n();return m.includes("__JITI_ERROR__")||(0,r.writeFileSync)(c,m+i,"utf-8"),m}(e,s,(()=>t.transform(Object.assign({source:s,filename:e,legacy:t.legacy},n))));return i.startsWith("#!")&&(i="// "+i),i}function v(s){var i;if(n.builtinModules.includes(s))return c(s);const a=p(s),m=(0,o.extname)(a);if(!t.extensions.includes(m))return l("[unknown]",a),c(s);if(c.cache[a])return null===(i=c.cache[a])||void 0===i?void 0:i.exports;let d=(0,r.readFileSync)(a,"utf-8");const h=".ts"===m;if(h||d.match(/^\s*import .* from|\s*export |import\s*\(/m)||t.legacy&&d.match(/\?\.|\?\?/))l("[transpile]",a),d=f(a,d,{ts:h});else try{return l("[native]",a),c(s)}catch(e){l("Native require error:",e),l("[fallback]",a),d=f(a,d,{ts:h})}const E=new n.Module(a);let g;E.filename=a,E.parent=e,E.require=N(a,t),E.path=(0,o.dirname)(a),E.paths=n.Module._nodeModulePaths(E.path),c.cache[a]=E;try{g=u().runInThisContext(n.Module.wrap(d),{filename:a,lineOffset:0,displayErrors:!1})}catch(e){delete c.cache[a],t.onError(e)}try{g(E.exports,E.require,E,E.filename,(0,o.dirname)(E.filename))}catch(e){delete c.cache[a],t.onError(e)}if(E.exports&&E.exports.__JITI_ERROR__){const{filename:e,line:s,column:r,code:n,message:o}=E.exports.__JITI_ERROR__,i=new Error(`${n}: ${o} \n ${e}:${s}:${r}`);Error.captureStackTrace(i,v),t.onError(i)}return E.loaded=!0,E.exports}return p.paths=c.resolve.paths,v.resolve=p,v.cache=c.cache,v.extensions=c.extensions,v.main=c.main,v.transform=t.transform,v.register=function(){return(0,y.addHook)(((e,s)=>v.transform({source:e,filename:s,ts:!!s.match(/.ts$/)})),{exts:t.extensions})},v}},"./node_modules/yallist/iterator.js":e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},"./node_modules/yallist/yallist.js":(e,s,t)=>{"use strict";function r(e){var s=this;if(s instanceof r||(s=new r),s.tail=null,s.head=null,s.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){s.push(e)}));else if(arguments.length>0)for(var t=0,n=arguments.length;t<n;t++)s.push(arguments[t]);return s}function n(e,s){e.tail=new i(s,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,s){e.head=new i(s,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,s,t,r){if(!(this instanceof i))return new i(e,s,t,r);this.list=r,this.value=e,s?(s.next=this,this.prev=s):this.prev=null,t?(t.prev=this,this.next=t):this.next=null}e.exports=r,r.Node=i,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var s=e.next,t=e.prev;return s&&(s.prev=t),t&&(t.next=s),e===this.head&&(this.head=s),e===this.tail&&(this.tail=t),e.list.length--,e.next=null,e.prev=null,e.list=null,s},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var s=this.head;e.list=this,e.next=s,s&&(s.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var s=this.tail;e.list=this,e.prev=s,s&&(s.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,s=arguments.length;e<s;e++)n(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,s=arguments.length;e<s;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,s){s=s||this;for(var t=this.head,r=0;null!==t;r++)e.call(s,t.value,r,this),t=t.next},r.prototype.forEachReverse=function(e,s){s=s||this;for(var t=this.tail,r=this.length-1;null!==t;r--)e.call(s,t.value,r,this),t=t.prev},r.prototype.get=function(e){for(var s=0,t=this.head;null!==t&&s<e;s++)t=t.next;if(s===e&&null!==t)return t.value},r.prototype.getReverse=function(e){for(var s=0,t=this.tail;null!==t&&s<e;s++)t=t.prev;if(s===e&&null!==t)return t.value},r.prototype.map=function(e,s){s=s||this;for(var t=new r,n=this.head;null!==n;)t.push(e.call(s,n.value,this)),n=n.next;return t},r.prototype.mapReverse=function(e,s){s=s||this;for(var t=new r,n=this.tail;null!==n;)t.push(e.call(s,n.value,this)),n=n.prev;return t},r.prototype.reduce=function(e,s){var t,r=this.head;if(arguments.length>1)t=s;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,t=this.head.value}for(var n=0;null!==r;n++)t=e(t,r.value,n),r=r.next;return t},r.prototype.reduceReverse=function(e,s){var t,r=this.tail;if(arguments.length>1)t=s;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,t=this.tail.value}for(var n=this.length-1;null!==r;n--)t=e(t,r.value,n),r=r.prev;return t},r.prototype.toArray=function(){for(var e=new Array(this.length),s=0,t=this.head;null!==t;s++)e[s]=t.value,t=t.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),s=0,t=this.tail;null!==t;s++)e[s]=t.value,t=t.prev;return e},r.prototype.slice=function(e,s){(s=s||this.length)<0&&(s+=this.length),(e=e||0)<0&&(e+=this.length);var t=new r;if(s<e||s<0)return t;e<0&&(e=0),s>this.length&&(s=this.length);for(var n=0,o=this.head;null!==o&&n<e;n++)o=o.next;for(;null!==o&&n<s;n++,o=o.next)t.push(o.value);return t},r.prototype.sliceReverse=function(e,s){(s=s||this.length)<0&&(s+=this.length),(e=e||0)<0&&(e+=this.length);var t=new r;if(s<e||s<0)return t;e<0&&(e=0),s>this.length&&(s=this.length);for(var n=this.length,o=this.tail;null!==o&&n>s;n--)o=o.prev;for(;null!==o&&n>e;n--,o=o.prev)t.push(o.value);return t},r.prototype.splice=function(e,s,...t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,n=this.head;null!==n&&r<e;r++)n=n.next;var o,a,l,u,c=[];for(r=0;n&&r<s;r++)c.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),r=0;r<t.length;r++)o=this,a=n,l=t[r],u=void 0,null===(u=a===o.head?new i(l,null,a,o):new i(l,a,a.next,o)).next&&(o.tail=u),null===u.prev&&(o.head=u),o.length++,n=u;return c},r.prototype.reverse=function(){for(var e=this.head,s=this.tail,t=e;null!==t;t=t.prev){var r=t.prev;t.prev=t.next,t.next=r}return this.head=s,this.tail=e,this};try{t("./node_modules/yallist/iterator.js")(r)}catch(e){}},fs:e=>{"use strict";e.exports=require("fs")},module:e=>{"use strict";e.exports=require("module")},path:e=>{"use strict";e.exports=require("path")},util:e=>{"use strict";e.exports=require("util")}},s={};function t(r){if(s[r])return s[r].exports;var n=s[r]={id:r,loaded:!1,exports:{}};return e[r](n,n.exports,t),n.loaded=!0,n.exports}t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r=t("./src/jiti.ts");module.exports=r.default})(); | ||
(()=>{var e={"./node_modules/create-require/create-require.js":(e,s,t)=>{const r=t("module"),n=t("path"),o=t("fs");e.exports=function(e){return e||(e=process.cwd()),function(e){try{return o.lstatSync(e).isDirectory()}catch(e){return!1}}(e)&&(e=n.join(e,"index.js")),r.createRequire?r.createRequire(e):r.createRequireFromPath?r.createRequireFromPath(e):function(e){const s=new r.Module(e,null);return s.filename=e,s.paths=r.Module._nodeModulePaths(n.dirname(e)),s._compile("module.exports = require;",e),s.exports}(e)}},"./node_modules/lru-cache/index.js":(e,s,t)=>{"use strict";const r=t("./node_modules/yallist/yallist.js"),n=Symbol("max"),o=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),m=Symbol("lruList"),d=Symbol("cache"),h=Symbol("updateAgeOnGet"),p=()=>1,f=(e,s,t)=>{const r=e[d].get(s);if(r){const s=r.value;if(v(e,s)){if(g(e,r),!e[a])return}else t&&(e[h]&&(r.value.now=Date.now()),e[m].unshiftNode(r));return s.value}},v=(e,s)=>{if(!s||!s.maxAge&&!e[l])return!1;const t=Date.now()-s.now;return s.maxAge?t>s.maxAge:e[l]&&t>e[l]},E=e=>{if(e[o]>e[n])for(let s=e[m].tail;e[o]>e[n]&&null!==s;){const t=s.prev;g(e,s),s=t}},g=(e,s)=>{if(s){const t=s.value;e[u]&&e[u](t.key,t.value),e[o]-=t.length,e[d].delete(t.key),e[m].removeNode(s)}};class _{constructor(e,s,t,r,n){this.key=e,this.value=s,this.length=t,this.now=r,this.maxAge=n||0}}const j=(e,s,t,r)=>{let n=t.value;v(e,n)&&(g(e,t),e[a]||(n=void 0)),n&&s.call(r,n.value,n.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[n]=e.max||1/0;const s=e.length||p;if(this[i]="function"!=typeof s?p:s,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||1/0,E(this)}get max(){return this[n]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,E(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=p),e!==this[i]&&(this[i]=e,this[o]=0,this[m].forEach((e=>{e.length=this[i](e.value,e.key),this[o]+=e.length}))),E(this)}get lengthCalculator(){return this[i]}get length(){return this[o]}get itemCount(){return this[m].length}rforEach(e,s){s=s||this;for(let t=this[m].tail;null!==t;){const r=t.prev;j(this,e,t,s),t=r}}forEach(e,s){s=s||this;for(let t=this[m].head;null!==t;){const r=t.next;j(this,e,t,s),t=r}}keys(){return this[m].toArray().map((e=>e.key))}values(){return this[m].toArray().map((e=>e.value))}reset(){this[u]&&this[m]&&this[m].length&&this[m].forEach((e=>this[u](e.key,e.value))),this[d]=new Map,this[m]=new r,this[o]=0}dump(){return this[m].map((e=>!v(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[m]}set(e,s,t){if((t=t||this[l])&&"number"!=typeof t)throw new TypeError("maxAge must be a number");const r=t?Date.now():0,a=this[i](s,e);if(this[d].has(e)){if(a>this[n])return g(this,this[d].get(e)),!1;const i=this[d].get(e).value;return this[u]&&(this[c]||this[u](e,i.value)),i.now=r,i.maxAge=t,i.value=s,this[o]+=a-i.length,i.length=a,this.get(e),E(this),!0}const h=new _(e,s,a,r,t);return h.length>this[n]?(this[u]&&this[u](e,s),!1):(this[o]+=h.length,this[m].unshift(h),this[d].set(e,this[m].head),E(this),!0)}has(e){if(!this[d].has(e))return!1;const s=this[d].get(e).value;return!v(this,s)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[m].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[d].get(e))}load(e){this.reset();const s=Date.now();for(let t=e.length-1;t>=0;t--){const r=e[t],n=r.e||0;if(0===n)this.set(r.k,r.v);else{const e=n-s;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,s)=>f(this,s,!1)))}}},"./node_modules/mkdirp/index.js":(e,s,t)=>{const r=t("./node_modules/mkdirp/lib/opts-arg.js"),n=t("./node_modules/mkdirp/lib/path-arg.js"),{mkdirpNative:o,mkdirpNativeSync:i}=t("./node_modules/mkdirp/lib/mkdirp-native.js"),{mkdirpManual:a,mkdirpManualSync:l}=t("./node_modules/mkdirp/lib/mkdirp-manual.js"),{useNative:u,useNativeSync:c}=t("./node_modules/mkdirp/lib/use-native.js"),m=(e,s)=>(e=n(e),s=r(s),u(s)?o(e,s):a(e,s));m.sync=(e,s)=>(e=n(e),s=r(s),c(s)?i(e,s):l(e,s)),m.native=(e,s)=>o(n(e),r(s)),m.manual=(e,s)=>a(n(e),r(s)),m.nativeSync=(e,s)=>i(n(e),r(s)),m.manualSync=(e,s)=>l(n(e),r(s)),e.exports=m},"./node_modules/mkdirp/lib/find-made.js":(e,s,t)=>{const{dirname:r}=t("path"),n=(e,s,t)=>t===s?Promise.resolve():e.statAsync(s).then((e=>e.isDirectory()?t:void 0),(t=>"ENOENT"===t.code?n(e,r(s),s):void 0)),o=(e,s,t)=>{if(t!==s)try{return e.statSync(s).isDirectory()?t:void 0}catch(t){return"ENOENT"===t.code?o(e,r(s),s):void 0}};e.exports={findMade:n,findMadeSync:o}},"./node_modules/mkdirp/lib/mkdirp-manual.js":(e,s,t)=>{const{dirname:r}=t("path"),n=(e,s,t)=>{s.recursive=!1;const o=r(e);return o===e?s.mkdirAsync(e,s).catch((e=>{if("EISDIR"!==e.code)throw e})):s.mkdirAsync(e,s).then((()=>t||e),(r=>{if("ENOENT"===r.code)return n(o,s).then((t=>n(e,s,t)));if("EEXIST"!==r.code&&"EROFS"!==r.code)throw r;return s.statAsync(e).then((e=>{if(e.isDirectory())return t;throw r}),(()=>{throw r}))}))},o=(e,s,t)=>{const n=r(e);if(s.recursive=!1,n===e)try{return s.mkdirSync(e,s)}catch(e){if("EISDIR"!==e.code)throw e;return}try{return s.mkdirSync(e,s),t||e}catch(r){if("ENOENT"===r.code)return o(e,s,o(n,s,t));if("EEXIST"!==r.code&&"EROFS"!==r.code)throw r;try{if(!s.statSync(e).isDirectory())throw r}catch(e){throw r}}};e.exports={mkdirpManual:n,mkdirpManualSync:o}},"./node_modules/mkdirp/lib/mkdirp-native.js":(e,s,t)=>{const{dirname:r}=t("path"),{findMade:n,findMadeSync:o}=t("./node_modules/mkdirp/lib/find-made.js"),{mkdirpManual:i,mkdirpManualSync:a}=t("./node_modules/mkdirp/lib/mkdirp-manual.js");e.exports={mkdirpNative:(e,s)=>(s.recursive=!0,r(e)===e?s.mkdirAsync(e,s):n(s,e).then((t=>s.mkdirAsync(e,s).then((()=>t)).catch((t=>{if("ENOENT"===t.code)return i(e,s);throw t}))))),mkdirpNativeSync:(e,s)=>{if(s.recursive=!0,r(e)===e)return s.mkdirSync(e,s);const t=o(s,e);try{return s.mkdirSync(e,s),t}catch(t){if("ENOENT"===t.code)return a(e,s);throw t}}}},"./node_modules/mkdirp/lib/opts-arg.js":(e,s,t)=>{const{promisify:r}=t("util"),n=t("fs");e.exports=e=>{if(e)if("object"==typeof e)e={mode:511,fs:n,...e};else if("number"==typeof e)e={mode:e,fs:n};else{if("string"!=typeof e)throw new TypeError("invalid options argument");e={mode:parseInt(e,8),fs:n}}else e={mode:511,fs:n};return e.mkdir=e.mkdir||e.fs.mkdir||n.mkdir,e.mkdirAsync=r(e.mkdir),e.stat=e.stat||e.fs.stat||n.stat,e.statAsync=r(e.stat),e.statSync=e.statSync||e.fs.statSync||n.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||n.mkdirSync,e}},"./node_modules/mkdirp/lib/path-arg.js":(e,s,t)=>{const r=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:n,parse:o}=t("path");e.exports=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=n(e),"win32"===r){const s=/[*|"<>?:]/,{root:t}=o(e);if(s.test(e.substr(t.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e}},"./node_modules/mkdirp/lib/use-native.js":(e,s,t)=>{const r=t("fs"),n=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),o=+n[0]>10||10==+n[0]&&+n[1]>=12,i=o?e=>e.mkdir===r.mkdir:()=>!1,a=o?e=>e.mkdirSync===r.mkdirSync:()=>!1;e.exports={useNative:i,useNativeSync:a}},"./node_modules/node-modules-regexp/index.js":e=>{"use strict";e.exports=/^(?:.*[\\\/])?node_modules(?:[\\\/].*)?$/},"./node_modules/pirates/lib/index.js":(e,s,t)=>{"use strict";e=t.nmd(e),Object.defineProperty(s,"__esModule",{value:!0}),s.addHook=function(e,s={}){let t=!1;const r=[],i=[];let l;const u=a._extensions[".js"],c=s.matcher||null,m=!1!==s.ignoreNodeModules;return l=s.extensions||s.exts||s.extension||s.ext||[".js"],Array.isArray(l)||(l=[l]),l.forEach((s=>{if("string"!=typeof s)throw new TypeError(`Invalid Extension: ${s}`);const d=a._extensions[s]||u;i[s]=d,r[s]=a._extensions[s]=function(s,r){let i;t||function(e,s,t,r){if("string"!=typeof e)return!1;if(-1===s.indexOf(n.default.extname(e)))return!1;const i=n.default.resolve(e);return(!r||!o.default.test(i))&&(!t||"function"!=typeof t||!!t(i))}(r,l,c,m)&&(i=s._compile,s._compile=function(t){s._compile=i;const n=e(t,r);if("string"!=typeof n)throw new Error("[Pirates] A hook returned a non-string, or nothing at all! This is a violation of intergalactic law!\n--------------------\nIf you have no idea what this means or what Pirates is, let me explain: Pirates is a module that makes is easy to implement require hooks. One of the require hooks you're using uses it. One of these require hooks didn't return anything from it's handler, so we don't know what to do. You might want to debug this.");return s._compile(n,r)}),d(s,r)}})),function(){t||(t=!0,l.forEach((e=>{a._extensions[e]===r[e]&&(a._extensions[e]=i[e])})))}};var r=i(t("module")),n=i(t("path")),o=i(t("./node_modules/node-modules-regexp/index.js"));function i(e){return e&&e.__esModule?e:{default:e}}const a=e.constructor.length>1?e.constructor:r.default},"./node_modules/semver/classes/comparator.js":(e,s,t)=>{const r=Symbol("SemVer ANY");class n{static get ANY(){return r}constructor(e,s){if(s=o(s),e instanceof n){if(e.loose===!!s.loose)return e;e=e.value}u("comparator",e,s),this.options=s,this.loose=!!s.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const s=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],t=e.match(s);if(!t)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),t[2]?this.semver=new c(t[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,s){if(!(e instanceof n))throw new TypeError("a Comparator is required");if(s&&"object"==typeof s||(s={loose:!!s,includePrerelease:!1}),""===this.operator)return""===this.value||new m(e.value,s).test(this.value);if(""===e.operator)return""===e.value||new m(this.value,s).test(e.semver);const t=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=l(this.semver,"<",e.semver,s)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=l(this.semver,">",e.semver,s)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return t||r||o&&i||a||u}}e.exports=n;const o=t("./node_modules/semver/internal/parse-options.js"),{re:i,t:a}=t("./node_modules/semver/internal/re.js"),l=t("./node_modules/semver/functions/cmp.js"),u=t("./node_modules/semver/internal/debug.js"),c=t("./node_modules/semver/classes/semver.js"),m=t("./node_modules/semver/classes/range.js")},"./node_modules/semver/classes/range.js":(e,s,t)=>{class r{constructor(e,s){if(s=o(s),e instanceof r)return e.loose===!!s.loose&&e.includePrerelease===!!s.includePrerelease?e:new r(e.raw,s);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!p(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&f(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const s=`parseRange:${Object.keys(this.options).join(",")}:${e}`,t=n.get(s);if(t)return t;const r=this.options.loose,o=r?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];e=e.replace(o,w(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(u[c.COMPARATORTRIM],m),a("comparator trim",e,u[c.COMPARATORTRIM]),e=(e=(e=e.replace(u[c.TILDETRIM],d)).replace(u[c.CARETTRIM],h)).split(/\s+/).join(" ");const l=r?u[c.COMPARATORLOOSE]:u[c.COMPARATOR],f=e.split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>N(e,this.options))).filter(this.options.loose?e=>!!e.match(l):()=>!0).map((e=>new i(e,this.options))),v=(f.length,new Map);for(const e of f){if(p(e))return[e];v.set(e.value,e)}v.size>1&&v.has("")&&v.delete("");const g=[...v.values()];return n.set(s,g),g}intersects(e,s){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((t=>v(t,s)&&e.set.some((e=>v(e,s)&&t.every((t=>e.every((e=>t.intersects(e,s)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let s=0;s<this.set.length;s++)if(O(this.set[s],e,this.options))return!0;return!1}}e.exports=r;const n=new(t("./node_modules/lru-cache/index.js"))({max:1e3}),o=t("./node_modules/semver/internal/parse-options.js"),i=t("./node_modules/semver/classes/comparator.js"),a=t("./node_modules/semver/internal/debug.js"),l=t("./node_modules/semver/classes/semver.js"),{re:u,t:c,comparatorTrimReplace:m,tildeTrimReplace:d,caretTrimReplace:h}=t("./node_modules/semver/internal/re.js"),p=e=>"<0.0.0-0"===e.value,f=e=>""===e.value,v=(e,s)=>{let t=!0;const r=e.slice();let n=r.pop();for(;t&&r.length;)t=r.every((e=>n.intersects(e,s))),n=r.pop();return t},E=(e,s)=>(a("comp",e,s),e=y(e,s),a("caret",e),e=_(e,s),a("tildes",e),e=I(e,s),a("xrange",e),e=x(e,s),a("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,s)=>e.trim().split(/\s+/).map((e=>j(e,s))).join(" "),j=(e,s)=>{const t=s.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(t,((s,t,r,n,o)=>{let i;return a("tilde",e,s,t,r,n,o),g(t)?i="":g(r)?i=`>=${t}.0.0 <${+t+1}.0.0-0`:g(n)?i=`>=${t}.${r}.0 <${t}.${+r+1}.0-0`:o?(a("replaceTilde pr",o),i=`>=${t}.${r}.${n}-${o} <${t}.${+r+1}.0-0`):i=`>=${t}.${r}.${n} <${t}.${+r+1}.0-0`,a("tilde return",i),i}))},y=(e,s)=>e.trim().split(/\s+/).map((e=>$(e,s))).join(" "),$=(e,s)=>{a("caret",e,s);const t=s.loose?u[c.CARETLOOSE]:u[c.CARET],r=s.includePrerelease?"-0":"";return e.replace(t,((s,t,n,o,i)=>{let l;return a("caret",e,s,t,n,o,i),g(t)?l="":g(n)?l=`>=${t}.0.0${r} <${+t+1}.0.0-0`:g(o)?l="0"===t?`>=${t}.${n}.0${r} <${t}.${+n+1}.0-0`:`>=${t}.${n}.0${r} <${+t+1}.0.0-0`:i?(a("replaceCaret pr",i),l="0"===t?"0"===n?`>=${t}.${n}.${o}-${i} <${t}.${n}.${+o+1}-0`:`>=${t}.${n}.${o}-${i} <${t}.${+n+1}.0-0`:`>=${t}.${n}.${o}-${i} <${+t+1}.0.0-0`):(a("no pr"),l="0"===t?"0"===n?`>=${t}.${n}.${o}${r} <${t}.${n}.${+o+1}-0`:`>=${t}.${n}.${o}${r} <${t}.${+n+1}.0-0`:`>=${t}.${n}.${o} <${+t+1}.0.0-0`),a("caret return",l),l}))},I=(e,s)=>(a("replaceXRanges",e,s),e.split(/\s+/).map((e=>R(e,s))).join(" ")),R=(e,s)=>{e=e.trim();const t=s.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(t,((t,r,n,o,i,l)=>{a("xRange",e,t,r,n,o,i,l);const u=g(n),c=u||g(o),m=c||g(i),d=m;return"="===r&&d&&(r=""),l=s.includePrerelease?"-0":"",u?t=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(o=0),i=0,">"===r?(r=">=",c?(n=+n+1,o=0,i=0):(o=+o+1,i=0)):"<="===r&&(r="<",c?n=+n+1:o=+o+1),"<"===r&&(l="-0"),t=`${r+n}.${o}.${i}${l}`):c?t=`>=${n}.0.0${l} <${+n+1}.0.0-0`:m&&(t=`>=${n}.${o}.0${l} <${n}.${+o+1}.0-0`),a("xRange return",t),t}))},x=(e,s)=>(a("replaceStars",e,s),e.trim().replace(u[c.STAR],"")),N=(e,s)=>(a("replaceGTE0",e,s),e.trim().replace(u[s.includePrerelease?c.GTE0PRE:c.GTE0],"")),w=e=>(s,t,r,n,o,i,a,l,u,c,m,d,h)=>`${t=g(r)?"":g(n)?`>=${r}.0.0${e?"-0":""}`:g(o)?`>=${r}.${n}.0${e?"-0":""}`:i?`>=${t}`:`>=${t}${e?"-0":""}`} ${l=g(u)?"":g(c)?`<${+u+1}.0.0-0`:g(m)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${m}-${d}`:e?`<${u}.${c}.${+m+1}-0`:`<=${l}`}`.trim(),O=(e,s,t)=>{for(let t=0;t<e.length;t++)if(!e[t].test(s))return!1;if(s.prerelease.length&&!t.includePrerelease){for(let t=0;t<e.length;t++)if(a(e[t].semver),e[t].semver!==i.ANY&&e[t].semver.prerelease.length>0){const r=e[t].semver;if(r.major===s.major&&r.minor===s.minor&&r.patch===s.patch)return!0}return!1}return!0}},"./node_modules/semver/classes/semver.js":(e,s,t)=>{const r=t("./node_modules/semver/internal/debug.js"),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=t("./node_modules/semver/internal/constants.js"),{re:i,t:a}=t("./node_modules/semver/internal/re.js"),l=t("./node_modules/semver/internal/parse-options.js"),{compareIdentifiers:u}=t("./node_modules/semver/internal/identifiers.js");class c{constructor(e,s){if(s=l(s),e instanceof c){if(e.loose===!!s.loose&&e.includePrerelease===!!s.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,s),this.options=s,this.loose=!!s.loose,this.includePrerelease=!!s.includePrerelease;const t=e.trim().match(s.loose?i[a.LOOSE]:i[a.FULL]);if(!t)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const s=+e;if(s>=0&&s<o)return s}return e})):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let s=0;do{const t=this.prerelease[s],n=e.prerelease[s];if(r("prerelease compare",s,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return u(t,n)}while(++s)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let s=0;do{const t=this.build[s],n=e.build[s];if(r("prerelease compare",s,t,n),void 0===t&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===t)return-1;if(t!==n)return u(t,n)}while(++s)}inc(e,s){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",s),this.inc("pre",s);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",s),this.inc("pre",s);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}s&&(this.prerelease[0]===s?isNaN(this.prerelease[1])&&(this.prerelease=[s,0]):this.prerelease=[s,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=c},"./node_modules/semver/functions/clean.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js");e.exports=(e,s)=>{const t=r(e.trim().replace(/^[=v]+/,""),s);return t?t.version:null}},"./node_modules/semver/functions/cmp.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/eq.js"),n=t("./node_modules/semver/functions/neq.js"),o=t("./node_modules/semver/functions/gt.js"),i=t("./node_modules/semver/functions/gte.js"),a=t("./node_modules/semver/functions/lt.js"),l=t("./node_modules/semver/functions/lte.js");e.exports=(e,s,t,u)=>{switch(s){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof t&&(t=t.version),e===t;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof t&&(t=t.version),e!==t;case"":case"=":case"==":return r(e,t,u);case"!=":return n(e,t,u);case">":return o(e,t,u);case">=":return i(e,t,u);case"<":return a(e,t,u);case"<=":return l(e,t,u);default:throw new TypeError(`Invalid operator: ${s}`)}}},"./node_modules/semver/functions/coerce.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/functions/parse.js"),{re:o,t:i}=t("./node_modules/semver/internal/re.js");e.exports=(e,s)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let t=null;if((s=s||{}).rtl){let s;for(;(s=o[i.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length);)t&&s.index+s[0].length===t.index+t[0].length||(t=s),o[i.COERCERTL].lastIndex=s.index+s[1].length+s[2].length;o[i.COERCERTL].lastIndex=-1}else t=e.match(o[i.COERCE]);return null===t?null:n(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,s)}},"./node_modules/semver/functions/compare-build.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s,t)=>{const n=new r(e,t),o=new r(s,t);return n.compare(o)||n.compareBuild(o)}},"./node_modules/semver/functions/compare-loose.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s)=>r(e,s,!0)},"./node_modules/semver/functions/compare.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s,t)=>new r(e,t).compare(new r(s,t))},"./node_modules/semver/functions/diff.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js"),n=t("./node_modules/semver/functions/eq.js");e.exports=(e,s)=>{if(n(e,s))return null;{const t=r(e),n=r(s),o=t.prerelease.length||n.prerelease.length,i=o?"pre":"",a=o?"prerelease":"";for(const e in t)if(("major"===e||"minor"===e||"patch"===e)&&t[e]!==n[e])return i+e;return a}}},"./node_modules/semver/functions/eq.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>0===r(e,s,t)},"./node_modules/semver/functions/gt.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)>0},"./node_modules/semver/functions/gte.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)>=0},"./node_modules/semver/functions/inc.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s,t,n)=>{"string"==typeof t&&(n=t,t=void 0);try{return new r(e,t).inc(s,n).version}catch(e){return null}}},"./node_modules/semver/functions/lt.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)<0},"./node_modules/semver/functions/lte.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(e,s,t)<=0},"./node_modules/semver/functions/major.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s)=>new r(e,s).major},"./node_modules/semver/functions/minor.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s)=>new r(e,s).minor},"./node_modules/semver/functions/neq.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>0!==r(e,s,t)},"./node_modules/semver/functions/parse.js":(e,s,t)=>{const{MAX_LENGTH:r}=t("./node_modules/semver/internal/constants.js"),{re:n,t:o}=t("./node_modules/semver/internal/re.js"),i=t("./node_modules/semver/classes/semver.js"),a=t("./node_modules/semver/internal/parse-options.js");e.exports=(e,s)=>{if(s=a(s),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(s.loose?n[o.LOOSE]:n[o.FULL]).test(e))return null;try{return new i(e,s)}catch(e){return null}}},"./node_modules/semver/functions/patch.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js");e.exports=(e,s)=>new r(e,s).patch},"./node_modules/semver/functions/prerelease.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js");e.exports=(e,s)=>{const t=r(e,s);return t&&t.prerelease.length?t.prerelease:null}},"./node_modules/semver/functions/rcompare.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>r(s,e,t)},"./node_modules/semver/functions/rsort.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare-build.js");e.exports=(e,s)=>e.sort(((e,t)=>r(t,e,s)))},"./node_modules/semver/functions/satisfies.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>{try{s=new r(s,t)}catch(e){return!1}return s.test(e)}},"./node_modules/semver/functions/sort.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/compare-build.js");e.exports=(e,s)=>e.sort(((e,t)=>r(e,t,s)))},"./node_modules/semver/functions/valid.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/parse.js");e.exports=(e,s)=>{const t=r(e,s);return t?t.version:null}},"./node_modules/semver/index.js":(e,s,t)=>{const r=t("./node_modules/semver/internal/re.js");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:t("./node_modules/semver/internal/constants.js").SEMVER_SPEC_VERSION,SemVer:t("./node_modules/semver/classes/semver.js"),compareIdentifiers:t("./node_modules/semver/internal/identifiers.js").compareIdentifiers,rcompareIdentifiers:t("./node_modules/semver/internal/identifiers.js").rcompareIdentifiers,parse:t("./node_modules/semver/functions/parse.js"),valid:t("./node_modules/semver/functions/valid.js"),clean:t("./node_modules/semver/functions/clean.js"),inc:t("./node_modules/semver/functions/inc.js"),diff:t("./node_modules/semver/functions/diff.js"),major:t("./node_modules/semver/functions/major.js"),minor:t("./node_modules/semver/functions/minor.js"),patch:t("./node_modules/semver/functions/patch.js"),prerelease:t("./node_modules/semver/functions/prerelease.js"),compare:t("./node_modules/semver/functions/compare.js"),rcompare:t("./node_modules/semver/functions/rcompare.js"),compareLoose:t("./node_modules/semver/functions/compare-loose.js"),compareBuild:t("./node_modules/semver/functions/compare-build.js"),sort:t("./node_modules/semver/functions/sort.js"),rsort:t("./node_modules/semver/functions/rsort.js"),gt:t("./node_modules/semver/functions/gt.js"),lt:t("./node_modules/semver/functions/lt.js"),eq:t("./node_modules/semver/functions/eq.js"),neq:t("./node_modules/semver/functions/neq.js"),gte:t("./node_modules/semver/functions/gte.js"),lte:t("./node_modules/semver/functions/lte.js"),cmp:t("./node_modules/semver/functions/cmp.js"),coerce:t("./node_modules/semver/functions/coerce.js"),Comparator:t("./node_modules/semver/classes/comparator.js"),Range:t("./node_modules/semver/classes/range.js"),satisfies:t("./node_modules/semver/functions/satisfies.js"),toComparators:t("./node_modules/semver/ranges/to-comparators.js"),maxSatisfying:t("./node_modules/semver/ranges/max-satisfying.js"),minSatisfying:t("./node_modules/semver/ranges/min-satisfying.js"),minVersion:t("./node_modules/semver/ranges/min-version.js"),validRange:t("./node_modules/semver/ranges/valid.js"),outside:t("./node_modules/semver/ranges/outside.js"),gtr:t("./node_modules/semver/ranges/gtr.js"),ltr:t("./node_modules/semver/ranges/ltr.js"),intersects:t("./node_modules/semver/ranges/intersects.js"),simplifyRange:t("./node_modules/semver/ranges/simplify.js"),subset:t("./node_modules/semver/ranges/subset.js")}},"./node_modules/semver/internal/constants.js":e=>{const s=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:s,MAX_SAFE_COMPONENT_LENGTH:16}},"./node_modules/semver/internal/debug.js":e=>{const s="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=s},"./node_modules/semver/internal/identifiers.js":e=>{const s=/^[0-9]+$/,t=(e,t)=>{const r=s.test(e),n=s.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1};e.exports={compareIdentifiers:t,rcompareIdentifiers:(e,s)=>t(s,e)}},"./node_modules/semver/internal/parse-options.js":e=>{const s=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:s.filter((s=>e[s])).reduce(((e,s)=>(e[s]=!0,e)),{}):{}},"./node_modules/semver/internal/re.js":(e,s,t)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=t("./node_modules/semver/internal/constants.js"),n=t("./node_modules/semver/internal/debug.js"),o=(s=e.exports={}).re=[],i=s.src=[],a=s.t={};let l=0;const u=(e,s,t)=>{const r=l++;n(r,s),a[e]=r,i[r]=s,o[r]=new RegExp(s,t?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),u("FULL",`^${i[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),u("LOOSE",`^${i[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),u("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),u("COERCERTL",i[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),s.tildeTrimReplace="$1~",u("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),s.caretTrimReplace="$1^",u("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),s.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},"./node_modules/semver/ranges/gtr.js":(e,s,t)=>{const r=t("./node_modules/semver/ranges/outside.js");e.exports=(e,s,t)=>r(e,s,">",t)},"./node_modules/semver/ranges/intersects.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>(e=new r(e,t),s=new r(s,t),e.intersects(s))},"./node_modules/semver/ranges/ltr.js":(e,s,t)=>{const r=t("./node_modules/semver/ranges/outside.js");e.exports=(e,s,t)=>r(e,s,"<",t)},"./node_modules/semver/ranges/max-satisfying.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>{let o=null,i=null,a=null;try{a=new n(s,t)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&-1!==i.compare(e)||(o=e,i=new r(o,t)))})),o}},"./node_modules/semver/ranges/min-satisfying.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/range.js");e.exports=(e,s,t)=>{let o=null,i=null,a=null;try{a=new n(s,t)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&1!==i.compare(e)||(o=e,i=new r(o,t)))})),o}},"./node_modules/semver/ranges/min-version.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/range.js"),o=t("./node_modules/semver/functions/gt.js");e.exports=(e,s)=>{e=new n(e,s);let t=new r("0.0.0");if(e.test(t))return t;if(t=new r("0.0.0-0"),e.test(t))return t;t=null;for(let s=0;s<e.set.length;++s){const n=e.set[s];let i=null;n.forEach((e=>{const s=new r(e.semver.version);switch(e.operator){case">":0===s.prerelease.length?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":i&&!o(s,i)||(i=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||t&&!o(t,i)||(t=i)}return t&&e.test(t)?t:null}},"./node_modules/semver/ranges/outside.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/semver.js"),n=t("./node_modules/semver/classes/comparator.js"),{ANY:o}=n,i=t("./node_modules/semver/classes/range.js"),a=t("./node_modules/semver/functions/satisfies.js"),l=t("./node_modules/semver/functions/gt.js"),u=t("./node_modules/semver/functions/lt.js"),c=t("./node_modules/semver/functions/lte.js"),m=t("./node_modules/semver/functions/gte.js");e.exports=(e,s,t,d)=>{let h,p,f,v,E;switch(e=new r(e,d),s=new i(s,d),t){case">":h=l,p=c,f=u,v=">",E=">=";break;case"<":h=u,p=m,f=l,v="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,s,d))return!1;for(let t=0;t<s.set.length;++t){const r=s.set[t];let i=null,a=null;if(r.forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),i=i||e,a=a||e,h(e.semver,i.semver,d)?i=e:f(e.semver,a.semver,d)&&(a=e)})),i.operator===v||i.operator===E)return!1;if((!a.operator||a.operator===v)&&p(e,a.semver))return!1;if(a.operator===E&&f(e,a.semver))return!1}return!0}},"./node_modules/semver/ranges/simplify.js":(e,s,t)=>{const r=t("./node_modules/semver/functions/satisfies.js"),n=t("./node_modules/semver/functions/compare.js");e.exports=(e,s,t)=>{const o=[];let i=null,a=null;const l=e.sort(((e,s)=>n(e,s,t)));for(const e of l)r(e,s,t)?(a=e,i||(i=e)):(a&&o.push([i,a]),a=null,i=null);i&&o.push([i,null]);const u=[];for(const[e,s]of o)e===s?u.push(e):s||e!==l[0]?s?e===l[0]?u.push(`<=${s}`):u.push(`${e} - ${s}`):u.push(`>=${e}`):u.push("*");const c=u.join(" || "),m="string"==typeof s.raw?s.raw:String(s);return c.length<m.length?c:s}},"./node_modules/semver/ranges/subset.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js"),{ANY:n}=t("./node_modules/semver/classes/comparator.js"),o=t("./node_modules/semver/functions/satisfies.js"),i=t("./node_modules/semver/functions/compare.js"),a=(e,s,t)=>{if(e===s)return!0;if(1===e.length&&e[0].semver===n)return 1===s.length&&s[0].semver===n;const r=new Set;let a,c,m,d,h,p,f;for(const s of e)">"===s.operator||">="===s.operator?a=l(a,s,t):"<"===s.operator||"<="===s.operator?c=u(c,s,t):r.add(s.semver);if(r.size>1)return null;if(a&&c){if(m=i(a.semver,c.semver,t),m>0)return null;if(0===m&&(">="!==a.operator||"<="!==c.operator))return null}for(const e of r){if(a&&!o(e,String(a),t))return null;if(c&&!o(e,String(c),t))return null;for(const r of s)if(!o(e,String(r),t))return!1;return!0}for(const e of s){if(f=f||">"===e.operator||">="===e.operator,p=p||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(d=l(a,e,t),d===e&&d!==a)return!1}else if(">="===a.operator&&!o(a.semver,String(e),t))return!1;if(c)if("<"===e.operator||"<="===e.operator){if(h=u(c,e,t),h===e&&h!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),t))return!1;if(!e.operator&&(c||a)&&0!==m)return!1}return!(a&&p&&!c&&0!==m||c&&f&&!a&&0!==m)},l=(e,s,t)=>{if(!e)return s;const r=i(e.semver,s.semver,t);return r>0?e:r<0||">"===s.operator&&">="===e.operator?s:e},u=(e,s,t)=>{if(!e)return s;const r=i(e.semver,s.semver,t);return r<0?e:r>0||"<"===s.operator&&"<="===e.operator?s:e};e.exports=(e,s,t)=>{if(e===s)return!0;e=new r(e,t),s=new r(s,t);let n=!1;e:for(const r of e.set){for(const e of s.set){const s=a(r,e,t);if(n=n||null!==s,s)continue e}if(n)return!1}return!0}},"./node_modules/semver/ranges/to-comparators.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s)=>new r(e,s).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},"./node_modules/semver/ranges/valid.js":(e,s,t)=>{const r=t("./node_modules/semver/classes/range.js");e.exports=(e,s)=>{try{return new r(e,s).range||"*"}catch(e){return null}}},"./src/jiti.ts":(e,s,t)=>{"use strict";t.d(s,{default:()=>N});var r=t("fs"),n=t("module"),o=t("path");const i=require("os"),a=require("crypto"),l=require("vm");var u=t.n(l),c=t("./node_modules/mkdirp/index.js"),m=t.n(c);const d=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,p=/^["{[]|^-?[0-9][0-9.]{0,14}$/;function f(e,s){if("__proto__"!==e&&"constructor"!==e)return s}const v=function(e){if("string"!=typeof e)return e;const s=e.toLowerCase();if("true"===s)return!0;if("false"===s)return!1;if("null"===s)return null;if("nan"===s)return NaN;if("infinity"===s)return 1/0;if("undefined"!==s){if(!p.test(e))return e;try{return d.test(e)||h.test(e)?JSON.parse(e,f):JSON.parse(e)}catch(s){return e}}};var E=t("./node_modules/create-require/create-require.js"),g=t.n(E),_=t("./node_modules/semver/index.js"),j=t.n(_),y=t("./node_modules/pirates/lib/index.js");e=t.hmd(e);const $=v(process.env.JITI_DEBUG),I=v(process.env.JITI_CACHE),R={debug:$,cache:void 0===I||I,legacy:j().lt(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".ts"]};function x(e,s=8){return(0,a.createHash)("md5").update(e).digest("hex").substr(0,s)}function N(s=process.cwd(),t={}){const a="4"+((t=Object.assign(Object.assign({},R),t)).legacy?"-legacy":"");function l(...e){t.debug&&console.log("[jiti]",...e)}if(function(e){try{return(0,r.lstatSync)(e).isDirectory()}catch(e){return!1}}(s)&&(s=(0,o.join)(s,"index.js")),!0===t.cache&&(t.cache=(0,o.join)((0,i.tmpdir)(),"node-jiti")),t.cache)try{if(m().sync(t.cache),!function(e){try{return(0,r.accessSync)(e,r.constants.W_OK),!0}catch(e){return!1}}(t.cache))throw new Error("directory is not writable")}catch(e){l("Error creating cache directory at ",t.cache,e),t.cache=!1}const c=g()(s),d=(e,s)=>{try{return c.resolve(e,s)}catch(e){}},h=[...t.extensions].filter((e=>".js"!==e)),p=(e,s)=>{if(t.extensions.includes((0,o.extname)(e)))return c.resolve(e,s);let r,n;try{return c.resolve(e,s)}catch(e){n=e}for(const t of h)if(r=d(e+t,s)||d(e+"/index"+t,s),r)return r;throw n};function f(e){let s=function(e,s,n){if(!t.cache)return n();const i=` /* v${a}-${x(s,16)} */`,u=(0,o.basename)((0,o.dirname)(e))+"-"+(0,o.basename)(e),c=(0,o.join)(t.cache,u+"."+x(e)+".js");if((0,r.existsSync)(c)){const s=(0,r.readFileSync)(c,"utf-8");if(s.endsWith(i))return l("[cache hit]",e,"~>",c),s}l("[cache miss]",e);const m=n();return m.includes("__JITI_ERROR__")||(0,r.writeFileSync)(c,m+i,"utf-8"),m}(e.filename,e.source,(()=>{const s=t.transform(Object.assign({legacy:t.legacy},e));return s.error&&t.debug&&l(s.error),s.code}));return s.startsWith("#!")&&(s="// "+s),s}function v(s){var i;if(n.builtinModules.includes(s))return c(s);const a=p(s),m=(0,o.extname)(a);if(!t.extensions.includes(m))return l("[unknown]",a),c(s);if(c.cache[a])return null===(i=c.cache[a])||void 0===i?void 0:i.exports;let d=(0,r.readFileSync)(a,"utf-8");const h=".ts"===m;if(h||d.match(/^\s*import .* from|\s*export |import\s*\(/m)||t.legacy&&d.match(/\?\.|\?\?/))l("[transpile]",a),d=f({filename:a,source:d,ts:h});else try{return l("[native]",a),c(s)}catch(e){l("Native require error:",e),l("[fallback]",a),d=f({filename:a,source:d,ts:h})}const E=new n.Module(a);let g;E.filename=a,E.parent=e,E.require=N(a,t),E.path=(0,o.dirname)(a),E.paths=n.Module._nodeModulePaths(E.path),c.cache[a]=E;try{g=u().runInThisContext(n.Module.wrap(d),{filename:a,lineOffset:0,displayErrors:!1})}catch(e){delete c.cache[a],t.onError(e)}try{g(E.exports,E.require,E,E.filename,(0,o.dirname)(E.filename))}catch(e){delete c.cache[a],t.onError(e)}if(E.exports&&E.exports.__JITI_ERROR__){const{filename:e,line:s,column:r,code:n,message:o}=E.exports.__JITI_ERROR__,i=new Error(`${n}: ${o} \n ${e}:${s}:${r}`);Error.captureStackTrace(i,v),t.onError(i)}return E.loaded=!0,E.exports}return p.paths=c.resolve.paths,v.resolve=p,v.cache=c.cache,v.extensions=c.extensions,v.main=c.main,v.transform=f,v.register=function(){return(0,y.addHook)(((e,s)=>v.transform({source:e,filename:s,ts:!!s.match(/.ts$/)})),{exts:t.extensions})},v}},"./node_modules/yallist/iterator.js":e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},"./node_modules/yallist/yallist.js":(e,s,t)=>{"use strict";function r(e){var s=this;if(s instanceof r||(s=new r),s.tail=null,s.head=null,s.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){s.push(e)}));else if(arguments.length>0)for(var t=0,n=arguments.length;t<n;t++)s.push(arguments[t]);return s}function n(e,s){e.tail=new i(s,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,s){e.head=new i(s,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,s,t,r){if(!(this instanceof i))return new i(e,s,t,r);this.list=r,this.value=e,s?(s.next=this,this.prev=s):this.prev=null,t?(t.prev=this,this.next=t):this.next=null}e.exports=r,r.Node=i,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var s=e.next,t=e.prev;return s&&(s.prev=t),t&&(t.next=s),e===this.head&&(this.head=s),e===this.tail&&(this.tail=t),e.list.length--,e.next=null,e.prev=null,e.list=null,s},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var s=this.head;e.list=this,e.next=s,s&&(s.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var s=this.tail;e.list=this,e.prev=s,s&&(s.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,s=arguments.length;e<s;e++)n(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,s=arguments.length;e<s;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,s){s=s||this;for(var t=this.head,r=0;null!==t;r++)e.call(s,t.value,r,this),t=t.next},r.prototype.forEachReverse=function(e,s){s=s||this;for(var t=this.tail,r=this.length-1;null!==t;r--)e.call(s,t.value,r,this),t=t.prev},r.prototype.get=function(e){for(var s=0,t=this.head;null!==t&&s<e;s++)t=t.next;if(s===e&&null!==t)return t.value},r.prototype.getReverse=function(e){for(var s=0,t=this.tail;null!==t&&s<e;s++)t=t.prev;if(s===e&&null!==t)return t.value},r.prototype.map=function(e,s){s=s||this;for(var t=new r,n=this.head;null!==n;)t.push(e.call(s,n.value,this)),n=n.next;return t},r.prototype.mapReverse=function(e,s){s=s||this;for(var t=new r,n=this.tail;null!==n;)t.push(e.call(s,n.value,this)),n=n.prev;return t},r.prototype.reduce=function(e,s){var t,r=this.head;if(arguments.length>1)t=s;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,t=this.head.value}for(var n=0;null!==r;n++)t=e(t,r.value,n),r=r.next;return t},r.prototype.reduceReverse=function(e,s){var t,r=this.tail;if(arguments.length>1)t=s;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,t=this.tail.value}for(var n=this.length-1;null!==r;n--)t=e(t,r.value,n),r=r.prev;return t},r.prototype.toArray=function(){for(var e=new Array(this.length),s=0,t=this.head;null!==t;s++)e[s]=t.value,t=t.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),s=0,t=this.tail;null!==t;s++)e[s]=t.value,t=t.prev;return e},r.prototype.slice=function(e,s){(s=s||this.length)<0&&(s+=this.length),(e=e||0)<0&&(e+=this.length);var t=new r;if(s<e||s<0)return t;e<0&&(e=0),s>this.length&&(s=this.length);for(var n=0,o=this.head;null!==o&&n<e;n++)o=o.next;for(;null!==o&&n<s;n++,o=o.next)t.push(o.value);return t},r.prototype.sliceReverse=function(e,s){(s=s||this.length)<0&&(s+=this.length),(e=e||0)<0&&(e+=this.length);var t=new r;if(s<e||s<0)return t;e<0&&(e=0),s>this.length&&(s=this.length);for(var n=this.length,o=this.tail;null!==o&&n>s;n--)o=o.prev;for(;null!==o&&n>e;n--,o=o.prev)t.push(o.value);return t},r.prototype.splice=function(e,s,...t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,n=this.head;null!==n&&r<e;r++)n=n.next;var o,a,l,u,c=[];for(r=0;n&&r<s;r++)c.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),r=0;r<t.length;r++)o=this,a=n,l=t[r],u=void 0,null===(u=a===o.head?new i(l,null,a,o):new i(l,a,a.next,o)).next&&(o.tail=u),null===u.prev&&(o.head=u),o.length++,n=u;return c},r.prototype.reverse=function(){for(var e=this.head,s=this.tail,t=e;null!==t;t=t.prev){var r=t.prev;t.prev=t.next,t.next=r}return this.head=s,this.tail=e,this};try{t("./node_modules/yallist/iterator.js")(r)}catch(e){}},fs:e=>{"use strict";e.exports=require("fs")},module:e=>{"use strict";e.exports=require("module")},path:e=>{"use strict";e.exports=require("path")},util:e=>{"use strict";e.exports=require("util")}},s={};function t(r){if(s[r])return s[r].exports;var n=s[r]={id:r,loaded:!1,exports:{}};return e[r](n,n.exports,t),n.loaded=!0,n.exports}t.n=e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var r in s)t.o(s,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:s[r]})},t.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),t.o=(e,s)=>Object.prototype.hasOwnProperty.call(e,s),t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r=t("./src/jiti.ts");module.exports=r.default})(); |
@@ -8,1 +8,5 @@ export declare type TransformOptions = { | ||
}; | ||
export declare type TRANSFORM_RESULT = { | ||
code: string; | ||
error?: any; | ||
}; |
{ | ||
"name": "jiti", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Runtime typescript and ESM support for Node.js (CommonJS)", | ||
@@ -5,0 +5,0 @@ "repository": "nuxt-contrib/jiti", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1225883
4331