chore: update generated content

This commit is contained in:
CrazyMax committed 2026-03-02 23:19:12 +01:00
1 parent 99b83110e8
commit c4146ab44f
2 files changed
+4 -4

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={5207:function(e,A,s){var r=this&&this.__createBinding||(Object.create?function(e,A,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return A[s]}})}:function(e,A,s,r){if(r===undefined)r=s;e[r]=A[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,A){Object.defineProperty(e,"default",{enumerable:true,value:A})}:function(e,A){e["default"]=A});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var A={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(A,e,s);n(A,e);return A};var o=this&&this.__awaiter||function(e,A,s,r){function adopt(e){return e instanceof s?e:new s((function(A){A(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,A||[])).next())}))};var l;Object.defineProperty(A,"__esModule",{value:true});A.getCmdPath=A.tryGetExecutablePath=A.isRooted=A.isDirectory=A.exists=A.IS_WINDOWS=A.unlink=A.symlink=A.stat=A.rmdir=A.rename=A.readlink=A.readdir=A.mkdir=A.lstat=A.copyFile=A.chmod=void 0;const u=i(s(9896));const g=i(s(6928));l=u.promises,A.chmod=l.chmod,A.copyFile=l.copyFile,A.lstat=l.lstat,A.mkdir=l.mkdir,A.readdir=l.readdir,A.readlink=l.readlink,A.rename=l.rename,A.rmdir=l.rmdir,A.stat=l.stat,A.symlink=l.symlink,A.unlink=l.unlink;A.IS_WINDOWS=process.platform==="win32";function exists(e){return o(this,void 0,void 0,(function*(){try{yield A.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}A.exists=exists;function isDirectory(e,s=false){return o(this,void 0,void 0,(function*(){const r=s?yield A.stat(e):yield A.lstat(e);return r.isDirectory()}))}A.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(A.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}A.isRooted=isRooted;function tryGetExecutablePath(e,s){return o(this,void 0,void 0,(function*(){let r=undefined;try{r=yield A.stat(e)}catch(A){if(A.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${A}`)}}if(r&&r.isFile()){if(A.IS_WINDOWS){const A=g.extname(e).toUpperCase();if(s.some((e=>e.toUpperCase()===A))){return e}}else{if(isUnixExecutable(r)){return e}}}const n=e;for(const i of s){e=n+i;r=undefined;try{r=yield A.stat(e)}catch(A){if(A.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${A}`)}}if(r&&r.isFile()){if(A.IS_WINDOWS){try{const s=g.dirname(e);const r=g.basename(e).toUpperCase();for(const n of yield A.readdir(s)){if(r===n.toUpperCase()){e=g.join(s,n);break}}}catch(A){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${A}`)}return e}else{if(isUnixExecutable(r)){return e}}}}return""}))}A.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(A.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}A.getCmdPath=getCmdPath},4994:function(e,A,s){var r=this&&this.__createBinding||(Object.create?function(e,A,s,r){if(r===undefined)r=s;Object.defineProperty(e,r,{enumerable:true,get:function(){return A[s]}})}:function(e,A,s,r){if(r===undefined)r=s;e[r]=A[s]});var n=this&&this.__setModuleDefault||(Object.create?function(e,A){Object.defineProperty(e,"default",{enumerable:true,value:A})}:function(e,A){e["default"]=A});var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var A={};if(e!=null)for(var s in e)if(s!=="default"&&Object.hasOwnProperty.call(e,s))r(A,e,s);n(A,e);return A};var o=this&&this.__awaiter||function(e,A,s,r){function adopt(e){return e instanceof s?e:new s((function(A){A(e)}))}return new(s||(s=Promise))((function(s,n){function fulfilled(e){try{step(r.next(e))}catch(e){n(e)}}function rejected(e){try{step(r["throw"](e))}catch(e){n(e)}}function step(e){e.done?s(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,A||[])).next())}))};Object.defineProperty(A,"__esModule",{value:true});A.findInPath=A.which=A.mkdirP=A.rmRF=A.mv=A.cp=void 0;const l=s(2613);const u=i(s(5317));const g=i(s(6928));const E=s(9023);const Q=i(s(5207));const C=E.promisify(u.exec);const B=E.promisify(u.execFile);function cp(e,A,s={}){return o(this,void 0,void 0,(function*(){const{force:r,recursive:n,copySourceDirectory:i}=readCopyOptions(s);const o=(yield Q.exists(A))?yield Q.stat(A):null;if(o&&o.isFile()&&!r){return}const l=o&&o.isDirectory()&&i?g.join(A,g.basename(e)):A;if(!(yield Q.exisLine 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}g=e;u=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)){g=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 g==="string"||r.isBuffer(g)){E=Buffer.byteLength(g)}if(u!=null){let A;s=new ReadableStream({async start(){A=u(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(!R(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:g,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=u();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 g(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:T,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 u=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const g=new Set(u);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
/*! 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 u=Symbol("kLength");class PerMessageDeflate{#Z;#g={};constructor(e){this.#g.serverNoContextTakeover=e.has("server_no_context_takeover");this.#g.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,A,s){if(!this.#Z){let e=n;if(this.#g.serverMaxWindowBits){if(!i(this.#g.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#g.serverMaxWindowBits)}this.#Z=r({windowBits:e});this.#Z[l]=[];this.#Z[u]=0;this.#Z.on("data",(e=>{this.#Z[l].push(e);this.#Z[u]+=e.length}));this.#Z.on("error",(e=>{this.#Z=null;s(e)}))}this.#Z.write(e);if(A){this.#Z.write(o)}this.#Z.flush((()=>{const e=Buffer.concat(this.#Z[l],this.#Z[u]);this.#Z[l].length=0;this.#Z[u]=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:u,sentCloseFrameState:g}=s(736);const{kReadyState:E,kSentClose:Q,kResponse:C,kReceivedClose:B}=s(1216);const{channels:I}=s(2414);const{isValidStatusCode:p,isValidOpcode:w,failWebsocketConnection:R,websocketMessageReceived:b,utf8Decode:D,isControlFrame:k,isTextBinaryFrame:S,isContinuationFrame:F}=s(8625);const{WebsocketFrameSend:N}=s(3264);const{closeWebSocketConnection:M}=s(6897);const{PerMessageDeflate:T}=s(9469);class ByteParser extends r{#X=[];#K=0;#$=false;#I=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 T(A))}}_write(e,A,s){this.#X.push(e);this.#K+=e.length;this.#$=true;this.run(s)}run(e){while(this.#$){if(this.#I===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 u=A[1]&127;const g=A[0]&64;const E=A[0]&32;const Q=A[0]&16;if(!w(r)){R(this.ws,"Invalid opcode received");return e()}if(n){R(this.ws,"Frame cannot be masked");return e()}if(g!==0&&!this.#Ae.has("permessage-deflate")){R(this.ws,"Expected RSV1 to be clear.");return}if(E!==0||Q!==0){R(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(l&&!S(r)){R(this.ws,"Invalid frame type was fragmented.");return}if(S(r)&&this.#te.length>0){R(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&l){R(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((u>125||l)&&k(r)){R(this.ws,"Control frame either too large or fragmented");return}if(F(r)&&this.#te.length===0&&!this.#ee.compressed){R(this.ws,"Unexpected continuation frame");return}if(u<=125){this.#ee.payloadLength=u;this.#I=i.READ_DATA}else if(u===126){this.#I=i.PAYLOADLENGTH_16}else if(u===127){this.#I=i.PAYLOADLENGTH_64}if(S(r)){this.#ee.binaryType=r;this.#ee.compressed=g!==0}this.#ee.opcode=r;this.#ee.masked=n;this.#ee.fin=s;this.#ee.fragmented=l}else if(this.#I===i.PAYLOADLENGTH_16){if(this.#K<2){return e()}const A=this.consume(2);this.#ee.payloadLength=A.readUInt16BE(0);this.#I=i.READ_DATA}else if(this.#I===i.PAYLOADLENGTH_64){if(this.#K<8){return e()}const A=this.consume(8);const s=A.readUInt32BE(0);if(s>2**31-1){R(this.ws,"Received payload length > 2^31 bytes.");return}const r=A.readUInt32BE(4);this.#ee.payloadLength=(s<<8)+r;this.#I=i.READ_DATA}else if(this.#I===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.#I=i.INFO}else{if(!this.#ee.compressed){this.#te.push(A);if(!this.#ee.fragmented&&this.#ee.fin){const e=Buffer.concat(this.#te);b(this.ws,this.#ee.binaryType,e);this.#te.length=0}this.#I=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.#I=i.INFO;this.#$=true;this.run(e);return}b(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#$=true;this.#I=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 u}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
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
/*! 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
/*! 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
//# sourceMappingURL=index.js.map
Generated Vendored
+1 -1
View File
@@ -1 +1 @@
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","defineProperty","enumerable","get","__setModuleDefault","v","value","__importStar","mod","__esModule","result","hasOwnProperty","call","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","done","then","apply","_a","exports","getCmdPath","tryGetExecutablePath","isRooted","isDirectory","exists","IS_WINDOWS","unlink","symlink","stat","rmdir","rename","readlink","readdir","mkdir","lstat","copyFile","chmod","fs","__webpack_require__","path","promises","process","platform","fsPath","err","code","useStat","stats","p","normalizeSeparators","Error","startsWith","test","filePath","extensions","console","log","isFile","upperExt","extname","toUpperCase","some","validExt","isUnixExecutable","originalFilePath","extension","directory","dirname","upperName","basename","actualName","join","replace","mode","gid","getgid","uid","getuid","env","findInPath","which","mkdirP","rmRF","mv","cp","assert_1","childProcess","util_1","ioUtil","exec","promisify","execFile","source","dest","options","force","recursive","copySourceDirectory","readCopyOptions","destStat","newDest","sourceStat","cpDirRecursive","relative","destExists","inputPath","cmdPath","isDir","ok","tool","check","matches","length","split","delimiter","push","includes","sep","directories","PATH","Boolean","sourceDir","destDir","currentDepth","files","fileName","srcFile","destFile","srcFileStat","isSymbolicLink","symlinkFull","desc","getOwnPropertyDescriptor","writable","configurable","prototype","_readLinuxVersionFile","_getOsVersion","_findMatch","semver","core_1","os","versionSpec","stable","candidates","archFilter","platFilter","match","file","candidate","version","debug","satisfies","find","item","arch","chk","platform_version","osVersion","module","assign","plat","execSync","toString","lsbContents","lines","line","parts","trim","lsbReleaseFile","osReleaseFile","contents","existsSync","readFileSync","RetryHelper","core","constructor","maxAttempts","minSeconds","maxSeconds","Math","floor","execute","action","isRetryable","attempt","info","message","seconds","getSleepAmount","sleep","random","setTimeout","evaluateVersions","isExplicitVersion","findFromManifest","getManifestFromRepo","findAllVersions","cacheFile","cacheDir","extractZip","extractXar","extractTar","extract7z","downloadTool","HTTPError","io","crypto","mm","httpm","stream","util","exec_1","retry_helper_1","httpStatusCode","super","setPrototypeOf","IS_MAC","userAgent","url","auth","headers","_getTempDirectory","randomUUID","_getGlobal","retryHelper","downloadToolAttempt","http","HttpClient","allowRetries","authorization","response","statusCode","statusMessage","pipeline","responseMessageFactory","readStream","succeeded","createWriteStream","_7zPath","_createExtractFolder","originalCwd","cwd","chdir","logLevel","isDebug","args","silent","escapedScript","__dirname","escapedFile","escapedTarget","command","powershellPath","flags","versionOutput","ignoreReturnCode","listeners","stdout","data","stderr","isGnuTar","Array","destArg","fileArg","xarPath","_unique","extractZipWin","extractZipNix","escapedDest","pwshPath","pwshCommand","powershellCommand","unzipPath","unshift","clean","statSync","destPath","_createToolPath","itemName","readdirSync","s","_completeToolPath","sourceFile","targetFile","destFolder","toolName","localVersions","toolPath","cachePath","_getCacheDirectory","versions","children","child","fullPath","owner","repo","branch","releases","treeUrl","getJson","manifestUrl","tree","versionsRaw","readBody","JSON","parse","manifest","folderPath","markerPath","writeFileSync","c","valid","sort","a","b","gt","i","potential","satisfied","cacheDirectory","tempDirectory","key","defaultValue","global","values","from","Set","issue","issueCommand","utils_1","properties","cmd","Command","write","EOL","name","CMD_STRING","cmdStr","keys","first","val","escapeProperty","escapeData","toCommandValue","toPlatformPath","toWin32Path","toPosixPath","markdownSummary","summary","getIDToken","getState","saveState","group","endGroup","startGroup","notice","warning","error","setFailed","setCommandEcho","setOutput","getBooleanInput","getMultilineInput","getInput","addPath","setSecret","exportVariable","ExitCode","command_1","file_command_1","oidc_utils_1","convertedVal","issueFileCommand","prepareKeyValueMessage","secret","required","trimWhitespace","inputs","filter","x","map","input","trueValue","falseValue","TypeError","enabled","exitCode","Failure","toCommandProperties","fn","aud","OidcClient","summary_1","summary_2","path_utils_1","appendFileSync","encoding","convertedValue","http_client_1","auth_1","createHttpClient","allowRetry","maxRetry","requestOptions","maxRetries","BearerCredentialHandler","getRequestToken","token","getIDTokenUrl","runtimeUrl","getCall","id_token_url","httpclient","res","catch","id_token","audience","encodedAudience"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