chore: update generated content

This commit is contained in:
CrazyMax committed 2026-03-02 23:23:00 +01:00
1 parent 4691e381bf
commit 4c1efe3556
3 files changed
+4 -294

No files matched your search

Generated Vendored
+3 -3
View File
@@ -1,4 +1,4 @@
import './sourcemap-register.cjs';import{createRequire as e}from"module";var A={9379:(e,A,s)=>{const r=Symbol("SemVer ANY");class Comparator{static get ANY(){return r}constructor(e,A){A=n(A);if(e instanceof Comparator){if(e.loose===!!A.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");g("comparator",e,A);this.options=A;this.loose=!!A.loose;this.parse(e);if(this.semver===r){this.value=""}else{this.value=this.operator+this.semver.version}g("comp",this)}parse(e){const A=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR];const s=e.match(A);if(!s){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=s[1]!==undefined?s[1]:"";if(this.operator==="="){this.operator=""}if(!s[2]){this.semver=r}else{this.semver=new u(s[2],this.options.loose)}}toString(){return this.value}test(e){g("Comparator.test",e,this.options.loose);if(this.semver===r||e===r){return true}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}return l(e,this.operator,this.semver,this.options)}intersects(e,A){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new E(e.value,A).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new E(this.value,A).test(e.semver)}A=n(A);if(A.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!A.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(l(this.semver,"<",e.semver,A)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(l(this.semver,">",e.semver,A)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const n=s(356);const{safeRe:i,t:o}=s(5471);const l=s(8646);const g=s(1159);const u=s(7163);const E=s(6782)},6782:(e,A,s)=>{const r=/\s+/g;class Range{constructor(e,A){A=o(A);if(e instanceof Range){if(e.loose===!!A.loose&&e.includePrerelease===!!A.includePrerelease){return e}else{return new Range(e.raw,A)}}if(e instanceof l){this.raw=e.value;this.set=[[e]];this.formatted=undefined;return this}this.options=A;this.loose=!!A.loose;this.includePrerelease=!!A.includePrerelease;this.raw=e.trim().replace(r," ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0){this.formatted+="||"}const A=this.set[e];for(let e=0;e<A.length;e++){if(e>0){this.formatted+=" "}this.formatted+=A[e].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const A=(this.options.includePrerelease&&p)|(this.options.loose&&w);const s=A+":"+e;const r=i.get(s);if(r){return r}const n=this.options.loose;const o=n?E[Q.HYPHENRANGELOOSE]:E[Q.HYPHENRANGE];e=e.replace(o,hyphenReplace(this.options.includePrerelease));g("hyphen replace",e);e=e.replace(E[Q.COMPARATORTRIM],C);g("comparator trim",e);e=e.replace(E[Q.TILDETRIM],B);g("tilde trim",e);e=e.replace(E[Q.CARETTRIM],I);g("caret trim",e);let u=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(n){u=u.filter((e=>{g("loose invalid filter",e,this.options);return!!e.match(E[Q.COMPARATORLOOSE])}))}g("range list",u);const D=new Map;const R=u.map((e=>new l(e,this.options)));for(const e of R){if(isNullSet(e)){return[e]}D.set(e.value,e)}if(D.size>1&&D.has("")){D.delete("")}const b=[...D.values()];i.set(s,b);return b}intersects(e,A){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((s=>isSatisfiable(s,A)&&e.set.some((e=>isSatisfiable(e,A)&&s.every((s=>e.every((e=>s.intersects(e,A)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}for(let A=0;A<this.set.length;A++){if(testSet(this.set[A],e,this.options)){return true}}return false}}e.exports=Range;const n=s(1383);const i=new n;const o=s(356);const l=s(9379);const g=s(1159);const u=s(7163);const{safeRe:E,t:Q,comparatorTrimReplace:C,tildeTrimReplace:B,caretTrimReplace:I}=s(5471);const{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:w}=s(5101);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,A)=>{let s=true;const r=e.slice();let n=r.pop();while(s&&r.length){s=r.every((e=>n.intersects(eLine truncated import './sourcemap-register.cjs';import{createRequire as A}from"module";var i={9379:(A,i,g)=>{const E=Symbol("SemVer ANY");class Comparator{static get ANY(){return E}constructor(A,i){i=Q(i);if(A instanceof Comparator){if(A.loose===!!i.loose){return A}else{A=A.value}}A=A.trim().split(/\s+/).join(" ");f("comparator",A,i);this.options=i;this.loose=!!i.loose;this.parse(A);if(this.semver===E){this.value=""}else{this.value=this.operator+this.semver.version}f("comp",this)}parse(A){const i=this.options.loose?C[B.COMPARATORLOOSE]:C[B.COMPARATOR];const g=A.match(i);if(!g){throw new TypeError(`Invalid comparator: ${A}`)}this.operator=g[1]!==undefined?g[1]:"";if(this.operator==="="){this.operator=""}if(!g[2]){this.semver=E}else{this.semver=new p(g[2],this.options.loose)}}toString(){return this.value}test(A){f("Comparator.test",A,this.options.loose);if(this.semver===E||A===E){return true}if(typeof A==="string"){try{A=new p(A,this.options)}catch(A){return false}}return I(A,this.operator,this.semver,this.options)}intersects(A,i){if(!(A instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new y(A.value,i).test(this.value)}else if(A.operator===""){if(A.value===""){return true}return new y(this.value,i).test(A.semver)}i=Q(i);if(i.includePrerelease&&(this.value==="<0.0.0-0"||A.value==="<0.0.0-0")){return false}if(!i.includePrerelease&&(this.value.startsWith("<0.0.0")||A.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&A.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&A.operator.startsWith("<")){return true}if(this.semver.version===A.semver.version&&this.operator.includes("=")&&A.operator.includes("=")){return true}if(I(this.semver,"<",A.semver,i)&&this.operator.startsWith(">")&&A.operator.startsWith("<")){return true}if(I(this.semver,">",A.semver,i)&&this.operator.startsWith("<")&&A.operator.startsWith(">")){return true}return false}}A.exports=Comparator;const Q=g(356);const{safeRe:C,t:B}=g(5471);const I=g(8646);const f=g(1159);const p=g(7163);const y=g(6782)},6782:(A,i,g)=>{const E=/\s+/g;class Range{constructor(A,i){i=B(i);if(A instanceof Range){if(A.loose===!!i.loose&&A.includePrerelease===!!i.includePrerelease){return A}else{return new Range(A.raw,i)}}if(A instanceof I){this.raw=A.value;this.set=[[A]];this.formatted=undefined;return this}this.options=i;this.loose=!!i.loose;this.includePrerelease=!!i.includePrerelease;this.raw=A.trim().replace(E," ");this.set=this.raw.split("||").map((A=>this.parseRange(A.trim()))).filter((A=>A.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const A=this.set[0];this.set=this.set.filter((A=>!isNullSet(A[0])));if(this.set.length===0){this.set=[A]}else if(this.set.length>1){for(const A of this.set){if(A.length===1&&isAny(A[0])){this.set=[A];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let A=0;A<this.set.length;A++){if(A>0){this.formatted+="||"}const i=this.set[A];for(let A=0;A<i.length;A++){if(A>0){this.formatted+=" "}this.formatted+=i[A].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(A){const i=(this.options.includePrerelease&&S)|(this.options.loose&&F);const g=i+":"+A;const E=C.get(g);if(E){return E}const Q=this.options.loose;const B=Q?y[D.HYPHENRANGELOOSE]:y[D.HYPHENRANGE];A=A.replace(B,hyphenReplace(this.options.includePrerelease));f("hyphen replace",A);A=A.replace(y[D.COMPARATORTRIM],R);f("comparator trim",A);A=A.replace(y[D.TILDETRIM],b);f("tilde trim",A);A=A.replace(y[D.CARETTRIM],k);f("caret trim",A);let p=A.split(" ").map((A=>parseComparator(A,this.options))).join(" ").split(/\s+/).map((A=>replaceGTE0(A,this.options)));if(Q){p=p.filter((A=>{f("loose invalid filter",A,this.options);return!!A.match(y[D.COMPARATORLOOSE])}))}f("range list",p);const M=new Map;const U=p.map((A=>new I(A,this.options)));for(const A of U){if(isNullSet(A)){return[A]}M.set(A.value,A)}if(M.size>1&&M.has("")){M.delete("")}const L=[...M.values()];C.set(g,L);return L}intersects(A,i){if(!(A instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((g=>isSatisfiable(g,i)&&A.set.some((A=>isSatisfiable(A,i)&&g.every((g=>A.every((A=>g.intersects(A,i)))))))))}test(A){if(!A){return false}if(typeof A==="string"){try{A=new p(A,this.options)}catch(A){return false}}for(let i=0;i<this.set.length;i++){if(testSet(this.set[i],A,this.options)){return true}}return false}}A.exports=Range;const Q=g(1383);const C=new Q;const B=g(356);const I=g(9379);const f=g(1159);const p=g(7163);const{safeRe:y,t:D,comparatorTrimReplace:R,tildeTrimReplace:b,caretTrimReplace:k}=g(5471);const{FLAG_INCLUDE_PRERELEASE:S,FLAG_LOOSE:F}=g(5101);const isNullSet=A=>A.value==="<0.0.0-0";const isAny=A=>A.value==="";const isSatisfiable=(A,i)=>{let g=true;const E=A.slice();let Q=E.pop();while(g&&E.length){g=E.every((A=>Q.intersects(ALine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const r=[];const n=new Uint8Array([13,10]);E=0;let i=false;for(const[A,o]of e){if(typeof o==="string"){const e=N.encode(s+`; name="${escape(normalizeLinefeeds(A))}"`+`\r\n\r\n${normalizeLinefeeds(o)}\r\n`);r.push(e);E+=e.byteLength}else{const e=N.encode(`${s}; name="${escape(normalizeLinefeeds(A))}"`+(o.name?`; filename="${escape(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r\n\r\n`);r.push(e,o,n);if(typeof o.size==="number"){E+=e.byteLength+o.size+n.byteLength}else{i=true}}}const o=N.encode(`--${A}--\r\n`);r.push(o);E+=o.byteLength;if(i){E=null}u=e;g=async function*(){for(const e of r){if(e.stream){yield*e.stream()}else{yield e}}};Q=`multipart/form-data; boundary=${A}`}else if(i(e)){u=e;E=e.size;if(e.type){Q=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(A){throw new TypeError("keepalive")}if(r.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}s=e instanceof ReadableStream?e:n(e)}if(typeof u==="string"||r.isBuffer(u)){E=Buffer.byteLength(u)}if(g!=null){let A;s=new ReadableStream({async start(){A=g(e)[Symbol.asyncIterator]()},async pull(e){const{value:r,done:n}=await A.next();if(n){queueMicrotask((()=>{e.close();e.byobRequest?.respond(0)}))}else{if(!D(s)){const A=new Uint8Array(r);if(A.byteLength){e.enqueue(A)}}}return e.desiredSize>0},async cancel(e){await A.return()},type:"bytes"})}const C={stream:s,source:u,length:E};return[C,Q]}function safelyExtractBody(e,A=false){if(e instanceof ReadableStream){w(!r.isDisturbed(e),"The body has already been consumed.");w(!e.locked,"The stream is locked.")}return extractBody(e,A)}function cloneBody(e,A){const[s,r]=A.stream.tee();A.stream=s;return{stream:r,length:A.length,source:A.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const A={blob(){return consumeBody(this,(e=>{let A=bodyMimeType(this);if(A===null){A=""}else if(A){A=k(A)}return new p([e],{type:A})}),e)},arrayBuffer(){return consumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return consumeBody(this,Q,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,(e=>{const A=bodyMimeType(this);if(A!==null){switch(A.essence){case"multipart/form-data":{const s=S(e,A);if(s==="failure"){throw new TypeError("Failed to parse body as FormData.")}const r=new C;r[B]=s;return r}case"application/x-www-form-urlencoded":{const A=new URLSearchParams(e.toString());const s=new C;for(const[e,r]of A){s.append(e,r)}return s}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),e)},bytes(){return consumeBody(this,(e=>new Uint8Array(e)),e)}};return A}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,A,s){I.brandCheck(e,s);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[B]);const r=g();const errorSteps=e=>r.reject(e);const successSteps=e=>{try{r.resolve(A(e))}catch(e){errorSteps(e)}};if(e[B].body==null){successSteps(Buffer.allocUnsafe(0));return r.promise}await u(e[B].body,successSteps,errorSteps);return r.promise}function bodyUnusable(e){const A=e[B].body;return A!=null&&(A.stream.locked||r.isDisturbed(A.stream))}function parseJSONFromBytes(e){return JSON.parse(Q(e))}function bodyMimeType(e){const A=e[B].headersList;const s=E(A);if(s==="failure"){return null}return s}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:L,hasFinalizationRegistry:M,bodyUnusable:bodyUnusable}},4495:e=>{const A=["GET","HEAD","POST"];const s=new Set(A);const r=[101,204,205,304];const n=[301,302,303,307,308];const i=new Set(n);const o=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const l=new Set(o);const g=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const u=new Set(g);const E=["follow","manual","error"];const Q=["GET","HEAD","OPTIONS","TRACE"];const C=new Set(Q);const B=["navigate","same-origin","no-cors","cors"];const I=["omit","same-origin","include"];const p=["default","no-store","reload","no-cache","force-cLine truncated /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=A=>A.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=A=>A.replace(/\r?\n|\r/g,"\r\n");const E=[];const Q=new Uint8Array([13,10]);y=0;let C=false;for(const[i,B]of A){if(typeof B==="string"){const A=x.encode(g+`; name="${escape(normalizeLinefeeds(i))}"`+`\r\n\r\n${normalizeLinefeeds(B)}\r\n`);E.push(A);y+=A.byteLength}else{const A=x.encode(`${g}; name="${escape(normalizeLinefeeds(i))}"`+(B.name?`; filename="${escape(B.name)}"`:"")+"\r\n"+`Content-Type: ${B.type||"application/octet-stream"}\r\n\r\n`);E.push(A,B,Q);if(typeof B.size==="number"){y+=A.byteLength+B.size+Q.byteLength}else{C=true}}}const B=x.encode(`--${i}--\r\n`);E.push(B);y+=B.byteLength;if(C){y=null}p=A;f=async function*(){for(const A of E){if(A.stream){yield*A.stream()}else{yield A}}};D=`multipart/form-data; boundary=${i}`}else if(C(A)){p=A;y=A.size;if(A.type){D=A.type}}else if(typeof A[Symbol.asyncIterator]==="function"){if(i){throw new TypeError("keepalive")}if(E.isDisturbed(A)||A.locked){throw new TypeError("Response body object should not be disturbed or locked")}g=A instanceof ReadableStream?A:Q(A)}if(typeof p==="string"||E.isBuffer(p)){y=Buffer.byteLength(p)}if(f!=null){let i;g=new ReadableStream({async start(){i=f(A)[Symbol.asyncIterator]()},async pull(A){const{value:E,done:Q}=await i.next();if(Q){queueMicrotask((()=>{A.close();A.byobRequest?.respond(0)}))}else{if(!M(g)){const i=new Uint8Array(E);if(i.byteLength){A.enqueue(i)}}}return A.desiredSize>0},async cancel(A){await i.return()},type:"bytes"})}const R={stream:g,source:p,length:y};return[R,D]}function safelyExtractBody(A,i=false){if(A instanceof ReadableStream){F(!E.isDisturbed(A),"The body has already been consumed.");F(!A.locked,"The stream is locked.")}return extractBody(A,i)}function cloneBody(A,i){const[g,E]=i.stream.tee();i.stream=g;return{stream:E,length:i.length,source:i.source}}function throwIfAborted(A){if(A.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(A){const i={blob(){return consumeBody(this,(A=>{let i=bodyMimeType(this);if(i===null){i=""}else if(i){i=T(i)}return new S([A],{type:i})}),A)},arrayBuffer(){return consumeBody(this,(A=>new Uint8Array(A).buffer),A)},text(){return consumeBody(this,D,A)},json(){return consumeBody(this,parseJSONFromBytes,A)},formData(){return consumeBody(this,(A=>{const i=bodyMimeType(this);if(i!==null){switch(i.essence){case"multipart/form-data":{const g=v(A,i);if(g==="failure"){throw new TypeError("Failed to parse body as FormData.")}const E=new R;E[b]=g;return E}case"application/x-www-form-urlencoded":{const i=new URLSearchParams(A.toString());const g=new R;for(const[A,E]of i){g.append(A,E)}return g}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),A)},bytes(){return consumeBody(this,(A=>new Uint8Array(A)),A)}};return i}function mixinBody(A){Object.assign(A.prototype,bodyMixinMethods(A))}async function consumeBody(A,i,g){k.brandCheck(A,g);if(bodyUnusable(A)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(A[b]);const E=f();const errorSteps=A=>E.reject(A);const successSteps=A=>{try{E.resolve(i(A))}catch(A){errorSteps(A)}};if(A[b].body==null){successSteps(Buffer.allocUnsafe(0));return E.promise}await p(A[b].body,successSteps,errorSteps);return E.promise}function bodyUnusable(A){const i=A[b].body;return i!=null&&(i.stream.locked||E.isDisturbed(i.stream))}function parseJSONFromBytes(A){return JSON.parse(D(A))}function bodyMimeType(A){const i=A[b].headersList;const g=y(i);if(g==="failure"){return null}return g}A.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:Y,hasFinalizationRegistry:H,bodyUnusable:bodyUnusable}},4495:A=>{const i=["GET","HEAD","POST"];const g=new Set(i);const E=[101,204,205,304];const Q=[301,302,303,307,308];const C=new Set(Q);const B=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const I=new Set(B);const f=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const p=new Set(f);const y=["follow","manual","error"];const D=["GET","HEAD","OPTIONS","TRACE"];const R=new Set(D);const b=["navigate","same-origin","no-cors","cors"];const k=["omit","same-origin","include"];const S=["default","no-store","reload","no-cache","force-cLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */l[o-4]=s[0];l[o-3]=s[1];l[o-2]=s[2];l[o-1]=s[3];l[1]=i;if(i===126){l.writeUInt16BE(n,2)}else if(i===127){l[2]=l[3]=0;l.writeUIntBE(n,4,6)}l[1]|=128;for(let e=0;e<n;++e){l[o+e]=A[e]^s[e&3]}return l}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},9469:(e,A,s)=>{const{createInflateRaw:r,Z_DEFAULT_WINDOWBITS:n}=s(8522);const{isValidClientWindowBits:i}=s(8625);const o=Buffer.from([0,0,255,255]);const l=Symbol("kBuffer");const g=Symbol("kLength");class PerMessageDeflate{#j;#u={};constructor(e){this.#u.serverNoContextTakeover=e.has("server_no_context_takeover");this.#u.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,A,s){if(!this.#j){let e=n;if(this.#u.serverMaxWindowBits){if(!i(this.#u.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#u.serverMaxWindowBits)}this.#j=r({windowBits:e});this.#j[l]=[];this.#j[g]=0;this.#j.on("data",(e=>{this.#j[l].push(e);this.#j[g]+=e.length}));this.#j.on("error",(e=>{this.#j=null;s(e)}))}this.#j.write(e);if(A){this.#j.write(o)}this.#j.flush((()=>{const e=Buffer.concat(this.#j[l],this.#j[g]);this.#j[l].length=0;this.#j[g]=0;s(null,e)}))}}e.exports={PerMessageDeflate:PerMessageDeflate}},1652:(e,A,s)=>{const{Writable:r}=s(7075);const n=s(4589);const{parserStates:i,opcodes:o,states:l,emptyBuffer:g,sentCloseFrameState:u}=s(736);const{kReadyState:E,kSentClose:Q,kResponse:C,kReceivedClose:B}=s(1216);const{channels:I}=s(2414);const{isValidStatusCode:p,isValidOpcode:w,failWebsocketConnection:D,websocketMessageReceived:R,utf8Decode:b,isControlFrame:k,isTextBinaryFrame:S,isContinuationFrame:F}=s(8625);const{WebsocketFrameSend:N}=s(3264);const{closeWebSocketConnection:M}=s(6897);const{PerMessageDeflate:L}=s(9469);class ByteParser extends r{#X=[];#K=0;#$=false;#f=i.INFO;#ee={};#te=[];#Ae;constructor(e,A){super();this.ws=e;this.#Ae=A==null?new Map:A;if(this.#Ae.has("permessage-deflate")){this.#Ae.set("permessage-deflate",new L(A))}}_write(e,A,s){this.#X.push(e);this.#K+=e.length;this.#$=true;this.run(s)}run(e){while(this.#$){if(this.#f===i.INFO){if(this.#K<2){return e()}const A=this.consume(2);const s=(A[0]&128)!==0;const r=A[0]&15;const n=(A[1]&128)===128;const l=!s&&r!==o.CONTINUATION;const g=A[1]&127;const u=A[0]&64;const E=A[0]&32;const Q=A[0]&16;if(!w(r)){D(this.ws,"Invalid opcode received");return e()}if(n){D(this.ws,"Frame cannot be masked");return e()}if(u!==0&&!this.#Ae.has("permessage-deflate")){D(this.ws,"Expected RSV1 to be clear.");return}if(E!==0||Q!==0){D(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(l&&!S(r)){D(this.ws,"Invalid frame type was fragmented.");return}if(S(r)&&this.#te.length>0){D(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&l){D(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((g>125||l)&&k(r)){D(this.ws,"Control frame either too large or fragmented");return}if(F(r)&&this.#te.length===0&&!this.#ee.compressed){D(this.ws,"Unexpected continuation frame");return}if(g<=125){this.#ee.payloadLength=g;this.#f=i.READ_DATA}else if(g===126){this.#f=i.PAYLOADLENGTH_16}else if(g===127){this.#f=i.PAYLOADLENGTH_64}if(S(r)){this.#ee.binaryType=r;this.#ee.compressed=u!==0}this.#ee.opcode=r;this.#ee.masked=n;this.#ee.fin=s;this.#ee.fragmented=l}else if(this.#f===i.PAYLOADLENGTH_16){if(this.#K<2){return e()}const A=this.consume(2);this.#ee.payloadLength=A.readUInt16BE(0);this.#f=i.READ_DATA}else if(this.#f===i.PAYLOADLENGTH_64){if(this.#K<8){return e()}const A=this.consume(8);const s=A.readUInt32BE(0);if(s>2**31-1){D(this.ws,"Received payload length > 2^31 bytes.");return}const r=A.readUInt32BE(4);this.#ee.payloadLength=(s<<8)+r;this.#f=i.READ_DATA}else if(this.#f===i.READ_DATA){if(this.#K<this.#ee.payloadLength){return e()}const A=this.consume(this.#ee.payloadLength);if(k(this.#ee.opcode)){this.#$=this.parseControlFrame(A);this.#f=i.INFO}else{if(!this.#ee.compressed){this.#te.push(A);if(!this.#ee.fragmented&&this.#ee.fin){const e=Buffer.concat(this.#te);R(this.ws,this.#ee.binaryType,e);this.#te.length=0}this.#f=i.INFO}else{this.#Ae.get("permessage-deflate").decompress(A,this.#ee.fin,((A,s)=>{if(A){M(this.ws,1007,A.message,A.message.length);return}this.#te.push(s);if(!this.#ee.fin){this.#f=i.INFO;this.#$=true;this.run(e);return}R(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#$=true;this.#f=i.INFO;this.#te.length=0;this.run(e)}));this.#$=false;break}}}}}consume(e){if(e>this.#K){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return g}if(this.#X[0].length===e){this.#K-=this.#X[0].length;return this.#X.shift()}const A=Buffer.allocUnsafe(e);let s=0;while(s!==e){const r=this.#X[0];const{length:n}=r;if(n+s===e){A.set(this.#X.shift(),s);break}else if(n+s>e){A.set(r.subarray(0,e-s),s);this.#X[0]=r.subarray(e-s);break}else{A.set(this.#X.shift(),s);s+=r.length}}this.#K-=e;return A}parseCloseBody(e){n(e.length!==1);let A;if(e.length>=2){A=e.readUInt16BE(0)}if(A!==undefined&&!p(A)){retuLine truncated /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */I[B-4]=g[0];I[B-3]=g[1];I[B-2]=g[2];I[B-1]=g[3];I[1]=C;if(C===126){I.writeUInt16BE(Q,2)}else if(C===127){I[2]=I[3]=0;I.writeUIntBE(Q,4,6)}I[1]|=128;for(let A=0;A<Q;++A){I[B+A]=i[A]^g[A&3]}return I}}A.exports={WebsocketFrameSend:WebsocketFrameSend}},9469:(A,i,g)=>{const{createInflateRaw:E,Z_DEFAULT_WINDOWBITS:Q}=g(8522);const{isValidClientWindowBits:C}=g(8625);const B=Buffer.from([0,0,255,255]);const I=Symbol("kBuffer");const f=Symbol("kLength");class PerMessageDeflate{#j;#u={};constructor(A){this.#u.serverNoContextTakeover=A.has("server_no_context_takeover");this.#u.serverMaxWindowBits=A.get("server_max_window_bits")}decompress(A,i,g){if(!this.#j){let A=Q;if(this.#u.serverMaxWindowBits){if(!C(this.#u.serverMaxWindowBits)){g(new Error("Invalid server_max_window_bits"));return}A=Number.parseInt(this.#u.serverMaxWindowBits)}this.#j=E({windowBits:A});this.#j[I]=[];this.#j[f]=0;this.#j.on("data",(A=>{this.#j[I].push(A);this.#j[f]+=A.length}));this.#j.on("error",(A=>{this.#j=null;g(A)}))}this.#j.write(A);if(i){this.#j.write(B)}this.#j.flush((()=>{const A=Buffer.concat(this.#j[I],this.#j[f]);this.#j[I].length=0;this.#j[f]=0;g(null,A)}))}}A.exports={PerMessageDeflate:PerMessageDeflate}},1652:(A,i,g)=>{const{Writable:E}=g(7075);const Q=g(4589);const{parserStates:C,opcodes:B,states:I,emptyBuffer:f,sentCloseFrameState:p}=g(736);const{kReadyState:y,kSentClose:D,kResponse:R,kReceivedClose:b}=g(1216);const{channels:k}=g(2414);const{isValidStatusCode:S,isValidOpcode:F,failWebsocketConnection:M,websocketMessageReceived:U,utf8Decode:L,isControlFrame:T,isTextBinaryFrame:v,isContinuationFrame:G}=g(8625);const{WebsocketFrameSend:x}=g(3264);const{closeWebSocketConnection:H}=g(6897);const{PerMessageDeflate:Y}=g(9469);class ByteParser extends E{#X=[];#K=0;#$=false;#f=C.INFO;#ee={};#te=[];#Ae;constructor(A,i){super();this.ws=A;this.#Ae=i==null?new Map:i;if(this.#Ae.has("permessage-deflate")){this.#Ae.set("permessage-deflate",new Y(i))}}_write(A,i,g){this.#X.push(A);this.#K+=A.length;this.#$=true;this.run(g)}run(A){while(this.#$){if(this.#f===C.INFO){if(this.#K<2){return A()}const i=this.consume(2);const g=(i[0]&128)!==0;const E=i[0]&15;const Q=(i[1]&128)===128;const I=!g&&E!==B.CONTINUATION;const f=i[1]&127;const p=i[0]&64;const y=i[0]&32;const D=i[0]&16;if(!F(E)){M(this.ws,"Invalid opcode received");return A()}if(Q){M(this.ws,"Frame cannot be masked");return A()}if(p!==0&&!this.#Ae.has("permessage-deflate")){M(this.ws,"Expected RSV1 to be clear.");return}if(y!==0||D!==0){M(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(I&&!v(E)){M(this.ws,"Invalid frame type was fragmented.");return}if(v(E)&&this.#te.length>0){M(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&I){M(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((f>125||I)&&T(E)){M(this.ws,"Control frame either too large or fragmented");return}if(G(E)&&this.#te.length===0&&!this.#ee.compressed){M(this.ws,"Unexpected continuation frame");return}if(f<=125){this.#ee.payloadLength=f;this.#f=C.READ_DATA}else if(f===126){this.#f=C.PAYLOADLENGTH_16}else if(f===127){this.#f=C.PAYLOADLENGTH_64}if(v(E)){this.#ee.binaryType=E;this.#ee.compressed=p!==0}this.#ee.opcode=E;this.#ee.masked=Q;this.#ee.fin=g;this.#ee.fragmented=I}else if(this.#f===C.PAYLOADLENGTH_16){if(this.#K<2){return A()}const i=this.consume(2);this.#ee.payloadLength=i.readUInt16BE(0);this.#f=C.READ_DATA}else if(this.#f===C.PAYLOADLENGTH_64){if(this.#K<8){return A()}const i=this.consume(8);const g=i.readUInt32BE(0);if(g>2**31-1){M(this.ws,"Received payload length > 2^31 bytes.");return}const E=i.readUInt32BE(4);this.#ee.payloadLength=(g<<8)+E;this.#f=C.READ_DATA}else if(this.#f===C.READ_DATA){if(this.#K<this.#ee.payloadLength){return A()}const i=this.consume(this.#ee.payloadLength);if(T(this.#ee.opcode)){this.#$=this.parseControlFrame(i);this.#f=C.INFO}else{if(!this.#ee.compressed){this.#te.push(i);if(!this.#ee.fragmented&&this.#ee.fin){const A=Buffer.concat(this.#te);U(this.ws,this.#ee.binaryType,A);this.#te.length=0}this.#f=C.INFO}else{this.#Ae.get("permessage-deflate").decompress(i,this.#ee.fin,((i,g)=>{if(i){H(this.ws,1007,i.message,i.message.length);return}this.#te.push(g);if(!this.#ee.fin){this.#f=C.INFO;this.#$=true;this.run(A);return}U(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#$=true;this.#f=C.INFO;this.#te.length=0;this.run(A)}));this.#$=false;break}}}}}consume(A){if(A>this.#K){throw new Error("Called consume() before buffers satiated.")}else if(A===0){return f}if(this.#X[0].length===A){this.#K-=this.#X[0].length;return this.#X.shift()}const i=Buffer.allocUnsafe(A);let g=0;while(g!==A){const E=this.#X[0];const{length:Q}=E;if(Q+g===A){i.set(this.#X.shift(),g);break}else if(Q+g>A){i.set(E.subarray(0,A-g),g);this.#X[0]=E.subarray(A-g);break}else{i.set(this.#X.shift(),g);g+=E.length}}this.#K-=A;return i}parseCloseBody(A){Q(A.length!==1);let i;if(A.length>=2){i=A.readUInt16BE(0)}if(i!==undefined&&!S(i)){retuLine truncated
//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map
Generated Vendored
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"index.js","names":["ANY","Symbol","Comparator","constructor","comp","options","parseOptions","loose","value","trim","split","join","debug","this","parse","semver","operator","version","r","re","t","COMPARATORLOOSE","COMPARATOR","m","match","TypeError","undefined","SemVer","toString","test","er","cmp","intersects","Range","includePrerelease","startsWith","includes","module","exports","__webpack_require__","safeRe","SPACE_CHARACTERS","range","raw","set","formatted","replace","map","parseRange","filter","c","length","first","isNullSet","isAny","i","comps","k","format","memoOpts","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","memoKey","cached","cache","get","hr","HYPHENRANGELOOSE","HYPHENRANGE","hyphenReplace","COMPARATORTRIM","comparatorTrimReplace","TILDETRIM","tildeTrimReplace","CARETTRIM","caretTrimReplace","rangeList","parseComparator","replaceGTE0","rangeMap","Map","comparators","size","has","delete","result","values","some","thisComparators","isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","testSet","LRU","remainingComparators","slice","testComparator","pop","otherComparator","BUILD","replaceCarets","replaceTildes","replaceXRanges","replaceStars","isX","id","toLowerCase","replaceTilde","TILDELOOSE","TILDE","_","M","p","pr","ret","replaceCaret","CARETLOOSE","CARET","z","replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","anyX","STAR","GTE0PRE","GTE0","incPr","$0","from","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","prerelease","allowed","major","minor","patch","MAX_LENGTH","MAX_SAFE_INTEGER","compareIdentifiers","LOOSE","FULL","num","build","compare","other","compareMain","comparePre","a","b","compareBuild","inc","release","identifier","identifierBase","Error","PRERELEASELOOSE","PRERELEASE","base","Number","push","isNaN","clean","s","eq","neq","gt","gte","lt","lte","op","coerce","String","rtl","COERCEFULL","COERCE","coerceRtlRegex","COERCERTLFULL","COERCERTL","next","exec","index","lastIndex","versionA","versionB","compareLoose","diff","version1","version2","v1","v2","comparison","v1Higher","highVersion","lowVersion","highHasPre","lowHasPre","prefix","throwErrors","parsed","rcompare","rsort","list","sort","satisfies","valid","v","internalRe","constants","identifiers","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","simplifyRange","subset","src","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","process","env","NODE_DEBUG","args","console","error","numeric","anum","bnum","LRUCache","max","key","deleted","firstKey","keys","looseOption","Object","freeze","emptyOpts","safeSrc","R","LETTERDASHNUMBER","safeRegexReplacements","makeSafeRegex","token","createToken","name","isGlobal","safe","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","FULLPLAIN","MAINVERSIONLOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","LONETILDE","LONECARET","r1","r2","versions","maxSV","rangeObj","forEach","min","minSV","minver","setMin","comparator","compver","hilo","gtfn","ltefn","ltfn","ecomp","high","low","prev","included","ranges","simplified","original","sub","dom","sawNonNull","OUTER","simpleSub","simpleDom","isSub","simpleSubset","minimumVersionWithPreRelease","minimumVersion","eqSet","Set","higherGT","lowerLT","add","gtltComp","higher","lower","hasDomLT","hasDomGT","needDomLTPre","needDomGTPre","net","tls","http","https","events","assert","util","httpOverHttp","httpsOverHttp","httpOverHttps","httpsOverHttps","agent","TunnelingAgent","request","createSocket","createSecureSocket","defaultPort","self","proxyOptions","proxy","maxSockets","Agent","defaultMaxSockets","requests","sockets","on","onFree","socket","host","port","localAddress","toOptions","len","pending","splice","onSocket","destroy","removeSocket","inherits","EventEmitter","prototype","addRequest","req","mergeOptions","onCloseOrRemove","emit","err","removeListener","cb","placeholder","connectOptions","method","path","headers","proxyAuth","Buffer","connectReq","useChunkedEncodingByDefault","once","onResponse","onUpgrade","onConnect","onError","end","res","upgrade","head","nextTick","removeAllListeners","statusCode","code","indexOf","cause","message","stack","pos","shift","call","hostHeader","getHeader","tlsOptions","servername","secureSocket","connect","target","arguments","overrides","j","keyLen","Array","unshift","apply","__webpack_unused_export__","Client","Dispatcher","Pool","BalancedPool","ProxyAgent","EnvHttpProxyAgent","RetryAgent","errors","InvalidArgumentError","api","buildConnector","MockClient","MockAgent","MockPool","mockErrors","RetryHandler","getGlobalDispatcher","setGlobalDispatcher","DecoratorHandler","RedirectHandler","createRedirectInterceptor","assign","kT","redirect","retry","dump","dns","parseHeaders",Line truncated {"version":3,"file":"index.js","names":["ANY","Symbol","Comparator","constructor","comp","options","parseOptions","loose","value","trim","split","join","debug","this","parse","semver","operator","version","r","re","t","COMPARATORLOOSE","COMPARATOR","m","match","TypeError","undefined","SemVer","toString","test","er","cmp","intersects","Range","includePrerelease","startsWith","includes","module","exports","__webpack_require__","safeRe","SPACE_CHARACTERS","range","raw","set","formatted","replace","map","parseRange","filter","c","length","first","isNullSet","isAny","i","comps","k","format","memoOpts","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","memoKey","cached","cache","get","hr","HYPHENRANGELOOSE","HYPHENRANGE","hyphenReplace","COMPARATORTRIM","comparatorTrimReplace","TILDETRIM","tildeTrimReplace","CARETTRIM","caretTrimReplace","rangeList","parseComparator","replaceGTE0","rangeMap","Map","comparators","size","has","delete","result","values","some","thisComparators","isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","testSet","LRU","remainingComparators","slice","testComparator","pop","otherComparator","BUILD","replaceCarets","replaceTildes","replaceXRanges","replaceStars","isX","id","toLowerCase","replaceTilde","TILDELOOSE","TILDE","_","M","p","pr","ret","replaceCaret","CARETLOOSE","CARET","z","replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","anyX","STAR","GTE0PRE","GTE0","incPr","$0","from","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","prerelease","allowed","major","minor","patch","MAX_LENGTH","MAX_SAFE_INTEGER","compareIdentifiers","LOOSE","FULL","num","build","compare","other","compareMain","comparePre","a","b","compareBuild","inc","release","identifier","identifierBase","Error","PRERELEASELOOSE","PRERELEASE","base","Number","push","isNaN","clean","s","eq","neq","gt","gte","lt","lte","op","coerce","String","rtl","COERCEFULL","COERCE","coerceRtlRegex","COERCERTLFULL","COERCERTL","next","exec","index","lastIndex","versionA","versionB","compareLoose","diff","version1","version2","v1","v2","comparison","v1Higher","highVersion","lowVersion","highHasPre","lowHasPre","prefix","throwErrors","parsed","rcompare","rsort","list","sort","satisfies","valid","v","internalRe","constants","identifiers","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","simplifyRange","subset","src","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","process","env","NODE_DEBUG","args","console","error","numeric","anum","bnum","LRUCache","max","key","deleted","firstKey","keys","looseOption","Object","freeze","emptyOpts","safeSrc","R","LETTERDASHNUMBER","safeRegexReplacements","makeSafeRegex","token","createToken","name","isGlobal","safe","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","FULLPLAIN","MAINVERSIONLOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","LONETILDE","LONECARET","r1","r2","versions","maxSV","rangeObj","forEach","min","minSV","minver","setMin","comparator","compver","hilo","gtfn","ltefn","ltfn","ecomp","high","low","prev","included","ranges","simplified","original","sub","dom","sawNonNull","OUTER","simpleSub","simpleDom","isSub","simpleSubset","minimumVersionWithPreRelease","minimumVersion","eqSet","Set","higherGT","lowerLT","add","gtltComp","higher","lower","hasDomLT","hasDomGT","needDomLTPre","needDomGTPre","net","tls","http","https","events","assert","util","httpOverHttp","httpsOverHttp","httpOverHttps","httpsOverHttps","agent","TunnelingAgent","request","createSocket","createSecureSocket","defaultPort","self","proxyOptions","proxy","maxSockets","Agent","defaultMaxSockets","requests","sockets","on","onFree","socket","host","port","localAddress","toOptions","len","pending","splice","onSocket","destroy","removeSocket","inherits","EventEmitter","prototype","addRequest","req","mergeOptions","onCloseOrRemove","emit","err","removeListener","cb","placeholder","connectOptions","method","path","headers","proxyAuth","Buffer","connectReq","useChunkedEncodingByDefault","once","onResponse","onUpgrade","onConnect","onError","end","res","upgrade","head","nextTick","removeAllListeners","statusCode","code","indexOf","cause","message","stack","pos","shift","call","hostHeader","getHeader","tlsOptions","servername","secureSocket","connect","target","arguments","overrides","j","keyLen","Array","unshift","apply","__webpack_unused_export__","Client","Dispatcher","Pool","BalancedPool","ProxyAgent","EnvHttpProxyAgent","RetryAgent","errors","InvalidArgumentError","api","buildConnector","MockClient","MockAgent","MockPool","mockErrors","RetryHandler","getGlobalDispatcher","setGlobalDispatcher","DecoratorHandler","RedirectHandler","createRedirectInterceptor","assign","kT","redirect","retry","dump","dns","parseHeaders",Line truncated
Generated Vendored
-290
View File
@@ -71,60 +71,6 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
balanced-match
MIT
(MIT)
Original code Copyright Julian Gruber <julian@juliangruber.com>
Port to TypeScript Copyright Isaac Z. Schlueter <i@izs.me>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
brace-expansion
MIT
MIT License
Copyright Julian Gruber <julian@juliangruber.com>
TypeScript port Copyright Isaac Z. Schlueter <i@izs.me>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
glob glob
BlueOak-1.0.0 BlueOak-1.0.0
All packages under `src/` are licensed according to the terms in All packages under `src/` are licensed according to the terms in
@@ -192,242 +138,6 @@ will be liable to anyone for any damages related to this
software or this license, under any kind of legal claim.*** software or this license, under any kind of legal claim.***
lru-cache
BlueOak-1.0.0
# Blue Oak Model License
Version 1.0.0
## Purpose
This license gives everyone as much permission to work with
this software as possible, while protecting contributors
from liability.
## Acceptance
In order to receive this license, you must agree to its
rules. The rules of this license are both obligations
under that agreement and conditions to your license.
You must not do anything with this software that triggers
a rule that you cannot or will not follow.
## Copyright
Each contributor licenses you to do everything with this
software that would otherwise infringe that contributor's
copyright in it.
## Notices
You must ensure that everyone who gets a copy of
any part of this software from you, with or without
changes, also gets the text of this license or a link to
<https://blueoakcouncil.org/license/1.0.0>.
## Excuse
If anyone notifies you in writing that you have not
complied with [Notices](#notices), you can keep your
license by taking all practical steps to comply within 30
days after the notice. If you do not do so, your license
ends immediately.
## Patent
Each contributor licenses you to do everything with this
software that would otherwise infringe any patent claims
they can license or become able to license.
## Reliability
No contributor can revoke this license.
## No Liability
***As far as the law allows, this software comes as is,
without any warranty or condition, and no contributor
will be liable to anyone for any damages related to this
software or this license, under any kind of legal claim.***
minimatch
BlueOak-1.0.0
# Blue Oak Model License
Version 1.0.0
## Purpose
This license gives everyone as much permission to work with
this software as possible, while protecting contributors
from liability.
## Acceptance
In order to receive this license, you must agree to its
rules. The rules of this license are both obligations
under that agreement and conditions to your license.
You must not do anything with this software that triggers
a rule that you cannot or will not follow.
## Copyright
Each contributor licenses you to do everything with this
software that would otherwise infringe that contributor's
copyright in it.
## Notices
You must ensure that everyone who gets a copy of
any part of this software from you, with or without
changes, also gets the text of this license or a link to
<https://blueoakcouncil.org/license/1.0.0>.
## Excuse
If anyone notifies you in writing that you have not
complied with [Notices](#notices), you can keep your
license by taking all practical steps to comply within 30
days after the notice. If you do not do so, your license
ends immediately.
## Patent
Each contributor licenses you to do everything with this
software that would otherwise infringe any patent claims
they can license or become able to license.
## Reliability
No contributor can revoke this license.
## No Liability
**_As far as the law allows, this software comes as is,
without any warranty or condition, and no contributor
will be liable to anyone for any damages related to this
software or this license, under any kind of legal claim._**
minipass
BlueOak-1.0.0
# Blue Oak Model License
Version 1.0.0
## Purpose
This license gives everyone as much permission to work with
this software as possible, while protecting contributors
from liability.
## Acceptance
In order to receive this license, you must agree to its
rules. The rules of this license are both obligations
under that agreement and conditions to your license.
You must not do anything with this software that triggers
a rule that you cannot or will not follow.
## Copyright
Each contributor licenses you to do everything with this
software that would otherwise infringe that contributor's
copyright in it.
## Notices
You must ensure that everyone who gets a copy of
any part of this software from you, with or without
changes, also gets the text of this license or a link to
<https://blueoakcouncil.org/license/1.0.0>.
## Excuse
If anyone notifies you in writing that you have not
complied with [Notices](#notices), you can keep your
license by taking all practical steps to comply within 30
days after the notice. If you do not do so, your license
ends immediately.
## Patent
Each contributor licenses you to do everything with this
software that would otherwise infringe any patent claims
they can license or become able to license.
## Reliability
No contributor can revoke this license.
## No Liability
***As far as the law allows, this software comes as is,
without any warranty or condition, and no contributor
will be liable to anyone for any damages related to this
software or this license, under any kind of legal claim.***
path-scurry
BlueOak-1.0.0
# Blue Oak Model License
Version 1.0.0
## Purpose
This license gives everyone as much permission to work with
this software as possible, while protecting contributors
from liability.
## Acceptance
In order to receive this license, you must agree to its
rules. The rules of this license are both obligations
under that agreement and conditions to your license.
You must not do anything with this software that triggers
a rule that you cannot or will not follow.
## Copyright
Each contributor licenses you to do everything with this
software that would otherwise infringe that contributor's
copyright in it.
## Notices
You must ensure that everyone who gets a copy of
any part of this software from you, with or without
changes, also gets the text of this license or a link to
<https://blueoakcouncil.org/license/1.0.0>.
## Excuse
If anyone notifies you in writing that you have not
complied with [Notices](#notices), you can keep your
license by taking all practical steps to comply within 30
days after the notice. If you do not do so, your license
ends immediately.
## Patent
Each contributor licenses you to do everything with this
software that would otherwise infringe any patent claims
they can license or become able to license.
## Reliability
No contributor can revoke this license.
## No Liability
***As far as the law allows, this software comes as is,
without any warranty or condition, and no contributor
will be liable to anyone for any damages related to this
software or this license, under any kind of legal claim.***
semver semver
ISC ISC
The ISC License The ISC License