mirror of
https://github.com/docker/setup-compose-action.git
synced 2026-11-02 06:11:34 +01:00
[dependabot skip] chore: update generated content
This commit is contained in:
1 parent
bc8ab59a4a
commit
aca6cd7525
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -133,8 +133,8 @@ ${A}:${decodeURIComponent(u[A])}`}return c}return o(n,"getCanonicalizedResourceS
|
||||
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(r),this.code=e,this.name="NetworkError"}};TA.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var au=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries.
|
||||
More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name="UsageError"}};au.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var km=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var bOe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},KO=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);S(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function jZ(t,e,r){return bOe(this,void 0,void 0,function*(){var s;let n=new Ca(t),i=n.getBlockBlobClient(),a=new KO((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new gb(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw et(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(jZ,"uploadCacheArchiveSDK");var XZ=w(require("buffer"),1),fo=w(require("fs"),1),ZZ=w(require("stream"),1),e7=w(require("util"),1);var Eb=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function yb(t){return t?t>=200&&t<300:!1}o(yb,"isSuccessStatusCode");function wOe(t){return t?t>=500:!0}o(wOe,"isServerErrorStatusCode");function SOe(t){return t?[yt.BadGateway,yt.ServiceUnavailable,yt.GatewayTimeout].includes(t):!1}o(SOe,"isRetryableStatusCode");function NOe(t){return Eb(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(NOe,"sleep");function KZ(t,e,r){return Eb(this,arguments,void 0,function*(s,n,i,a=HC,c=VC,l=void 0){let u="",d=1;for(;d<=a;){let A,p,f=!1;try{A=yield n()}catch(m){l&&(A=l(m)),f=!0,u=m.message}if(A&&(p=i(A),!wOe(p)))return A;if(p&&(f=SOe(p),u=`Cache service responded with ${p}`),b(`${s} - Attempt ${d} of ${a} failed with error: ${u}`),!f){b(`${s} - Error is not retryable`);break}yield NOe(c),d++}throw Error(`${s} failed: ${u}`)})}o(KZ,"retry");function Dm(t,e){return Eb(this,arguments,void 0,function*(r,s,n=HC,i=VC){return yield KZ(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Fi)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Dm,"retryTypedResponse");function vA(t,e){return Eb(this,arguments,void 0,function*(r,s,n=HC,i=VC){return yield KZ(r,s,a=>a.message.statusCode,n,i)})}o(vA,"retryHttpClientResponse");var xn=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function xOe(t,e){return xn(this,void 0,void 0,function*(){yield e7.promisify(ZZ.pipeline)(t.message,e)})}o(xOe,"pipeResponseToStream");var Cb=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,b(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.received
Line truncated
|
||||
Other caches with similar key:`);for(let c of i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(kOe,"printCachesListForDiagnostics");function tM(t,e,r){return ps(this,void 0,void 0,function*(){let s=new u7.URL(t),n=n7(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield r7(t,e,n):n.concurrentBlobDownloads?yield t7(t,e,n):yield Ib(t,e):yield Ib(t,e)})}o(tM,"downloadCache");function A7(t,e,r){return ps(this,void 0,void 0,function*(){let s=eM(),n=tA(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield Dm("reserveCache",()=>ps(this,void 0,void 0,function*(){return s.postJson(Mm("caches"),i)}))})}o(A7,"reserveCache");function l7(t,e){return`bytes ${t}-${e}/*`}o(l7,"getContentRange");function DOe(t,e,r,s,n){return ps(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${l7(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":l7(s,n)},a=yield vA(`uploadChunk (start: ${s}, end: ${n})`,()=>ps(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!yb(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(DOe,"uploadChunk");function OOe(t,e,r,s){return ps(this,void 0,void 0,function*(){let n=Li(r),i=Mm(`caches/${e.toString()}`),a=PA.openSync(r,"r"),c=XO(s),l=xv("uploadConcurrency",c.uploadConcurrency),u=xv("uploadChunkSize",c.uploadChunkSize),d=[...new Array(l).keys()];b("Awaiting all uploads");let A=0;try{yield Promise.all(d.map(()=>ps(this,void 0,void 0,function*(){for(;A<n;){let p=Math.min(n-A,u),f=A,m=A+p-1;A+=u,yield DOe(t,i,()=>PA.createReadStream(r,{fd:a,start:f,end:m,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),f,m)}})))}finally{PA.closeSync(a)}})}o(OOe,"uploadFile");function MOe(t,e,r){return ps(this,void 0,void 0,function*(){let s={size:r};return yield Dm("commitCache",()=>ps(this,void 0,void 0,function*(){return t.postJson(Mm(`caches/${e.toString()}`),s)}))})}o(MOe,"commitCache");function rM(t,e,r,s){return ps(this,void 0,void 0,function*(){if(XO(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield jZ(r,e,s)}else{let i=eM();b("Upload cache"),yield OOe(i,t,e,s),b("Commiting cache");let a=Li(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield MOe(i,t,a);if(!yb(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(rM,"saveCache");var oee=w(Z7(),1),Ot=w(Dt(),1),js=w(Dt(),1),Au=w(Dt(),1),pu=w(Dt(),1),fu=w(Dt(),1);var jM=w(Dt(),1),KM=w(Dt(),1),see=w(Dt(),1),nee=w(Dt(),1),iee=w(Dt(),1);var YM=w(Dt(),1),$M=w(Dt(),1),eee=w(Dt(),1),tee=w(Dt(),1),ree=w(Dt(),1);var WM=class extends ree.MessageType{static{o(this,"CacheScope$Type")}constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(e){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,tee.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,eee.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?$M.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,d)}}return i}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,YM.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,YM.WireType.Varint).int64(e.permission);let n=s.writeUnknownFields;return n!==!1&&(n==!0?$M.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},cw=new WM;var XM=class extends iee.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>cw,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,nee.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,see.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(cw.internalBinaryRead(e,e.uint32(),s));break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let d=e.skip(l);u!==!1&&(u===!0?KM.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,d)}}return i}internalBinaryWrite(e,r,s){e.repositoryId!=="0"&&r.tag(1
Line truncated
|
||||
`));let s=yield pL(r,"create");yield fL(s,t)})}o(mL,"createTar");var WA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},pi=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},hu=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},gL="cache write denied:",$A=class t extends hu{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},Aw=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function uee(t){if(!t||t.length===0)throw new pi("Path Validation Error: At least one directory or file path is required")}o(uee,"checkPaths");function EL(t){if(t.length>512)throw new pi(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new pi(`Key Validation Error: ${t} cannot contain commas.`)}o(EL,"checkKey");function yL(){return Om()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(yL,"isFeatureAvailable");function dee(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=Om();return b(`Cache service version: ${u}`),uee(n),u==="v2"?yield XLe(n,i,a,c,l):yield KLe(n,i,a,c,l)})}o(dee,"restoreCache");function KLe(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new pi("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)EL(p);let d=yield Dh(),A="";try{let p=yield d7(u,n,{compressionMethod:d,enableCrossOsArchive:l});if(!p?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),p.cacheKey;A=Zm.join(yield _h(),pc(d)),b(`Archive Path: ${A}`),yield tM(p.archiveLocation,A,c),Rl()&&(yield Xm(A,d));let f=Li(A);return S(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),yield hL(A,d),S("Cache restored successfully"),p.cacheKey}catch(p){let f=p;if(f.name===pi.name)throw p;f instanceof Fi&&typeof f.statusCode=="number"&&f.statusCode>=500?Vd(`Failed to restore: ${p.message}`):et(`Failed to restore: ${p.message}`)}finally{try{yield kh(A)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(KLe,"restoreCacheV1");function XLe(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new pi("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of u)EL(A);let d="";try{let A=AL(),p=yield Dh(),f={key:i,restoreKeys:a,version:tA(n,p,l)},m=yield A.GetCacheEntryDownloadURL(f);if(!m.ok){b(`Cache not found for version ${f.version} of keys: ${u.join(", ")}`);return}if(f.key!==m.matchedKey?S(`Cache hit for restore-key: ${m.matchedKey}`):S(`Cache hit for: ${m.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),m.matchedKey;d=Zm.join(yield _h(),pc(p)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield tM(m.signedDownloadUrl,d,c);let y=Li(d);return S(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),Rl()&&(yield Xm(d,p)),yield hL(d,p),S("Cache restored successfully"),m.matchedKey}catch(A){let p=A;if(p.name===pi.name)throw A;p instanceof Fi&&typeof p.statusCode=="number"&&p.statusCode>=500?Vd(`Failed to restore: ${A.message}`):et(`Failed to restore: ${A.message}`)}finally{try{d&&(yield kh(d))}catch(A){b(`Failed to delete archive: ${A}`)}}})}o(XLe,"restoreCacheV2");function CL(t,e,r){return WA(this,arguments,void 0,function*(s,n,i,a=!1){let c=Om();return b(`Cache service version: ${c}`),uee(s),EL(n),c==="v2"?yield eFe(s,n,i,a):yield ZLe(s,n,i,a)})}o(CL,"saveCache");function ZLe(t,e,r){return WA(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,d,A,p;let f=yield Dh(),m=-1,g=yield Nv(s);if(b("Cache Paths:"),b(`${JSON.stringify(g)}`),g.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let y=yield _h(),E=Zm.join(y,pc(f));b(`Archive Path: ${E}`);try{yield mL(y,g,f),Rl()&&(yield Xm(E,f));let C=10*1024*1024*1024,I=Li(E);if(b(`File Size: ${I}`),I>C&&!ZO())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield A7(n,s,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)m=(l=B?.result)===
Line truncated
|
||||
`,a).length:A,u?(c===null?0:c.length)+l.length:0,u?l.length+A:0);return p<f},"__needMoreData"),parse:o(function(s,n,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:A,ltrim:p,max_record_size:f,raw:m,relax_quotes:g,rtrim:y,skip_empty_lines:E,to:C,to_line:I}=this.options,{comment:B,escape:N,quote:Q,record_delimiter:D}=this.options,{bomSkipped:le,delimiterDiscovered:Se,delimiterBufPrevious:Re,rawBuffer:Oe,escapeIsQuote:me}=this.state;if(!Se&&u){let Me;if(Re===void 0?Me=s:Re!==void 0&&s===void 0?Me=Re:Me=Buffer.concat([Re,s]),s=void 0,n||Me.length>u.size)this.options.delimiter=[Buffer.from(Qre(Me,this.options.delimiter_auto))],this.state.previousBuf=Me,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Me;return}}let{previousBuf:Je}=this.state,ue;if(Je===void 0)if(s===void 0){a();return}else ue=s;else Je!==void 0&&s===void 0?ue=Je:ue=Buffer.concat([Je,s]);if(le===!1)if(c===!1)this.state.bomSkipped=!0;else if(ue.length<3){if(n===!1){this.state.previousBuf=ue;return}}else{for(let Me in lp)if(lp[Me].compare(ue,0,lp[Me].length)===0){let Ci=lp[Me].length;this.state.bufBytesStart+=Ci,ue=ue.slice(Ci);let La=cp({...this.original_options,encoding:Me});for(let gt in La)this.options[gt]=La[gt];({comment:B,escape:N,quote:Q}=this.options);break}this.state.bomSkipped=!0}let vr=ue.length,J;for(J=0;J<vr&&!this.__needMoreData(J,vr,n);J++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&D.length===0&&this.__autoDiscoverRecordDelimiter(ue,J)&&(D=this.options.record_delimiter);let Me=ue[J];if(m===!0&&Oe.append(Me),(Me===h2e||Me===m2e)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ue,J,Me)&&J+N.length<vr)if(me){if(this.__isQuote(ue,J+N.length)){this.state.escaping=!0,J+=N.length-1;continue}}else{this.state.escaping=!0,J+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ue,J))if(this.state.quoting===!0){let gt=ue[J+Q.length],Ii=y&&this.__isCharTrimable(ue,J+Q.length),ws=B!==null&&this.__compareBytes(B,ue,J+Q.length,gt),Zc=this.__isDelimiter(ue,J+Q.length,gt),nE=D.length===0?this.__autoDiscoverRecordDelimiter(ue,J+Q.length):this.__isRecordDelimiter(gt,ue,J+Q.length);if(N!==null&&this.__isEscape(ue,J,Me)&&this.__isQuote(ue,J+N.length))J+=N.length-1;else if(!gt||Zc||nE||ws||Ii){this.state.quoting=!1,this.state.wasQuoting=!0,J+=Q.length-1;continue}else if(g===!1){let j2=this.__error(new Be("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(gt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(j2!==void 0)return j2}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(Q),J+=Q.length-1}else if(this.state.field.length!==0){if(g===!1){let gt=this.__infoField(),Ii=Object.keys(lp).map(Zc=>lp[Zc].equals(this.state.field.toString())?Zc:!1).filter(Boolean)[0],ws=this.__error(new Be("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(gt.column)} at line ${gt.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Ii?`(${Ii} bom)`:void 0],this.options,gt,{field:this.state.field}));if(ws!==void 0)return ws}}else{this.state.quoting=!0,J+=Q.length-1;continue}if(this.state.quoting===!1){let gt=this.__isRecordDelimiter(Me,ue,J);if(gt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=A){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),J+=gt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,J+=gt-1;continue}this.info.bytes=this.state.bufBytesStart+J;let Zc=this.__onField();if(Zc!==void 0)return Zc;this.info.bytes=this.state.bufBytesStart+J+gt;let nE=this.__onRecord(i);if(nE!==void 0)return nE;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,J+=gt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ue,J,Me)!==0){this.state.commenting=!0;continue}let Ii=this.__isDelimiter(ue,J,Me);if(Ii!==0){this.info.bytes=this.state.bufBytesStart+J;let ws=this.__onField();if(ws!==void 0)return ws;J+=Ii-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new Be("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Ci=p===!1||th
Line truncated
|
||||
`));let s=yield pL(r,"create");yield fL(s,t)})}o(mL,"createTar");var WA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(d){try{u(s.next(d))}catch(A){a(A)}}o(c,"fulfilled");function l(d){try{u(s.throw(d))}catch(A){a(A)}}o(l,"rejected");function u(d){d.done?i(d.value):n(d.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},pi=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},hu=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},gL="cache write denied:",$A=class t extends hu{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},Aw=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function uee(t){if(!t||t.length===0)throw new pi("Path Validation Error: At least one directory or file path is required")}o(uee,"checkPaths");function EL(t){if(t.length>512)throw new pi(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new pi(`Key Validation Error: ${t} cannot contain commas.`)}o(EL,"checkKey");function yL(){return Om()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(yL,"isFeatureAvailable");function dee(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=Om();return b(`Cache service version: ${u}`),uee(n),u==="v2"?yield XLe(n,i,a,c,l):yield KLe(n,i,a,c,l)})}o(dee,"restoreCache");function KLe(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new pi("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)EL(p);let d=yield Dh(),A="";try{let p=yield d7(u,n,{compressionMethod:d,enableCrossOsArchive:l});if(!p?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),p.cacheKey;A=Zm.join(yield _h(),pc(d)),b(`Archive Path: ${A}`),yield tM(p.archiveLocation,A,c),Rl()&&(yield Xm(A,d));let f=Li(A);return S(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),yield hL(A,d),S("Cache restored successfully"),p.cacheKey}catch(p){let f=p;if(f.name===pi.name)throw p;f instanceof Fi&&typeof f.statusCode=="number"&&f.statusCode>=500?Vd(`Failed to restore: ${p.message}`):et(`Failed to restore: ${p.message}`)}finally{try{yield kh(A)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(KLe,"restoreCacheV1");function XLe(t,e,r,s){return WA(this,arguments,void 0,function*(n,i,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new pi("Key Validation Error: Keys are limited to a maximum of 10.");for(let A of u)EL(A);let d="";try{let A=AL(),p=yield Dh(),f={key:i,restoreKeys:a,version:tA(n,p,l)},m=yield A.GetCacheEntryDownloadURL(f);if(!m.ok){b(`Cache not found for version ${f.version} of keys: ${u.join(", ")}`);return}if(f.key!==m.matchedKey?S(`Cache hit for restore-key: ${m.matchedKey}`):S(`Cache hit for: ${m.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),m.matchedKey;d=Zm.join(yield _h(),pc(p)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield tM(m.signedDownloadUrl,d,c);let y=Li(d);return S(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),Rl()&&(yield Xm(d,p)),yield hL(d,p),S("Cache restored successfully"),m.matchedKey}catch(A){let p=A;if(p.name===pi.name)throw A;p instanceof Fi&&typeof p.statusCode=="number"&&p.statusCode>=500?Vd(`Failed to restore: ${A.message}`):et(`Failed to restore: ${A.message}`)}finally{try{d&&(yield kh(d))}catch(A){b(`Failed to delete archive: ${A}`)}}})}o(XLe,"restoreCacheV2");function CL(t,e,r){return WA(this,arguments,void 0,function*(s,n,i,a=!1){let c=Om();return b(`Cache service version: ${c}`),uee(s),EL(n),c==="v2"?yield eFe(s,n,i,a):yield ZLe(s,n,i,a)})}o(CL,"saveCache");function ZLe(t,e,r){return WA(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,d,A,p;let f=yield Dh(),m=-1,g=yield Nv(s);if(b("Cache Paths:"),b(`${JSON.stringify(g)}`),g.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let y=yield _h(),E=Zm.join(y,pc(f));b(`Archive Path: ${E}`);try{yield mL(y,g,f),Rl()&&(yield Xm(E,f));let C=10*1024*1024*1024,I=Li(E);if(b(`File Size: ${I}`),I>C&&!ZO())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield A7(n,s,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)m=(l=B?.result)===
Line truncated
|
||||
`,a).length:A,u?(c===null?0:c.length)+l.length:0,u?l.length+A:0);return p<f},"__needMoreData"),parse:o(function(s,n,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:d,from_line:A,ltrim:p,max_record_size:f,raw:m,relax_quotes:g,rtrim:y,skip_empty_lines:E,to:C,to_line:I}=this.options,{comment:B,escape:N,quote:Q,record_delimiter:D}=this.options,{bomSkipped:le,delimiterDiscovered:Se,delimiterBufPrevious:Re,rawBuffer:Oe,escapeIsQuote:me}=this.state;if(!Se&&u){let Me;if(Re===void 0?Me=s:Re!==void 0&&s===void 0?Me=Re:Me=Buffer.concat([Re,s]),s=void 0,n||Me.length>u.size)this.options.delimiter=[Buffer.from(Qre(Me,this.options.delimiter_auto))],this.state.previousBuf=Me,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Me;return}}let{previousBuf:Je}=this.state,ue;if(Je===void 0)if(s===void 0){a();return}else ue=s;else Je!==void 0&&s===void 0?ue=Je:ue=Buffer.concat([Je,s]);if(le===!1)if(c===!1)this.state.bomSkipped=!0;else if(ue.length<3){if(n===!1){this.state.previousBuf=ue;return}}else{for(let Me in lp)if(lp[Me].compare(ue,0,lp[Me].length)===0){let Ci=lp[Me].length;this.state.bufBytesStart+=Ci,ue=ue.slice(Ci);let La=cp({...this.original_options,encoding:Me});for(let gt in La)this.options[gt]=La[gt];({comment:B,escape:N,quote:Q}=this.options);break}this.state.bomSkipped=!0}let vr=ue.length,J;for(J=0;J<vr&&!this.__needMoreData(J,vr,n);J++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&D.length===0&&this.__autoDiscoverRecordDelimiter(ue,J)&&(D=this.options.record_delimiter);let Me=ue[J];if(m===!0&&Oe.append(Me),(Me===h2e||Me===m2e)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ue,J,Me)&&J+N.length<vr)if(me){if(this.__isQuote(ue,J+N.length)){this.state.escaping=!0,J+=N.length-1;continue}}else{this.state.escaping=!0,J+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ue,J))if(this.state.quoting===!0){let gt=ue[J+Q.length],Ii=y&&this.__isCharTrimable(ue,J+Q.length),ws=B!==null&&this.__compareBytes(B,ue,J+Q.length,gt),Zc=this.__isDelimiter(ue,J+Q.length,gt),nE=D.length===0?this.__autoDiscoverRecordDelimiter(ue,J+Q.length):this.__isRecordDelimiter(gt,ue,J+Q.length);if(N!==null&&this.__isEscape(ue,J,Me)&&this.__isQuote(ue,J+N.length))J+=N.length-1;else if(!gt||Zc||nE||ws||Ii){this.state.quoting=!1,this.state.wasQuoting=!0,J+=Q.length-1;continue}else if(g===!1){let j2=this.__error(new Be("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(gt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(j2!==void 0)return j2}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(Q),J+=Q.length-1}else if(this.state.field.length!==0){if(g===!1){let gt=this.__infoField(),Ii=Object.keys(lp).map(Zc=>lp[Zc].equals(this.state.field.toString())?Zc:!1).filter(Boolean)[0],ws=this.__error(new Be("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(gt.column)} at line ${gt.lines}, value is ${JSON.stringify(this.state.field.toString(d))}`,Ii?`(${Ii} bom)`:void 0],this.options,gt,{field:this.state.field}));if(ws!==void 0)return ws}}else{this.state.quoting=!0,J+=Q.length-1;continue}if(this.state.quoting===!1){let gt=this.__isRecordDelimiter(Me,ue,J);if(gt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=A){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),J+=gt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,J+=gt-1;continue}this.info.bytes=this.state.bufBytesStart+J;let Zc=this.__onField();if(Zc!==void 0)return Zc;this.info.bytes=this.state.bufBytesStart+J+gt;let nE=this.__onRecord(i);if(nE!==void 0)return nE;if(C!==-1&&this.info.records>=C){this.state.stop=!0,a();return}}this.state.commenting=!1,J+=gt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ue,J,Me)!==0){this.state.commenting=!0;continue}let Ii=this.__isDelimiter(ue,J,Me);if(Ii!==0){this.info.bytes=this.state.bufBytesStart+J;let ws=this.__onField();if(ws!==void 0)return ws;J+=Ii-1;continue}}}if(this.state.commenting===!1&&f!==0&&this.state.record_length+this.state.field.length>f)return this.__error(new Be("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${f}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Ci=p===!1||th
Line truncated
|
||||
`,i),Buffer.from(`
|
||||
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let u=0;u<l;u++)if(a[c][u]!==s[n+u])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(s){let{encoding:n,raw:i,skip_records_with_error:a}=this.options,c=typeof s=="string"?new Error(s):s;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(n):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:s,raw:n,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:n?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:s}=this.options,n=Array.isArray(s),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:n===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var tn=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=e0(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var nt=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(ac(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=tn(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=ac(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let s=await fr("powershell",!0),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${n}' ${i.join(" ")}`]}}static isDirectory(e){try{return Tre.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return bF.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return bF.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return vre.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=hg.default.resolve(e);return hg.default.resolve(r).startsWith(s.endsWith(hg.default.sep)?s:`${s}${hg.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var tr=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||mg.default.join(Pre.default.homedir(),".docker")}static configFile(){let e=mg.default.join(t.configDir,"config.json");if(wF.default.existsSync(e))return JSON.parse(wF.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await fr("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}ca
Line truncated
|
||||
`+t.errors.map(e=>` - ${e.message}`).join(`
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/undici/lib/core/symbols.js", "../node_modules/undici/lib/core/errors.js", "../node_modules/undici/lib/core/constants.js", "../node_modules/undici/lib/core/tree.js", "../node_modules/undici/lib/core/util.js", "../node_modules/undici/lib/core/diagnostics.js", "../node_modules/undici/lib/core/request.js", "../node_modules/undici/lib/dispatcher/dispatcher.js", "../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../node_modules/undici/lib/util/timers.js", "../node_modules/undici/lib/core/connect.js", "../node_modules/undici/lib/llhttp/utils.js", "../node_modules/undici/lib/llhttp/constants.js", "../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/undici/lib/web/fetch/constants.js", "../node_modules/undici/lib/web/fetch/global.js", "../node_modules/undici/lib/web/fetch/data-url.js", "../node_modules/undici/lib/web/fetch/webidl.js", "../node_modules/undici/lib/web/fetch/util.js", "../node_modules/undici/lib/web/fetch/symbols.js", "../node_modules/undici/lib/web/fetch/file.js", "../node_modules/undici/lib/web/fetch/formdata.js", "../node_modules/undici/lib/web/fetch/formdata-parser.js", "../node_modules/undici/lib/web/fetch/body.js", "../node_modules/undici/lib/dispatcher/client-h1.js", "../node_modules/undici/lib/dispatcher/client-h2.js", "../node_modules/undici/lib/handler/redirect-handler.js", "../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../node_modules/undici/lib/dispatcher/client.js", "../node_modules/undici/lib/dispatcher/fixed-queue.js", "../node_modules/undici/lib/dispatcher/pool-stats.js", "../node_modules/undici/lib/dispatcher/pool-base.js", "../node_modules/undici/lib/dispatcher/pool.js", "../node_modules/undici/lib/dispatcher/balanced-pool.js", "../node_modules/undici/lib/dispatcher/agent.js", "../node_modules/undici/lib/dispatcher/proxy-agent.js", "../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../node_modules/undici/lib/handler/retry-handler.js", "../node_modules/undici/lib/dispatcher/retry-agent.js", "../node_modules/undici/lib/api/readable.js", "../node_modules/undici/lib/api/util.js", "../node_modules/undici/lib/api/api-request.js", "../node_modules/undici/lib/api/abort-signal.js", "../node_modules/undici/lib/api/api-stream.js", "../node_modules/undici/lib/api/api-pipeline.js", "../node_modules/undici/lib/api/api-upgrade.js", "../node_modules/undici/lib/api/api-connect.js", "../node_modules/undici/lib/api/index.js", "../node_modules/undici/lib/mock/mock-errors.js", "../node_modules/undici/lib/mock/mock-symbols.js", "../node_modules/undici/lib/mock/mock-utils.js", "../node_modules/undici/lib/mock/mock-interceptor.js", "../node_modules/undici/lib/mock/mock-client.js", "../node_modules/undici/lib/mock/mock-pool.js", "../node_modules/undici/lib/mock/pluralizer.js", "../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../node_modules/undici/lib/mock/mock-agent.js", "../node_modules/undici/lib/global.js", "../node_modules/undici/lib/handler/decorator-handler.js", "../node_modules/undici/lib/interceptor/redirect.js", "../node_modules/undici/lib/interceptor/retry.js", "../node_modules/undici/lib/interceptor/dump.js", "../node_modules/undici/lib/interceptor/dns.js", "../node_modules/undici/lib/web/fetch/headers.js", "../node_modules/undici/lib/web/fetch/response.js", "../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../node_modules/undici/lib/web/fetch/request.js", "../node_modules/undici/lib/web/fetch/index.js", "../node_modules/undici/lib/web/fileapi/symbols.js", "../node_modules/undici/lib/web/fileapi/progressevent.js", "../node_modules/undici/lib/web/fileapi/encoding.js", "../node_modules/undici/lib/web/fileapi/util.js", "../node_modules/undici/lib/web/fileapi/filereader.js", "../node_modules/undici/lib/web/cache/symbols.js", "../node_modules/undici/lib/web/cache/util.js", "../node_modules/undici/lib/web/cache/cache.js", "../node_modules/undici/lib/web/cache/cachestorage.js", "../node_modules/undici/lib/web/cookies/constants.js", "../node_modules/undici/lib/web/cookies/util.js", "../node_modules/undici/lib/web/cookies/parse.js", "../node_modules/undici/lib/web/cookies/index.js", "../node_modules/undici/lib/web/websocket/events.js", "../node_modules/undici/lib/web/websocket/constants.js", "../node_modules/undici/lib/web/websocket/symbols.js", "../node_modules/undici/lib/web/websocket/util.js", "../node_modules/undici/lib/web/websocket/frame.js", "../node_modules/undici/lib/web/websocket/connection.js", "../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../node_modules/undici/lib/web/websocket/receiver.js", "../node_modules/undici/lib/web/websocket/sender.js", "../node_modules/undici/lib/web/websocket/websocket.js", "../node_modules/undici/lib/web/eventsource/util.js", "../node_modules/undici/lib/web/eventsource/eventsource-stream.js",Line truncated
|
||||
"sourcesContent": ["'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 = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length >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ACR,WAAY2B,EAAaA,EAAW,QAAQ,OAAQ,EAAE,EAAIjC,EAAQ,IACpE,CAAC,EAGGmC,EAAe7C,IAAI,QAAQ,EAAG4C,CAAU,EAC5C7B,EAAK,QAAQA,EAAK,QAAQ,QAAQC,CAAM,CAAC,EAAI6B,EAC7ChB,EAAGgB,CAAY,CACjB,CAAC,CACH,CAdShC,EAAAC,GAAA,sBAiBT,SAASM,GAAUH,EAAMC,EAAMC,EAAc,CAC3C,OAAI,OAAOF,GAAS,SACX,CACL,KAAMA,EACN,KAAMC,EACN,aAAcC,CAChB,EAEKF,CACT,CATSJ,EAAAO,GAAA,aAWT,SAASK,GAAaqB,EAAQ,CAC5B,QAASzB,EAAI,EAAGC,EAAM,UAAU,OAAQD,EAAIC,EAAK,EAAED,EAAG,CACpD,IAAI0B,EAAY,UAAU1B,CAAC,EAC3B,GAAI,OAAO0B,GAAc,SAEvB,QADIC,EAAO,OAAO,KAAKD,CAAS,EACvBE,EAAI,EAAGC,EAASF,EAAK,OAAQC,EAAIC,EAAQ,EAAED,EAAG,CACrD,IAAIE,EAAIH,EAAKC,CAAC,EACVF,EAAUI,CAAC,IAAM,SACnBL,EAAOK,CAAC,EAAIJ,EAAUI,CAAC,EAE3B,CAEJ,CACA,OAAOL,CACT,CAdSjC,EAAAY,GAAA,gBAiBT,IAAIO,GACA,QAAQ,IAAI,YAAc,aAAa,KAAK,QAAQ,IAAI,UAAU,EACpEA,GAAQnB,EAAA,UAAW,CACjB,IAAIuC,EAAO,MAAM,UAAU,MAAM,KAAK,SAAS,EAC3C,OAAOA,EAAK,CAAC,GAAM,SACrBA,EAAK,CAAC,EAAI,WALine truncated
|
||||
"sourcesContent": ["'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 = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('Line truncated
|
||||
"mappings": "ipBAAA,IAAAA,GAAAC,EAAAC,IAAA,cAEA,IAAIC,IAAM,QAAQ,KAAK,EACnBC,IAAM,QAAQ,KAAK,EACnBC,GAAO,QAAQ,MAAM,EACrBC,GAAQ,QAAQ,OAAO,EACvBC,IAAS,QAAQ,QAAQ,EACzBC,IAAS,QAAQ,QAAQ,EACzBC,IAAO,QAAQ,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,OAAI,OAAOF,GAAS,SACX,CACL,KAAMA,EACN,KAAMC,EACN,aAAcC,CAChB,EAEKF,CACT,CATSJ,EAAAO,GAAA,aAWT,SAASK,GAAaqB,EAAQ,CAC5B,QAASzB,EAAI,EAAGC,EAAM,UAAU,OAAQD,EAAIC,EAAK,EAAED,EAAG,CACpD,IAAI0B,EAAY,UAAU1B,CAAC,EAC3B,GAAI,OAAO0B,GAAc,SAEvB,QADIC,EAAO,OAAO,KAAKD,CAAS,EACvBE,EAAI,EAAGC,EAASF,EAAK,OAAQC,EAAIC,EAAQ,EAAED,EAAG,CACrD,IAAIE,EAAIH,EAAKC,CAAC,EACVF,EAAUI,CAAC,IAAM,SACnBL,EAAOK,CAAC,EAAIJ,EAAUI,CAAC,EAE3B,CAEJ,CACA,OAAOL,CACT,CAdSjC,EAAAY,GAAA,gBAiBT,IAAIO,GACA,QAAQ,IAAI,YAAc,aAAa,KAAK,QAAQ,IAAI,UAAU,EACpEA,GAAQnB,EAAA,UAAW,CACjB,IAAIuC,EAAO,MAAM,UAAU,MAAM,KAAK,SAAS,EAC3C,OAAOA,EAAK,CAAC,GAAM,SACrBA,EAAK,CAAC,EAAI,WALine truncated
|
||||
"names": ["require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "__name", "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", "require_symbols", "__commonJSMin", "exports", "module", "require_errors", "__commonJSMin", "exports", "module", "kUndiciError", "UndiciError", "__name", "message", "instance", "kConnectTimeoutError", "ConnectTimeoutError", "kHeadersTimeoutError", "HeadersTimeoutError", "kHeadersOverflowError", "HeadersOverflowError", "kBodyTimeoutError", "BodyTimeoutError", "kResponseStatusCodeError", "ResponseStatusCodeError", "statusCode", "headers", "body", "kInvalidArgumentError", "InvalidArgumentError", "kInvalidReturnValueError", "InvalidReturnValueError", "kAbortError", "AbortError", "kRequestAbortedError", "RequestAbortedError", "kInformationalError", "InformationalError", "kRequestContentLengthMismatchError", "RequestContentLengthMismatchError", "kResponseContentLengthMismatchError", "ResponseContentLengthMismatchError", "kClientDestroyedError", "ClientDestroyedError", "kClientClosedError", "ClientClosedError", "kSocketError", "SocketError", "socket", "kNotSupportedError", "NotSupportedError", "kBalancedPoolMissingUpstreamError", "BalancedPoolMissingUpstreamError", "kHTTPParserError", "HTTPParserError", "code", "data", "kResponseExceededMaxSizeError", "ResponseExceededMaxSizeError", "kRequestRetryError", "RequestRetryError", "kResponseError", "ResponseError", "kSecureProxyConnectionError", "SecureProxyConnectionError", "cause", "options", "kMessageSizeExceededError", "MessageSizeExceededError", "require_constants", "__commonJSMin", "exports", "module", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_tree", "__commonJSMin", "exports", "module", "wellknownHeaderNames", "headerNameLowerCasedRecord", "TstNode", "_TstNode", "__name", "key", "value", "index", "length", "node", "code", "keylength", "TernarySearchTree", "tree", "i", "require_util", "__commonJSMin", "exports", "module", "assert", "kDestroyed", "kBodyUsed", "kListeners", "kBody", "IncomingMessage", "stream", "net", "Blob", "nodeUtil", "stringify", "EE", "InvalidArgumentError", "headerNameLowerCasedRecord", "tree", "nodeMajor", "nodeMinor", "v", "BodyAsyncIterable", "__name", "body", "wrapRequestBody", "isStream", "bodyLength", "isIterable", "nop", "obj", "isBlobLike", "object", "sTag", "buildURL", "url", "queryParams", "stringified", "isValidPort", "port", "value", "isHttpOrHttpsPrefixed", "parseURL", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "state", "isBuffer", "isDestroyed", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "bufferToLowerCasedHeaderName", "parseHeaders", "headers", "i", "key", "headersValue", "x", "parseRawHeaders", "len", "ret", "hasContentLength", "contentDispositionIdx", "kLen", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "ReadableStreamFrom", "iterable", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "addAbortListener", "signal", "listener", "hasToWellFormed", "hasIsWellFormed", "toUSVString", "isUSVString", "isTokenCharCode", "c", "isValidHTTPToken", "characters", "headerCharRegex", "isValidHeaderValue", "parseRangeHeader", "range", "addListener", "name", "removeAllListeners", "errorRequest", "client", "request", "kEnumerableProperty", "normalizedMethodRecordsBase", "normalizedMethodRecords", "require_diagnostics", "__commonJSMin", "exports", "module", "diagnosticsChannel", "util", "undiciDebugLog", "fetchDebuglog", "websocketDebuglog", "isClientSet", "channels", "debuglog", "evt", "version", "protocol", "port", "host", "error", "method", "path", "origin", "statusCode", "address", "websocket", "code", "reason", "err", "require_request", "__commonJSMin", "exports", "module", "InvalidArgumentError", "NotSupportedError", "assert", "isValidHTTPToken", "isValidHeaderValue", "isStream", "destroy", "isBuffer", "isFormDataLike", "isIterable", "isBlobLike", "buildURL", "validateHandler", "getServerName", "normalizedMethodRecords", "channels", "headerNameLowerCasedRecord", "invalidPathRegex", "kHandler", "Request", "__name", "origin", "path", "method", "body", "headers", "query", "idempotent", "blocking", "upgrade", "headersTimeout", "bodyTimeout", "resetLine truncated
|
||||
}
|
||||
+1
-1
@@ -4260,7 +4260,7 @@ THE SOFTWARE.
|
||||
|
||||
The following npm package may be included in this product:
|
||||
|
||||
- csv-parse@7.0.0
|
||||
- csv-parse@7.0.2
|
||||
|
||||
This package contains the following license:
|
||||
|
||||
|
||||
Reference in new issue
Block a user