From c2657cf1f9cf5e6aaf8b3ad3d8c297a7c211058f Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 02:21:31 +0000 Subject: [PATCH] ci(release): build action for 2.10.1 [skip ci] --- dist/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6c7a6f53..b6e42b27 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,5 +1,5 @@ import {createRequire} from 'node:module';const require=createRequire(import.meta.url); -/*! github-action v2.9.7 | MIT */ +/*! github-action v2.10.0 | MIT */ var Cl=Object.create;var fn=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var Il=Object.getOwnPropertyNames;var hl=Object.getPrototypeOf,ll=Object.prototype.hasOwnProperty;var n=(e,A)=>fn(e,"name",{value:A,configurable:!0}),I=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(A,t)=>(typeof require<"u"?require:A)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var l=(e,A)=>()=>(A||e((A={exports:{}}).exports,A),A.exports);var ul=(e,A,t,r)=>{if(A&&typeof A=="object"||typeof A=="function")for(let s of Il(A))!ll.call(e,s)&&s!==t&&fn(e,s,{get:()=>A[s],enumerable:!(r=cl(A,s))||r.enumerable});return e};var dl=(e,A,t)=>(t=e!=null?Cl(hl(e)):{},ul(A||!e||!e.__esModule?fn(t,"default",{value:e,enumerable:!0}):t,e));var ms=l(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.toCommandProperties=Wt.toCommandValue=void 0;function fl(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}n(fl,"toCommandValue");Wt.toCommandValue=fl;function yl(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}n(yl,"toCommandProperties");Wt.toCommandProperties=yl});var XE=l(ge=>{"use strict";var Dl=ge&&ge.__createBinding||(Object.create?function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(A,t);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:n(function(){return A[t]},"get")}),Object.defineProperty(e,r,s)}:function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]}),wl=ge&&ge.__setModuleDefault||(Object.create?function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}:function(e,A){e.default=A}),pl=ge&&ge.__importStar||function(e){if(e&&e.__esModule)return e;var A={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&Dl(A,e,t);return wl(A,e),A};Object.defineProperty(ge,"__esModule",{value:!0});ge.issue=ge.issueCommand=void 0;var Rl=pl(I("os")),_E=ms();function ZE(e,A,t){let r=new Fl(e,A,t);process.stdout.write(r.toString()+Rl.EOL)}n(ZE,"issueCommand");ge.issueCommand=ZE;function kl(e,A=""){ZE(e,{},A)}n(kl,"issue");ge.issue=kl;var PE="::",Fl=class{static{n(this,"Command")}constructor(A,t,r){A||(A="missing.command"),this.command=A,this.properties=t,this.message=r}toString(){let A=PE+this.command;if(this.properties&&Object.keys(this.properties).length>0){A+=" ";let t=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let s=this.properties[r];s&&(t?t=!1:A+=",",A+=`${r}=${ml(s)}`)}}return A+=`${PE}${Nl(this.message)}`,A}};function Nl(e){return(0,_E.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}n(Nl,"escapeData");function ml(e){return(0,_E.toCommandValue)(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}n(ml,"escapeProperty")});var zE=l(Qe=>{"use strict";var bl=Qe&&Qe.__createBinding||(Object.create?function(e,A,t,r){r===void 0&&(r=t);var s=Object.getOwnPropertyDescriptor(A,t);(!s||("get"in s?!A.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:n(function(){return A[t]},"get")}),Object.defineProperty(e,r,s)}:function(e,A,t,r){r===void 0&&(r=t),e[r]=A[t]}),Sl=Qe&&Qe.__setModuleDefault||(Object.create?function(e,A){Object.defineProperty(e,"default",{enumerable:!0,value:A})}:function(e,A){e.default=A}),Dn=Qe&&Qe.__importStar||function(e){if(e&&e.__esModule)return e;var A={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&bl(A,e,t);return Sl(A,e),A};Object.defineProperty(Qe,"__esModule",{value:!0});Qe.prepareKeyValueMessage=Qe.issueFileCommand=void 0;var Ul=Dn(I("crypto")),KE=Dn(I("fs")),yn=Dn(I("os")),jE=ms();function Ll(e,A){let t=process.env[`GITHUB_${e}`];if(!t)throw new Error(`Unable to find environment variable for file command ${e}`);if(!KE.existsSync(t))throw new Error(`Missing file at path: ${t}`);KE.appendFileSync(t,`${(0,jE.toCommandValue)(A)}${yn.EOL}`,{encoding:"utf8"})}n(Ll,"issueFileCommand");Qe.issueFileCommand=Ll;function Ml(e,A){let t=`ghadelimiter_${Ul.randomUUID()}`,r=(0,jE.toCommandValue)(A);if(e.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`${e}<<${t}${yn.EOL}${r}${yn.EOL}${t}`}n(Ml,"prepareKeyValueMessage");Qe.prepareKeyValueMessage=Ml});var eg=l(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.checkBypass=Ot.getProxyUrl=void 0;function Yl(e){let A=e.protocol==="https:";if(Ag(e))return;let t=A?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(t)try{return new $E(t)}catch{if(!t.startsWith("http://")&&!t.startsWith("https://"))return new $E(`http://${t}`)}else return}n(Yl,"getProxyUrl");Ot.getProxyUrl=Yl;function Ag(e){if(!e.hostname)return!1;let A=e.hostname;if(xl(A))return!0;let t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=Number(e.port):e.protocol==="http:"?r=80:e.protocol==="https:"&&(r=443);let s=[e.hostname.toUpperCase()];typeof r=="number"&&s.push(`${s[0]}:${r}`);for(let i of t.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||s.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}n(Ag,"checkBypass");Ot.checkBypass=Ag;function xl(e){let A=e.toLowerCase();return A==="localhost"||A.startsWith("127.")||A.startsWith("[::1]")||A.startsWith("[0:0:0:0:0:0:0:1]")}n(xl,"isLoopbackAddress");var $E=class extends URL{static{n(this,"DecodedURL")}constructor(A,t){super(A,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var ig=l(Pt=>{"use strict";var Fb=I("net"),Jl=I("tls"),wn=I("http"),tg=I("https"),Gl=I("events"),Nb=I("assert"),Tl=I("util");Pt.httpOverHttp=Hl;Pt.httpsOverHttp=vl;Pt.httpOverHttps=Vl;Pt.httpsOverHttps=ql;function Hl(e){var A=new We(e);return A.request=wn.request,A}n(Hl,"httpOverHttp");function vl(e){var A=new We(e);return A.request=wn.request,A.createSocket=rg,A.defaultPort=443,A}n(vl,"httpsOverHttp");function Vl(e){var A=new We(e);return A.request=tg.request,A}n(Vl,"httpOverHttps");function ql(e){var A=new We(e);return A.request=tg.request,A.createSocket=rg,A.defaultPort=443,A}n(ql,"httpsOverHttps");function We(e){var A=this;A.options=e||{},A.proxyOptions=A.options.proxy||{},A.maxSockets=A.options.maxSockets||wn.Agent.defaultMaxSockets,A.requests=[],A.sockets=[],A.on("free",n(function(r,s,i,o){for(var E=sg(s,i,o),g=0,Q=A.requests.length;g=this.maxSockets){i.requests.push(o);return}i.createSocket(o,function(E){E.on("free",g),E.on("close",Q),E.on("agentRemove",Q),A.onSocket(E);function g(){i.emit("free",E,o)}n(g,"onFree");function Q(a){i.removeSocket(E),E.removeListener("free",g),E.removeListener("close",Q),E.removeListener("agentRemove",Q)}n(Q,"onCloseOrRemove")})},"addRequest");We.prototype.createSocket=n(function(A,t){var r=this,s={};r.sockets.push(s);var i=pn({},r.proxyOptions,{method:"CONNECT",path:A.host+":"+A.port,agent:!1,headers:{host:A.host+":"+A.port}});A.localAddress&&(i.localAddress=A.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),ot("making CONNECT request");var o=r.request(i);o.useChunkedEncodingByDefault=!1,o.once("response",E),o.once("upgrade",g),o.once("connect",Q),o.once("error",a),o.end();function E(B){B.upgrade=!0}n(E,"onResponse");function g(B,C,h){process.nextTick(function(){Q(B,C,h)})}n(g,"onUpgrade");function Q(B,C,h){if(o.removeAllListeners(),C.removeAllListeners(),B.statusCode!==200){ot("tunneling socket could not be established, statusCode=%d",B.statusCode),C.destroy();var c=new Error("tunneling socket could not be established, statusCode="+B.statusCode);c.code="ECONNRESET",A.request.emit("error",c),r.removeSocket(s);return}if(h.length>0){ot("got illegal response body from proxy"),C.destroy();var c=new Error("got illegal response body from proxy");c.code="ECONNRESET",A.request.emit("error",c),r.removeSocket(s);return}return ot("tunneling connection has established"),r.sockets[r.sockets.indexOf(s)]=C,t(C)}n(Q,"onConnect");function a(B){o.removeAllListeners(),ot(`tunneling socket could not be established, cause=%s `,B.message,B.stack);var C=new Error("tunneling socket could not be established, cause="+B.message);C.code="ECONNRESET",A.request.emit("error",C),r.removeSocket(s)}n(a,"onError")},"createSocket");We.prototype.removeSocket=n(function(A){var t=this.sockets.indexOf(A);if(t!==-1){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(s){r.request.onSocket(s)})}},"removeSocket");function rg(e,A){var t=this;We.prototype.createSocket.call(t,e,function(r){var s=e.request.getHeader("host"),i=pn({},t.options,{socket:r,servername:s?s.replace(/:.*$/,""):e.host}),o=Jl.connect(0,i);t.sockets[t.sockets.indexOf(r)]=o,A(o)})}n(rg,"createSecureSocket");function sg(e,A,t){return typeof e=="string"?{host:e,port:A,localAddress:t}:e}n(sg,"toOptions");function pn(e){for(var A=1,t=arguments.length;A{"use strict";ng.exports=ig()});var X=l((Ub,Eg)=>{"use strict";Eg.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((Yb,Ng)=>{"use strict";var IA=class extends Error{static{n(this,"UndiciError")}constructor(A){super(A),this.name="UndiciError",this.code="UND_ERR"}},Wl=class gg extends IA{static{n(this,"ConnectTimeoutError")}constructor(A){super(A),Error.captureStackTrace(this,gg),this.name="ConnectTimeoutError",this.message=A||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}},Ol=class Qg extends IA{static{n(this,"HeadersTimeoutError")}constructor(A){super(A),Error.captureStackTrace(this,Qg),this.name="HeadersTimeoutError",this.message=A||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}},Pl=class ag extends IA{static{n(this,"HeadersOverflowError")}constructor(A){super(A),Error.captureStackTrace(this,ag),this.name="HeadersOverflowError",this.message=A||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}},_l=class Bg extends IA{static{n(this,"BodyTimeoutError")}constructor(A){super(A),Error.captureStackTrace(this,Bg),this.name="BodyTimeoutError",this.message=A||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}},Zl=class Cg extends IA{static{n(this,"ResponseStatusCodeError")}constructor(A,t,r,s){super(A),Error.captureStackTrace(this,Cg),this.name="ResponseStatusCodeError",this.message=A||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=t,this.statusCode=t,this.headers=r}},Xl=class cg extends IA{static{n(this,"InvalidArgumentError")}constructor(A){super(A),Error.captureStackTrace(this,cg),this.name="InvalidArgumentError",this.message=A||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}},Kl=class Ig extends IA{static{n(this,"InvalidReturnValueError")}constructor(A){super(A),Error.captureStackTrace(this,Ig),this.name="InvalidReturnValueError",this.message=A||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}},jl=class hg extends IA{static{n(this,"RequestAbortedError")}constructor(A){super(A),Error.captureStackTrace(this,hg),this.name="AbortError",this.message=A||"Request aborted",this.code="UND_ERR_ABORTED"}},zl=class lg extends IA{static{n(this,"InformationalError")}constructor(A){super(A),Error.captureStackTrace(this,lg),this.name="InformationalError",this.message=A||"Request information",this.code="UND_ERR_INFO"}},$l=class ug extends IA{static{n(this,"RequestContentLengthMismatchError")}constructor(A){super(A),Error.captureStackTrace(this,ug),this.name="RequestContentLengthMismatchError",this.message=A||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}},Au=class dg extends IA{static{n(this,"ResponseContentLengthMismatchError")}constructor(A){super(A),Error.captureStackTrace(this,dg),this.name="ResponseContentLengthMismatchError",this.message=A||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}},eu=class fg extends IA{static{n(this,"ClientDestroyedError")}constructor(A){super(A),Error.captureStackTrace(this,fg),this.name="ClientDestroyedError",this.message=A||"The client is destroyed",this.code="UND_ERR_DESTROYED"}},tu=class yg extends IA{static{n(this,"ClientClosedError")}constructor(A){super(A),Error.captureStackTrace(this,yg),this.name="ClientClosedError",this.message=A||"The client is closed",this.code="UND_ERR_CLOSED"}},ru=class Dg extends IA{static{n(this,"SocketError")}constructor(A,t){super(A),Error.captureStackTrace(this,Dg),this.name="SocketError",this.message=A||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}},wg=class pg extends IA{static{n(this,"NotSupportedError")}constructor(A){super(A),Error.captureStackTrace(this,pg),this.name="NotSupportedError",this.message=A||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}},su=class extends IA{static{n(this,"BalancedPoolMissingUpstreamError")}constructor(A){super(A),Error.captureStackTrace(this,wg),this.name="MissingUpstreamError",this.message=A||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}},iu=class Rg extends Error{static{n(this,"HTTPParserError")}constructor(A,t,r){super(A),Error.captureStackTrace(this,Rg),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}},nu=class kg extends IA{static{n(this,"ResponseExceededMaxSizeError")}constructor(A){super(A),Error.captureStackTrace(this,kg),this.name="ResponseExceededMaxSizeError",this.message=A||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}},ou=class Fg extends IA{static{n(this,"RequestRetryError")}constructor(A,t,{headers:r,data:s}){super(A),Error.captureStackTrace(this,Fg),this.name="RequestRetryError",this.message=A||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=s,this.headers=r}};Ng.exports={HTTPParserError:iu,UndiciError:IA,HeadersTimeoutError:Ol,HeadersOverflowError:Pl,BodyTimeoutError:_l,RequestContentLengthMismatchError:$l,ConnectTimeoutError:Wl,ResponseStatusCodeError:Zl,InvalidArgumentError:Xl,InvalidReturnValueError:Kl,RequestAbortedError:jl,ClientDestroyedError:eu,ClientClosedError:tu,InformationalError:zl,SocketError:ru,NotSupportedError:wg,ResponseContentLengthMismatchError:Au,BalancedPoolMissingUpstreamError:su,ResponseExceededMaxSizeError:nu,RequestRetryError:ou}});var bg=l((Jb,mg)=>{"use strict";var bs={},Rn=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let e=0;e{"use strict";var Mg=I("assert"),{kDestroyed:Yg,kBodyUsed:Sg}=X(),{IncomingMessage:Eu}=I("http"),_t=I("stream"),gu=I("net"),{InvalidArgumentError:fA}=_(),{Blob:Ug}=I("buffer"),Ss=I("util"),{stringify:Qu}=I("querystring"),{headerNameLowerCasedRecord:au}=bg(),[kn,Lg]=process.versions.node.split(".").map(e=>Number(e));function Bu(){}n(Bu,"nop");function Fn(e){return e&&typeof e=="object"&&typeof e.pipe=="function"&&typeof e.on=="function"}n(Fn,"isStream");function xg(e){return Ug&&e instanceof Ug||e&&typeof e=="object"&&(typeof e.stream=="function"||typeof e.arrayBuffer=="function")&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}n(xg,"isBlobLike");function Cu(e,A){if(e.includes("?")||e.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let t=Qu(A);return t&&(e+="?"+t),e}n(Cu,"buildURL");function Jg(e){if(typeof e=="string"){if(e=new URL(e),!/^https?:/.test(e.origin||e.protocol))throw new fA("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!="object")throw new fA("Invalid URL: The URL argument must be a non-null object.");if(!/^https?:/.test(e.origin||e.protocol))throw new fA("Invalid URL protocol: the URL must start with `http:` or `https:`.");if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&!Number.isFinite(parseInt(e.port)))throw new fA("Invalid URL: port must be a valid integer or a string representation of an integer.");if(e.path!=null&&typeof e.path!="string")throw new fA("Invalid URL path: the path must be a string or null/undefined.");if(e.pathname!=null&&typeof e.pathname!="string")throw new fA("Invalid URL pathname: the pathname must be a string or null/undefined.");if(e.hostname!=null&&typeof e.hostname!="string")throw new fA("Invalid URL hostname: the hostname must be a string or null/undefined.");if(e.origin!=null&&typeof e.origin!="string")throw new fA("Invalid URL origin: the origin must be a string or null/undefined.");let A=e.port!=null?e.port:e.protocol==="https:"?443:80,t=e.origin!=null?e.origin:`${e.protocol}//${e.hostname}:${A}`,r=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;t.endsWith("/")&&(t=t.substring(0,t.length-1)),r&&!r.startsWith("/")&&(r=`/${r}`),e=new URL(t+r)}return e}n(Jg,"parseURL");function cu(e){if(e=Jg(e),e.pathname!=="/"||e.search||e.hash)throw new fA("invalid url");return e}n(cu,"parseOrigin");function Iu(e){if(e[0]==="["){let t=e.indexOf("]");return Mg(t!==-1),e.substring(1,t)}let A=e.indexOf(":");return A===-1?e:e.substring(0,A)}n(Iu,"getHostname");function hu(e){if(!e)return null;Mg.strictEqual(typeof e,"string");let A=Iu(e);return gu.isIP(A)?"":A}n(hu,"getServerName");function lu(e){return JSON.parse(JSON.stringify(e))}n(lu,"deepClone");function uu(e){return e!=null&&typeof e[Symbol.asyncIterator]=="function"}n(uu,"isAsyncIterable");function du(e){return e!=null&&(typeof e[Symbol.iterator]=="function"||typeof e[Symbol.asyncIterator]=="function")}n(du,"isIterable");function fu(e){if(e==null)return 0;if(Fn(e)){let A=e._readableState;return A&&A.objectMode===!1&&A.ended===!0&&Number.isFinite(A.length)?A.length:null}else{if(xg(e))return e.size!=null?e.size:null;if(Tg(e))return e.byteLength}return null}n(fu,"bodyLength");function Nn(e){return!e||!!(e.destroyed||e[Yg])}n(Nn,"isDestroyed");function Gg(e){let A=e&&e._readableState;return Nn(e)&&A&&!A.endEmitted}n(Gg,"isReadableAborted");function yu(e,A){e==null||!Fn(e)||Nn(e)||(typeof e.destroy=="function"?(Object.getPrototypeOf(e).constructor===Eu&&(e.socket=null),e.destroy(A)):A&&process.nextTick((t,r)=>{t.emit("error",r)},e,A),e.destroyed!==!0&&(e[Yg]=!0))}n(yu,"destroy");var Du=/timeout=(\d+)/;function wu(e){let A=e.toString().match(Du);return A?parseInt(A[1],10)*1e3:null}n(wu,"parseKeepAliveTimeout");function pu(e){return au[e]||e.toLowerCase()}n(pu,"headerNameToString");function Ru(e,A={}){if(!Array.isArray(e))return e;for(let t=0;ti.toString("utf8")):A[r]=e[t+1].toString("utf8")}return"content-length"in A&&"content-disposition"in A&&(A["content-disposition"]=Buffer.from(A["content-disposition"]).toString("latin1")),A}n(Ru,"parseHeaders");function ku(e){let A=[],t=!1,r=-1;for(let s=0;s{t.close()});else{let i=Buffer.isBuffer(s)?s:Buffer.from(s);t.enqueue(new Uint8Array(i))}return t.desiredSize>0},async cancel(t){await A.return()}},0)}n(Lu,"ReadableStreamFrom");function Mu(e){return e&&typeof e=="object"&&typeof e.append=="function"&&typeof e.delete=="function"&&typeof e.get=="function"&&typeof e.getAll=="function"&&typeof e.has=="function"&&typeof e.set=="function"&&e[Symbol.toStringTag]==="FormData"}n(Mu,"isFormDataLike");function Yu(e){if(e){if(typeof e.throwIfAborted=="function")e.throwIfAborted();else if(e.aborted){let A=new Error("The operation was aborted");throw A.name="AbortError",A}}}n(Yu,"throwIfAborted");function xu(e,A){return"addEventListener"in e?(e.addEventListener("abort",A,{once:!0}),()=>e.removeEventListener("abort",A)):(e.addListener("abort",A),()=>e.removeListener("abort",A))}n(xu,"addAbortListener");var Ju=!!String.prototype.toWellFormed;function Gu(e){return Ju?`${e}`.toWellFormed():Ss.toUSVString?Ss.toUSVString(e):`${e}`}n(Gu,"toUSVString");function Tu(e){if(e==null||e==="")return{start:0,end:null,size:null};let A=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return A?{start:parseInt(A[1]),end:A[2]?parseInt(A[2]):null,size:A[3]?parseInt(A[3]):null}:null}n(Tu,"parseRangeHeader");var Hg=Object.create(null);Hg.enumerable=!0;vg.exports={kEnumerableProperty:Hg,nop:Bu,isDisturbed:Nu,isErrored:mu,isReadable:bu,toUSVString:Gu,isReadableAborted:Gg,isBlobLike:xg,parseOrigin:cu,parseURL:Jg,getServerName:hu,isStream:Fn,isIterable:du,isAsyncIterable:uu,isDestroyed:Nn,headerNameToString:pu,parseRawHeaders:ku,parseHeaders:Ru,parseKeepAliveTimeout:wu,destroy:yu,bodyLength:fu,deepClone:lu,ReadableStreamFrom:Lu,isBuffer:Tg,validateHandler:Fu,getSocketInfo:Su,isFormDataLike:Mu,buildURL:Cu,throwIfAborted:Yu,addAbortListener:xu,parseRangeHeader:Tu,nodeMajor:kn,nodeMinor:Lg,nodeHasAutoSelectFamily:kn>18||kn===18&&Lg>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}});var Og=l((vb,Wg)=>{"use strict";var mn=Date.now(),Et,gt=[];function Hu(){mn=Date.now();let e=gt.length,A=0;for(;A0&&mn>=t.state&&(t.state=-1,t.callback(t.opaque)),t.state===-1?(t.state=-2,A!==e-1?gt[A]=gt.pop():gt.pop(),e-=1):A+=1}gt.length>0&&qg()}n(Hu,"onTimeout");function qg(){Et&&Et.refresh?Et.refresh():(clearTimeout(Et),Et=setTimeout(Hu,1e3),Et.unref&&Et.unref())}n(qg,"refreshTimeout");var Vg=class{static{n(this,"Timeout")}constructor(A,t,r){this.callback=A,this.delay=t,this.opaque=r,this.state=-2,this.refresh()}refresh(){this.state===-2&&(gt.push(this),(!Et||gt.length===1)&&qg()),this.state=0}clear(){this.state=-1}};Wg.exports={setTimeout(e,A,t){return A<1e3?setTimeout(e,A,t):new Vg(e,A,t)},clearTimeout(e){e instanceof Vg?e.clear():clearTimeout(e)}}});var bn=l((qb,Pg)=>{"use strict";var vu=I("node:events").EventEmitter,Vu=I("node:util").inherits;function pt(e){if(typeof e=="string"&&(e=Buffer.from(e)),!Buffer.isBuffer(e))throw new TypeError("The needle has to be a String or a Buffer.");let A=e.length;if(A===0)throw new Error("The needle cannot be an empty String/Buffer.");if(A>256)throw new Error("The needle cannot have a length bigger than 256.");this.maxMatches=1/0,this.matches=0,this._occ=new Array(256).fill(A),this._lookbehind_size=0,this._needle=e,this._bufpos=0,this._lookbehind=Buffer.alloc(A);for(var t=0;t=0)this.emit("info",!1,this._lookbehind,0,this._lookbehind_size),this._lookbehind_size=0;else{let E=this._lookbehind_size+i;return E>0&&this.emit("info",!1,this._lookbehind,0,E),this._lookbehind.copy(this._lookbehind,0,E,this._lookbehind_size-E),this._lookbehind_size-=E,e.copy(this._lookbehind,this._lookbehind_size),this._lookbehind_size+=A,this._bufpos=A,A}}if(i+=(i>=0)*this._bufpos,e.indexOf(t,i)!==-1)return i=e.indexOf(t,i),++this.matches,i>0?this.emit("info",!0,e,this._bufpos,i):this.emit("info",!0),this._bufpos=i+r;for(i=A-r;i0&&this.emit("info",!1,e,this._bufpos,i{"use strict";var qu=I("node:util").inherits,_g=I("node:stream").Readable;function Sn(e){_g.call(this,e)}n(Sn,"PartStream");qu(Sn,_g);Sn.prototype._read=function(e){};Zg.exports=Sn});var Us=l((_b,Kg)=>{"use strict";Kg.exports=n(function(A,t,r){if(!A||A[t]===void 0||A[t]===null)return r;if(typeof A[t]!="number"||isNaN(A[t]))throw new TypeError("Limit "+t+" is not a valid number");return A[t]},"getLimit")});var AQ=l((Xb,$g)=>{"use strict";var zg=I("node:events").EventEmitter,Wu=I("node:util").inherits,jg=Us(),Ou=bn(),Pu=Buffer.from(`\r \r diff --git a/package.json b/package.json index d243fa51..4e35bced 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-action", - "version": "2.10.0", + "version": "2.10.1", "private": true, "description": "GitHub Action template repository for bfra.me.", "keywords": [