mirror of
https://github.com/renovatebot/github-action.git
synced 2026-12-05 03:42:51 +00:00
chore(release): 41.0.10 [skip ci]
This commit is contained in:
1 parent
90af71284c
commit
3f10d7a25c
3 files changed
+28
-28
No files matched your search
Vendored
+23
-23
@@ -1,16 +1,16 @@
|
||||
var Tl=Object.create;var rQ=Object.defineProperty;var vl=Object.getOwnPropertyDescriptor;var Hl=Object.getOwnPropertyNames;var Vl=Object.getPrototypeOf,ql=Object.prototype.hasOwnProperty;var I=(A=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(A,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):A)(function(A){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+A+'" is not supported')});var Ol=(A,e)=>()=>(A&&(e=A(A=0)),e);var l=(A,e)=>()=>(e||A((e={exports:{}}).exports,e),e.exports);var Wl=(A,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Hl(e))!ql.call(A,s)&&s!==t&&rQ(A,s,{get:()=>e[s],enumerable:!(r=vl(e,s))||r.enumerable});return A};var Ds=(A,e,t)=>(t=A!=null?Tl(Vl(A)):{},Wl(e||!A||!A.__esModule?rQ(t,"default",{value:A,enumerable:!0}):t,A));import{createRequire as Pl}from"node:module";import _l from"node:path";import Zl from"node:url";var a=Ol(()=>{"use strict";globalThis.require=Pl(import.meta.url);globalThis.__filename=Zl.fileURLToPath(import.meta.url);globalThis.__dirname=_l.dirname(__filename)});var ps=l(xt=>{"use strict";a();Object.defineProperty(xt,"__esModule",{value:!0});xt.toCommandProperties=xt.toCommandValue=void 0;function Xl(A){return A==null?"":typeof A=="string"||A instanceof String?A:JSON.stringify(A)}xt.toCommandValue=Xl;function Kl(A){return Object.keys(A).length?{title:A.title,file:A.file,line:A.startLine,endLine:A.endLine,col:A.startColumn,endColumn:A.endColumn}:{}}xt.toCommandProperties=Kl});var oQ=l(ne=>{"use strict";a();var jl=ne&&ne.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),zl=ne&&ne.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),$l=ne&&ne.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&jl(e,A,t);return zl(e,A),e};Object.defineProperty(ne,"__esModule",{value:!0});ne.issue=ne.issueCommand=void 0;var Au=$l(I("os")),iQ=ps();function nQ(A,e,t){let r=new mn(A,e,t);process.stdout.write(r.toString()+Au.EOL)}ne.issueCommand=nQ;function eu(A,e=""){nQ(A,{},e)}ne.issue=eu;var sQ="::",mn=class{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e=sQ+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let s=this.properties[r];s&&(t?t=!1:e+=",",e+=`${r}=${ru(s)}`)}}return e+=`${sQ}${tu(this.message)}`,e}};function tu(A){return(0,iQ.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function ru(A){return(0,iQ.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var QQ=l(oe=>{"use strict";a();var su=oe&&oe.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),iu=oe&&oe.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),Sn=oe&&oe.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&su(e,A,t);return iu(e,A),e};Object.defineProperty(oe,"__esModule",{value:!0});oe.prepareKeyValueMessage=oe.issueFileCommand=void 0;var nu=Sn(I("crypto")),gQ=Sn(I("fs")),bn=Sn(I("os")),EQ=ps();function ou(A,e){let t=process.env[`GITHUB_${A}`];if(!t)throw new Error(`Unable to find environment variable for file command ${A}`);if(!gQ.existsSync(t))throw new Error(`Missing file at path: ${t}`);gQ.appendFileSync(t,`${(0,EQ.toCommandValue)(e)}${bn.EOL}`,{encoding:"utf8"})}oe.issueFileCommand=ou;function gu(A,e){let t=`ghadelimiter_${nu.randomUUID()}`,r=(0,EQ.toCommandValue)(e);if(A.includes(t))throw new Error(`Unexpected input: name should not contain the delimiter "${t}"`);if(r.includes(t))throw new Error(`Unexpected input: value should not contain the delimiter "${t}"`);return`${A}<<${t}${bn.EOL}${r}${bn.EOL}${t}`}oe.prepareKeyValueMessage=gu});var BQ=l(Jt=>{"use strict";a();Object.defineProperty(Jt,"__esModule",{value:!0});Jt.checkBypass=Jt.getProxyUrl=void 0;function Eu(A){let e=A.protocol==="https:";if(aQ(A))return;let t=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(t)try{return new Rs(t)}catch{if(!t.startsWith("http://")&&!t.startsWith("https://"))return new Rs(`http://${t}`)}else return}Jt.getPLine truncated
|
||||
`,B.message,B.stack);var C=new Error("tunneling socket could not be established, cause="+B.message);C.code="ECONNRESET",e.request.emit("error",C),r.removeSocket(s)}};Te.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}};function cQ(A,e){var t=this;Te.prototype.createSocket.call(t,A,function(r){var s=A.request.getHeader("host"),i=Ln({},t.options,{socket:r,servername:s?s.replace(/:.*$/,""):A.host}),n=au.connect(0,i);t.sockets[t.sockets.indexOf(r)]=n,e(n)})}function IQ(A,e,t){return typeof A=="string"?{host:A,port:e,localAddress:t}:A}function Ln(A){for(var e=1,t=arguments.length;e<t;++e){var r=arguments[e];if(typeof r=="object")for(var s=Object.keys(r),i=0,n=s.length;i<n;++i){var o=s[i];r[o]!==void 0&&(A[o]=r[o])}}return A}var At;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?At=function(){var A=Array.prototype.slice.call(arguments);typeof A[0]=="string"?A[0]="TUNNEL: "+A[0]:A.unshift("TUNNEL:"),console.error.apply(console,A)}:At=function(){};Gt.debug=At});var uQ=l((ib,lQ)=>{"use strict";a();lQ.exports=hQ()});var X=l((ob,dQ)=>{"use strict";a();dQ.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var _=l((Eb,fQ)=>{"use strict";a();var oA=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}},Mn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},Yn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},xn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},Jn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},Gn=class A extends oA{constructor(e,t,r,s){super(e),Error.captureStackTrace(this,A),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=t,this.statusCode=t,this.headers=r}},Tn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},vn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},Hn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),t
Line truncated
|
||||
var vl=Object.create;var sQ=Object.defineProperty;var Hl=Object.getOwnPropertyDescriptor;var Vl=Object.getOwnPropertyNames;var ql=Object.getPrototypeOf,Ol=Object.prototype.hasOwnProperty;var I=(A=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(A,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):A)(function(A){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+A+'" is not supported')});var Wl=(A,e)=>()=>(A&&(e=A(A=0)),e);var l=(A,e)=>()=>(e||A((e={exports:{}}).exports,e),e.exports);var Pl=(A,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Vl(e))!Ol.call(A,s)&&s!==t&&sQ(A,s,{get:()=>e[s],enumerable:!(r=Hl(e,s))||r.enumerable});return A};var Ds=(A,e,t)=>(t=A!=null?vl(ql(A)):{},Pl(e||!A||!A.__esModule?sQ(t,"default",{value:A,enumerable:!0}):t,A));import{createRequire as _l}from"node:module";import Zl from"node:path";import Xl from"node:url";var a=Wl(()=>{"use strict";globalThis.require=_l(import.meta.url);globalThis.__filename=Xl.fileURLToPath(import.meta.url);globalThis.__dirname=Zl.dirname(__filename)});var ps=l(xt=>{"use strict";a();Object.defineProperty(xt,"__esModule",{value:!0});xt.toCommandProperties=xt.toCommandValue=void 0;function Kl(A){return A==null?"":typeof A=="string"||A instanceof String?A:JSON.stringify(A)}xt.toCommandValue=Kl;function jl(A){return Object.keys(A).length?{title:A.title,file:A.file,line:A.startLine,endLine:A.endLine,col:A.startColumn,endColumn:A.endColumn}:{}}xt.toCommandProperties=jl});var gQ=l(ne=>{"use strict";a();var zl=ne&&ne.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),$l=ne&&ne.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),Au=ne&&ne.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&zl(e,A,t);return $l(e,A),e};Object.defineProperty(ne,"__esModule",{value:!0});ne.issue=ne.issueCommand=void 0;var eu=Au(I("os")),nQ=ps();function oQ(A,e,t){let r=new mn(A,e,t);process.stdout.write(r.toString()+eu.EOL)}ne.issueCommand=oQ;function tu(A,e=""){oQ(A,{},e)}ne.issue=tu;var iQ="::",mn=class{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e=iQ+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let s=this.properties[r];s&&(t?t=!1:e+=",",e+=`${r}=${su(s)}`)}}return e+=`${iQ}${ru(this.message)}`,e}};function ru(A){return(0,nQ.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function su(A){return(0,nQ.toCommandValue)(A).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var aQ=l(oe=>{"use strict";a();var iu=oe&&oe.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),nu=oe&&oe.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),Sn=oe&&oe.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&iu(e,A,t);return nu(e,A),e};Object.defineProperty(oe,"__esModule",{value:!0});oe.prepareKeyValueMessage=oe.issueFileCommand=void 0;var ou=Sn(I("crypto")),EQ=Sn(I("fs")),bn=Sn(I("os")),QQ=ps();function gu(A,e){let t=process.env[`GITHUB_${A}`];if(!t)throw new Error(`Unable to find environment variable for file command ${A}`);if(!EQ.existsSync(t))throw new Error(`Missing file at path: ${t}`);EQ.appendFileSync(t,`${(0,QQ.toCommandValue)(e)}${bn.EOL}`,{encoding:"utf8"})}oe.issueFileCommand=gu;function Eu(A,e){let t=`ghadelimiter_${ou.randomUUID()}`,r=(0,QQ.toCommandValue)(e);if(A.includes(t))throw new Error(`Unexpected input: name should not contain the delimiter "${t}"`);if(r.includes(t))throw new Error(`Unexpected input: value should not contain the delimiter "${t}"`);return`${A}<<${t}${bn.EOL}${r}${bn.EOL}${t}`}oe.prepareKeyValueMessage=Eu});var CQ=l(Jt=>{"use strict";a();Object.defineProperty(Jt,"__esModule",{value:!0});Jt.checkBypass=Jt.getProxyUrl=void 0;function Qu(A){let e=A.protocol==="https:";if(BQ(A))return;let t=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(t)try{return new Rs(t)}catch{if(!t.startsWith("http://")&&!t.startsWith("https://"))return new Rs(`http://${t}`)}else return}Jt.getPLine truncated
|
||||
`,B.message,B.stack);var C=new Error("tunneling socket could not be established, cause="+B.message);C.code="ECONNRESET",e.request.emit("error",C),r.removeSocket(s)}};Te.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}};function IQ(A,e){var t=this;Te.prototype.createSocket.call(t,A,function(r){var s=A.request.getHeader("host"),i=Ln({},t.options,{socket:r,servername:s?s.replace(/:.*$/,""):A.host}),n=Bu.connect(0,i);t.sockets[t.sockets.indexOf(r)]=n,e(n)})}function hQ(A,e,t){return typeof A=="string"?{host:A,port:e,localAddress:t}:A}function Ln(A){for(var e=1,t=arguments.length;e<t;++e){var r=arguments[e];if(typeof r=="object")for(var s=Object.keys(r),i=0,n=s.length;i<n;++i){var o=s[i];r[o]!==void 0&&(A[o]=r[o])}}return A}var At;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?At=function(){var A=Array.prototype.slice.call(arguments);typeof A[0]=="string"?A[0]="TUNNEL: "+A[0]:A.unshift("TUNNEL:"),console.error.apply(console,A)}:At=function(){};Gt.debug=At});var dQ=l((nb,uQ)=>{"use strict";a();uQ.exports=lQ()});var X=l((gb,fQ)=>{"use strict";a();fQ.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}});var _=l((Qb,yQ)=>{"use strict";a();var oA=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}},Mn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},Yn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},xn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},Jn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},Gn=class A extends oA{constructor(e,t,r,s){super(e),Error.captureStackTrace(this,A),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=t,this.statusCode=t,this.headers=r}},Tn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},vn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},Hn=class A extends oA{constructor(e){super(e),Error.captureStackTrace(this,A),t
Line truncated
|
||||
\r
|
||||
`),rd=/\r\n/g,sd=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function vt(A){qQ.call(this),A=A||{};let e=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=VQ(A,"maxHeaderPairs",2e3),this.maxHeaderSize=VQ(A,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new ed(td),this.ss.on("info",function(t,r,s,i){r&&!e.maxed&&(e.nread+i-s>=e.maxHeaderSize?(i=e.maxHeaderSize-e.nread+s,e.nread=e.maxHeaderSize,e.maxed=!0):e.nread+=i-s,e.buffer+=r.toString("binary",s,i)),t&&e._finish()})}Ad(vt,qQ);vt.prototype.push=function(A){let e=this.ss.push(A);if(this.finished)return e};vt.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};vt.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let A=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",A)};vt.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let A=this.buffer.split(rd),e=A.length,t,r;for(var s=0;s<e;++s){if(A[s].length===0)continue;if((A[s][0]===" "||A[s][0]===" ")&&r){this.header[r][this.header[r].length-1]+=A[s];continue}let i=A[s].indexOf(":");if(i===-1||i===0)return;if(t=sd.exec(A[s]),r=t[1].toLowerCase(),this.header[r]=this.header[r]||[],this.header[r].push(t[2]||""),++this.npairs===this.maxHeaderPairs)break}};OQ.exports=vt});var no=l((Rb,_Q)=>{"use strict";a();var io=I("node:stream").Writable,id=I("node:util").inherits,nd=ro(),PQ=vQ(),od=WQ(),gd=45,Ed=Buffer.from("-"),Qd=Buffer.from(`\r
|
||||
`),ad=function(){};function he(A){if(!(this instanceof he))return new he(A);if(io.call(this,A),!A||!A.headerFirst&&typeof A.boundary!="string")throw new TypeError("Boundary required");typeof A.boundary=="string"?this.setBoundary(A.boundary):this._bparser=void 0,this._headerFirst=A.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:A.partHwm},this._pause=!1;let e=this;this._hparser=new od(A),this._hparser.on("header",function(t){e._inHeader=!1,e._part.emit("header",t)})}id(he,io);he.prototype.emit=function(A){if(A==="finish"&&!this._realFinish){if(!this._finished){let e=this;process.nextTick(function(){if(e.emit("error",new Error("Unexpected end of multipart data")),e._part&&!e._ignoreData){let t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data")),e._part.push(null),process.nextTick(function(){e._realFinish=!0,e.emit("finish"),e._realFinish=!1});return}e._realFinish=!0,e.emit("finish"),e._realFinish=!1})}}else io.prototype.emit.apply(this,arguments)};he.prototype._write=function(A,e,t){if(!this._hparser&&!this._bparser)return t();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new PQ(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let r=this._hparser.push(A);if(!this._inHeader&&r!==void 0&&r<A.length)A=A.slice(r);else return t()}this._firstWrite&&(this._bparser.push(Qd),this._firstWrite=!1),this._bparser.push(A),this._pause?this._cb=t:t()};he.prototype.reset=function(){this._part=void 0,this._bparser=void 0,this._hparser=void 0};he.prototype.setBoundary=function(A){let e=this;this._bparser=new nd(`\r
|
||||
--`+A),this._bparser.on("info",function(t,r,s,i){e._oninfo(t,r,s,i)})};he.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",ad),this._part.resume())};he.prototype._oninfo=function(A,e,t,r){let s,i=this,n=0,o,g=!0;if(!this._part&&this._justMatched&&e){for(;this._dashes<2&&t+n<r;)if(e[t+n]===gd)++n,++this._dashes;else{this._dashes&&(s=Ed),this._dashes=0;break}if(this._dashes===2&&(t+n<r&&this.listenerCount("trailer")!==0&&this.emit("trailer",e.slice(t+n,r)),this.reset(),this._finished=!0,i._parts===0&&(i._realFinish=!0,i.emit("finish"),i._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new PQ(this._partOpts),this._part._read=function(E){i._unpause()},this._isPreamble&&this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._isPreamble!==!0&&this.listenerCount("part")!==0?this.emit("part",this._part):this._ignore(),this._isPreamble||(this._inHeader=!0)),e&&t<r&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(s&&(g=this._part.push(s)),g=this._part.push(e.slice(t,r)),g||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(s&&this._hparser.push(s),o=this._hparser.push(e.slice(t,r)),!this._inHeader&&o!==void 0&&o<r&&this._oninfo(!1,e,t+o,r))),A&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:t!==r&&(++this._parts,this._part.on("end",function(){--i._parts===0&&(i._finished?(i._realFinish=!0,i.emit("finish"),i._realFinish=!1):i._unpause())})),this._part.push(null),this._part=void 0,this._ignoreData=!1,this._justMatched=!0,this._dashes=0)};he.prototype._unpause=function(){if(this._pause&&(this._pause=!1,this._cb)){let A=this._cb;this._cb=void 0,A()}};_Q.exports=he});var Ss=l((oo,KQ)=>{"use strict";a();var ZQ=new TextDecoder("utf-8"),XQ=new Map([["utf-8",ZQ],["utf8",ZQ]]);function Bd(A){let e;for(;;)switch(A){case"utf-8":case"utf8":return Mr.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return Mr.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Mr.utf16le;case"base64":return Mr.base64;default:if(e===void 0){e=!0,A=A.toLowerCase();continue}return Mr.other.bind(A)}}var Mr={utf8:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.utf8Slice(0,A.length)),latin1:(A,e)=>A.length===0?"":typeof A=="string"?A:A.latin1Slice(0,A.length),utf16le:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.ucs2Slice(0,A.length)),base64:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.base64Slice(0,A.length)),other:(A,e)=>{if(A.length===0)return"";if(typeof A=="string"&&(A=Buffer.from(A,e)),XQ.has(oo.toString()))try{return XQ.get(oo).decode(A)}catch{}return typeof A=="string"?A:A.toString()}};function Cd(A,e,t){return A&&Bd(t)(A,e)}KQ.exports=Cd});var Eo=l((Nb,ea)=>{"use strict";a();var Us=Ss(),jQ=/%[a-fA-F0-9][a-fA-F0-9]/g,cd={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":`
|
||||
`),sd=/\r\n/g,id=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function vt(A){OQ.call(this),A=A||{};let e=this;this.nread=0,this.maxed=!1,this.npairs=0,this.maxHeaderPairs=qQ(A,"maxHeaderPairs",2e3),this.maxHeaderSize=qQ(A,"maxHeaderSize",80*1024),this.buffer="",this.header={},this.finished=!1,this.ss=new td(rd),this.ss.on("info",function(t,r,s,i){r&&!e.maxed&&(e.nread+i-s>=e.maxHeaderSize?(i=e.maxHeaderSize-e.nread+s,e.nread=e.maxHeaderSize,e.maxed=!0):e.nread+=i-s,e.buffer+=r.toString("binary",s,i)),t&&e._finish()})}ed(vt,OQ);vt.prototype.push=function(A){let e=this.ss.push(A);if(this.finished)return e};vt.prototype.reset=function(){this.finished=!1,this.buffer="",this.header={},this.ss.reset()};vt.prototype._finish=function(){this.buffer&&this._parseHeader(),this.ss.matches=this.ss.maxMatches;let A=this.header;this.header={},this.buffer="",this.finished=!0,this.nread=this.npairs=0,this.maxed=!1,this.emit("header",A)};vt.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs)return;let A=this.buffer.split(sd),e=A.length,t,r;for(var s=0;s<e;++s){if(A[s].length===0)continue;if((A[s][0]===" "||A[s][0]===" ")&&r){this.header[r][this.header[r].length-1]+=A[s];continue}let i=A[s].indexOf(":");if(i===-1||i===0)return;if(t=id.exec(A[s]),r=t[1].toLowerCase(),this.header[r]=this.header[r]||[],this.header[r].push(t[2]||""),++this.npairs===this.maxHeaderPairs)break}};WQ.exports=vt});var no=l((kb,ZQ)=>{"use strict";a();var io=I("node:stream").Writable,nd=I("node:util").inherits,od=ro(),_Q=HQ(),gd=PQ(),Ed=45,Qd=Buffer.from("-"),ad=Buffer.from(`\r
|
||||
`),Bd=function(){};function he(A){if(!(this instanceof he))return new he(A);if(io.call(this,A),!A||!A.headerFirst&&typeof A.boundary!="string")throw new TypeError("Boundary required");typeof A.boundary=="string"?this.setBoundary(A.boundary):this._bparser=void 0,this._headerFirst=A.headerFirst,this._dashes=0,this._parts=0,this._finished=!1,this._realFinish=!1,this._isPreamble=!0,this._justMatched=!1,this._firstWrite=!0,this._inHeader=!0,this._part=void 0,this._cb=void 0,this._ignoreData=!1,this._partOpts={highWaterMark:A.partHwm},this._pause=!1;let e=this;this._hparser=new gd(A),this._hparser.on("header",function(t){e._inHeader=!1,e._part.emit("header",t)})}nd(he,io);he.prototype.emit=function(A){if(A==="finish"&&!this._realFinish){if(!this._finished){let e=this;process.nextTick(function(){if(e.emit("error",new Error("Unexpected end of multipart data")),e._part&&!e._ignoreData){let t=e._isPreamble?"Preamble":"Part";e._part.emit("error",new Error(t+" terminated early due to unexpected end of multipart data")),e._part.push(null),process.nextTick(function(){e._realFinish=!0,e.emit("finish"),e._realFinish=!1});return}e._realFinish=!0,e.emit("finish"),e._realFinish=!1})}}else io.prototype.emit.apply(this,arguments)};he.prototype._write=function(A,e,t){if(!this._hparser&&!this._bparser)return t();if(this._headerFirst&&this._isPreamble){this._part||(this._part=new _Q(this._partOpts),this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._ignore());let r=this._hparser.push(A);if(!this._inHeader&&r!==void 0&&r<A.length)A=A.slice(r);else return t()}this._firstWrite&&(this._bparser.push(ad),this._firstWrite=!1),this._bparser.push(A),this._pause?this._cb=t:t()};he.prototype.reset=function(){this._part=void 0,this._bparser=void 0,this._hparser=void 0};he.prototype.setBoundary=function(A){let e=this;this._bparser=new od(`\r
|
||||
--`+A),this._bparser.on("info",function(t,r,s,i){e._oninfo(t,r,s,i)})};he.prototype._ignore=function(){this._part&&!this._ignoreData&&(this._ignoreData=!0,this._part.on("error",Bd),this._part.resume())};he.prototype._oninfo=function(A,e,t,r){let s,i=this,n=0,o,g=!0;if(!this._part&&this._justMatched&&e){for(;this._dashes<2&&t+n<r;)if(e[t+n]===Ed)++n,++this._dashes;else{this._dashes&&(s=Qd),this._dashes=0;break}if(this._dashes===2&&(t+n<r&&this.listenerCount("trailer")!==0&&this.emit("trailer",e.slice(t+n,r)),this.reset(),this._finished=!0,i._parts===0&&(i._realFinish=!0,i.emit("finish"),i._realFinish=!1)),this._dashes)return}this._justMatched&&(this._justMatched=!1),this._part||(this._part=new _Q(this._partOpts),this._part._read=function(E){i._unpause()},this._isPreamble&&this.listenerCount("preamble")!==0?this.emit("preamble",this._part):this._isPreamble!==!0&&this.listenerCount("part")!==0?this.emit("part",this._part):this._ignore(),this._isPreamble||(this._inHeader=!0)),e&&t<r&&!this._ignoreData&&(this._isPreamble||!this._inHeader?(s&&(g=this._part.push(s)),g=this._part.push(e.slice(t,r)),g||(this._pause=!0)):!this._isPreamble&&this._inHeader&&(s&&this._hparser.push(s),o=this._hparser.push(e.slice(t,r)),!this._inHeader&&o!==void 0&&o<r&&this._oninfo(!1,e,t+o,r))),A&&(this._hparser.reset(),this._isPreamble?this._isPreamble=!1:t!==r&&(++this._parts,this._part.on("end",function(){--i._parts===0&&(i._finished?(i._realFinish=!0,i.emit("finish"),i._realFinish=!1):i._unpause())})),this._part.push(null),this._part=void 0,this._ignoreData=!1,this._justMatched=!0,this._dashes=0)};he.prototype._unpause=function(){if(this._pause&&(this._pause=!1,this._cb)){let A=this._cb;this._cb=void 0,A()}};ZQ.exports=he});var Ss=l((oo,jQ)=>{"use strict";a();var XQ=new TextDecoder("utf-8"),KQ=new Map([["utf-8",XQ],["utf8",XQ]]);function Cd(A){let e;for(;;)switch(A){case"utf-8":case"utf8":return Mr.utf8;case"latin1":case"ascii":case"us-ascii":case"iso-8859-1":case"iso8859-1":case"iso88591":case"iso_8859-1":case"windows-1252":case"iso_8859-1:1987":case"cp1252":case"x-cp1252":return Mr.latin1;case"utf16le":case"utf-16le":case"ucs2":case"ucs-2":return Mr.utf16le;case"base64":return Mr.base64;default:if(e===void 0){e=!0,A=A.toLowerCase();continue}return Mr.other.bind(A)}}var Mr={utf8:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.utf8Slice(0,A.length)),latin1:(A,e)=>A.length===0?"":typeof A=="string"?A:A.latin1Slice(0,A.length),utf16le:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.ucs2Slice(0,A.length)),base64:(A,e)=>A.length===0?"":(typeof A=="string"&&(A=Buffer.from(A,e)),A.base64Slice(0,A.length)),other:(A,e)=>{if(A.length===0)return"";if(typeof A=="string"&&(A=Buffer.from(A,e)),KQ.has(oo.toString()))try{return KQ.get(oo).decode(A)}catch{}return typeof A=="string"?A:A.toString()}};function cd(A,e,t){return A&&Cd(t)(A,e)}jQ.exports=cd});var Eo=l((mb,ta)=>{"use strict";a();var Us=Ss(),zQ=/%[a-fA-F0-9][a-fA-F0-9]/g,Id={"%00":"\0","%01":"","%02":"","%03":"","%04":"","%05":"","%06":"","%07":"\x07","%08":"\b","%09":" ","%0a":`
|
||||
`,"%0A":`
|
||||
`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xLine truncated
|
||||
`))}function cf(A,e){let{headersList:t}=e,r=(t.get("referrer-policy")??"").split(","),s="";if(r.length>0)for(let i=r.length;i!==0;i--){let n=r[i-1].trim();if($d.has(n)){s=n;break}}s!==""&&(A.referrerPolicy=s)}function If(){return"allowed"}function hf(){return"success"}function lf(){return"success"}function uf(A){let e=null;e=A.mode,A.headersList.set("sec-fetch-mode",e)}function df(A){let e=A.origin;if(A.responseTainting==="cors"||A.mode==="websocket")e&&A.headersList.append("origin",e);else if(A.method!=="GET"&&A.method!=="HEAD"){switch(A.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":A.origin&&lo(A.origin)&&!lo(Jr(A))&&(e=null);break;case"same-origin":Js(A,Jr(A))||(e=null);break;default:}e&&A.headersList.append("origin",e)}}function ff(A){return tf.now()}function yf(A){return{startTime:A.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:A.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function wf(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function Df(A){return{referrerPolicy:A.referrerPolicy}}function pf(A){let e=A.referrerPolicy;Wt(e);let t=null;if(A.referrer==="client"){let o=ef();if(!o||o.origin==="null")return"no-referrer";t=new URL(o)}else A.referrer instanceof URL&&(t=A.referrer);let r=Io(t),s=Io(t,!0);r.toString().length>4096&&(r=s);let i=Js(A,r),n=xr(r)&&!xr(A.url);switch(e){case"origin":return s??Io(t,!0);case"unsafe-url":return r;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?r:s;case"strict-origin-when-cross-origin":{let o=Jr(A);return Js(r,o)?r:xr(r)&&!xr(o)?"no-referrer":s}case"strict-origin":case"no-referrer-when-downgrade":default:return n?"no-referrer":s}}function Io(A,e){return Wt(A instanceof URL),A.protocol==="file:"||A.protocol==="about:"||A.protocol==="blank:"?"no-referrer":(A.username="",A.password="",A.hash="",e&&(A.pathname="",A.search=""),A)}function xr(A){if(!(A instanceof URL))return!1;if(A.href==="about:blank"||A.href==="about:srcdoc"||A.protocol==="data:"||A.protocol==="file:")return!0;return e(A.origin);function e(t){if(t==null||t==="null")return!1;let r=new URL(t);return!!(r.protocol==="https:"||r.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(r.hostname)||r.hostname==="localhost"||r.hostname.includes("localhost.")||r.hostname.endsWith(".localhost"))}}function Rf(A,e){if(xs===void 0)return!0;let t=Na(e);if(t==="no metadata"||t.length===0)return!0;let r=Ff(t),s=Nf(t,r);for(let i of s){let n=i.algo,o=i.hash,g=xs.createHash(n).update(A).digest("base64");if(g[g.length-1]==="="&&(g[g.length-2]==="="?g=g.slice(0,-2):g=g.slice(0,-1)),mf(g,o))return!0}return!1}var kf=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function Na(A){let e=[],t=!0;for(let r of A.split(" ")){t=!1;let s=kf.exec(r);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();pa.includes(i)&&e.push(s.groups)}return t===!0?"no metadata":e}function Ff(A){let e=A[0].algo;if(e[3]==="5")return e;for(let t=1;t<A.length;++t){let r=A[t];if(r.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;r.algo[3]==="3"&&(e="sha384")}}return e}function Nf(A,e){if(A.length===1)return A;let t=0;for(let r=0;r<A.length;++r)A[r].algo===e&&(A[t++]=A[r]);return A.length=t,A}function mf(A,e){if(A.length!==e.length)return!1;for(let t=0;t<A.length;++t)if(A[t]!==e[t]){if(A[t]==="+"&&e[t]==="-"||A[t]==="/"&&e[t]==="_")continue;return!1}return!0}function bf(A){}function Js(A,e){return A.origin===e.origin&&A.origin==="null"||A.protocol===e.protocol&&A.hostname===e.hostname&&A.port===e.port}function Sf(){let A,e;return{promise:new Promise((r,s)=>{A=r,e=s}),resolve:A,reject:e}}function Uf(A){return A.controller.state==="aborted"}function Lf(A){return A.controller.state==="aborted"||A.controller.state==="terminated"}var uo={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(uo,null);function Mf(A){return uo[A.toLowerCase()]??A}function Yf(A){let e=JSON.stringify(A);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Wt(typeof e=="string"),e}var xf=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Jf(A,e,t){let r={index:0,kind:t,target:A},s={next(){if(Object.getPrototypeOf(this)!==s)throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let{index:i,kind:n,target:o}=r,g=o(),E=g.length;if(i>=E)return{value:void 0,done:!0};let Q=g[i];return r.index=i+1,Gf(Q,n)},[Symbol.toStringTag]:`${e} Iterator`};return Object.setPrototypeOf(s,xf),Object.setPrototypeOf({},s)}function Gf(A,e){let t;switch(e){case"key":{t=A[
Line truncated
|
||||
`||A===" "||A===" "}function fo(A,e=!0,t=!0){let r=0,s=A.length-1;if(e)for(;r<A.length&&Ya(A[r]);r++);if(t)for(;s>0&&Ya(A[s]);s--);return A.slice(r,s+1)}function xa(A){return A==="\r"||A===`
|
||||
`||A===" "||A==="\f"||A===" "}function ry(A,e=!0,t=!0){let r=0,s=A.length-1;if(e)for(;r<A.length&&xa(A[r]);r++);if(t)for(;s>0&&xa(A[s]);s--);return A.slice(r,s+1)}va.exports={dataURLProcessor:$f,URLSerializer:Ja,collectASequenceOfCodePoints:vs,collectASequenceOfCodePointsFast:Pt,stringPercentDecode:Ga,parseMIMEType:yo,collectAnHTTPQuotedString:Ta,serializeAMimeType:ty}});var Hs=l((zb,Wa)=>{"use strict";a();var{Blob:qa,File:Ha}=I("buffer"),{types:wo}=I("util"),{kState:XA}=He(),{isBlobLike:Oa}=ge(),{webidl:q}=FA(),{parseMIMEType:sy,serializeAMimeType:iy}=le(),{kEnumerableProperty:Va}=T(),ny=new TextEncoder,Gr=class A extends qa{constructor(e,t,r={}){q.argumentLengthCheck(arguments,2,{header:"File constructor"}),e=q.converters["sequence<BlobPart>"](e),t=q.converters.USVString(t),r=q.converters.FilePropertyBag(r);let s=t,i=r.type,n;A:{if(i){if(i=sy(i),i==="failure"){i="";break A}i=iy(i).toLowerCase()}n=r.lastModified}super(oy(e,r),{type:i}),this[XA]={name:s,lastModified:n,type:i}}get name(){return q.brandCheck(this,A),this[XA].name}get lastModified(){return q.brandCheck(this,A),this[XA].lastModified}get type(){return q.brandCheck(this,A),this[XA].type}},Do=class A{constructor(e,t,r={}){let s=t,i=r.type,n=r.lastModified??Date.now();this[XA]={blobLike:e,name:s,type:i,lastModified:n}}stream(...e){return q.brandCheck(this,A),this[XA].blobLike.stream(...e)}arrayBuffer(...e){return q.brandCheck(this,A),this[XA].blobLike.arrayBuffer(...e)}slice(...e){return q.brandCheck(this,A),this[XA].blobLike.slice(...e)}text(...e){return q.brandCheck(this,A),this[XA].blobLike.text(...e)}get size(){return q.brandCheck(this,A),this[XA].blobLike.size}get type(){return q.brandCheck(this,A),this[XA].blobLike.type}get name(){return q.brandCheck(this,A),this[XA].name}get lastModified(){return q.brandCheck(this,A),this[XA].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(Gr.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:Va,lastModified:Va});q.converters.Blob=q.interfaceConverter(qa);q.converters.BlobPart=function(A,e){if(q.util.Type(A)==="Object"){if(Oa(A))return q.converters.Blob(A,{strict:!1});if(ArrayBuffer.isView(A)||wo.isAnyArrayBuffer(A))return q.converters.BufferSource(A,e)}return q.converters.USVString(A,e)};q.converters["sequence<BlobPart>"]=q.sequenceConverter(q.converters.BlobPart);q.converters.FilePropertyBag=q.dictionaryConverter([{key:"lastModified",converter:q.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:q.converters.DOMString,defaultValue:""},{key:"endings",converter:A=>(A=q.converters.DOMString(A),A=A.toLowerCase(),A!=="native"&&(A="transparent"),A),defaultValue:"transparent"}]);function oy(A,e){let t=[];for(let r of A)if(typeof r=="string"){let s=r;e.endings==="native"&&(s=gy(s)),t.push(ny.encode(s))}else wo.isAnyArrayBuffer(r)||wo.isTypedArray(r)?r.buffer?t.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength)):t.push(new Uint8Array(r)):Oa(r)&&t.push(r);return t}function gy(A){let e=`
|
||||
`,"%0b":"\v","%0B":"\v","%0c":"\f","%0C":"\f","%0d":"\r","%0D":"\r","%0e":"","%0E":"","%0f":"","%0F":"","%10":"","%11":"","%12":"","%13":"","%14":"","%15":"","%16":"","%17":"","%18":"","%19":"","%1a":"","%1A":"","%1b":"\x1B","%1B":"\x1B","%1c":"","%1C":"","%1d":"","%1D":"","%1e":"","%1E":"","%1f":"","%1F":"","%20":" ","%21":"!","%22":'"',"%23":"#","%24":"$","%25":"%","%26":"&","%27":"'","%28":"(","%29":")","%2a":"*","%2A":"*","%2b":"+","%2B":"+","%2c":",","%2C":",","%2d":"-","%2D":"-","%2e":".","%2E":".","%2f":"/","%2F":"/","%30":"0","%31":"1","%32":"2","%33":"3","%34":"4","%35":"5","%36":"6","%37":"7","%38":"8","%39":"9","%3a":":","%3A":":","%3b":";","%3B":";","%3c":"<","%3C":"<","%3d":"=","%3D":"=","%3e":">","%3E":">","%3f":"?","%3F":"?","%40":"@","%41":"A","%42":"B","%43":"C","%44":"D","%45":"E","%46":"F","%47":"G","%48":"H","%49":"I","%4a":"J","%4A":"J","%4b":"K","%4B":"K","%4c":"L","%4C":"L","%4d":"M","%4D":"M","%4e":"N","%4E":"N","%4f":"O","%4F":"O","%50":"P","%51":"Q","%52":"R","%53":"S","%54":"T","%55":"U","%56":"V","%57":"W","%58":"X","%59":"Y","%5a":"Z","%5A":"Z","%5b":"[","%5B":"[","%5c":"\\","%5C":"\\","%5d":"]","%5D":"]","%5e":"^","%5E":"^","%5f":"_","%5F":"_","%60":"`","%61":"a","%62":"b","%63":"c","%64":"d","%65":"e","%66":"f","%67":"g","%68":"h","%69":"i","%6a":"j","%6A":"j","%6b":"k","%6B":"k","%6c":"l","%6C":"l","%6d":"m","%6D":"m","%6e":"n","%6E":"n","%6f":"o","%6F":"o","%70":"p","%71":"q","%72":"r","%73":"s","%74":"t","%75":"u","%76":"v","%77":"w","%78":"x","%79":"y","%7a":"z","%7A":"z","%7b":"{","%7B":"{","%7c":"|","%7C":"|","%7d":"}","%7D":"}","%7e":"~","%7E":"~","%7f":"\x7F","%7F":"\x7F","%80":"\x80","%81":"\x81","%82":"\x82","%83":"\x83","%84":"\x84","%85":"\x85","%86":"\x86","%87":"\x87","%88":"\x88","%89":"\x89","%8a":"\x8A","%8A":"\x8A","%8b":"\x8B","%8B":"\x8B","%8c":"\x8C","%8C":"\x8C","%8d":"\x8D","%8D":"\x8D","%8e":"\x8E","%8E":"\x8E","%8f":"\x8F","%8F":"\x8F","%90":"\x90","%91":"\x91","%92":"\x92","%93":"\x93","%94":"\x94","%95":"\x95","%96":"\x96","%97":"\x97","%98":"\x98","%99":"\x99","%9a":"\x9A","%9A":"\x9A","%9b":"\x9B","%9B":"\x9B","%9c":"\x9C","%9C":"\x9C","%9d":"\x9D","%9D":"\x9D","%9e":"\x9E","%9E":"\x9E","%9f":"\x9F","%9F":"\x9F","%a0":"\xA0","%A0":"\xA0","%a1":"\xA1","%A1":"\xA1","%a2":"\xA2","%A2":"\xA2","%a3":"\xA3","%A3":"\xA3","%a4":"\xA4","%A4":"\xA4","%a5":"\xA5","%A5":"\xA5","%a6":"\xA6","%A6":"\xA6","%a7":"\xA7","%A7":"\xA7","%a8":"\xA8","%A8":"\xA8","%a9":"\xA9","%A9":"\xA9","%aa":"\xAA","%Aa":"\xAA","%aA":"\xAA","%AA":"\xAA","%ab":"\xAB","%Ab":"\xAB","%aB":"\xAB","%AB":"\xAB","%ac":"\xAC","%Ac":"\xAC","%aC":"\xAC","%AC":"\xAC","%ad":"\xAD","%Ad":"\xAD","%aD":"\xAD","%AD":"\xAD","%ae":"\xAE","%Ae":"\xAE","%aE":"\xAE","%AE":"\xAE","%af":"\xAF","%Af":"\xAF","%aF":"\xAF","%AF":"\xAF","%b0":"\xB0","%B0":"\xB0","%b1":"\xB1","%B1":"\xB1","%b2":"\xB2","%B2":"\xB2","%b3":"\xB3","%B3":"\xB3","%b4":"\xB4","%B4":"\xB4","%b5":"\xB5","%B5":"\xB5","%b6":"\xB6","%B6":"\xB6","%b7":"\xB7","%B7":"\xB7","%b8":"\xB8","%B8":"\xB8","%b9":"\xB9","%B9":"\xB9","%ba":"\xBA","%Ba":"\xBA","%bA":"\xBA","%BA":"\xBA","%bb":"\xBB","%Bb":"\xBB","%bB":"\xBB","%BB":"\xBB","%bc":"\xBC","%Bc":"\xBC","%bC":"\xBC","%BC":"\xBC","%bd":"\xBD","%Bd":"\xBD","%bD":"\xBD","%BD":"\xBD","%be":"\xBE","%Be":"\xBE","%bE":"\xBE","%BE":"\xBE","%bf":"\xBF","%Bf":"\xBF","%bF":"\xBF","%BF":"\xBF","%c0":"\xC0","%C0":"\xC0","%c1":"\xC1","%C1":"\xC1","%c2":"\xC2","%C2":"\xC2","%c3":"\xC3","%C3":"\xC3","%c4":"\xC4","%C4":"\xC4","%c5":"\xC5","%C5":"\xC5","%c6":"\xC6","%C6":"\xC6","%c7":"\xC7","%C7":"\xC7","%c8":"\xC8","%C8":"\xC8","%c9":"\xC9","%C9":"\xC9","%ca":"\xCA","%Ca":"\xCA","%cA":"\xCA","%CA":"\xCA","%cb":"\xCB","%Cb":"\xCB","%cB":"\xCB","%CB":"\xCB","%cc":"\xCC","%Cc":"\xCC","%cC":"\xCC","%CC":"\xCC","%cd":"\xCD","%Cd":"\xCD","%cD":"\xCD","%CD":"\xCD","%ce":"\xCE","%Ce":"\xCE","%cE":"\xCE","%CE":"\xCE","%cf":"\xCF","%Cf":"\xCF","%cF":"\xCF","%CF":"\xCF","%d0":"\xD0","%D0":"\xD0","%d1":"\xD1","%D1":"\xD1","%d2":"\xD2","%D2":"\xD2","%d3":"\xD3","%D3":"\xD3","%d4":"\xD4","%D4":"\xD4","%d5":"\xD5","%D5":"\xD5","%d6":"\xD6","%D6":"\xD6","%d7":"\xD7","%D7":"\xD7","%d8":"\xD8","%D8":"\xD8","%d9":"\xD9","%D9":"\xD9","%da":"\xDA","%Da":"\xDA","%dA":"\xDA","%DA":"\xDA","%db":"\xDB","%Db":"\xDB","%dB":"\xDB","%DB":"\xDB","%dc":"\xDC","%Dc":"\xDC","%dC":"\xDC","%DC":"\xDC","%dd":"\xDD","%Dd":"\xDD","%dD":"\xDD","%DD":"\xDD","%de":"\xDE","%De":"\xDE","%dE":"\xDE","%DE":"\xDE","%df":"\xDF","%Df":"\xDF","%dF":"\xDF","%DF":"\xDF","%e0":"\xE0","%E0":"\xE0","%e1":"\xE1","%E1":"\xE1","%e2":"\xE2","%E2":"\xE2","%e3":"\xE3","%E3":"\xE3","%e4":"\xE4","%E4":"\xE4","%e5":"\xE5","%E5":"\xE5","%e6":"\xE6","%E6":"\xE6","%e7":"\xE7","%E7":"\xE7","%e8":"\xE8","%E8":"\xE8","%e9":"\xE9","%E9":"\xE9","%ea":"\xEA","%Ea":"\xEA","%eA":"\xEA","%EA":"\xEA","%eb":"\xEB","%Eb":"\xEB","%eB":"\xEB","%EB":"\xEB","%ec":"\xEC","%Ec":"\xEC","%eC":"\xEC","%EC":"\xEC","%ed":"\xED","%Ed":"\xED","%eD":"\xED","%ED":"\xED","%ee":"\xLine truncated
|
||||
`))}function If(A,e){let{headersList:t}=e,r=(t.get("referrer-policy")??"").split(","),s="";if(r.length>0)for(let i=r.length;i!==0;i--){let n=r[i-1].trim();if(Af.has(n)){s=n;break}}s!==""&&(A.referrerPolicy=s)}function hf(){return"allowed"}function lf(){return"success"}function uf(){return"success"}function df(A){let e=null;e=A.mode,A.headersList.set("sec-fetch-mode",e)}function ff(A){let e=A.origin;if(A.responseTainting==="cors"||A.mode==="websocket")e&&A.headersList.append("origin",e);else if(A.method!=="GET"&&A.method!=="HEAD"){switch(A.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":A.origin&&lo(A.origin)&&!lo(Jr(A))&&(e=null);break;case"same-origin":Js(A,Jr(A))||(e=null);break;default:}e&&A.headersList.append("origin",e)}}function yf(A){return rf.now()}function wf(A){return{startTime:A.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:A.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function Df(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function pf(A){return{referrerPolicy:A.referrerPolicy}}function Rf(A){let e=A.referrerPolicy;Wt(e);let t=null;if(A.referrer==="client"){let o=tf();if(!o||o.origin==="null")return"no-referrer";t=new URL(o)}else A.referrer instanceof URL&&(t=A.referrer);let r=Io(t),s=Io(t,!0);r.toString().length>4096&&(r=s);let i=Js(A,r),n=xr(r)&&!xr(A.url);switch(e){case"origin":return s??Io(t,!0);case"unsafe-url":return r;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?r:s;case"strict-origin-when-cross-origin":{let o=Jr(A);return Js(r,o)?r:xr(r)&&!xr(o)?"no-referrer":s}case"strict-origin":case"no-referrer-when-downgrade":default:return n?"no-referrer":s}}function Io(A,e){return Wt(A instanceof URL),A.protocol==="file:"||A.protocol==="about:"||A.protocol==="blank:"?"no-referrer":(A.username="",A.password="",A.hash="",e&&(A.pathname="",A.search=""),A)}function xr(A){if(!(A instanceof URL))return!1;if(A.href==="about:blank"||A.href==="about:srcdoc"||A.protocol==="data:"||A.protocol==="file:")return!0;return e(A.origin);function e(t){if(t==null||t==="null")return!1;let r=new URL(t);return!!(r.protocol==="https:"||r.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(r.hostname)||r.hostname==="localhost"||r.hostname.includes("localhost.")||r.hostname.endsWith(".localhost"))}}function kf(A,e){if(xs===void 0)return!0;let t=ma(e);if(t==="no metadata"||t.length===0)return!0;let r=Nf(t),s=mf(t,r);for(let i of s){let n=i.algo,o=i.hash,g=xs.createHash(n).update(A).digest("base64");if(g[g.length-1]==="="&&(g[g.length-2]==="="?g=g.slice(0,-2):g=g.slice(0,-1)),bf(g,o))return!0}return!1}var Ff=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function ma(A){let e=[],t=!0;for(let r of A.split(" ")){t=!1;let s=Ff.exec(r);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();Ra.includes(i)&&e.push(s.groups)}return t===!0?"no metadata":e}function Nf(A){let e=A[0].algo;if(e[3]==="5")return e;for(let t=1;t<A.length;++t){let r=A[t];if(r.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;r.algo[3]==="3"&&(e="sha384")}}return e}function mf(A,e){if(A.length===1)return A;let t=0;for(let r=0;r<A.length;++r)A[r].algo===e&&(A[t++]=A[r]);return A.length=t,A}function bf(A,e){if(A.length!==e.length)return!1;for(let t=0;t<A.length;++t)if(A[t]!==e[t]){if(A[t]==="+"&&e[t]==="-"||A[t]==="/"&&e[t]==="_")continue;return!1}return!0}function Sf(A){}function Js(A,e){return A.origin===e.origin&&A.origin==="null"||A.protocol===e.protocol&&A.hostname===e.hostname&&A.port===e.port}function Uf(){let A,e;return{promise:new Promise((r,s)=>{A=r,e=s}),resolve:A,reject:e}}function Lf(A){return A.controller.state==="aborted"}function Mf(A){return A.controller.state==="aborted"||A.controller.state==="terminated"}var uo={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(uo,null);function Yf(A){return uo[A.toLowerCase()]??A}function xf(A){let e=JSON.stringify(A);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Wt(typeof e=="string"),e}var Jf=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Gf(A,e,t){let r={index:0,kind:t,target:A},s={next(){if(Object.getPrototypeOf(this)!==s)throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let{index:i,kind:n,target:o}=r,g=o(),E=g.length;if(i>=E)return{value:void 0,done:!0};let Q=g[i];return r.index=i+1,Tf(Q,n)},[Symbol.toStringTag]:`${e} Iterator`};return Object.setPrototypeOf(s,Jf),Object.setPrototypeOf({},s)}function Tf(A,e){let t;switch(e){case"key":{t=A[
Line truncated
|
||||
`||A===" "||A===" "}function fo(A,e=!0,t=!0){let r=0,s=A.length-1;if(e)for(;r<A.length&&xa(A[r]);r++);if(t)for(;s>0&&xa(A[s]);s--);return A.slice(r,s+1)}function Ja(A){return A==="\r"||A===`
|
||||
`||A===" "||A==="\f"||A===" "}function sy(A,e=!0,t=!0){let r=0,s=A.length-1;if(e)for(;r<A.length&&Ja(A[r]);r++);if(t)for(;s>0&&Ja(A[s]);s--);return A.slice(r,s+1)}Ha.exports={dataURLProcessor:Ay,URLSerializer:Ga,collectASequenceOfCodePoints:vs,collectASequenceOfCodePointsFast:Pt,stringPercentDecode:Ta,parseMIMEType:yo,collectAnHTTPQuotedString:va,serializeAMimeType:ry}});var Hs=l(($b,Pa)=>{"use strict";a();var{Blob:Oa,File:Va}=I("buffer"),{types:wo}=I("util"),{kState:XA}=He(),{isBlobLike:Wa}=ge(),{webidl:q}=FA(),{parseMIMEType:iy,serializeAMimeType:ny}=le(),{kEnumerableProperty:qa}=T(),oy=new TextEncoder,Gr=class A extends Oa{constructor(e,t,r={}){q.argumentLengthCheck(arguments,2,{header:"File constructor"}),e=q.converters["sequence<BlobPart>"](e),t=q.converters.USVString(t),r=q.converters.FilePropertyBag(r);let s=t,i=r.type,n;A:{if(i){if(i=iy(i),i==="failure"){i="";break A}i=ny(i).toLowerCase()}n=r.lastModified}super(gy(e,r),{type:i}),this[XA]={name:s,lastModified:n,type:i}}get name(){return q.brandCheck(this,A),this[XA].name}get lastModified(){return q.brandCheck(this,A),this[XA].lastModified}get type(){return q.brandCheck(this,A),this[XA].type}},Do=class A{constructor(e,t,r={}){let s=t,i=r.type,n=r.lastModified??Date.now();this[XA]={blobLike:e,name:s,type:i,lastModified:n}}stream(...e){return q.brandCheck(this,A),this[XA].blobLike.stream(...e)}arrayBuffer(...e){return q.brandCheck(this,A),this[XA].blobLike.arrayBuffer(...e)}slice(...e){return q.brandCheck(this,A),this[XA].blobLike.slice(...e)}text(...e){return q.brandCheck(this,A),this[XA].blobLike.text(...e)}get size(){return q.brandCheck(this,A),this[XA].blobLike.size}get type(){return q.brandCheck(this,A),this[XA].blobLike.type}get name(){return q.brandCheck(this,A),this[XA].name}get lastModified(){return q.brandCheck(this,A),this[XA].lastModified}get[Symbol.toStringTag](){return"File"}};Object.defineProperties(Gr.prototype,{[Symbol.toStringTag]:{value:"File",configurable:!0},name:qa,lastModified:qa});q.converters.Blob=q.interfaceConverter(Oa);q.converters.BlobPart=function(A,e){if(q.util.Type(A)==="Object"){if(Wa(A))return q.converters.Blob(A,{strict:!1});if(ArrayBuffer.isView(A)||wo.isAnyArrayBuffer(A))return q.converters.BufferSource(A,e)}return q.converters.USVString(A,e)};q.converters["sequence<BlobPart>"]=q.sequenceConverter(q.converters.BlobPart);q.converters.FilePropertyBag=q.dictionaryConverter([{key:"lastModified",converter:q.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:q.converters.DOMString,defaultValue:""},{key:"endings",converter:A=>(A=q.converters.DOMString(A),A=A.toLowerCase(),A!=="native"&&(A="transparent"),A),defaultValue:"transparent"}]);function gy(A,e){let t=[];for(let r of A)if(typeof r=="string"){let s=r;e.endings==="native"&&(s=Ey(s)),t.push(oy.encode(s))}else wo.isAnyArrayBuffer(r)||wo.isTypedArray(r)?r.buffer?t.push(new Uint8Array(r.buffer,r.byteOffset,r.byteLength)):t.push(new Uint8Array(r)):Wa(r)&&t.push(r);return t}function Ey(A){let e=`
|
||||
`;return process.platform==="win32"&&(e=`\r
|
||||
`),A.replace(/\r?\n/g,e)}function Ey(A){return Ha&&A instanceof Ha||A instanceof Gr||A&&(typeof A.stream=="function"||typeof A.arrayBuffer=="function")&&A[Symbol.toStringTag]==="File"}Wa.exports={File:Gr,FileLike:Do,isFileLike:Ey}});var qs=l((AS,Ka)=>{"use strict";a();var{isBlobLike:Vs,toUSVString:Qy,makeIterator:po}=ge(),{kState:DA}=He(),{File:Xa,FileLike:Pa,isFileLike:ay}=Hs(),{webidl:W}=FA(),{Blob:By,File:Ro}=I("buffer"),_a=Ro??Xa,_t=class A{constructor(e){if(e!==void 0)throw W.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[DA]=[]}append(e,t,r=void 0){if(W.brandCheck(this,A),W.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!Vs(t))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=W.converters.USVString(e),t=Vs(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?W.converters.USVString(r):void 0;let s=Za(e,t,r);this[DA].push(s)}delete(e){W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),e=W.converters.USVString(e),this[DA]=this[DA].filter(t=>t.name!==e)}get(e){W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.get"}),e=W.converters.USVString(e);let t=this[DA].findIndex(r=>r.name===e);return t===-1?null:this[DA][t].value}getAll(e){return W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),e=W.converters.USVString(e),this[DA].filter(t=>t.name===e).map(t=>t.value)}has(e){return W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.has"}),e=W.converters.USVString(e),this[DA].findIndex(t=>t.name===e)!==-1}set(e,t,r=void 0){if(W.brandCheck(this,A),W.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!Vs(t))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=W.converters.USVString(e),t=Vs(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?Qy(r):void 0;let s=Za(e,t,r),i=this[DA].findIndex(n=>n.name===e);i!==-1?this[DA]=[...this[DA].slice(0,i),s,...this[DA].slice(i+1).filter(n=>n.name!==e)]:this[DA].push(s)}entries(){return W.brandCheck(this,A),po(()=>this[DA].map(e=>[e.name,e.value]),"FormData","key+value")}keys(){return W.brandCheck(this,A),po(()=>this[DA].map(e=>[e.name,e.value]),"FormData","key")}values(){return W.brandCheck(this,A),po(()=>this[DA].map(e=>[e.name,e.value]),"FormData","value")}forEach(e,t=globalThis){if(W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[r,s]of this)e.apply(t,[s,r,this])}};_t.prototype[Symbol.iterator]=_t.prototype.entries;Object.defineProperties(_t.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Za(A,e,t){if(A=Buffer.from(A).toString("utf8"),typeof e=="string")e=Buffer.from(e).toString("utf8");else if(ay(e)||(e=e instanceof By?new _a([e],"blob",{type:e.type}):new Pa(e,"blob",{type:e.type})),t!==void 0){let r={type:e.type,lastModified:e.lastModified};e=Ro&&e instanceof Ro||e instanceof Xa?new _a([e],t,r):new Pa(e,t,r)}return{name:A,value:e}}Ka.exports={FormData:_t}});var Tr=l((tS,iB)=>{"use strict";a();var Cy=ca(),Zt=T(),{ReadableStreamFrom:cy,isBlobLike:ja,isReadableStreamLike:Iy,readableStreamClose:hy,createDeferredPromise:ly,fullyReadBody:uy}=ge(),{FormData:za}=qs(),{kState:qe}=He(),{webidl:ko}=FA(),{DOMException:eB,structuredClone:dy}=rt(),{Blob:fy,File:yy}=I("buffer"),{kBodyUsed:wy}=X(),Fo=I("assert"),{isErrored:Dy}=T(),{isUint8Array:tB,isArrayBuffer:py}=I("util/types"),{File:Ry}=Hs(),{parseMIMEType:ky,serializeAMimeType:Fy}=le(),Ve=globalThis.ReadableStream,$a=yy??Ry,Os=new TextEncoder,Ny=new TextDecoder;function rB(A,e=!1){Ve||(Ve=I("stream/web").ReadableStream);let t=null;A instanceof Ve?t=A:ja(A)?t=A.stream():t=new Ve({async pull(g){g.enqueue(typeof s=="string"?Os.encode(s):s),queueMicrotask(()=>hy(g))},start(){},type:void 0}),Fo(Iy(t));let r=null,s=null,i=null,n=null;if(typeof A=="string")s=A,n="text/plain;charset=UTF-8";else if(A instanceof URLSearchParams)s=A.toString(),n="application/x-www-form-urlencoded;charset=UTF-8";else if(py(A))s=new Uint8Array(A.slice());else if(ArrayBuffer.isView(A))s=new Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength));else if(Zt.isFormDataLike(A)){let g=`----formdata-undici-0${`${Math.floor(Math.random()*1e11)}`.padStart(11,"0")}`,E=`--${g}\r
|
||||
`),A.replace(/\r?\n/g,e)}function Qy(A){return Va&&A instanceof Va||A instanceof Gr||A&&(typeof A.stream=="function"||typeof A.arrayBuffer=="function")&&A[Symbol.toStringTag]==="File"}Pa.exports={File:Gr,FileLike:Do,isFileLike:Qy}});var qs=l((eS,ja)=>{"use strict";a();var{isBlobLike:Vs,toUSVString:ay,makeIterator:po}=ge(),{kState:DA}=He(),{File:Ka,FileLike:_a,isFileLike:By}=Hs(),{webidl:W}=FA(),{Blob:Cy,File:Ro}=I("buffer"),Za=Ro??Ka,_t=class A{constructor(e){if(e!==void 0)throw W.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[DA]=[]}append(e,t,r=void 0){if(W.brandCheck(this,A),W.argumentLengthCheck(arguments,2,{header:"FormData.append"}),arguments.length===3&&!Vs(t))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=W.converters.USVString(e),t=Vs(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?W.converters.USVString(r):void 0;let s=Xa(e,t,r);this[DA].push(s)}delete(e){W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.delete"}),e=W.converters.USVString(e),this[DA]=this[DA].filter(t=>t.name!==e)}get(e){W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.get"}),e=W.converters.USVString(e);let t=this[DA].findIndex(r=>r.name===e);return t===-1?null:this[DA][t].value}getAll(e){return W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.getAll"}),e=W.converters.USVString(e),this[DA].filter(t=>t.name===e).map(t=>t.value)}has(e){return W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.has"}),e=W.converters.USVString(e),this[DA].findIndex(t=>t.name===e)!==-1}set(e,t,r=void 0){if(W.brandCheck(this,A),W.argumentLengthCheck(arguments,2,{header:"FormData.set"}),arguments.length===3&&!Vs(t))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=W.converters.USVString(e),t=Vs(t)?W.converters.Blob(t,{strict:!1}):W.converters.USVString(t),r=arguments.length===3?ay(r):void 0;let s=Xa(e,t,r),i=this[DA].findIndex(n=>n.name===e);i!==-1?this[DA]=[...this[DA].slice(0,i),s,...this[DA].slice(i+1).filter(n=>n.name!==e)]:this[DA].push(s)}entries(){return W.brandCheck(this,A),po(()=>this[DA].map(e=>[e.name,e.value]),"FormData","key+value")}keys(){return W.brandCheck(this,A),po(()=>this[DA].map(e=>[e.name,e.value]),"FormData","key")}values(){return W.brandCheck(this,A),po(()=>this[DA].map(e=>[e.name,e.value]),"FormData","value")}forEach(e,t=globalThis){if(W.brandCheck(this,A),W.argumentLengthCheck(arguments,1,{header:"FormData.forEach"}),typeof e!="function")throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.");for(let[r,s]of this)e.apply(t,[s,r,this])}};_t.prototype[Symbol.iterator]=_t.prototype.entries;Object.defineProperties(_t.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Xa(A,e,t){if(A=Buffer.from(A).toString("utf8"),typeof e=="string")e=Buffer.from(e).toString("utf8");else if(By(e)||(e=e instanceof Cy?new Za([e],"blob",{type:e.type}):new _a(e,"blob",{type:e.type})),t!==void 0){let r={type:e.type,lastModified:e.lastModified};e=Ro&&e instanceof Ro||e instanceof Ka?new Za([e],t,r):new _a(e,t,r)}return{name:A,value:e}}ja.exports={FormData:_t}});var Tr=l((rS,nB)=>{"use strict";a();var cy=Ia(),Zt=T(),{ReadableStreamFrom:Iy,isBlobLike:za,isReadableStreamLike:hy,readableStreamClose:ly,createDeferredPromise:uy,fullyReadBody:dy}=ge(),{FormData:$a}=qs(),{kState:qe}=He(),{webidl:ko}=FA(),{DOMException:tB,structuredClone:fy}=rt(),{Blob:yy,File:wy}=I("buffer"),{kBodyUsed:Dy}=X(),Fo=I("assert"),{isErrored:py}=T(),{isUint8Array:rB,isArrayBuffer:Ry}=I("util/types"),{File:ky}=Hs(),{parseMIMEType:Fy,serializeAMimeType:Ny}=le(),No;try{let A=I("node:crypto");No=e=>A.randomInt(0,e)}catch{No=A=>Math.floor(Math.random(A))}var Ve=globalThis.ReadableStream,AB=wy??ky,Os=new TextEncoder,my=new TextDecoder;function sB(A,e=!1){Ve||(Ve=I("stream/web").ReadableStream);let t=null;A instanceof Ve?t=A:za(A)?t=A.stream():t=new Ve({async pull(g){g.enqueue(typeof s=="string"?Os.encode(s):s),queueMicrotask(()=>ly(g))},start(){},type:void 0}),Fo(hy(t));let r=null,s=null,i=null,n=null;if(typeof A=="string")s=A,n="text/plain;charset=UTF-8";else if(A instanceof URLSearchParams)s=A.toString(),n="application/x-www-form-urlencoded;charset=UTF-8";else if(Ry(A))s=new Uint8Array(A.slice());else if(ArrayBuffer.isView(A))s=new Uint8Array(A.buffer.slice(A.byteOffset,A.byteOffset+A.byteLength));else if(Zt.isFormDataLike(A)){let g=`----formdata-undici-0${`${No(1e11)}`.padStart(11,"0")}`,E=`--${g}\r
|
||||
Content-Disposition: form-data`;let Q=u=>u.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),B=u=>u.replace(/\r?\n|\r/g,`\r
|
||||
`),C=[],h=new Uint8Array([13,10]);i=0;let c=!1;for(let[u,w]of A)if(typeof w=="string"){let k=Os.encode(E+`; name="${Q(B(u))}"\r
|
||||
\r
|
||||
@@ -18,14 +18,14 @@ ${B(w)}\r
|
||||
`);C.push(k),i+=k.byteLength}else{let k=Os.encode(`${E}; name="${Q(B(u))}"`+(w.name?`; filename="${Q(w.name)}"`:"")+`\r
|
||||
Content-Type: ${w.type||"application/octet-stream"}\r
|
||||
\r
|
||||
`);C.push(k,w,h),typeof w.size=="number"?i+=k.byteLength+w.size+h.byteLength:c=!0}let f=Os.encode(`--${g}--`);C.push(f),i+=f.byteLength,c&&(i=null),s=A,r=async function*(){for(let u of C)u.stream?yield*u.stream():yield u},n="multipart/form-data; boundary="+g}else if(ja(A))s=A,i=A.size,A.type&&(n=A.type);else if(typeof A[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Zt.isDisturbed(A)||A.locked)throw new TypeError("Response body object should not be disturbed or locked");t=A instanceof Ve?A:cy(A)}if((typeof s=="string"||Zt.isBuffer(s))&&(i=Buffer.byteLength(s)),r!=null){let g;t=new Ve({async start(){g=r(A)[Symbol.asyncIterator]()},async pull(E){let{value:Q,done:B}=await g.next();return B?queueMicrotask(()=>{E.close()}):Dy(t)||E.enqueue(new Uint8Array(Q)),E.desiredSize>0},async cancel(E){await g.return()},type:void 0})}return[{stream:t,source:s,length:i},n]}function my(A,e=!1){return Ve||(Ve=I("stream/web").ReadableStream),A instanceof Ve&&(Fo(!Zt.isDisturbed(A),"The body has already been consumed."),Fo(!A.locked,"The stream is locked.")),rB(A,e)}function by(A){let[e,t]=A.stream.tee(),r=dy(t,{transfer:[t]}),[,s]=r.tee();return A.stream=e,{stream:s,length:A.length,source:A.source}}async function*AB(A){if(A)if(tB(A))yield A;else{let e=A.stream;if(Zt.isDisturbed(e))throw new TypeError("The body has already been consumed.");if(e.locked)throw new TypeError("The stream is locked.");e[wy]=!0,yield*e}}function No(A){if(A.aborted)throw new eB("The operation was aborted.","AbortError")}function Sy(A){return{blob(){return Ws(this,t=>{let r=Yy(this);return r==="failure"?r="":r&&(r=Fy(r)),new fy([t],{type:r})},A)},arrayBuffer(){return Ws(this,t=>new Uint8Array(t).buffer,A)},text(){return Ws(this,sB,A)},json(){return Ws(this,My,A)},async formData(){ko.brandCheck(this,A),No(this[qe]);let t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){let r={};for(let[o,g]of this.headers)r[o.toLowerCase()]=g;let s=new za,i;try{i=new Cy({headers:r,preservePath:!0})}catch(o){throw new eB(`${o}`,"AbortError")}i.on("field",(o,g)=>{s.append(o,g)}),i.on("file",(o,g,E,Q,B)=>{let C=[];if(Q==="base64"||Q.toLowerCase()==="base64"){let h="";g.on("data",c=>{h+=c.toString().replace(/[\r\n]/gm,"");let f=h.length-h.length%4;C.push(Buffer.from(h.slice(0,f),"base64")),h=h.slice(f)}),g.on("end",()=>{C.push(Buffer.from(h,"base64")),s.append(o,new $a(C,E,{type:B}))})}else g.on("data",h=>{C.push(h)}),g.on("end",()=>{s.append(o,new $a(C,E,{type:B}))})});let n=new Promise((o,g)=>{i.on("finish",o),i.on("error",E=>g(new TypeError(E)))});if(this.body!==null)for await(let o of AB(this[qe].body))i.write(o);return i.end(),await n,s}else if(/application\/x-www-form-urlencoded/.test(t)){let r;try{let i="",n=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let o of AB(this[qe].body)){if(!tB(o))throw new TypeError("Expected Uint8Array chunk");i+=n.decode(o,{stream:!0})}i+=n.decode(),r=new URLSearchParams(i)}catch(i){throw Object.assign(new TypeError,{cause:i})}let s=new za;for(let[i,n]of r)s.append(i,n);return s}else throw await Promise.resolve(),No(this[qe]),ko.errors.exception({header:`${A.name}.formData`,message:"Could not parse content as FormData."})}}}function Uy(A){Object.assign(A.prototype,Sy(A))}async function Ws(A,e,t){if(ko.brandCheck(A,t),No(A[qe]),Ly(A[qe].body))throw new TypeError("Body is unusable");let r=ly(),s=n=>r.reject(n),i=n=>{try{r.resolve(e(n))}catch(o){s(o)}};return A[qe].body==null?(i(new Uint8Array),r.promise):(await uy(A[qe].body,i,s),r.promise)}function Ly(A){return A!=null&&(A.stream.locked||Zt.isDisturbed(A.stream))}function sB(A){return A.length===0?"":(A[0]===239&&A[1]===187&&A[2]===191&&(A=A.subarray(3)),Ny.decode(A))}function My(A){return JSON.parse(sB(A))}function Yy(A){let{headersList:e}=A[qe],t=e.get("content-type");return t===null?"failure":ky(t)}iB.exports={extractBody:rB,safelyExtractBody:my,cloneBody:by,mixinBody:Uy}});var EB=l((sS,gB)=>{"use strict";a();var{InvalidArgumentError:K,NotSupportedError:xy}=_(),Oe=I("assert"),{kHTTP2BuildRequest:Jy,kHTTP2CopyHeaders:Gy,kHTTP1BuildRequest:Ty}=X(),YA=T(),nB=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,oB=/[^\t\x20-\x7e\x80-\xff]/,vy=/[^\u0021-\u00ff]/,ue=Symbol("handler"),QA={},mo;try{let A=I("diagnostics_channel");QA.create=A.channel("undici:request:create"),QA.bodySent=A.channel("undici:request:bodySent"),QA.headers=A.channel("undici:request:headers"),QA.trailers=A.channel("undici:request:trailers"),QA.error=A.channel("undici:request:error")}catch{QA.create={hasSubscribers:!1},QA.bodySent={hasSubscribers:!1},QA.headers={hasSubscribers:!1},QA.trailers={hasSubscribers:!1},QA.error={hasSubscribers:!1}}var bo=class A{constructor(e,{path:t,method:r,body:s,headers:i,query:n,idempotent:o,blocking:g,upgrade:E,headersTimeout:Q,bodyTimeout:B,reset:C,throwOnError:h,expectContinue:c},f){if(typeof t!="string")throw new K("path must be a string");if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT")throw new K("path must be an absLine truncated
|
||||
`);C.push(k,w,h),typeof w.size=="number"?i+=k.byteLength+w.size+h.byteLength:c=!0}let f=Os.encode(`--${g}--`);C.push(f),i+=f.byteLength,c&&(i=null),s=A,r=async function*(){for(let u of C)u.stream?yield*u.stream():yield u},n="multipart/form-data; boundary="+g}else if(za(A))s=A,i=A.size,A.type&&(n=A.type);else if(typeof A[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(Zt.isDisturbed(A)||A.locked)throw new TypeError("Response body object should not be disturbed or locked");t=A instanceof Ve?A:Iy(A)}if((typeof s=="string"||Zt.isBuffer(s))&&(i=Buffer.byteLength(s)),r!=null){let g;t=new Ve({async start(){g=r(A)[Symbol.asyncIterator]()},async pull(E){let{value:Q,done:B}=await g.next();return B?queueMicrotask(()=>{E.close()}):py(t)||E.enqueue(new Uint8Array(Q)),E.desiredSize>0},async cancel(E){await g.return()},type:void 0})}return[{stream:t,source:s,length:i},n]}function by(A,e=!1){return Ve||(Ve=I("stream/web").ReadableStream),A instanceof Ve&&(Fo(!Zt.isDisturbed(A),"The body has already been consumed."),Fo(!A.locked,"The stream is locked.")),sB(A,e)}function Sy(A){let[e,t]=A.stream.tee(),r=fy(t,{transfer:[t]}),[,s]=r.tee();return A.stream=e,{stream:s,length:A.length,source:A.source}}async function*eB(A){if(A)if(rB(A))yield A;else{let e=A.stream;if(Zt.isDisturbed(e))throw new TypeError("The body has already been consumed.");if(e.locked)throw new TypeError("The stream is locked.");e[Dy]=!0,yield*e}}function mo(A){if(A.aborted)throw new tB("The operation was aborted.","AbortError")}function Uy(A){return{blob(){return Ws(this,t=>{let r=xy(this);return r==="failure"?r="":r&&(r=Ny(r)),new yy([t],{type:r})},A)},arrayBuffer(){return Ws(this,t=>new Uint8Array(t).buffer,A)},text(){return Ws(this,iB,A)},json(){return Ws(this,Yy,A)},async formData(){ko.brandCheck(this,A),mo(this[qe]);let t=this.headers.get("Content-Type");if(/multipart\/form-data/.test(t)){let r={};for(let[o,g]of this.headers)r[o.toLowerCase()]=g;let s=new $a,i;try{i=new cy({headers:r,preservePath:!0})}catch(o){throw new tB(`${o}`,"AbortError")}i.on("field",(o,g)=>{s.append(o,g)}),i.on("file",(o,g,E,Q,B)=>{let C=[];if(Q==="base64"||Q.toLowerCase()==="base64"){let h="";g.on("data",c=>{h+=c.toString().replace(/[\r\n]/gm,"");let f=h.length-h.length%4;C.push(Buffer.from(h.slice(0,f),"base64")),h=h.slice(f)}),g.on("end",()=>{C.push(Buffer.from(h,"base64")),s.append(o,new AB(C,E,{type:B}))})}else g.on("data",h=>{C.push(h)}),g.on("end",()=>{s.append(o,new AB(C,E,{type:B}))})});let n=new Promise((o,g)=>{i.on("finish",o),i.on("error",E=>g(new TypeError(E)))});if(this.body!==null)for await(let o of eB(this[qe].body))i.write(o);return i.end(),await n,s}else if(/application\/x-www-form-urlencoded/.test(t)){let r;try{let i="",n=new TextDecoder("utf-8",{ignoreBOM:!0});for await(let o of eB(this[qe].body)){if(!rB(o))throw new TypeError("Expected Uint8Array chunk");i+=n.decode(o,{stream:!0})}i+=n.decode(),r=new URLSearchParams(i)}catch(i){throw Object.assign(new TypeError,{cause:i})}let s=new $a;for(let[i,n]of r)s.append(i,n);return s}else throw await Promise.resolve(),mo(this[qe]),ko.errors.exception({header:`${A.name}.formData`,message:"Could not parse content as FormData."})}}}function Ly(A){Object.assign(A.prototype,Uy(A))}async function Ws(A,e,t){if(ko.brandCheck(A,t),mo(A[qe]),My(A[qe].body))throw new TypeError("Body is unusable");let r=uy(),s=n=>r.reject(n),i=n=>{try{r.resolve(e(n))}catch(o){s(o)}};return A[qe].body==null?(i(new Uint8Array),r.promise):(await dy(A[qe].body,i,s),r.promise)}function My(A){return A!=null&&(A.stream.locked||Zt.isDisturbed(A.stream))}function iB(A){return A.length===0?"":(A[0]===239&&A[1]===187&&A[2]===191&&(A=A.subarray(3)),my.decode(A))}function Yy(A){return JSON.parse(iB(A))}function xy(A){let{headersList:e}=A[qe],t=e.get("content-type");return t===null?"failure":Fy(t)}nB.exports={extractBody:sB,safelyExtractBody:by,cloneBody:Sy,mixinBody:Ly}});var QB=l((iS,EB)=>{"use strict";a();var{InvalidArgumentError:K,NotSupportedError:Jy}=_(),Oe=I("assert"),{kHTTP2BuildRequest:Gy,kHTTP2CopyHeaders:Ty,kHTTP1BuildRequest:vy}=X(),YA=T(),oB=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,gB=/[^\t\x20-\x7e\x80-\xff]/,Hy=/[^\u0021-\u00ff]/,ue=Symbol("handler"),QA={},bo;try{let A=I("diagnostics_channel");QA.create=A.channel("undici:request:create"),QA.bodySent=A.channel("undici:request:bodySent"),QA.headers=A.channel("undici:request:headers"),QA.trailers=A.channel("undici:request:trailers"),QA.error=A.channel("undici:request:error")}catch{QA.create={hasSubscribers:!1},QA.bodySent={hasSubscribers:!1},QA.headers={hasSubscribers:!1},QA.trailers={hasSubscribers:!1},QA.error={hasSubscribers:!1}}var So=class A{constructor(e,{path:t,method:r,body:s,headers:i,query:n,idempotent:o,blocking:g,upgrade:E,headersTimeout:Q,bodyTimeout:B,reset:C,throwOnError:h,expectContinue:c},f){if(typeof t!="string")throw new K("path must be a string");if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT")throw new K("path must be an absLine truncated
|
||||
`),this.body=u.stream,this.contentLength=u.length}else YA.isBlobLike(s)&&this.contentType==null&&s.type&&(this.contentType=s.type,this.headers+=`content-type: ${s.type}\r
|
||||
`);YA.validateHandler(f,r,E),this.servername=YA.getServerName(this.host),this[ue]=f,QA.create.hasSubscribers&&QA.create.publish({request:this})}onBodySent(e){if(this[ue].onBodySent)try{return this[ue].onBodySent(e)}catch(t){this.abort(t)}}onRequestSent(){if(QA.bodySent.hasSubscribers&&QA.bodySent.publish({request:this}),this[ue].onRequestSent)try{return this[ue].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Oe(!this.aborted),Oe(!this.completed),this.error)e(this.error);else return this.abort=e,this[ue].onConnect(e)}onHeaders(e,t,r,s){Oe(!this.aborted),Oe(!this.completed),QA.headers.hasSubscribers&&QA.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:s}});try{return this[ue].onHeaders(e,t,r,s)}catch(i){this.abort(i)}}onData(e){Oe(!this.aborted),Oe(!this.completed);try{return this[ue].onData(e)}catch(t){return this.abort(t),!1}}onUpgrade(e,t,r){return Oe(!this.aborted),Oe(!this.completed),this[ue].onUpgrade(e,t,r)}onComplete(e){this.onFinally(),Oe(!this.aborted),this.completed=!0,QA.trailers.hasSubscribers&&QA.trailers.publish({request:this,trailers:e});try{return this[ue].onComplete(e)}catch(t){this.onError(t)}}onError(e){if(this.onFinally(),QA.error.hasSubscribers&&QA.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[ue].onError(e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return vr(this,e,t),this}static[Ty](e,t,r){return new A(e,t,r)}static[Jy](e,t,r){let s=t.headers;t={...t,headers:null};let i=new A(e,t,r);if(i.headers={},Array.isArray(s)){if(s.length%2!==0)throw new K("headers array must be even");for(let n=0;n<s.length;n+=2)vr(i,s[n],s[n+1],!0)}else if(s&&typeof s=="object"){let n=Object.keys(s);for(let o=0;o<n.length;o++){let g=n[o];vr(i,g,s[g],!0)}}else if(s!=null)throw new K("headers must be an object or an array");return i}static[Gy](e){let t=e.split(`\r
|
||||
`),r={};for(let s of t){let[i,n]=s.split(": ");n==null||n.length===0||(r[i]?r[i]+=`,${n}`:r[i]=n)}return r}};function lt(A,e,t){if(e&&typeof e=="object")throw new K(`invalid ${A} header`);if(e=e!=null?`${e}`:"",oB.exec(e)!==null)throw new K(`invalid ${A} header`);return t?e:`${A}: ${e}\r
|
||||
`}function vr(A,e,t,r=!1){if(t&&typeof t=="object"&&!Array.isArray(t))throw new K(`invalid ${e} header`);if(t===void 0)return;if(A.host===null&&e.length===4&&e.toLowerCase()==="host"){if(oB.exec(t)!==null)throw new K(`invalid ${e} header`);A.host=t}else if(A.contentLength===null&&e.length===14&&e.toLowerCase()==="content-length"){if(A.contentLength=parseInt(t,10),!Number.isFinite(A.contentLength))throw new K("invalid content-length header")}else if(A.contentType===null&&e.length===12&&e.toLowerCase()==="content-type")A.contentType=t,r?A.headers[e]=lt(e,t,r):A.headers+=lt(e,t);else{if(e.length===17&&e.toLowerCase()==="transfer-encoding")throw new K("invalid transfer-encoding header");if(e.length===10&&e.toLowerCase()==="connection"){let s=typeof t=="string"?t.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new K("invalid connection header");s==="close"&&(A.reset=!0)}else{if(e.length===10&&e.toLowerCase()==="keep-alive")throw new K("invalid keep-alive header");if(e.length===7&&e.toLowerCase()==="upgrade")throw new K("invalid upgrade header");if(e.length===6&&e.toLowerCase()==="expect")throw new xy("expect header not supported");if(nB.exec(e)===null)throw new K("invalid header key");if(Array.isArray(t))for(let s=0;s<t.length;s++)r?A.headers[e]?A.headers[e]+=`,${lt(e,t[s],r)}`:A.headers[e]=lt(e,t[s],r):A.headers+=lt(e,t[s]);else r?A.headers[e]=lt(e,t,r):A.headers+=lt(e,t)}}}gB.exports=bo});var Ps=l((nS,QB)=>{"use strict";a();var Hy=I("events"),So=class extends Hy{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};QB.exports=So});var Vr=l((gS,aB)=>{"use strict";a();var Vy=Ps(),{ClientDestroyedError:Uo,ClientClosedError:qy,InvalidArgumentError:Xt}=_(),{kDestroy:Oy,kClose:Wy,kDispatch:Lo,kInterceptors:ut}=X(),Kt=Symbol("destroyed"),Hr=Symbol("closed"),We=Symbol("onDestroyed"),jt=Symbol("onClosed"),_s=Symbol("Intercepted Dispatch"),Mo=class extends Vy{constructor(){super(),this[Kt]=!1,this[We]=null,this[Hr]=!1,this[jt]=[]}get destroyed(){return this[Kt]}get closed(){return this[Hr]}get interceptors(){return this[ut]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--)if(typeof this[ut][t]!="function")throw new Xt("interceptor must be an function")}this[ut]=e}close(e){if(e===void 0)return new Promise((r,s)=>{this.close((i,n)=>i?s(i):r(n))});if(typeof e!="function")throw new Xt("invalid callback");if(this[Kt]){queueMicrotask(()=>e(new Uo,null));return}if(this[Hr]){this[jt]?this[jt].push(e):queueMicrotask(()=>e(null,null));return}this[Hr]=!0,this[jt].push(e);let t=()=>{let r=this[jt];this[jt]=null;for(let s=0;s<r.length;s++)r[s](null,null)};this[Wy]().then(()=>this.destroy()).then(()=>{queueMicrotask(t)})}destroy(e,t){if(typeof e=="function"&&(t=e,e=null),t===void 0)return new Promise((s,i)=>{this.destroy(e,(n,o)=>n?i(n):s(o))});if(typeof t!="function")throw new Xt("invalid callback");if(this[Kt]){this[We]?this[We].push(t):queueMicrotask(()=>t(null,null));return}e||(e=new Uo),this[Kt]=!0,this[We]=this[We]||[],this[We].push(t);let r=()=>{let s=this[We];this[We]=null;for(let i=0;i<s.length;i++)s[i](null,null)};this[Oy](e).then(()=>{queueMicrotask(r)})}[_s](e,t){if(!this[ut]||this[ut].length===0)return this[_s]=this[Lo],this[Lo](e,t);let r=this[Lo].bind(this);for(let s=this[ut].length-1;s>=0;s--)r=this[ut][s](r);return this[_s]=r,r(e,t)}dispatch(e,t){if(!t||typeof t!="object")throw new Xt("handler must be an object");try{if(!e||typeof e!="object")throw new Xt("opts must be an object.");if(this[Kt]||this[We])throw new Uo;if(this[Hr])throw new qy;return this[_s](e,t)}catch(r){if(typeof t.onError!="function")throw new Xt("invalid onError method");return t.onError(r),!1}}};aB.exports=Mo});var qr=l((BS,cB)=>{"use strict";a();var Py=I("net"),BB=I("assert"),CB=T(),{InvalidArgumentError:_y,ConnectTimeoutError:Zy}=_(),Yo,xo;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?xo=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(t=>{if(this._sessionCache.size<this._maxCachedSessions)return;let r=this._sessionCache.get(t);r!==void 0&&r.deref()===void 0&&this._sessionCache.delete(t)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e))}}:xo=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:r}=this._sessionCache.keys().next();this._sessionCache.delete(r)}this._sessionCache.set(e,t)}}};function Xy({allowH2:A,maxCachedSessions:e,socketPath:t,timeout:r,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new _y("maxCachedSessions must be a positive integer or zero");let i={path:t,...s},n=new xo(e??100);return r=r??1e4,A=A??!1,function({hostname:g,host:E,protocol:Q,p
Line truncated
|
||||
`,this[SB]=g??3e5,this[bB]=s??3e5,this[Xr]=k??!0,this[Rw]=J,this[Kr]=hA,this[it]=null,this[LB]=wA>-1?wA:-1,this[be]="h1",this[jA]=null,this[ei]=_A?{openStreams:0,maxConcurrentStreams:H??100}:null,this[MB]=`${this[uA].hostname}${this[uA].port?`:${this[uA].port}`:""}`,this[z]=[],this[$]=0,this[KA]=0}get pipelining(){return this[ot]}set pipelining(e){this[ot]=e,zA(this,!0)}get[yt](){return this[z].length-this[KA]}get[tA](){return this[KA]-this[$]}get[ft](){return this[z].length-this[$]}get[pw](){return!!this[iA]&&!this[$t]&&!this[iA].destroyed}get[Oo](){let e=this[iA];return e&&(e[NA]||e[Ze]||e[er])||this[ft]>=(this[ot]||1)||this[yt]>0}[Dw](e){GB(this),this.once("connect",e)}[Nw](e,t){let r=e.origin||this[uA].origin,s=this[be]==="h2"?qo[bw](r,e,t):qo[Uw](r,e,t);return this[z].push(s),this[dt]||(F.bodyLength(s.body)==null&&F.isIterable(s.body)?(this[dt]=1,process.nextTick(zA,this)):zA(this,!0)),this[dt]&&this[nt]!==2&&this[Oo]&&(this[nt]=2),this[nt]<2}async[kw](){return new Promise(e=>{this[ft]?this[it]=e:e(null)})}async[Fw](e){return new Promise(t=>{let r=this[z].splice(this[KA]);for(let i=0;i<r.length;i++){let n=r[i];mA(this,n,e)}let s=()=>{this[it]&&(this[it](),this[it]=null),t()};this[jA]!=null&&(F.destroy(this[jA],e),this[jA]=null,this[ei]=null),this[iA]?F.destroy(this[iA].on("close",s),e):queueMicrotask(s),zA(this)})}};function vw(A){D(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[iA][dA]=A,ii(this[me],A)}function Hw(A,e,t){let r=new Ne(`HTTP/2: "frameError" received - type ${A}, code ${e}`);t===0&&(this[iA][dA]=r,ii(this[me],r))}function Vw(){F.destroy(this,new Ar("other side closed")),F.destroy(this[iA],new Ar("other side closed"))}function qw(A){let e=this[me],t=new Ne(`HTTP/2: "GOAWAY" frame received with code ${A}`);if(e[iA]=null,e[jA]=null,e.destroyed){D(this[yt]===0);let r=e[z].splice(e[$]);for(let s=0;s<r.length;s++){let i=r[s];mA(this,i,t)}}else if(e[tA]>0){let r=e[z][e[$]];e[z][e[$]++]=null,mA(e,r,t)}e[KA]=e[$],D(e[tA]===0),e.emit("disconnect",e[uA],[e],t),zA(e)}var Re=hB(),Ow=Ks(),Ww=Buffer.alloc(0);async function Pw(){let A=process.env.JEST_WORKER_ID?vo():void 0,e;try{e=await WebAssembly.compile(Buffer.from(DB(),"base64"))}catch{e=await WebAssembly.compile(Buffer.from(A||vo(),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(t,r,s)=>0,wasm_on_status:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onStatus(new js(ke.buffer,i,s))||0},wasm_on_message_begin:t=>(D.strictEqual(CA.ptr,t),CA.onMessageBegin()||0),wasm_on_header_field:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onHeaderField(new js(ke.buffer,i,s))||0},wasm_on_header_value:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onHeaderValue(new js(ke.buffer,i,s))||0},wasm_on_headers_complete:(t,r,s,i)=>(D.strictEqual(CA.ptr,t),CA.onHeadersComplete(r,!!s,!!i)||0),wasm_on_body:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onBody(new js(ke.buffer,i,s))||0},wasm_on_message_complete:t=>(D.strictEqual(CA.ptr,t),CA.onMessageComplete()||0)}})}var Vo=null,_o=Pw();_o.catch();var CA=null,ke=null,zs=0,Fe=null,tr=1,Ai=2,Zo=3,Xo=class{constructor(e,t,{exports:r}){D(Number.isFinite(e[$s])&&e[$s]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(Re.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[$s],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[LB]}setTimeout(e,t){this.timeoutType=t,e!==this.timeoutValue?(Ho.clearTimeout(this.timeout),e?(this.timeout=Ho.setTimeout(_w,e,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(D(this.ptr!=null),D(CA==null),this.llhttp.llhttp_resume(this.ptr),D(this.timeoutType===Ai),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Ww),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){D(this.ptr!=null),D(CA==null),D(!this.paused);let{socket:t,llhttp:r}=this;e.length>zs&&(Fe&&r.free(Fe),zs=Math.ceil(e.length/4096)*4096,Fe=r.malloc(zs)),new Uint8Array(r.memory.buffer,Fe,zs).set(e);try{let s;try{ke=e,CA=this,s=r.llhttp_execute(this.ptr,Fe,e.length)}catch(n){throw n}finally{CA=null,ke=null}let i=r.llhttp_get_error_pos(this.ptr)-Fe;if(s===Re.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(i));else if(s===Re.ERROR.PAUSED)this.paused=!0,t.unshift(e.slice(i));else if(s!==Re.ERROR.OK){let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let g=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,g).toS
Line truncated
|
||||
`);YA.validateHandler(f,r,E),this.servername=YA.getServerName(this.host),this[ue]=f,QA.create.hasSubscribers&&QA.create.publish({request:this})}onBodySent(e){if(this[ue].onBodySent)try{return this[ue].onBodySent(e)}catch(t){this.abort(t)}}onRequestSent(){if(QA.bodySent.hasSubscribers&&QA.bodySent.publish({request:this}),this[ue].onRequestSent)try{return this[ue].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Oe(!this.aborted),Oe(!this.completed),this.error)e(this.error);else return this.abort=e,this[ue].onConnect(e)}onHeaders(e,t,r,s){Oe(!this.aborted),Oe(!this.completed),QA.headers.hasSubscribers&&QA.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:s}});try{return this[ue].onHeaders(e,t,r,s)}catch(i){this.abort(i)}}onData(e){Oe(!this.aborted),Oe(!this.completed);try{return this[ue].onData(e)}catch(t){return this.abort(t),!1}}onUpgrade(e,t,r){return Oe(!this.aborted),Oe(!this.completed),this[ue].onUpgrade(e,t,r)}onComplete(e){this.onFinally(),Oe(!this.aborted),this.completed=!0,QA.trailers.hasSubscribers&&QA.trailers.publish({request:this,trailers:e});try{return this[ue].onComplete(e)}catch(t){this.onError(t)}}onError(e){if(this.onFinally(),QA.error.hasSubscribers&&QA.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[ue].onError(e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return vr(this,e,t),this}static[vy](e,t,r){return new A(e,t,r)}static[Gy](e,t,r){let s=t.headers;t={...t,headers:null};let i=new A(e,t,r);if(i.headers={},Array.isArray(s)){if(s.length%2!==0)throw new K("headers array must be even");for(let n=0;n<s.length;n+=2)vr(i,s[n],s[n+1],!0)}else if(s&&typeof s=="object"){let n=Object.keys(s);for(let o=0;o<n.length;o++){let g=n[o];vr(i,g,s[g],!0)}}else if(s!=null)throw new K("headers must be an object or an array");return i}static[Ty](e){let t=e.split(`\r
|
||||
`),r={};for(let s of t){let[i,n]=s.split(": ");n==null||n.length===0||(r[i]?r[i]+=`,${n}`:r[i]=n)}return r}};function lt(A,e,t){if(e&&typeof e=="object")throw new K(`invalid ${A} header`);if(e=e!=null?`${e}`:"",gB.exec(e)!==null)throw new K(`invalid ${A} header`);return t?e:`${A}: ${e}\r
|
||||
`}function vr(A,e,t,r=!1){if(t&&typeof t=="object"&&!Array.isArray(t))throw new K(`invalid ${e} header`);if(t===void 0)return;if(A.host===null&&e.length===4&&e.toLowerCase()==="host"){if(gB.exec(t)!==null)throw new K(`invalid ${e} header`);A.host=t}else if(A.contentLength===null&&e.length===14&&e.toLowerCase()==="content-length"){if(A.contentLength=parseInt(t,10),!Number.isFinite(A.contentLength))throw new K("invalid content-length header")}else if(A.contentType===null&&e.length===12&&e.toLowerCase()==="content-type")A.contentType=t,r?A.headers[e]=lt(e,t,r):A.headers+=lt(e,t);else{if(e.length===17&&e.toLowerCase()==="transfer-encoding")throw new K("invalid transfer-encoding header");if(e.length===10&&e.toLowerCase()==="connection"){let s=typeof t=="string"?t.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new K("invalid connection header");s==="close"&&(A.reset=!0)}else{if(e.length===10&&e.toLowerCase()==="keep-alive")throw new K("invalid keep-alive header");if(e.length===7&&e.toLowerCase()==="upgrade")throw new K("invalid upgrade header");if(e.length===6&&e.toLowerCase()==="expect")throw new Jy("expect header not supported");if(oB.exec(e)===null)throw new K("invalid header key");if(Array.isArray(t))for(let s=0;s<t.length;s++)r?A.headers[e]?A.headers[e]+=`,${lt(e,t[s],r)}`:A.headers[e]=lt(e,t[s],r):A.headers+=lt(e,t[s]);else r?A.headers[e]=lt(e,t,r):A.headers+=lt(e,t)}}}EB.exports=So});var Ps=l((oS,aB)=>{"use strict";a();var Vy=I("events"),Uo=class extends Vy{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}};aB.exports=Uo});var Vr=l((ES,BB)=>{"use strict";a();var qy=Ps(),{ClientDestroyedError:Lo,ClientClosedError:Oy,InvalidArgumentError:Xt}=_(),{kDestroy:Wy,kClose:Py,kDispatch:Mo,kInterceptors:ut}=X(),Kt=Symbol("destroyed"),Hr=Symbol("closed"),We=Symbol("onDestroyed"),jt=Symbol("onClosed"),_s=Symbol("Intercepted Dispatch"),Yo=class extends qy{constructor(){super(),this[Kt]=!1,this[We]=null,this[Hr]=!1,this[jt]=[]}get destroyed(){return this[Kt]}get closed(){return this[Hr]}get interceptors(){return this[ut]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--)if(typeof this[ut][t]!="function")throw new Xt("interceptor must be an function")}this[ut]=e}close(e){if(e===void 0)return new Promise((r,s)=>{this.close((i,n)=>i?s(i):r(n))});if(typeof e!="function")throw new Xt("invalid callback");if(this[Kt]){queueMicrotask(()=>e(new Lo,null));return}if(this[Hr]){this[jt]?this[jt].push(e):queueMicrotask(()=>e(null,null));return}this[Hr]=!0,this[jt].push(e);let t=()=>{let r=this[jt];this[jt]=null;for(let s=0;s<r.length;s++)r[s](null,null)};this[Py]().then(()=>this.destroy()).then(()=>{queueMicrotask(t)})}destroy(e,t){if(typeof e=="function"&&(t=e,e=null),t===void 0)return new Promise((s,i)=>{this.destroy(e,(n,o)=>n?i(n):s(o))});if(typeof t!="function")throw new Xt("invalid callback");if(this[Kt]){this[We]?this[We].push(t):queueMicrotask(()=>t(null,null));return}e||(e=new Lo),this[Kt]=!0,this[We]=this[We]||[],this[We].push(t);let r=()=>{let s=this[We];this[We]=null;for(let i=0;i<s.length;i++)s[i](null,null)};this[Wy](e).then(()=>{queueMicrotask(r)})}[_s](e,t){if(!this[ut]||this[ut].length===0)return this[_s]=this[Mo],this[Mo](e,t);let r=this[Mo].bind(this);for(let s=this[ut].length-1;s>=0;s--)r=this[ut][s](r);return this[_s]=r,r(e,t)}dispatch(e,t){if(!t||typeof t!="object")throw new Xt("handler must be an object");try{if(!e||typeof e!="object")throw new Xt("opts must be an object.");if(this[Kt]||this[We])throw new Lo;if(this[Hr])throw new Oy;return this[_s](e,t)}catch(r){if(typeof t.onError!="function")throw new Xt("invalid onError method");return t.onError(r),!1}}};BB.exports=Yo});var qr=l((CS,IB)=>{"use strict";a();var _y=I("net"),CB=I("assert"),cB=T(),{InvalidArgumentError:Zy,ConnectTimeoutError:Xy}=_(),xo,Jo;global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE?Jo=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(t=>{if(this._sessionCache.size<this._maxCachedSessions)return;let r=this._sessionCache.get(t);r!==void 0&&r.deref()===void 0&&this._sessionCache.delete(t)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e))}}:Jo=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:r}=this._sessionCache.keys().next();this._sessionCache.delete(r)}this._sessionCache.set(e,t)}}};function Ky({allowH2:A,maxCachedSessions:e,socketPath:t,timeout:r,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new Zy("maxCachedSessions must be a positive integer or zero");let i={path:t,...s},n=new Jo(e??100);return r=r??1e4,A=A??!1,function({hostname:g,host:E,protocol:Q,p
Line truncated
|
||||
`,this[UB]=g??3e5,this[SB]=s??3e5,this[Xr]=k??!0,this[kw]=J,this[Kr]=hA,this[it]=null,this[MB]=wA>-1?wA:-1,this[be]="h1",this[jA]=null,this[ei]=_A?{openStreams:0,maxConcurrentStreams:H??100}:null,this[YB]=`${this[uA].hostname}${this[uA].port?`:${this[uA].port}`:""}`,this[z]=[],this[$]=0,this[KA]=0}get pipelining(){return this[ot]}set pipelining(e){this[ot]=e,zA(this,!0)}get[yt](){return this[z].length-this[KA]}get[tA](){return this[KA]-this[$]}get[ft](){return this[z].length-this[$]}get[Rw](){return!!this[iA]&&!this[$t]&&!this[iA].destroyed}get[Wo](){let e=this[iA];return e&&(e[NA]||e[Ze]||e[er])||this[ft]>=(this[ot]||1)||this[yt]>0}[pw](e){TB(this),this.once("connect",e)}[mw](e,t){let r=e.origin||this[uA].origin,s=this[be]==="h2"?Oo[Sw](r,e,t):Oo[Lw](r,e,t);return this[z].push(s),this[dt]||(F.bodyLength(s.body)==null&&F.isIterable(s.body)?(this[dt]=1,process.nextTick(zA,this)):zA(this,!0)),this[dt]&&this[nt]!==2&&this[Wo]&&(this[nt]=2),this[nt]<2}async[Fw](){return new Promise(e=>{this[ft]?this[it]=e:e(null)})}async[Nw](e){return new Promise(t=>{let r=this[z].splice(this[KA]);for(let i=0;i<r.length;i++){let n=r[i];mA(this,n,e)}let s=()=>{this[it]&&(this[it](),this[it]=null),t()};this[jA]!=null&&(F.destroy(this[jA],e),this[jA]=null,this[ei]=null),this[iA]?F.destroy(this[iA].on("close",s),e):queueMicrotask(s),zA(this)})}};function Hw(A){D(A.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[iA][dA]=A,ii(this[me],A)}function Vw(A,e,t){let r=new Ne(`HTTP/2: "frameError" received - type ${A}, code ${e}`);t===0&&(this[iA][dA]=r,ii(this[me],r))}function qw(){F.destroy(this,new Ar("other side closed")),F.destroy(this[iA],new Ar("other side closed"))}function Ow(A){let e=this[me],t=new Ne(`HTTP/2: "GOAWAY" frame received with code ${A}`);if(e[iA]=null,e[jA]=null,e.destroyed){D(this[yt]===0);let r=e[z].splice(e[$]);for(let s=0;s<r.length;s++){let i=r[s];mA(this,i,t)}}else if(e[tA]>0){let r=e[z][e[$]];e[z][e[$]++]=null,mA(e,r,t)}e[KA]=e[$],D(e[tA]===0),e.emit("disconnect",e[uA],[e],t),zA(e)}var Re=lB(),Ww=Ks(),Pw=Buffer.alloc(0);async function _w(){let A=process.env.JEST_WORKER_ID?Ho():void 0,e;try{e=await WebAssembly.compile(Buffer.from(pB(),"base64"))}catch{e=await WebAssembly.compile(Buffer.from(A||Ho(),"base64"))}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(t,r,s)=>0,wasm_on_status:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onStatus(new js(ke.buffer,i,s))||0},wasm_on_message_begin:t=>(D.strictEqual(CA.ptr,t),CA.onMessageBegin()||0),wasm_on_header_field:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onHeaderField(new js(ke.buffer,i,s))||0},wasm_on_header_value:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onHeaderValue(new js(ke.buffer,i,s))||0},wasm_on_headers_complete:(t,r,s,i)=>(D.strictEqual(CA.ptr,t),CA.onHeadersComplete(r,!!s,!!i)||0),wasm_on_body:(t,r,s)=>{D.strictEqual(CA.ptr,t);let i=r-Fe+ke.byteOffset;return CA.onBody(new js(ke.buffer,i,s))||0},wasm_on_message_complete:t=>(D.strictEqual(CA.ptr,t),CA.onMessageComplete()||0)}})}var qo=null,Zo=_w();Zo.catch();var CA=null,ke=null,zs=0,Fe=null,tr=1,Ai=2,Xo=3,Ko=class{constructor(e,t,{exports:r}){D(Number.isFinite(e[$s])&&e[$s]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(Re.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[$s],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[MB]}setTimeout(e,t){this.timeoutType=t,e!==this.timeoutValue?(Vo.clearTimeout(this.timeout),e?(this.timeout=Vo.setTimeout(Zw,e,this),this.timeout.unref&&this.timeout.unref()):this.timeout=null,this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh()}resume(){this.socket.destroyed||!this.paused||(D(this.ptr!=null),D(CA==null),this.llhttp.llhttp_resume(this.ptr),D(this.timeoutType===Ai),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Pw),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){D(this.ptr!=null),D(CA==null),D(!this.paused);let{socket:t,llhttp:r}=this;e.length>zs&&(Fe&&r.free(Fe),zs=Math.ceil(e.length/4096)*4096,Fe=r.malloc(zs)),new Uint8Array(r.memory.buffer,Fe,zs).set(e);try{let s;try{ke=e,CA=this,s=r.llhttp_execute(this.ptr,Fe,e.length)}catch(n){throw n}finally{CA=null,ke=null}let i=r.llhttp_get_error_pos(this.ptr)-Fe;if(s===Re.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(i));else if(s===Re.ERROR.PAUSED)this.paused=!0,t.unshift(e.slice(i));else if(s!==Re.ERROR.OK){let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let g=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,g).toS
Line truncated
|
||||
`;return typeof i=="string"?c+=`host: ${i}\r
|
||||
`:c+=A[FB],n?c+=`connection: upgrade\r
|
||||
`:c+=A[NB],n?c+=`connection: upgrade\r
|
||||
upgrade: ${n}\r
|
||||
`:A[ot]&&!h[NA]?c+=`connection: keep-alive\r
|
||||
`:c+=`connection: close\r
|
||||
@@ -34,7 +34,7 @@ upgrade: ${n}\r
|
||||
`,"latin1"):(D(C===null,"no body must not have content length"),h.write(`${c}\r
|
||||
`,"latin1")),e.onRequestSent()):F.isBuffer(t)?(D(C===t.byteLength,"buffer body must have content length"),h.cork(),h.write(`${c}content-length: ${C}\r
|
||||
\r
|
||||
`,"latin1"),h.write(t),h.uncork(),e.onBodySent(t),e.onRequestSent(),Q||(h[NA]=!0)):F.isBlobLike(t)?typeof t.stream=="function"?ri({body:t.stream(),client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):HB({body:t,client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):F.isStream(t)?vB({body:t,client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):F.isIterable(t)?ri({body:t,client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):D(!1),!0}function Kw(A,e,t){let{body:r,method:s,path:i,host:n,upgrade:o,expectContinue:g,signal:E,headers:Q}=t,B;if(typeof Q=="string"?B=qo[Sw](Q.trim()):B=Q,o)return mA(A,t,new Error("Upgrade not supported for H2")),!1;try{t.onConnect(k=>{t.aborted||t.completed||mA(A,t,k||new jo)})}catch(k){mA(A,t,k)}if(t.aborted)return!1;let C,h=A[ei];if(B[Lw]=n||A[MB],B[Mw]=s,s==="CONNECT")return e.ref(),C=e.request(B,{endStream:!1,signal:E}),C.id&&!C.pending?(t.onUpgrade(null,null,C),++h.openStreams):C.once("ready",()=>{t.onUpgrade(null,null,C),++h.openStreams}),C.once("close",()=>{h.openStreams-=1,h.openStreams===0&&e.unref()}),!0;B[Yw]=i,B[xw]="https";let c=s==="PUT"||s==="POST"||s==="PATCH";r&&typeof r.read=="function"&&r.read(0);let f=F.bodyLength(r);if(f==null&&(f=t.contentLength),(f===0||!c)&&(f=null),TB(s)&&f>0&&t.contentLength!=null&&t.contentLength!==f){if(A[Xr])return mA(A,t,new _e),!1;process.emitWarning(new _e)}f!=null&&(D(r,"no body must not have content length"),B[Jw]=`${f}`),e.ref();let u=s==="GET"||s==="HEAD";return g?(B[Gw]="100-continue",C=e.request(B,{endStream:u,signal:E}),C.once("continue",w)):(C=e.request(B,{endStream:u,signal:E}),w()),++h.openStreams,C.once("response",k=>{let{[Tw]:U,...J}=k;t.onHeaders(Number(U),J,C.resume.bind(C),"")===!1&&C.pause()}),C.once("end",()=>{t.onComplete([])}),C.on("data",k=>{t.onData(k)===!1&&C.pause()}),C.once("close",()=>{h.openStreams-=1,h.openStreams===0&&e.unref()}),C.once("error",function(k){A[jA]&&!A[jA].destroyed&&!this.closed&&!this.destroyed&&(h.streams-=1,F.destroy(C,k))}),C.once("frameError",(k,U)=>{let J=new Ne(`HTTP/2: "frameError" received - type ${k}, code ${U}`);mA(A,t,J),A[jA]&&!A[jA].destroyed&&!this.closed&&!this.destroyed&&(h.streams-=1,F.destroy(C,J))}),!0;function w(){r?F.isBuffer(r)?(D(f===r.byteLength,"buffer body must have content length"),C.cork(),C.write(r),C.uncork(),C.end(),t.onBodySent(r),t.onRequestSent()):F.isBlobLike(r)?typeof r.stream=="function"?ri({client:A,request:t,contentLength:f,h2stream:C,expectsPayload:c,body:r.stream(),socket:A[iA],header:""}):HB({body:r,client:A,request:t,contentLength:f,expectsPayload:c,h2stream:C,header:"",socket:A[iA]}):F.isStream(r)?vB({body:r,client:A,request:t,contentLength:f,expectsPayload:c,socket:A[iA],h2stream:C,header:""}):F.isIterable(r)?ri({body:r,client:A,request:t,contentLength:f,expectsPayload:c,header:"",h2stream:C,socket:A[iA]}):D(!1):t.onRequestSent()}}function vB({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){if(D(i!==0||t[tA]===0,"stream body cannot be pipelined"),t[be]==="h2"){let f=function(u){r.onBodySent(u)},c=Cw(e,A,u=>{u?(F.destroy(e,u),F.destroy(A,u)):r.onRequestSent()});c.on("data",f),c.once("end",()=>{c.removeListener("data",f),F.destroy(c)});return}let g=!1,E=new si({socket:s,request:r,contentLength:i,client:t,expectsPayload:o,header:n}),Q=function(c){if(!g)try{!E.write(c)&&this.pause&&this.pause()}catch(f){F.destroy(this,f)}},B=function(){g||e.resume&&e.resume()},C=function(){if(g)return;let c=new jo;queueMicrotask(()=>h(c))},h=function(c){if(!g){if(g=!0,D(s.destroyed||s[Ze]&&t[tA]<=1),s.off("drain",B).off("error",h),e.removeListener("data",Q).removeListener("end",h).removeListener("error",h).removeListener("close",C),!c)try{E.end()}catch(f){c=f}E.destroy(c),c&&(c.code!=="UND_ERR_INFO"||c.message!=="reset")?F.destroy(e,c):F.destroy(e)}};e.on("data",Q).on("end",h).on("error",h).on("close",C),e.resume&&e.resume(),s.on("drain",B).on("error",h)}async function HB({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){D(i===e.size,"blob body must have content length");let g=t[be]==="h2";try{if(i!=null&&i!==e.size)throw new _e;let E=Buffer.from(await e.arrayBuffer());g?(A.cork(),A.write(E),A.uncork()):(s.cork(),s.write(`${n}content-length: ${i}\r
|
||||
`,"latin1"),h.write(t),h.uncork(),e.onBodySent(t),e.onRequestSent(),Q||(h[NA]=!0)):F.isBlobLike(t)?typeof t.stream=="function"?ri({body:t.stream(),client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):VB({body:t,client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):F.isStream(t)?HB({body:t,client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):F.isIterable(t)?ri({body:t,client:A,request:e,socket:h,contentLength:C,header:c,expectsPayload:Q}):D(!1),!0}function jw(A,e,t){let{body:r,method:s,path:i,host:n,upgrade:o,expectContinue:g,signal:E,headers:Q}=t,B;if(typeof Q=="string"?B=Oo[Uw](Q.trim()):B=Q,o)return mA(A,t,new Error("Upgrade not supported for H2")),!1;try{t.onConnect(k=>{t.aborted||t.completed||mA(A,t,k||new zo)})}catch(k){mA(A,t,k)}if(t.aborted)return!1;let C,h=A[ei];if(B[Mw]=n||A[YB],B[Yw]=s,s==="CONNECT")return e.ref(),C=e.request(B,{endStream:!1,signal:E}),C.id&&!C.pending?(t.onUpgrade(null,null,C),++h.openStreams):C.once("ready",()=>{t.onUpgrade(null,null,C),++h.openStreams}),C.once("close",()=>{h.openStreams-=1,h.openStreams===0&&e.unref()}),!0;B[xw]=i,B[Jw]="https";let c=s==="PUT"||s==="POST"||s==="PATCH";r&&typeof r.read=="function"&&r.read(0);let f=F.bodyLength(r);if(f==null&&(f=t.contentLength),(f===0||!c)&&(f=null),vB(s)&&f>0&&t.contentLength!=null&&t.contentLength!==f){if(A[Xr])return mA(A,t,new _e),!1;process.emitWarning(new _e)}f!=null&&(D(r,"no body must not have content length"),B[Gw]=`${f}`),e.ref();let u=s==="GET"||s==="HEAD";return g?(B[Tw]="100-continue",C=e.request(B,{endStream:u,signal:E}),C.once("continue",w)):(C=e.request(B,{endStream:u,signal:E}),w()),++h.openStreams,C.once("response",k=>{let{[vw]:U,...J}=k;t.onHeaders(Number(U),J,C.resume.bind(C),"")===!1&&C.pause()}),C.once("end",()=>{t.onComplete([])}),C.on("data",k=>{t.onData(k)===!1&&C.pause()}),C.once("close",()=>{h.openStreams-=1,h.openStreams===0&&e.unref()}),C.once("error",function(k){A[jA]&&!A[jA].destroyed&&!this.closed&&!this.destroyed&&(h.streams-=1,F.destroy(C,k))}),C.once("frameError",(k,U)=>{let J=new Ne(`HTTP/2: "frameError" received - type ${k}, code ${U}`);mA(A,t,J),A[jA]&&!A[jA].destroyed&&!this.closed&&!this.destroyed&&(h.streams-=1,F.destroy(C,J))}),!0;function w(){r?F.isBuffer(r)?(D(f===r.byteLength,"buffer body must have content length"),C.cork(),C.write(r),C.uncork(),C.end(),t.onBodySent(r),t.onRequestSent()):F.isBlobLike(r)?typeof r.stream=="function"?ri({client:A,request:t,contentLength:f,h2stream:C,expectsPayload:c,body:r.stream(),socket:A[iA],header:""}):VB({body:r,client:A,request:t,contentLength:f,expectsPayload:c,h2stream:C,header:"",socket:A[iA]}):F.isStream(r)?HB({body:r,client:A,request:t,contentLength:f,expectsPayload:c,socket:A[iA],h2stream:C,header:""}):F.isIterable(r)?ri({body:r,client:A,request:t,contentLength:f,expectsPayload:c,header:"",h2stream:C,socket:A[iA]}):D(!1):t.onRequestSent()}}function HB({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){if(D(i!==0||t[tA]===0,"stream body cannot be pipelined"),t[be]==="h2"){let f=function(u){r.onBodySent(u)},c=cw(e,A,u=>{u?(F.destroy(e,u),F.destroy(A,u)):r.onRequestSent()});c.on("data",f),c.once("end",()=>{c.removeListener("data",f),F.destroy(c)});return}let g=!1,E=new si({socket:s,request:r,contentLength:i,client:t,expectsPayload:o,header:n}),Q=function(c){if(!g)try{!E.write(c)&&this.pause&&this.pause()}catch(f){F.destroy(this,f)}},B=function(){g||e.resume&&e.resume()},C=function(){if(g)return;let c=new zo;queueMicrotask(()=>h(c))},h=function(c){if(!g){if(g=!0,D(s.destroyed||s[Ze]&&t[tA]<=1),s.off("drain",B).off("error",h),e.removeListener("data",Q).removeListener("end",h).removeListener("error",h).removeListener("close",C),!c)try{E.end()}catch(f){c=f}E.destroy(c),c&&(c.code!=="UND_ERR_INFO"||c.message!=="reset")?F.destroy(e,c):F.destroy(e)}};e.on("data",Q).on("end",h).on("error",h).on("close",C),e.resume&&e.resume(),s.on("drain",B).on("error",h)}async function VB({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){D(i===e.size,"blob body must have content length");let g=t[be]==="h2";try{if(i!=null&&i!==e.size)throw new _e;let E=Buffer.from(await e.arrayBuffer());g?(A.cork(),A.write(E),A.uncork()):(s.cork(),s.write(`${n}content-length: ${i}\r
|
||||
\r
|
||||
`,"latin1"),s.write(E),s.uncork()),r.onBodySent(E),r.onRequestSent(),o||(s[NA]=!0),zA(t)}catch(E){F.destroy(g?A:s,E)}}async function ri({h2stream:A,body:e,client:t,request:r,socket:s,contentLength:i,header:n,expectsPayload:o}){D(i!==0||t[tA]===0,"iterator body cannot be pipelined");let g=null;function E(){if(g){let C=g;g=null,C()}}let Q=()=>new Promise((C,h)=>{D(g===null),s[dA]?h(s[dA]):g=C});if(t[be]==="h2"){A.on("close",E).on("drain",E);try{for await(let C of e){if(s[dA])throw s[dA];let h=A.write(C);r.onBodySent(C),h||await Q()}}catch(C){A.destroy(C)}finally{r.onRequestSent(),A.end(),A.off("close",E).off("drain",E)}return}s.on("close",E).on("drain",E);let B=new si({socket:s,request:r,contentLength:i,client:t,expectsPayload:o,header:n});try{for await(let C of e){if(s[dA])throw s[dA];B.write(C)||await Q()}B.end()}catch(C){B.destroy(C)}finally{s.off("close",E).off("drain",E)}}var si=class{constructor({socket:e,request:t,contentLength:r,client:s,expectsPayload:i,header:n}){this.socket=e,this.request=t,this.contentLength=r,this.client=s,this.bytesWritten=0,this.expectsPayload=i,this.header=n,e[Ze]=!0}write(e){let{socket:t,request:r,contentLength:s,client:i,bytesWritten:n,expectsPayload:o,header:g}=this;if(t[dA])throw t[dA];if(t.destroyed)return!1;let E=Buffer.byteLength(e);if(!E)return!0;if(s!==null&&n+E>s){if(i[Xr])throw new _e;process.emitWarning(new _e)}t.cork(),n===0&&(o||(t[NA]=!0),s===null?t.write(`${g}transfer-encoding: chunked\r
|
||||
`,"latin1"):t.write(`${g}content-length: ${s}\r
|
||||
@@ -47,18 +47,18 @@ ${E.toString(16)}\r
|
||||
`,"latin1"):t===null&&e.write(`\r
|
||||
0\r
|
||||
\r
|
||||
`,"latin1"),t!==null&&s!==t){if(r[Xr])throw new _e;process.emitWarning(new _e)}e[sA].timeout&&e[sA].timeoutType===tr&&e[sA].timeout.refresh&&e[sA].timeout.refresh(),zA(r)}}destroy(e){let{socket:t,client:r}=this;t[Ze]=!1,e&&(D(r[tA]<=1,"pipeline should only contain this request"),F.destroy(t,e))}};function mA(A,e,t){try{e.onError(t),D(e.aborted)}catch(r){A.emit("error",r)}}VB.exports=Po});var OB=l((mS,qB)=>{"use strict";a();var ni=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};qB.exports=class{constructor(){this.head=this.tail=new ni}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new ni),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),t}}});var PB=l((SS,WB)=>{"use strict";a();var{kFree:jw,kConnected:zw,kPending:$w,kQueued:AD,kRunning:eD,kSize:tD}=X(),wt=Symbol("pool"),zo=class{constructor(e){this[wt]=e}get connected(){return this[wt][zw]}get free(){return this[wt][jw]}get pending(){return this[wt][$w]}get queued(){return this[wt][AD]}get running(){return this[wt][eD]}get size(){return this[wt][tD]}};WB.exports=zo});var sg=l((LS,tC)=>{"use strict";a();var rD=Vr(),sD=OB(),{kConnected:$o,kSize:_B,kRunning:ZB,kPending:XB,kQueued:zr,kBusy:iD,kFree:nD,kUrl:oD,kClose:gD,kDestroy:ED,kDispatch:QD}=X(),aD=PB(),xA=Symbol("clients"),bA=Symbol("needDrain"),$r=Symbol("queue"),Ag=Symbol("closed resolve"),eg=Symbol("onDrain"),KB=Symbol("onConnect"),jB=Symbol("onDisconnect"),zB=Symbol("onConnectionError"),tg=Symbol("get dispatcher"),AC=Symbol("add client"),eC=Symbol("remove client"),$B=Symbol("stats"),rg=class extends rD{constructor(){super(),this[$r]=new sD,this[xA]=[],this[zr]=0;let e=this;this[eg]=function(r,s){let i=e[$r],n=!1;for(;!n;){let o=i.shift();if(!o)break;e[zr]--,n=!this.dispatch(o.opts,o.handler)}this[bA]=n,!this[bA]&&e[bA]&&(e[bA]=!1,e.emit("drain",r,[e,...s])),e[Ag]&&i.isEmpty()&&Promise.all(e[xA].map(o=>o.close())).then(e[Ag])},this[KB]=(t,r)=>{e.emit("connect",t,[e,...r])},this[jB]=(t,r,s)=>{e.emit("disconnect",t,[e,...r],s)},this[zB]=(t,r,s)=>{e.emit("connectionError",t,[e,...r],s)},this[$B]=new aD(this)}get[iD](){return this[bA]}get[$o](){return this[xA].filter(e=>e[$o]).length}get[nD](){return this[xA].filter(e=>e[$o]&&!e[bA]).length}get[XB](){let e=this[zr];for(let{[XB]:t}of this[xA])e+=t;return e}get[ZB](){let e=0;for(let{[ZB]:t}of this[xA])e+=t;return e}get[_B](){let e=this[zr];for(let{[_B]:t}of this[xA])e+=t;return e}get stats(){return this[$B]}async[gD](){return this[$r].isEmpty()?Promise.all(this[xA].map(e=>e.close())):new Promise(e=>{this[Ag]=e})}async[ED](e){for(;;){let t=this[$r].shift();if(!t)break;t.handler.onError(e)}return Promise.all(this[xA].map(t=>t.destroy(e)))}[QD](e,t){let r=this[tg]();return r?r.dispatch(e,t)||(r[bA]=!0,this[bA]=!this[tg]()):(this[bA]=!0,this[$r].push({opts:e,handler:t}),this[zr]++),!this[bA]}[AC](e){return e.on("drain",this[eg]).on("connect",this[KB]).on("disconnect",this[jB]).on("connectionError",this[zB]),this[xA].push(e),this[bA]&&process.nextTick(()=>{this[bA]&&this[eg](e[oD],[this,e])}),this}[eC](e){e.close(()=>{let t=this[xA].indexOf(e);t!==-1&&this[xA].splice(t,1)}),this[bA]=this[xA].some(t=>!t[bA]&&t.closed!==!0&&t.destroyed!==!0)}};tC.exports={PoolBase:rg,kClients:xA,kNeedDrain:bA,kAddClient:AC,kRemoveClient:eC,kGetDispatcher:tg}});var rr=l((YS,nC)=>{"use strict";a();var{PoolBase:BD,kClients:rC,kNeedDrain:CD,kAddClient:cD,kGetDispatcher:ID}=sg(),hD=jr(),{InvalidArgumentError:ig}=_(),ng=T(),{kUrl:sC,kInterceptors:lD}=X(),uD=qr(),og=Symbol("options"),gg=Symbol("connections"),iC=Symbol("factory");function dD(A,e){return new hD(A,e)}var Eg=class extends BD{constructor(e,{connections:t,factory:r=dD,connect:s,connectTimeout:i,tls:n,maxCachedSessions:o,socketPath:g,autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q,allowH2:B,...C}={}){if(super(),t!=null&&(!Number.isFinite(t)||t<0))throw new ig("invalid connections");if(typeof r!="function")throw new ig("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new ig("connect must be a function or an object");typeof s!="function"&&(s=uD({...n,maxCachedSessions:o,allowH2:B,socketPath:g,timeout:i,...ng.nodeHasAutoSelectFamily&&E?{autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q}:void 0,...s})),this[lD]=C.interceptors&&C.interceptors.Pool&&Array.isArray(C.interceptors.Pool)?C.interceptors.Pool:[],this[gg]=t||null,this[sC]=ng.parseOrigin(e),this[og]={...ng.deepClone(C),connect:s,allowH2:B},this[og].interceptors=C.interceptors?{...C.interceptors}:void 0,this[iC]=r}[ID](){let e=this[rC].find(t=>!t[CD]);return e||((!this[gg]||this[rC].length<this[gg])&&(e=this[iC](this[sC],this[og])
Line truncated
|
||||
`,"latin1"),t!==null&&s!==t){if(r[Xr])throw new _e;process.emitWarning(new _e)}e[sA].timeout&&e[sA].timeoutType===tr&&e[sA].timeout.refresh&&e[sA].timeout.refresh(),zA(r)}}destroy(e){let{socket:t,client:r}=this;t[Ze]=!1,e&&(D(r[tA]<=1,"pipeline should only contain this request"),F.destroy(t,e))}};function mA(A,e,t){try{e.onError(t),D(e.aborted)}catch(r){A.emit("error",r)}}qB.exports=_o});var WB=l((bS,OB)=>{"use strict";a();var ni=class{constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};OB.exports=class{constructor(){this.head=this.tail=new ni}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new ni),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),t}}});var _B=l((US,PB)=>{"use strict";a();var{kFree:zw,kConnected:$w,kPending:AD,kQueued:eD,kRunning:tD,kSize:rD}=X(),wt=Symbol("pool"),$o=class{constructor(e){this[wt]=e}get connected(){return this[wt][$w]}get free(){return this[wt][zw]}get pending(){return this[wt][AD]}get queued(){return this[wt][eD]}get running(){return this[wt][tD]}get size(){return this[wt][rD]}};PB.exports=$o});var ig=l((MS,rC)=>{"use strict";a();var sD=Vr(),iD=WB(),{kConnected:Ag,kSize:ZB,kRunning:XB,kPending:KB,kQueued:zr,kBusy:nD,kFree:oD,kUrl:gD,kClose:ED,kDestroy:QD,kDispatch:aD}=X(),BD=_B(),xA=Symbol("clients"),bA=Symbol("needDrain"),$r=Symbol("queue"),eg=Symbol("closed resolve"),tg=Symbol("onDrain"),jB=Symbol("onConnect"),zB=Symbol("onDisconnect"),$B=Symbol("onConnectionError"),rg=Symbol("get dispatcher"),eC=Symbol("add client"),tC=Symbol("remove client"),AC=Symbol("stats"),sg=class extends sD{constructor(){super(),this[$r]=new iD,this[xA]=[],this[zr]=0;let e=this;this[tg]=function(r,s){let i=e[$r],n=!1;for(;!n;){let o=i.shift();if(!o)break;e[zr]--,n=!this.dispatch(o.opts,o.handler)}this[bA]=n,!this[bA]&&e[bA]&&(e[bA]=!1,e.emit("drain",r,[e,...s])),e[eg]&&i.isEmpty()&&Promise.all(e[xA].map(o=>o.close())).then(e[eg])},this[jB]=(t,r)=>{e.emit("connect",t,[e,...r])},this[zB]=(t,r,s)=>{e.emit("disconnect",t,[e,...r],s)},this[$B]=(t,r,s)=>{e.emit("connectionError",t,[e,...r],s)},this[AC]=new BD(this)}get[nD](){return this[bA]}get[Ag](){return this[xA].filter(e=>e[Ag]).length}get[oD](){return this[xA].filter(e=>e[Ag]&&!e[bA]).length}get[KB](){let e=this[zr];for(let{[KB]:t}of this[xA])e+=t;return e}get[XB](){let e=0;for(let{[XB]:t}of this[xA])e+=t;return e}get[ZB](){let e=this[zr];for(let{[ZB]:t}of this[xA])e+=t;return e}get stats(){return this[AC]}async[ED](){return this[$r].isEmpty()?Promise.all(this[xA].map(e=>e.close())):new Promise(e=>{this[eg]=e})}async[QD](e){for(;;){let t=this[$r].shift();if(!t)break;t.handler.onError(e)}return Promise.all(this[xA].map(t=>t.destroy(e)))}[aD](e,t){let r=this[rg]();return r?r.dispatch(e,t)||(r[bA]=!0,this[bA]=!this[rg]()):(this[bA]=!0,this[$r].push({opts:e,handler:t}),this[zr]++),!this[bA]}[eC](e){return e.on("drain",this[tg]).on("connect",this[jB]).on("disconnect",this[zB]).on("connectionError",this[$B]),this[xA].push(e),this[bA]&&process.nextTick(()=>{this[bA]&&this[tg](e[gD],[this,e])}),this}[tC](e){e.close(()=>{let t=this[xA].indexOf(e);t!==-1&&this[xA].splice(t,1)}),this[bA]=this[xA].some(t=>!t[bA]&&t.closed!==!0&&t.destroyed!==!0)}};rC.exports={PoolBase:sg,kClients:xA,kNeedDrain:bA,kAddClient:eC,kRemoveClient:tC,kGetDispatcher:rg}});var rr=l((xS,oC)=>{"use strict";a();var{PoolBase:CD,kClients:sC,kNeedDrain:cD,kAddClient:ID,kGetDispatcher:hD}=ig(),lD=jr(),{InvalidArgumentError:ng}=_(),og=T(),{kUrl:iC,kInterceptors:uD}=X(),dD=qr(),gg=Symbol("options"),Eg=Symbol("connections"),nC=Symbol("factory");function fD(A,e){return new lD(A,e)}var Qg=class extends CD{constructor(e,{connections:t,factory:r=fD,connect:s,connectTimeout:i,tls:n,maxCachedSessions:o,socketPath:g,autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q,allowH2:B,...C}={}){if(super(),t!=null&&(!Number.isFinite(t)||t<0))throw new ng("invalid connections");if(typeof r!="function")throw new ng("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new ng("connect must be a function or an object");typeof s!="function"&&(s=dD({...n,maxCachedSessions:o,allowH2:B,socketPath:g,timeout:i,...og.nodeHasAutoSelectFamily&&E?{autoSelectFamily:E,autoSelectFamilyAttemptTimeout:Q}:void 0,...s})),this[uD]=C.interceptors&&C.interceptors.Pool&&Array.isArray(C.interceptors.Pool)?C.interceptors.Pool:[],this[Eg]=t||null,this[iC]=og.parseOrigin(e),this[gg]={...og.deepClone(C),connect:s,allowH2:B},this[gg].interceptors=C.interceptors?{...C.interceptors}:void 0,this[nC]=r}[hD](){let e=this[sC].find(t=>!t[cD]);return e||((!this[Eg]||this[sC].length<this[Eg])&&(e=this[nC](this[iC],this[gg])
Line truncated
|
||||
${r.count} ${r.noun} ${r.is} pending:
|
||||
|
||||
${e.format(t)}
|
||||
`.trim())}};Gc.exports=_g});var Wc=l((NU,Oc)=>{"use strict";a();var{kProxy:f0,kClose:y0,kDestroy:w0,kInterceptors:D0}=X(),{URL:vc}=I("url"),Hc=es(),p0=rr(),R0=Vr(),{InvalidArgumentError:ns,RequestAbortedError:k0}=_(),Vc=qr(),ss=Symbol("proxy agent"),Fi=Symbol("proxy client"),is=Symbol("proxy headers"),Zg=Symbol("request tls settings"),F0=Symbol("proxy tls settings"),qc=Symbol("connect endpoint function");function N0(A){return A==="https:"?443:80}function m0(A){if(typeof A=="string"&&(A={uri:A}),!A||!A.uri)throw new ns("Proxy opts.uri is mandatory");return{uri:A.uri,protocol:A.protocol||"https"}}function b0(A,e){return new p0(A,e)}var Xg=class extends R0{constructor(e){if(super(e),this[f0]=m0(e),this[ss]=new Hc(e),this[D0]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new ns("Proxy opts.uri is mandatory");let{clientFactory:t=b0}=e;if(typeof t!="function")throw new ns("Proxy opts.clientFactory must be a function.");this[Zg]=e.requestTls,this[F0]=e.proxyTls,this[is]=e.headers||{};let r=new vc(e.uri),{origin:s,port:i,host:n,username:o,password:g}=r;if(e.auth&&e.token)throw new ns("opts.auth cannot be used in combination with opts.token");e.auth?this[is]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[is]["proxy-authorization"]=e.token:o&&g&&(this[is]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(o)}:${decodeURIComponent(g)}`).toString("base64")}`);let E=Vc({...e.proxyTls});this[qc]=Vc({...e.requestTls}),this[Fi]=t(r,{connect:E}),this[ss]=new Hc({...e,connect:async(Q,B)=>{let C=Q.host;Q.port||(C+=`:${N0(Q.protocol)}`);try{let{socket:h,statusCode:c}=await this[Fi].connect({origin:s,port:i,path:C,signal:Q.signal,headers:{...this[is],host:n}});if(c!==200&&(h.on("error",()=>{}).destroy(),B(new k0(`Proxy response (${c}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){B(null,h);return}let f;this[Zg]?f=this[Zg].servername:f=Q.servername,this[qc]({...Q,servername:f,httpSocket:h},B)}catch(h){B(h)}}})}dispatch(e,t){let{host:r}=new vc(e.origin),s=S0(e.headers);return U0(s),this[ss].dispatch({...e,headers:{...s,host:r}},t)}async[y0](){await this[ss].close(),await this[Fi].close()}async[w0](){await this[ss].destroy(),await this[Fi].destroy()}};function S0(A){if(Array.isArray(A)){let e={};for(let t=0;t<A.length;t+=2)e[A[t]]=A[t+1];return e}return A}function U0(A){if(A&&Object.keys(A).find(t=>t.toLowerCase()==="proxy-authorization"))throw new ns("Proxy-Authorization should be sent in ProxyAgent constructor")}Oc.exports=Xg});var Kc=l((bU,Xc)=>{"use strict";a();var Nt=I("assert"),{kRetryHandlerDefaultRetry:Pc}=X(),{RequestRetryError:Ni}=_(),{isDisturbed:_c,parseHeaders:L0,parseRangeHeader:Zc}=T();function M0(A){let e=Date.now();return new Date(A).getTime()-e}var Kg=class A{constructor(e,t){let{retryOptions:r,...s}=e,{retry:i,maxRetries:n,maxTimeout:o,minTimeout:g,timeoutFactor:E,methods:Q,errorCodes:B,retryAfter:C,statusCodes:h}=r??{};this.dispatch=t.dispatch,this.handler=t.handler,this.opts=s,this.abort=null,this.aborted=!1,this.retryOpts={retry:i??A[Pc],retryAfter:C??!0,maxTimeout:o??30*1e3,timeout:g??500,timeoutFactor:E??2,maxRetries:n??5,methods:Q??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:h??[500,502,503,504,429],errorCodes:B??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(c=>{this.aborted=!0,this.abort?this.abort(c):this.reason=c})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,t,r){this.handler.onUpgrade&&this.handler.onUpgrade(e,t,r)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[Pc](e,{state:t,opts:r},s){let{statusCode:i,code:n,headers:o}=e,{method:g,retryOptions:E}=r,{maxRetries:Q,timeout:B,maxTimeout:C,timeoutFactor:h,statusCodes:c,errorCodes:f,methods:u}=E,{counter:w,currentTimeout:k}=t;if(k=k!=null&&k>0?k:B,n&&n!=="UND_ERR_REQ_RETRY"&&n!=="UND_ERR_SOCKET"&&!f.includes(n)){s(e);return}if(Array.isArray(u)&&!u.includes(g)){s(e);return}if(i!=null&&Array.isArray(c)&&!c.includes(i)){s(e);return}if(w>Q){s(e);return}let U=o!=null&&o["retry-after"];U&&(U=Number(U),U=isNaN(U)?M0(U):U*1e3);let J=U>0?Math.min(U,C):Math.min(k*h**w,C);t.currentTimeout=J,setTimeout(()=>s(null),J)}onHeaders(e,t,r,s){let i=L0(t);if(this.retryCount+=1,e>=300)return this.abort(new Ni("Request failed",e,{headers:i,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,e!==206)return!0;let o=Zc(i["content-range"]);if(!o)return this.abort(new Ni("Content-Range mismatch",e,{headers:i,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Ni("ETag mismatch",e,{headers:i,count:this.retryCount})),!1;let{start:g,size:E,end:Q=E}=o;return Nt(this.start===g,"content-range
Line truncated
|
||||
`.trim())}};Tc.exports=Zg});var Pc=l((mU,Wc)=>{"use strict";a();var{kProxy:y0,kClose:w0,kDestroy:D0,kInterceptors:p0}=X(),{URL:Hc}=I("url"),Vc=es(),R0=rr(),k0=Vr(),{InvalidArgumentError:ns,RequestAbortedError:F0}=_(),qc=qr(),ss=Symbol("proxy agent"),Fi=Symbol("proxy client"),is=Symbol("proxy headers"),Xg=Symbol("request tls settings"),N0=Symbol("proxy tls settings"),Oc=Symbol("connect endpoint function");function m0(A){return A==="https:"?443:80}function b0(A){if(typeof A=="string"&&(A={uri:A}),!A||!A.uri)throw new ns("Proxy opts.uri is mandatory");return{uri:A.uri,protocol:A.protocol||"https"}}function S0(A,e){return new R0(A,e)}var Kg=class extends k0{constructor(e){if(super(e),this[y0]=b0(e),this[ss]=new Vc(e),this[p0]=e.interceptors&&e.interceptors.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],typeof e=="string"&&(e={uri:e}),!e||!e.uri)throw new ns("Proxy opts.uri is mandatory");let{clientFactory:t=S0}=e;if(typeof t!="function")throw new ns("Proxy opts.clientFactory must be a function.");this[Xg]=e.requestTls,this[N0]=e.proxyTls,this[is]=e.headers||{};let r=new Hc(e.uri),{origin:s,port:i,host:n,username:o,password:g}=r;if(e.auth&&e.token)throw new ns("opts.auth cannot be used in combination with opts.token");e.auth?this[is]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[is]["proxy-authorization"]=e.token:o&&g&&(this[is]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(o)}:${decodeURIComponent(g)}`).toString("base64")}`);let E=qc({...e.proxyTls});this[Oc]=qc({...e.requestTls}),this[Fi]=t(r,{connect:E}),this[ss]=new Vc({...e,connect:async(Q,B)=>{let C=Q.host;Q.port||(C+=`:${m0(Q.protocol)}`);try{let{socket:h,statusCode:c}=await this[Fi].connect({origin:s,port:i,path:C,signal:Q.signal,headers:{...this[is],host:n}});if(c!==200&&(h.on("error",()=>{}).destroy(),B(new F0(`Proxy response (${c}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){B(null,h);return}let f;this[Xg]?f=this[Xg].servername:f=Q.servername,this[Oc]({...Q,servername:f,httpSocket:h},B)}catch(h){B(h)}}})}dispatch(e,t){let{host:r}=new Hc(e.origin),s=U0(e.headers);return L0(s),this[ss].dispatch({...e,headers:{...s,host:r}},t)}async[w0](){await this[ss].close(),await this[Fi].close()}async[D0](){await this[ss].destroy(),await this[Fi].destroy()}};function U0(A){if(Array.isArray(A)){let e={};for(let t=0;t<A.length;t+=2)e[A[t]]=A[t+1];return e}return A}function L0(A){if(A&&Object.keys(A).find(t=>t.toLowerCase()==="proxy-authorization"))throw new ns("Proxy-Authorization should be sent in ProxyAgent constructor")}Wc.exports=Kg});var jc=l((SU,Kc)=>{"use strict";a();var Nt=I("assert"),{kRetryHandlerDefaultRetry:_c}=X(),{RequestRetryError:Ni}=_(),{isDisturbed:Zc,parseHeaders:M0,parseRangeHeader:Xc}=T();function Y0(A){let e=Date.now();return new Date(A).getTime()-e}var jg=class A{constructor(e,t){let{retryOptions:r,...s}=e,{retry:i,maxRetries:n,maxTimeout:o,minTimeout:g,timeoutFactor:E,methods:Q,errorCodes:B,retryAfter:C,statusCodes:h}=r??{};this.dispatch=t.dispatch,this.handler=t.handler,this.opts=s,this.abort=null,this.aborted=!1,this.retryOpts={retry:i??A[_c],retryAfter:C??!0,maxTimeout:o??30*1e3,timeout:g??500,timeoutFactor:E??2,maxRetries:n??5,methods:Q??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:h??[500,502,503,504,429],errorCodes:B??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]},this.retryCount=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(c=>{this.aborted=!0,this.abort?this.abort(c):this.reason=c})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,t,r){this.handler.onUpgrade&&this.handler.onUpgrade(e,t,r)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[_c](e,{state:t,opts:r},s){let{statusCode:i,code:n,headers:o}=e,{method:g,retryOptions:E}=r,{maxRetries:Q,timeout:B,maxTimeout:C,timeoutFactor:h,statusCodes:c,errorCodes:f,methods:u}=E,{counter:w,currentTimeout:k}=t;if(k=k!=null&&k>0?k:B,n&&n!=="UND_ERR_REQ_RETRY"&&n!=="UND_ERR_SOCKET"&&!f.includes(n)){s(e);return}if(Array.isArray(u)&&!u.includes(g)){s(e);return}if(i!=null&&Array.isArray(c)&&!c.includes(i)){s(e);return}if(w>Q){s(e);return}let U=o!=null&&o["retry-after"];U&&(U=Number(U),U=isNaN(U)?Y0(U):U*1e3);let J=U>0?Math.min(U,C):Math.min(k*h**w,C);t.currentTimeout=J,setTimeout(()=>s(null),J)}onHeaders(e,t,r,s){let i=M0(t);if(this.retryCount+=1,e>=300)return this.abort(new Ni("Request failed",e,{headers:i,count:this.retryCount})),!1;if(this.resume!=null){if(this.resume=null,e!==206)return!0;let o=Xc(i["content-range"]);if(!o)return this.abort(new Ni("Content-Range mismatch",e,{headers:i,count:this.retryCount})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Ni("ETag mismatch",e,{headers:i,count:this.retryCount})),!1;let{start:g,size:E,end:Q=E}=o;return Nt(this.start===g,"content-range
Line truncated
|
||||
|
||||
Error Code : ${n.statusCode}
|
||||
|
||||
Error Message: ${n.message}`)})).result)===null||t===void 0?void 0:t.value;if(!i)throw new Error("Response json body do not have ID Token field");return i})}static getIDToken(e){return il(this,void 0,void 0,function*(){try{let t=A.getIDTokenUrl();if(e){let s=encodeURIComponent(e);t=`${t}&audience=${s}`}(0,nl.debug)(`ID token url is ${t}`);let r=yield A.getCall(t);return(0,nl.setSecret)(r),r}catch(t){throw new Error(`Error message: ${t.message}`)}})}};Nr.OidcClient=TE});var qE=l(HA=>{"use strict";a();var vE=HA&&HA.__awaiter||function(A,e,t,r){function s(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function o(Q){try{E(r.next(Q))}catch(B){n(B)}}function g(Q){try{E(r.throw(Q))}catch(B){n(B)}}function E(Q){Q.done?i(Q.value):s(Q.value).then(o,g)}E((r=r.apply(A,e||[])).next())})};Object.defineProperty(HA,"__esModule",{value:!0});HA.summary=HA.markdownSummary=HA.SUMMARY_DOCS_URL=HA.SUMMARY_ENV_VAR=void 0;var mN=I("os"),HE=I("fs"),{access:bN,appendFile:SN,writeFile:UN}=HE.promises;HA.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";HA.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var VE=class{constructor(){this._buffer=""}filePath(){return vE(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[HA.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${HA.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield bN(e,HE.constants.R_OK|HE.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,t,r={}){let s=Object.entries(r).map(([i,n])=>` ${i}="${n}"`).join("");return t?`<${e}${s}>${t}</${e}>`:`<${e}${s}>`}write(e){return vE(this,void 0,void 0,function*(){let t=!!e?.overwrite,r=yield this.filePath();return yield(t?UN:SN)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return vE(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(mN.EOL)}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),s=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(s).addEOL()}addList(e,t=!1){let r=t?"ol":"ul",s=e.map(n=>this.wrap("li",n)).join(""),i=this.wrap(r,s);return this.addRaw(i).addEOL()}addTable(e){let t=e.map(s=>{let i=s.map(n=>{if(typeof n=="string")return this.wrap("td",n);let{header:o,data:g,colspan:E,rowspan:Q}=n,B=o?"th":"td",C=Object.assign(Object.assign({},E&&{colspan:E}),Q&&{rowspan:Q});return this.wrap(B,g,C)}).join("");return this.wrap("tr",i)}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){let{width:s,height:i}=r||{},n=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),o=this.wrap("img",null,Object.assign({src:e,alt:t},n));return this.addRaw(o).addEOL()}addHeading(e,t){let r=`h${t}`,s=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(s,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),s=this.wrap("blockquote",e,r);return this.addRaw(s).addEOL()}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}},gl=new VE;HA.markdownSummary=gl;HA.summary=gl});var El=l(VA=>{"use strict";a();var LN=VA&&VA.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),MN=VA&&VA.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),YN=VA&&VA.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&LN(e,A,t);return MN(e,A),e};Object.defineProperty(VA,"__esModule",{value:!0});VA.toPlatformPath=VA.toWin32Path=VA.toPosixPath=void 0;var xN=YN(I("path"));function JN(A){return A.replace(/[\\]/g,"/")}VA.toPosixPath=JN;function GN(A){return A.replace(/[/]/g,"\\")}VA.toWin32Path=GN;function TN(A){return A.replace(/[/\\]/g,xN.sep)}VA.toPlatformPath=TN});var WE=l(R=>{"use strict";a();var vN=R&&R.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t),Object.defineProperty(A,r,{enumerable:!0,get:function(){return e[t]}})}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),HN=R&&R.__setModuleDefault||(ObjLine truncated
|
||||
`);return{name:e,version:t}});v.platform=Nl.default.platform();v.arch=Nl.default.arch();v.isWindows=v.platform==="win32";v.isMacOS=v.platform==="darwin";v.isLinux=v.platform==="linux";function um(){return Dn(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield v.isWindows?Im():v.isMacOS?hm():lm()),{platform:v.platform,arch:v.arch,isWindows:v.isWindows,isMacOS:v.isMacOS,isLinux:v.isLinux})})}v.getDetails=um});var fs=l(p=>{"use strict";a();var dm=p&&p.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),fm=p&&p.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),jE=p&&p.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&dm(e,A,t);return fm(e,A),e},bl=p&&p.__awaiter||function(A,e,t,r){function s(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function o(Q){try{E(r.next(Q))}catch(B){n(B)}}function g(Q){try{E(r.throw(Q))}catch(B){n(B)}}function E(Q){Q.done?i(Q.value):s(Q.value).then(o,g)}E((r=r.apply(A,e||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.platform=p.toPlatformPath=p.toWin32Path=p.toPosixPath=p.markdownSummary=p.summary=p.getIDToken=p.getState=p.saveState=p.group=p.endGroup=p.startGroup=p.info=p.notice=p.warning=p.error=p.debug=p.isDebug=p.setFailed=p.setCommandEcho=p.setOutput=p.getBooleanInput=p.getMultilineInput=p.getInput=p.addPath=p.setSecret=p.exportVariable=p.ExitCode=void 0;var Ie=oQ(),Yt=QQ(),br=ps(),Sl=jE(I("os")),ym=jE(I("path")),wm=ol(),KE;(function(A){A[A.Success=0]="Success",A[A.Failure=1]="Failure"})(KE||(p.ExitCode=KE={}));function Dm(A,e){let t=(0,br.toCommandValue)(e);if(process.env[A]=t,process.env.GITHUB_ENV||"")return(0,Yt.issueFileCommand)("ENV",(0,Yt.prepareKeyValueMessage)(A,e));(0,Ie.issueCommand)("set-env",{name:A},t)}p.exportVariable=Dm;function pm(A){(0,Ie.issueCommand)("add-mask",{},A)}p.setSecret=pm;function Rm(A){process.env.GITHUB_PATH||""?(0,Yt.issueFileCommand)("PATH",A):(0,Ie.issueCommand)("add-path",{},A),process.env.PATH=`${A}${ym.delimiter}${process.env.PATH}`}p.addPath=Rm;function zE(A,e){let t=process.env[`INPUT_${A.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!t)throw new Error(`Input required and not supplied: ${A}`);return e&&e.trimWhitespace===!1?t:t.trim()}p.getInput=zE;function km(A,e){let t=zE(A,e).split(`
|
||||
`).filter(r=>r!=="");return e&&e.trimWhitespace===!1?t:t.map(r=>r.trim())}p.getMultilineInput=km;function Fm(A,e){let t=["true","True","TRUE"],r=["false","False","FALSE"],s=zE(A,e);if(t.includes(s))return!0;if(r.includes(s))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${A}
|
||||
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}p.getBooleanInput=Fm;function Nm(A,e){if(process.env.GITHUB_OUTPUT||"")return(0,Yt.issueFileCommand)("OUTPUT",(0,Yt.prepareKeyValueMessage)(A,e));process.stdout.write(Sl.EOL),(0,Ie.issueCommand)("set-output",{name:A},(0,br.toCommandValue)(e))}p.setOutput=Nm;function mm(A){(0,Ie.issue)("echo",A?"on":"off")}p.setCommandEcho=mm;function bm(A){process.exitCode=KE.Failure,Ul(A)}p.setFailed=bm;function Sm(){return process.env.RUNNER_DEBUG==="1"}p.isDebug=Sm;function Um(A){(0,Ie.issueCommand)("debug",{},A)}p.debug=Um;function Ul(A,e={}){(0,Ie.issueCommand)("error",(0,br.toCommandProperties)(e),A instanceof Error?A.toString():A)}p.error=Ul;function Lm(A,e={}){(0,Ie.issueCommand)("warning",(0,br.toCommandProperties)(e),A instanceof Error?A.toString():A)}p.warning=Lm;function Mm(A,e={}){(0,Ie.issueCommand)("notice",(0,br.toCommandProperties)(e),A instanceof Error?A.toString():A)}p.notice=Mm;function Ym(A){process.stdout.write(A+Sl.EOL)}p.info=Ym;function Ll(A){(0,Ie.issue)("group",A)}p.startGroup=Ll;function Ml(){(0,Ie.issue)("endgroup")}p.endGroup=Ml;function xm(A,e){return bl(this,void 0,void 0,function*(){Ll(A);let t;try{t=yield e()}finally{Ml()}return t})}p.group=xm;function Jm(A,e){if(process.env.GITHUB_STATE||"")return(0,Yt.issueFileCommand)("STATE",(0,Yt.prepareKeyValueMessage)(A,e));(0,Ie.issueCommand)("save-state",{name:A},(0,br.toCommandValue)(e))}p.saveState=Jm;function Gm(A){return process.env[`STATE_${A}`]||""}p.getState=Gm;function Tm(A){return bl(this,void 0,void 0,function*(){return yield wm.OidcClient.getIDToken(A)})}p.getIDToken=Tm;var vm=qE();Object.defineProperty(p,"summary",{enumerable:!0,get:function(){return vm.summary}});var Hm=qE();Object.defineProperty(p,"markdownSummary",{enumerable:!0,get:function(){return Hm.markdownSummary}});var $E=El();Object.defineProperty(p,"toPosixPath",{enumerable:!0,get:function(){return $E.toPosixPath}});Object.defineProperty(p,"toWin32Path",{enumerable:!0,get:function(){return $E.toWin32Path}});Object.defineProperty(p,"toPlatformPath",{enumerable:!0,get:function(){return $E.toPlatformPath}});p.platform=jE(ml())});a();a();var we=Ds(fs(),1);import Yl from"node:path";var pn=class{options={envRegex:/^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,configurationFile:{input:"configurationFile",env:"RENOVATE_CONFIG_FILE",optional:!0},token:{input:"token",env:"RENOVATE_TOKEN",optional:!1}};token;_environmentVariables;_configurationFile;constructor(){let e=(0,we.getInput)("env-regex"),t=e?new RegExp(e):this.options.envRegex;this._environmentVariables=new Map(Object.entries(process.env).filter(([r])=>t.test(r)).filter(r=>r[1]!==void 0)),this.token=this.get(this.options.token.input,this.options.token.env,this.options.token.optional),this._configurationFile=this.get(this.options.configurationFile.input,this.options.configurationFile.env,this.options.configurationFile.optional)}configurationFile(){return this._configurationFile.value!==""?{key:this._configurationFile.key,value:Yl.resolve(this._configurationFile.value)}:null}getDockerImage(){return(0,we.getInput)("renovate-image")||null}getVersion(){return(0,we.getInput)("renovate-version")||null}mountDockerSocket(){return(0,we.getInput)("mount-docker-socket")==="true"}dockerSocketHostPath(){return(0,we.getInput)("docker-socket-host-path")||"/var/run/docker.sock"}getDockerCmdFile(){let e=(0,we.getInput)("docker-cmd-file");return e&&e!==""?Yl.resolve(e):null}getDockerUser(){return(0,we.getInput)("docker-user")||null}getDockerVolumeMounts(){return(0,we.getInput)("docker-volumes").split(";").map(e=>e.trim()).filter(e=>!!e)}getDockerNetwork(){return(0,we.getInput)("docker-network")}toEnvironmentVariables(){return[...this._environmentVariables].map(([e,t])=>({key:e,value:t}))}get(e,t,r){let s=(0,we.getInput)(e),i=this._environmentVariables.get(t);if(s===""&&i===void 0&&!r)throw new Error([`'${e}' MUST be passed using its input or the '${t}'`,"environment variable"].join(" "));return this._environmentVariables.delete(t),s!==""?{key:t,value:s}:{key:t,value:i??""}}};a();a();var AQ=Ds(fs(),1),Rn=class A{static image="ghcr.io/renovatebot/renovate";static version="39";dockerImage;fullTag;constructor(e){let t=e.getDockerImage(),r=e.getVersion();t||((0,AQ.warning)(`No Docker image specified, using ${A.image}`),t=A.image),r||((0,AQ.warning)(`No Docker version specified, using ${A.version}`),r=A.version),this.dockerImage=t,this.fullTag=r}image(){return`${this.dockerImage}:${this.fullTag}`}};var xl=Ds(XE(),1);import eQ from"node:fs/promises";import tQ from"node:path";var kn=class A{constructor(e){this.input=e;this.docker=new Rn(e)}static dockerGroupRegex=/^docker:x:(?<groupId>[1-9][0-9]*):/m;configFileMountDir="/github-action";docker;async runDockerContainer(){await this.validateArguments();let e=this.input.toEnvironmentVariables().map(E=>`--env ${E.key}`).concat([`--env ${this.input.token.key}=${this.input.token.vLine truncated
|
||||
Error Message: ${n.message}`)})).result)===null||t===void 0?void 0:t.value;if(!i)throw new Error("Response json body do not have ID Token field");return i})}static getIDToken(e){return nl(this,void 0,void 0,function*(){try{let t=A.getIDTokenUrl();if(e){let s=encodeURIComponent(e);t=`${t}&audience=${s}`}(0,ol.debug)(`ID token url is ${t}`);let r=yield A.getCall(t);return(0,ol.setSecret)(r),r}catch(t){throw new Error(`Error message: ${t.message}`)}})}};Nr.OidcClient=vE});var OE=l(HA=>{"use strict";a();var HE=HA&&HA.__awaiter||function(A,e,t,r){function s(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function o(Q){try{E(r.next(Q))}catch(B){n(B)}}function g(Q){try{E(r.throw(Q))}catch(B){n(B)}}function E(Q){Q.done?i(Q.value):s(Q.value).then(o,g)}E((r=r.apply(A,e||[])).next())})};Object.defineProperty(HA,"__esModule",{value:!0});HA.summary=HA.markdownSummary=HA.SUMMARY_DOCS_URL=HA.SUMMARY_ENV_VAR=void 0;var bN=I("os"),VE=I("fs"),{access:SN,appendFile:UN,writeFile:LN}=VE.promises;HA.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";HA.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var qE=class{constructor(){this._buffer=""}filePath(){return HE(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[HA.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${HA.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield SN(e,VE.constants.R_OK|VE.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,t,r={}){let s=Object.entries(r).map(([i,n])=>` ${i}="${n}"`).join("");return t?`<${e}${s}>${t}</${e}>`:`<${e}${s}>`}write(e){return HE(this,void 0,void 0,function*(){let t=!!e?.overwrite,r=yield this.filePath();return yield(t?LN:UN)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return HE(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(bN.EOL)}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),s=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(s).addEOL()}addList(e,t=!1){let r=t?"ol":"ul",s=e.map(n=>this.wrap("li",n)).join(""),i=this.wrap(r,s);return this.addRaw(i).addEOL()}addTable(e){let t=e.map(s=>{let i=s.map(n=>{if(typeof n=="string")return this.wrap("td",n);let{header:o,data:g,colspan:E,rowspan:Q}=n,B=o?"th":"td",C=Object.assign(Object.assign({},E&&{colspan:E}),Q&&{rowspan:Q});return this.wrap(B,g,C)}).join("");return this.wrap("tr",i)}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){let{width:s,height:i}=r||{},n=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),o=this.wrap("img",null,Object.assign({src:e,alt:t},n));return this.addRaw(o).addEOL()}addHeading(e,t){let r=`h${t}`,s=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(s,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),s=this.wrap("blockquote",e,r);return this.addRaw(s).addEOL()}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}},El=new qE;HA.markdownSummary=El;HA.summary=El});var Ql=l(VA=>{"use strict";a();var MN=VA&&VA.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),YN=VA&&VA.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),xN=VA&&VA.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&MN(e,A,t);return YN(e,A),e};Object.defineProperty(VA,"__esModule",{value:!0});VA.toPlatformPath=VA.toWin32Path=VA.toPosixPath=void 0;var JN=xN(I("path"));function GN(A){return A.replace(/[\\]/g,"/")}VA.toPosixPath=GN;function TN(A){return A.replace(/[/]/g,"\\")}VA.toWin32Path=TN;function vN(A){return A.replace(/[/\\]/g,JN.sep)}VA.toPlatformPath=vN});var PE=l(R=>{"use strict";a();var HN=R&&R.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t),Object.defineProperty(A,r,{enumerable:!0,get:function(){return e[t]}})}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),VN=R&&R.__setModuleDefault||(ObjLine truncated
|
||||
`);return{name:e,version:t}});v.platform=ml.default.platform();v.arch=ml.default.arch();v.isWindows=v.platform==="win32";v.isMacOS=v.platform==="darwin";v.isLinux=v.platform==="linux";function dm(){return Dn(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield v.isWindows?hm():v.isMacOS?lm():um()),{platform:v.platform,arch:v.arch,isWindows:v.isWindows,isMacOS:v.isMacOS,isLinux:v.isLinux})})}v.getDetails=dm});var fs=l(p=>{"use strict";a();var fm=p&&p.__createBinding||(Object.create?function(A,e,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(e,t);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(A,r,s)}:function(A,e,t,r){r===void 0&&(r=t),A[r]=e[t]}),ym=p&&p.__setModuleDefault||(Object.create?function(A,e){Object.defineProperty(A,"default",{enumerable:!0,value:e})}:function(A,e){A.default=e}),zE=p&&p.__importStar||function(A){if(A&&A.__esModule)return A;var e={};if(A!=null)for(var t in A)t!=="default"&&Object.prototype.hasOwnProperty.call(A,t)&&fm(e,A,t);return ym(e,A),e},Sl=p&&p.__awaiter||function(A,e,t,r){function s(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function o(Q){try{E(r.next(Q))}catch(B){n(B)}}function g(Q){try{E(r.throw(Q))}catch(B){n(B)}}function E(Q){Q.done?i(Q.value):s(Q.value).then(o,g)}E((r=r.apply(A,e||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.platform=p.toPlatformPath=p.toWin32Path=p.toPosixPath=p.markdownSummary=p.summary=p.getIDToken=p.getState=p.saveState=p.group=p.endGroup=p.startGroup=p.info=p.notice=p.warning=p.error=p.debug=p.isDebug=p.setFailed=p.setCommandEcho=p.setOutput=p.getBooleanInput=p.getMultilineInput=p.getInput=p.addPath=p.setSecret=p.exportVariable=p.ExitCode=void 0;var Ie=gQ(),Yt=aQ(),br=ps(),Ul=zE(I("os")),wm=zE(I("path")),Dm=gl(),jE;(function(A){A[A.Success=0]="Success",A[A.Failure=1]="Failure"})(jE||(p.ExitCode=jE={}));function pm(A,e){let t=(0,br.toCommandValue)(e);if(process.env[A]=t,process.env.GITHUB_ENV||"")return(0,Yt.issueFileCommand)("ENV",(0,Yt.prepareKeyValueMessage)(A,e));(0,Ie.issueCommand)("set-env",{name:A},t)}p.exportVariable=pm;function Rm(A){(0,Ie.issueCommand)("add-mask",{},A)}p.setSecret=Rm;function km(A){process.env.GITHUB_PATH||""?(0,Yt.issueFileCommand)("PATH",A):(0,Ie.issueCommand)("add-path",{},A),process.env.PATH=`${A}${wm.delimiter}${process.env.PATH}`}p.addPath=km;function $E(A,e){let t=process.env[`INPUT_${A.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!t)throw new Error(`Input required and not supplied: ${A}`);return e&&e.trimWhitespace===!1?t:t.trim()}p.getInput=$E;function Fm(A,e){let t=$E(A,e).split(`
|
||||
`).filter(r=>r!=="");return e&&e.trimWhitespace===!1?t:t.map(r=>r.trim())}p.getMultilineInput=Fm;function Nm(A,e){let t=["true","True","TRUE"],r=["false","False","FALSE"],s=$E(A,e);if(t.includes(s))return!0;if(r.includes(s))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${A}
|
||||
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}p.getBooleanInput=Nm;function mm(A,e){if(process.env.GITHUB_OUTPUT||"")return(0,Yt.issueFileCommand)("OUTPUT",(0,Yt.prepareKeyValueMessage)(A,e));process.stdout.write(Ul.EOL),(0,Ie.issueCommand)("set-output",{name:A},(0,br.toCommandValue)(e))}p.setOutput=mm;function bm(A){(0,Ie.issue)("echo",A?"on":"off")}p.setCommandEcho=bm;function Sm(A){process.exitCode=jE.Failure,Ll(A)}p.setFailed=Sm;function Um(){return process.env.RUNNER_DEBUG==="1"}p.isDebug=Um;function Lm(A){(0,Ie.issueCommand)("debug",{},A)}p.debug=Lm;function Ll(A,e={}){(0,Ie.issueCommand)("error",(0,br.toCommandProperties)(e),A instanceof Error?A.toString():A)}p.error=Ll;function Mm(A,e={}){(0,Ie.issueCommand)("warning",(0,br.toCommandProperties)(e),A instanceof Error?A.toString():A)}p.warning=Mm;function Ym(A,e={}){(0,Ie.issueCommand)("notice",(0,br.toCommandProperties)(e),A instanceof Error?A.toString():A)}p.notice=Ym;function xm(A){process.stdout.write(A+Ul.EOL)}p.info=xm;function Ml(A){(0,Ie.issue)("group",A)}p.startGroup=Ml;function Yl(){(0,Ie.issue)("endgroup")}p.endGroup=Yl;function Jm(A,e){return Sl(this,void 0,void 0,function*(){Ml(A);let t;try{t=yield e()}finally{Yl()}return t})}p.group=Jm;function Gm(A,e){if(process.env.GITHUB_STATE||"")return(0,Yt.issueFileCommand)("STATE",(0,Yt.prepareKeyValueMessage)(A,e));(0,Ie.issueCommand)("save-state",{name:A},(0,br.toCommandValue)(e))}p.saveState=Gm;function Tm(A){return process.env[`STATE_${A}`]||""}p.getState=Tm;function vm(A){return Sl(this,void 0,void 0,function*(){return yield Dm.OidcClient.getIDToken(A)})}p.getIDToken=vm;var Hm=OE();Object.defineProperty(p,"summary",{enumerable:!0,get:function(){return Hm.summary}});var Vm=OE();Object.defineProperty(p,"markdownSummary",{enumerable:!0,get:function(){return Vm.markdownSummary}});var AQ=Ql();Object.defineProperty(p,"toPosixPath",{enumerable:!0,get:function(){return AQ.toPosixPath}});Object.defineProperty(p,"toWin32Path",{enumerable:!0,get:function(){return AQ.toWin32Path}});Object.defineProperty(p,"toPlatformPath",{enumerable:!0,get:function(){return AQ.toPlatformPath}});p.platform=zE(bl())});a();a();var we=Ds(fs(),1);import xl from"node:path";var pn=class{options={envRegex:/^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|(?:HTTPS?|NO)_PROXY|(?:https?|no)_proxy)$/,configurationFile:{input:"configurationFile",env:"RENOVATE_CONFIG_FILE",optional:!0},token:{input:"token",env:"RENOVATE_TOKEN",optional:!1}};token;_environmentVariables;_configurationFile;constructor(){let e=(0,we.getInput)("env-regex"),t=e?new RegExp(e):this.options.envRegex;this._environmentVariables=new Map(Object.entries(process.env).filter(([r])=>t.test(r)).filter(r=>r[1]!==void 0)),this.token=this.get(this.options.token.input,this.options.token.env,this.options.token.optional),this._configurationFile=this.get(this.options.configurationFile.input,this.options.configurationFile.env,this.options.configurationFile.optional)}configurationFile(){return this._configurationFile.value!==""?{key:this._configurationFile.key,value:xl.resolve(this._configurationFile.value)}:null}getDockerImage(){return(0,we.getInput)("renovate-image")||null}getVersion(){return(0,we.getInput)("renovate-version")||null}mountDockerSocket(){return(0,we.getInput)("mount-docker-socket")==="true"}dockerSocketHostPath(){return(0,we.getInput)("docker-socket-host-path")||"/var/run/docker.sock"}getDockerCmdFile(){let e=(0,we.getInput)("docker-cmd-file");return e&&e!==""?xl.resolve(e):null}getDockerUser(){return(0,we.getInput)("docker-user")||null}getDockerVolumeMounts(){return(0,we.getInput)("docker-volumes").split(";").map(e=>e.trim()).filter(e=>!!e)}getDockerNetwork(){return(0,we.getInput)("docker-network")}toEnvironmentVariables(){return[...this._environmentVariables].map(([e,t])=>({key:e,value:t}))}get(e,t,r){let s=(0,we.getInput)(e),i=this._environmentVariables.get(t);if(s===""&&i===void 0&&!r)throw new Error([`'${e}' MUST be passed using its input or the '${t}'`,"environment variable"].join(" "));return this._environmentVariables.delete(t),s!==""?{key:t,value:s}:{key:t,value:i??""}}};a();a();var eQ=Ds(fs(),1),Rn=class A{static image="ghcr.io/renovatebot/renovate";static version="39";dockerImage;fullTag;constructor(e){let t=e.getDockerImage(),r=e.getVersion();t||((0,eQ.warning)(`No Docker image specified, using ${A.image}`),t=A.image),r||((0,eQ.warning)(`No Docker version specified, using ${A.version}`),r=A.version),this.dockerImage=t,this.fullTag=r}image(){return`${this.dockerImage}:${this.fullTag}`}};var Jl=Ds(KE(),1);import tQ from"node:fs/promises";import rQ from"node:path";var kn=class A{constructor(e){this.input=e;this.docker=new Rn(e)}static dockerGroupRegex=/^docker:x:(?<groupId>[1-9][0-9]*):/m;configFileMountDir="/github-action";docker;async runDockerContainer(){await this.validateArguments();let e=this.input.toEnvironmentVariables().map(E=>`--env ${E.key}`).concat([`--env ${this.input.token.key}=${this.input.token.vLine truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
undici/lib/fetch/body.js:
|
||||
|
||||
Vendored
+4
-4
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../tools/cjs-shim.ts", "../node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/src/utils.ts", "../node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/src/command.ts", "../node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/src/file-command.ts", "../node_modules/.pnpm/@actions+http-client@2.2.3/node_modules/@actions/http-client/src/proxy.ts", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/symbols.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/errors.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/constants.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/util.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/timers.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/streamsearch/sbmh.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/getLimit.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/decodeText.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/parseParams.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/basename.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/multipart.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/Decoder.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/urlencoded.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/main.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/constants.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/global.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/util.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/symbols.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/webidl.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/dataURL.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/file.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/formdata.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/fetch/body.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/request.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/dispatcher.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/dispatcher-base.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/core/connect.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/src/llhttp/utils.ts", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/src/llhttp/constants.ts", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/handler/RedirectHandler.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/interceptor/redirectInterceptor.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/client.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/node/fixed-queue.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/pool-stats.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/pool-base.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/pool.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/balanced-pool.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/compat/dispatcher-weakref.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/agent.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/readable.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/util.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/abort-signal.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/api-request.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/api-stream.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/api-pipeline.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/api-upgrade.js", "../node_modules/.pnpm/undici@5.28.4/node_modules/undici/lib/api/api-connect.js", "../node_modules/.pnpm/undici@5.28.4/node_modulesLine truncated
|
||||
"sourcesContent": ["// https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331\nimport { createRequire } from 'node:module';\nimport path from 'node:path';\nimport url from 'node:url';\n\nglobalThis.require = createRequire(import.meta.url);\nglobalThis.__filename = url.fileURLToPath(import.meta.url);\nglobalThis.__dirname = path.dirname(__filename);\n", null, null, null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = newLine truncated
|
||||
"mappings": "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 truncated
|
||||
"names": ["createRequire", "path", "url", "init_cjs_shim", "__esmMin", "toCommandValue", "input", "exports", "toCommandProperties", "annotationProperties", "os", "__importStar", "utils_1", "issueCommand", "command", "properties", "message", "cmd", "Command", "exports", "issue", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "crypto", "__importStar", "fs", "os", "utils_1", "issueFileCommand", "command", "message", "filePath", "exports", "prepareKeyValueMessage", "key", "value", "delimiter", "convertedValue", "getProxyUrl", "reqUrl", "usingSsl", "checkBypass", "proxyVar", "DecodedURL", "exports", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "url", "base", "require_tunnel", "__commonJSMin", "exports", "init_cjs_shim", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_symbols", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_errors", "__commonJSMin", "exports", "module", "init_cjs_shim", "UndiciError", "message", "ConnectTimeoutError", "_ConnectTimeoutError", "HeadersTimeoutError", "_HeadersTimeoutError", "HeadersOverflowError", "_HeadersOverflowError", "BodyTimeoutError", "_BodyTimeoutError", "ResponseStatusCodeError", "_ResponseStatusCodeError", "statusCode", "headers", "body", "InvalidArgumentError", "_InvalidArgumentError", "InvalidReturnValueError", "_InvalidReturnValueError", "RequestAbortedError", "_RequestAbortedError", "InformationalError", "_InformationalError", "RequestContentLengthMismatchError", "_RequestContentLengthMismatchError", "ResponseContentLengthMismatchError", "_ResponseContentLengthMismatchError", "ClientDestroyedError", "_ClientDestroyedError", "ClientClosedError", "_ClientClosedError", "SocketError", "_SocketError", "socket", "NotSupportedError", "_NotSupportedError", "BalancedPoolMissingUpstreamError", "HTTPParserError", "_HTTPParserError", "code", "data", "ResponseExceededMaxSizeError", "_ResponseExceededMaxSizeError", "RequestRetryError", "_RequestRetryError", "require_constants", "__commonJSMin", "exports", "module", "init_cjs_shim", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_util", "__commonJSMin", "exports", "module", "init_cjs_shim", "assert", "kDestroyed", "kBodyUsed", "IncomingMessage", "stream", "net", "InvalidArgumentError", "Blob", "nodeUtil", "stringify", "headerNameLowerCasedRecord", "nodeMajor", "nodeMinor", "v", "nop", "isStream", "obj", "isBlobLike", "object", "buildURL", "url", "queryParams", "stringified", "parseURL", "port", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "isIterable", "bodyLength", "body", "state", "isBuffer", "isDestroyed", "isReadableAborted", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "value", "parseHeaders", "headers", "i", "key", "x", "parseRawHeaders", "ret", "hasContentLength", "contentDispositionIdx", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "convertIterableToBuffer", "iterable", "chunk", "ReadableStream", "ReadableStreamFrom", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "throwIfAborted", "signal", "addAbortListener", "listener", "hasToWellFormed", "toUSVString", "parseRangeHeader", "range", "kEnumerableProperty", "require_timers", "__commonJSMin", "exports", "module", "init_cjs_shim", "fastNow", "fastNowTimeout", "fastTimers", "onTimeout", "len", "idx", "timer", "refreshTimeout", "Timeout", "callback", "delay", "opaque", "timeout", "require_sbmh", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "SBMH", "needle", "needleLength", "i", "chunk", "pos", "chlen", "data", "len", "lastNeedleChar", "ch", "bytesToCutOff", "require_PartStream", "__commonJSMin", "exports", "module", "init_cjs_shim", "inherits", "ReadableStream", "PartStream", "opts", "n", "require_getLimit", "__commonJSMin", "exports", "module", "init_cjs_shim", "limits", "name", "defaultLimit", "require_HeaderParser", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "getLimit", "StreamSearch", "B_DCRLF", "RE_CRLF", "RE_HDR", "HeaderParser", "cfg", "self", "isMatch", "data", Line truncated
|
||||
"sources": ["../tools/cjs-shim.ts", "../node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/src/utils.ts", "../node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/src/command.ts", "../node_modules/.pnpm/@actions+core@1.11.1/node_modules/@actions/core/src/file-command.ts", "../node_modules/.pnpm/@actions+http-client@2.2.3/node_modules/@actions/http-client/src/proxy.ts", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js", "../node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/symbols.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/errors.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/constants.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/util.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/timers.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/streamsearch/sbmh.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/getLimit.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/decodeText.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/parseParams.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/basename.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/multipart.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/utils/Decoder.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/types/urlencoded.js", "../node_modules/.pnpm/@fastify+busboy@2.1.1/node_modules/@fastify/busboy/lib/main.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/constants.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/global.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/util.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/symbols.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/webidl.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/dataURL.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/file.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/formdata.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/body.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/request.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/dispatcher.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/dispatcher-base.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/connect.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/src/llhttp/utils.ts", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/src/llhttp/constants.ts", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/handler/RedirectHandler.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/interceptor/redirectInterceptor.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/client.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/node/fixed-queue.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/pool-stats.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/pool-base.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/pool.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/balanced-pool.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/compat/dispatcher-weakref.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/agent.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/readable.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/util.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/abort-signal.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-request.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-stream.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-pipeline.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-upgrade.js", "../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/api/api-connect.js", "../node_modules/.pnpm/undici@5.28.5/node_modulesLine truncated
|
||||
"sourcesContent": ["// https://github.com/evanw/esbuild/issues/1921#issuecomment-1898197331\nimport { createRequire } from 'node:module';\nimport path from 'node:path';\nimport url from 'node:url';\n\nglobalThis.require = createRequire(import.meta.url);\nglobalThis.__filename = url.fileURLToPath(import.meta.url);\nglobalThis.__dirname = path.dirname(__filename);\n", null, null, null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = newLine truncated
|
||||
"mappings": "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 truncated
|
||||
"names": ["createRequire", "path", "url", "init_cjs_shim", "__esmMin", "toCommandValue", "input", "exports", "toCommandProperties", "annotationProperties", "os", "__importStar", "utils_1", "issueCommand", "command", "properties", "message", "cmd", "Command", "exports", "issue", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "crypto", "__importStar", "fs", "os", "utils_1", "issueFileCommand", "command", "message", "filePath", "exports", "prepareKeyValueMessage", "key", "value", "delimiter", "convertedValue", "getProxyUrl", "reqUrl", "usingSsl", "checkBypass", "proxyVar", "DecodedURL", "exports", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "url", "base", "require_tunnel", "__commonJSMin", "exports", "init_cjs_shim", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_symbols", "__commonJSMin", "exports", "module", "init_cjs_shim", "require_errors", "__commonJSMin", "exports", "module", "init_cjs_shim", "UndiciError", "message", "ConnectTimeoutError", "_ConnectTimeoutError", "HeadersTimeoutError", "_HeadersTimeoutError", "HeadersOverflowError", "_HeadersOverflowError", "BodyTimeoutError", "_BodyTimeoutError", "ResponseStatusCodeError", "_ResponseStatusCodeError", "statusCode", "headers", "body", "InvalidArgumentError", "_InvalidArgumentError", "InvalidReturnValueError", "_InvalidReturnValueError", "RequestAbortedError", "_RequestAbortedError", "InformationalError", "_InformationalError", "RequestContentLengthMismatchError", "_RequestContentLengthMismatchError", "ResponseContentLengthMismatchError", "_ResponseContentLengthMismatchError", "ClientDestroyedError", "_ClientDestroyedError", "ClientClosedError", "_ClientClosedError", "SocketError", "_SocketError", "socket", "NotSupportedError", "_NotSupportedError", "BalancedPoolMissingUpstreamError", "HTTPParserError", "_HTTPParserError", "code", "data", "ResponseExceededMaxSizeError", "_ResponseExceededMaxSizeError", "RequestRetryError", "_RequestRetryError", "require_constants", "__commonJSMin", "exports", "module", "init_cjs_shim", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_util", "__commonJSMin", "exports", "module", "init_cjs_shim", "assert", "kDestroyed", "kBodyUsed", "IncomingMessage", "stream", "net", "InvalidArgumentError", "Blob", "nodeUtil", "stringify", "headerNameLowerCasedRecord", "nodeMajor", "nodeMinor", "v", "nop", "isStream", "obj", "isBlobLike", "object", "buildURL", "url", "queryParams", "stringified", "parseURL", "port", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "isIterable", "bodyLength", "body", "state", "isBuffer", "isDestroyed", "isReadableAborted", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "value", "parseHeaders", "headers", "i", "key", "x", "parseRawHeaders", "ret", "hasContentLength", "contentDispositionIdx", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "convertIterableToBuffer", "iterable", "chunk", "ReadableStream", "ReadableStreamFrom", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "throwIfAborted", "signal", "addAbortListener", "listener", "hasToWellFormed", "toUSVString", "parseRangeHeader", "range", "kEnumerableProperty", "require_timers", "__commonJSMin", "exports", "module", "init_cjs_shim", "fastNow", "fastNowTimeout", "fastTimers", "onTimeout", "len", "idx", "timer", "refreshTimeout", "Timeout", "callback", "delay", "opaque", "timeout", "require_sbmh", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "SBMH", "needle", "needleLength", "i", "chunk", "pos", "chlen", "data", "len", "lastNeedleChar", "ch", "bytesToCutOff", "require_PartStream", "__commonJSMin", "exports", "module", "init_cjs_shim", "inherits", "ReadableStream", "PartStream", "opts", "n", "require_getLimit", "__commonJSMin", "exports", "module", "init_cjs_shim", "limits", "name", "defaultLimit", "require_HeaderParser", "__commonJSMin", "exports", "module", "init_cjs_shim", "EventEmitter", "inherits", "getLimit", "StreamSearch", "B_DCRLF", "RE_CRLF", "RE_HDR", "HeaderParser", "cfg", "self", "isMatch", "data", Line truncated
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "github-action",
|
||||
"version": "41.0.9",
|
||||
"version": "41.0.10",
|
||||
"private": true,
|
||||
"description": "GitHub Action to run Renovate self-hosted.",
|
||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||
|
||||
Reference in new issue
Block a user