mirror of
https://github.com/docker/login-action.git
synced 2026-10-09 09:06:21 +02:00
Merge pull request #888 from crazy-max/update-dev
update dev dependencies
This commit is contained in:
5 files changed
+337
-227
No files matched your search
+23
-23
@@ -1,8 +1,8 @@
|
|||||||
require('./sourcemap-register.js');(()=>{var i={79450:function(i,d,p){"use strict";var y=this&&this.__createBinding||(Object.create?function(i,d,p,y){if(y===undefined)y=p;var v=Object.getOwnPropertyDescriptor(d,p);if(!v||("get"in v?!d.__esModule:v.writable||v.configurable)){v={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,y,v)}:function(i,d,p,y){if(y===undefined)y=p;i[y]=d[p]});var v=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))y(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});const D=p(46190);v(p(15769),d);v(p(38182),d);v(p(46190),d);const M=new D.DefaultArtifactClient;d["default"]=M},54622:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const y=p(4061);const v=p(4061);const D=p(4061);const M=p(4061);const U=p(4061);const V=p(4061);const j=p(4061);class Timestamp$Type extends j.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const d=Date.now();i.seconds=V.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;return i}toDate(i){return new Date(V.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const d=this.create();const p=i.getTime();d.seconds=V.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(i,d){let p=V.PbLong.from(i.seconds).toNumber()*1e3;if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let y="Z";if(i.nanos>0){let d=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")y="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")y="."+d.substring(0,6)+"Z";else y="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",y)}internalJsonRead(i,d,p){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,U.typeofJsonValue)(i)+".");let y=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!y)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let v=Date.parse(y[1]+"-"+y[2]+"-"+y[3]+"T"+y[4]+":"+y[5]+":"+y[6]+(y[8]?y[8]:"Z"));if(Number.isNaN(v))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(v<Date.parse("0001-01-01T00:00:00Z")||v>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!p)p=this.create();p.seconds=V.PbLong.from(v/1e3).toString();p.nanos=0;if(y[7])p.nanos=parseInt("1"+y[7]+"0".repeat(9-y[7].length))-1e9;return p}create(i){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,M.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,D.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,y){let D=y!==null&&y!==void 0?y:this.create(),M=i.pos+d;while(i.pos<M){let[d,y]=i.tag();switch(d){case 1:D.seconds=i.int64().toString();break;case 2:D.nanos=i.int32();break;default:let M=p.readUnknownField;if(M==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${y}) for ${this.typeName}`);let U=i.skip(y);if(M!==false)(M===true?v.UnknownFieldHandler.onRead:M)(this.typeName,D,d,y,U)}}return D}internalBinaryWrite(i,d,p){if(i.seconds!=="0")d.tag(1,y.WireType.Varint).int64(i.seconds);if(i.nanos!==0)d.tag(2,y.WireType.Varint).int32(i.nanos);let D=p.writeUnknownFields;if(D!==false)(D==true?v.UnknownFieldHandler.onWrite:D)(this.typeName,i,d);return d}}d.Timestamp=new Timestamp$Type},8626:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const y=p(4061);const v=p(4061);const D=p(4061);const M=p(4061);const U=p(4061);const V=p(4061);const j=p(4061);class DoubleValue$Type extends j.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,d){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(i,1,undefined,"value");return p}create(i){const d={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,U.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,y){let v=y!==null&&y!==void 0?y:this.create(),D=i.pos+d;while(i.pos<D){let[d,y]=i.tag();switch(d){case 1:v.value=i.double();break;default:let D=p.readUnknownField;if(D==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${y}) for ${this.typeName}`);let U=i.skip(y);if(D!==false)(DLine truncated
|
require('./sourcemap-register.js');(()=>{var i={76846:function(i,d,p){"use strict";var y=this&&this.__createBinding||(Object.create?function(i,d,p,y){if(y===undefined)y=p;var v=Object.getOwnPropertyDescriptor(d,p);if(!v||("get"in v?!d.__esModule:v.writable||v.configurable)){v={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,y,v)}:function(i,d,p,y){if(y===undefined)y=p;i[y]=d[p]});var v=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))y(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});const D=p(64487);v(p(13776),d);v(p(45655),d);v(p(64487),d);const M=new D.DefaultArtifactClient;d["default"]=M},35592:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const y=p(68886);const v=p(68886);const D=p(68886);const M=p(68886);const U=p(68886);const V=p(68886);const j=p(68886);class Timestamp$Type extends j.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const d=Date.now();i.seconds=V.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;return i}toDate(i){return new Date(V.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const d=this.create();const p=i.getTime();d.seconds=V.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(i,d){let p=V.PbLong.from(i.seconds).toNumber()*1e3;if(p<Date.parse("0001-01-01T00:00:00Z")||p>Date.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let y="Z";if(i.nanos>0){let d=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")y="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")y="."+d.substring(0,6)+"Z";else y="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",y)}internalJsonRead(i,d,p){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,U.typeofJsonValue)(i)+".");let y=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!y)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let v=Date.parse(y[1]+"-"+y[2]+"-"+y[3]+"T"+y[4]+":"+y[5]+":"+y[6]+(y[8]?y[8]:"Z"));if(Number.isNaN(v))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(v<Date.parse("0001-01-01T00:00:00Z")||v>Date.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!p)p=this.create();p.seconds=V.PbLong.from(v/1e3).toString();p.nanos=0;if(y[7])p.nanos=parseInt("1"+y[7]+"0".repeat(9-y[7].length))-1e9;return p}create(i){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,M.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,D.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,y){let D=y!==null&&y!==void 0?y:this.create(),M=i.pos+d;while(i.pos<M){let[d,y]=i.tag();switch(d){case 1:D.seconds=i.int64().toString();break;case 2:D.nanos=i.int32();break;default:let M=p.readUnknownField;if(M==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${y}) for ${this.typeName}`);let U=i.skip(y);if(M!==false)(M===true?v.UnknownFieldHandler.onRead:M)(this.typeName,D,d,y,U)}}return D}internalBinaryWrite(i,d,p){if(i.seconds!=="0")d.tag(1,y.WireType.Varint).int64(i.seconds);if(i.nanos!==0)d.tag(2,y.WireType.Varint).int32(i.nanos);let D=p.writeUnknownFields;if(D!==false)(D==true?v.UnknownFieldHandler.onWrite:D)(this.typeName,i,d);return d}}d.Timestamp=new Timestamp$Type},78806:(i,d,p)=>{"use strict";Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const y=p(68886);const v=p(68886);const D=p(68886);const M=p(68886);const U=p(68886);const V=p(68886);const j=p(68886);class DoubleValue$Type extends j.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,d){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(i,1,undefined,"value");return p}create(i){const d={value:0};globalThis.Object.defineProperty(d,V.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,U.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,y){let v=y!==null&&y!==void 0?y:this.create(),D=i.pos+d;while(i.pos<D){let[d,y]=i.tag();switch(d){case 1:v.value=i.double();break;default:let D=p.readUnknownField;if(D==="throw")throw new globalThis.Error(`Unknown field ${d} (wire type ${y}) for ${this.typeName}`);let U=i.skip(y);Line truncated
|
||||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const y=[];const v=new Uint8Array([13,10]);ee=0;let D=false;for(const[d,M]of i){if(typeof M==="string"){const i=fe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{const i=fe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeof M.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}const M=fe.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=async function*(){for(const i of y){if(i.stream){yield*i.stream()}else{yield i}}};te="multipart/form-data; boundary="+d}else if(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}y=i instanceof he?i:D(i)}if(typeof K==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){let d;y=new he({async start(){d=j(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:v}=await d.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const re={stream:y,source:K,length:ee};return[re,te]}function safelyExtractBody(i,d=false){if(!he){he=p(35356).ReadableStream}if(i instanceof he){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const y=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(le(i)){yield i}else{const d=i.stream;if(v.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[ae]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ne("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ge(d)}return new ie([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){re.brandCheck(this,i);throwIfAborted(this[te]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ee;let p;try{p=new y({headers:i,preservePath:true})}catch(i){throw new ne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{const M=[];if(v==="base64"||v.toLowerCase()==="base64"){let v="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");const d=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,new me(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,new me(M,y,{type:D}))}))}}));const v=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[te].body))p.write(i);p.end();await v;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[te].body)){if(!le(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ee;for(const[p,y]of i){d.append(p,y)}return d}else{await Promise.resolve();throwIfAborted(this[te]);throw re.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){throw new TypeError("Body is unusable")}const y=j();const errorSteps=i=>y.reject(i);const successSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(new Uint8Array);return y.promise}await K(i[te].body,successSteps,errorSteps);return y.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||v.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ee.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){Line truncated
|
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const y=[];const v=new Uint8Array([13,10]);ee=0;let D=false;for(const[d,M]of i){if(typeof M==="string"){const i=fe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{const i=fe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeof M.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}const M=fe.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=async function*(){for(const i of y){if(i.stream){yield*i.stream()}else{yield i}}};te="multipart/form-data; boundary="+d}else if(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}y=i instanceof he?i:D(i)}if(typeof K==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){let d;y=new he({async start(){d=j(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:v}=await d.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const re={stream:y,source:K,length:ee};return[re,te]}function safelyExtractBody(i,d=false){if(!he){he=p(63774).ReadableStream}if(i instanceof he){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const y=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(le(i)){yield i}else{const d=i.stream;if(v.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[ae]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ne("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ge(d)}return new ie([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){re.brandCheck(this,i);throwIfAborted(this[te]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ee;let p;try{p=new y({headers:i,preservePath:true})}catch(i){throw new ne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{const M=[];if(v==="base64"||v.toLowerCase()==="base64"){let v="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");const d=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,new me(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,new me(M,y,{type:D}))}))}}));const v=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[te].body))p.write(i);p.end();await v;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[te].body)){if(!le(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ee;for(const[p,y]of i){d.append(p,y)}return d}else{await Promise.resolve();throwIfAborted(this[te]);throw re.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){throw new TypeError("Body is unusable")}const y=j();const errorSteps=i=>y.reject(i);const successSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(new Uint8Array);return y.promise}await K(i[te].body,successSteps,errorSteps);return y.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||v.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ee.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){Line truncated
|
||||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}else if(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(let i=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}return D}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},1993:(i,d,p)=>{"use strict";const{Writable:y}=p(12781);const v=p(67643);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(18790);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(84258);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(82557);const{WebsocketFrameSend:ie}=p(30374);const oe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");class ByteParser extends y{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){return i()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}else if(p===126){this.#A=D.PAYLOADLENGTH_16}else if(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const d=new ie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}else if(this.#c.opcode===M.PING){const d=this.consume(p);if(!this.ws[te]){const i=new ie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===M.PONG){const d=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}else if(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){return i()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}else if(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}const y=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}else if(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){const i=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return V}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const y=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}else if(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){return null}return{code:p}}let y=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){return null}try{y=new TextDecoder("utf-8",{fatal:true}).decode(y)}catch{return null}return{code:p,reason:y}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},84258:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},82557:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(84258);const{states:V,opcodes:j}=p(18790);const{MessageEvent:K,ErrorEvent:ee}=p(71161);function isEstablished(i){return i[y]===V.OPEN}function isClosing(i){return i[y]===V.CLOSING}function isClosed(i){return i[y]===V.CLOSED}function fireEvent(i,d,p=Event,y){const v=new p(i,y);d.dispatchEvent(v)}function websocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}let v;if(d===j.TEXT){try{v=new TextLine truncated
|
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}else if(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(let i=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}return D}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},22305:(i,d,p)=>{"use strict";const{Writable:y}=p(2203);const v=p(31637);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(68035);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(93855);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(66908);const{WebsocketFrameSend:ie}=p(35767);const oe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");class ByteParser extends y{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){return i()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}else if(p===126){this.#A=D.PAYLOADLENGTH_16}else if(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const d=new ie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}else if(this.#c.opcode===M.PING){const d=this.consume(p);if(!this.ws[te]){const i=new ie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===M.PONG){const d=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}else if(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){return i()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}else if(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}const y=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}else if(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){const i=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return V}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const y=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}else if(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){return null}return{code:p}}let y=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){return null}try{y=new TextDecoder("utf-8",{fatal:true}).decode(y)}catch{return null}return{code:p,reason:y}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},93855:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},66908:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(93855);const{states:V,opcodes:j}=p(68035);const{MessageEvent:K,ErrorEvent:ee}=p(96985);function isEstablished(i){return i[y]===V.OPEN}function isClosing(i){return i[y]===V.CLOSING}function isClosed(i){return i[y]===V.CLOSED}function fireEvent(i,d,p=Event,y){const v=new p(i,y);d.dispatchEvent(v)}function websocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}let v;if(d===j.TEXT){try{v=new TextLine truncated
|
||||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const y=[];const v=new Uint8Array([13,10]);ee=0;let D=false;for(const[d,M]of i){if(typeof M==="string"){const i=Ee.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{const i=Ee.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeof M.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}const M=Ee.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=async function*(){for(const i of y){if(i.stream){yield*i.stream()}else{yield i}}};te="multipart/form-data; boundary="+d}else if(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}y=i instanceof me?i:D(i)}if(typeof K==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){let d;y=new me({async start(){d=j(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:v}=await d.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const re={stream:y,source:K,length:ee};return[re,te]}function safelyExtractBody(i,d=false){if(!me){me=p(35356).ReadableStream}if(i instanceof me){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const y=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(le(i)){yield i}else{const d=i.stream;if(v.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[ae]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ne("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ge(d)}return new ie([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){re.brandCheck(this,i);throwIfAborted(this[te]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ee;let p;try{p=new y({headers:i,preservePath:true})}catch(i){throw new ne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{const M=[];if(v==="base64"||v.toLowerCase()==="base64"){let v="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");const d=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,new fe(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,new fe(M,y,{type:D}))}))}}));const v=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[te].body))p.write(i);p.end();await v;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[te].body)){if(!le(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ee;for(const[p,y]of i){d.append(p,y)}return d}else{await Promise.resolve();throwIfAborted(this[te]);throw re.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){throw new TypeError("Body is unusable")}const y=j();const errorSteps=i=>y.reject(i);const successSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(new Uint8Array);return y.promise}await K(i[te].body,successSteps,errorSteps);return y.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||v.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ce.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){Line truncated
|
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const y=[];const v=new Uint8Array([13,10]);ee=0;let D=false;for(const[d,M]of i){if(typeof M==="string"){const i=Ee.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{const i=Ee.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeof M.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}const M=Ee.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=async function*(){for(const i of y){if(i.stream){yield*i.stream()}else{yield i}}};te="multipart/form-data; boundary="+d}else if(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}y=i instanceof me?i:D(i)}if(typeof K==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){let d;y=new me({async start(){d=j(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:v}=await d.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const re={stream:y,source:K,length:ee};return[re,te]}function safelyExtractBody(i,d=false){if(!me){me=p(63774).ReadableStream}if(i instanceof me){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const y=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(le(i)){yield i}else{const d=i.stream;if(v.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[ae]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ne("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ge(d)}return new ie([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){re.brandCheck(this,i);throwIfAborted(this[te]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ee;let p;try{p=new y({headers:i,preservePath:true})}catch(i){throw new ne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{const M=[];if(v==="base64"||v.toLowerCase()==="base64"){let v="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");const d=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,new fe(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,new fe(M,y,{type:D}))}))}}));const v=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[te].body))p.write(i);p.end();await v;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[te].body)){if(!le(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ee;for(const[p,y]of i){d.append(p,y)}return d}else{await Promise.resolve();throwIfAborted(this[te]);throw re.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){throw new TypeError("Body is unusable")}const y=j();const errorSteps=i=>y.reject(i);const successSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(new Uint8Array);return y.promise}await K(i[te].body,successSteps,errorSteps);return y.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||v.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ce.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){Line truncated
|
||||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}else if(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(let i=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}return D}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},18096:(i,d,p)=>{"use strict";const{Writable:y}=p(12781);const v=p(67643);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(529);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(86799);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(55118);const{WebsocketFrameSend:ie}=p(60499);const oe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");class ByteParser extends y{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){return i()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}else if(p===126){this.#A=D.PAYLOADLENGTH_16}else if(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const d=new ie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}else if(this.#c.opcode===M.PING){const d=this.consume(p);if(!this.ws[te]){const i=new ie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===M.PONG){const d=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}else if(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){return i()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}else if(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}const y=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}else if(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){const i=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return V}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const y=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}else if(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){return null}return{code:p}}let y=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){return null}try{y=new TextDecoder("utf-8",{fatal:true}).decode(y)}catch{return null}return{code:p,reason:y}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},86799:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},55118:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(86799);const{states:V,opcodes:j}=p(529);const{MessageEvent:K,ErrorEvent:ee}=p(84408);function isEstablished(i){return i[y]===V.OPEN}function isClosing(i){return i[y]===V.CLOSING}function isClosed(i){return i[y]===V.CLOSED}function fireEvent(i,d,p=Event,y){const v=new p(i,y);d.dispatchEvent(v)}function websocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}let v;if(d===j.TEXT){try{v=new TextDecLine truncated
|
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}else if(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(let i=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}return D}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},50017:(i,d,p)=>{"use strict";const{Writable:y}=p(2203);const v=p(31637);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(30083);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(2815);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(34556);const{WebsocketFrameSend:ie}=p(87767);const oe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");class ByteParser extends y{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){return i()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}else if(p===126){this.#A=D.PAYLOADLENGTH_16}else if(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const d=new ie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}else if(this.#c.opcode===M.PING){const d=this.consume(p);if(!this.ws[te]){const i=new ie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===M.PONG){const d=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}else if(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){return i()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}else if(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}const y=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}else if(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){const i=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return V}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const y=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}else if(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){return null}return{code:p}}let y=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){return null}try{y=new TextDecoder("utf-8",{fatal:true}).decode(y)}catch{return null}return{code:p,reason:y}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},2815:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},34556:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(2815);const{states:V,opcodes:j}=p(30083);const{MessageEvent:K,ErrorEvent:ee}=p(81273);function isEstablished(i){return i[y]===V.OPEN}function isClosing(i){return i[y]===V.CLOSING}function isClosed(i){return i[y]===V.CLOSED}function fireEvent(i,d,p=Event,y){const v=new p(i,y);d.dispatchEvent(v)}function websocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}let v;if(d===j.TEXT){try{v=new TextDecLine truncated
|
||||||
/**
|
/**
|
||||||
* Archiver Vending
|
* Archiver Vending
|
||||||
*
|
*
|
||||||
@@ -10,7 +10,7 @@ require('./sourcemap-register.js');(()=>{var i={79450:function(i,d,p){"use stric
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(35010);var v={};var vending=function(i,d){return vending.create(i,d)};vending.create=function(i,d){if(v[i]){var p=new y(i,d);p.setFormat(i);p.setModule(new v[i](d));return p}else{throw new Error("create("+i+"): format not registered")}};vending.registerFormat=function(i,d){if(v[i]){throw new Error("register("+i+"): format already registered")}if(typeof d!=="function"){throw new Error("register("+i+"): format module invalid")}if(typeof d.prototype.append!=="function"||typeof d.prototype.finalize!=="function"){throw new Error("register("+i+"): format module missing methods")}v[i]=d};vending.isRegisteredFormat=function(i){if(v[i]){return true}return false};vending.registerFormat("zip",p(8987));vending.registerFormat("tar",p(33614));vending.registerFormat("json",p(99827));i.exports=vending},35010:(i,d,p)=>{
|
var y=p(50549);var v={};var vending=function(i,d){return vending.create(i,d)};vending.create=function(i,d){if(v[i]){var p=new y(i,d);p.setFormat(i);p.setModule(new v[i](d));return p}else{throw new Error("create("+i+"): format not registered")}};vending.registerFormat=function(i,d){if(v[i]){throw new Error("register("+i+"): format already registered")}if(typeof d!=="function"){throw new Error("register("+i+"): format module invalid")}if(typeof d.prototype.append!=="function"||typeof d.prototype.finalize!=="function"){throw new Error("register("+i+"): format module missing methods")}v[i]=d};vending.isRegisteredFormat=function(i){if(v[i]){return true}return false};vending.registerFormat("zip",p(22836));vending.registerFormat("tar",p(10396));vending.registerFormat("json",p(54693));i.exports=vending},50549:(i,d,p)=>{
|
||||||
/**
|
/**
|
||||||
* Archiver Core
|
* Archiver Core
|
||||||
*
|
*
|
||||||
@@ -18,7 +18,7 @@ var y=p(35010);var v={};var vending=function(i,d){return vending.create(i,d)};ve
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(57147);var v=p(44967);var D=p(57888);var M=p(71017);var U=p(82072);var V=p(73837).inherits;var j=p(13143);var K=p(45193).Transform;var ee=process.platform==="win32";var Archiver=function(i,d){if(!(this instanceof Archiver)){return new Archiver(i,d)}if(typeof i!=="string"){d=i;i="zip"}d=this.options=U.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});K.call(this,d);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=D.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=D.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};V(Archiver,K);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,d){d=d||{};var p={source:null,filepath:i};if(!d.name){d.name=i}d.sourcePath=i;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof y.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,d,p){if(this._state.aborted){p();return}this._module.append(i,d,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new j("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,d){i=U.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&i.stats===false){i.stats=d}var p=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=U.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){p=true;i.type="directory"}else if(p){i.name+="/"}}if(typeof i.mode==="number"){if(ee){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(ee){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(ee&&p){i.mode=493}}else if(i.mode===null){i.mode=p?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=U.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,d){var fullCallback=()=>{if(i.data.callback){i.data.callback()}d()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,d){if(this._state.finalizing||this._state.finalized||this._state.aborted){d();return}y.lstat(i.filepath,function(p,y){if(this._state.aborted){setImmediate(d);return}if(p){this._entriesCount--;this.emit("warning",p);setImmediate(d);return}i=this._updateQueueTaskWithStats(i,y);if(i){if(y.size){this._fsEntriesTotalBytes+=y.size}this._queue.push(i)}setImmediate(d)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,d,p){if(i){this._pointer+=i.length}p(null,i)};Archiver.prLine truncated
|
var y=p(79896);var v=p(51364);var D=p(97329);var M=p(16928);var U=p(53296);var V=p(39023).inherits;var j=p(13110);var K=p(29963).Transform;var ee=process.platform==="win32";var Archiver=function(i,d){if(!(this instanceof Archiver)){return new Archiver(i,d)}if(typeof i!=="string"){d=i;i="zip"}d=this.options=U.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});K.call(this,d);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=D.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=D.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};V(Archiver,K);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,d){d=d||{};var p={source:null,filepath:i};if(!d.name){d.name=i}d.sourcePath=i;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof y.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,d,p){if(this._state.aborted){p();return}this._module.append(i,d,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new j("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,d){i=U.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&i.stats===false){i.stats=d}var p=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=U.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){p=true;i.type="directory"}else if(p){i.name+="/"}}if(typeof i.mode==="number"){if(ee){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(ee){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(ee&&p){i.mode=493}}else if(i.mode===null){i.mode=p?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=U.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,d){var fullCallback=()=>{if(i.data.callback){i.data.callback()}d()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,d){if(this._state.finalizing||this._state.finalized||this._state.aborted){d();return}y.lstat(i.filepath,function(p,y){if(this._state.aborted){setImmediate(d);return}if(p){this._entriesCount--;this.emit("warning",p);setImmediate(d);return}i=this._updateQueueTaskWithStats(i,y);if(i){if(y.size){this._fsEntriesTotalBytes+=y.size}this._queue.push(i)}setImmediate(d)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,d,p){if(i){this._pointer+=i.length}p(null,i)};Archiver.prLine truncated
|
||||||
/**
|
/**
|
||||||
* Archiver Core
|
* Archiver Core
|
||||||
*
|
*
|
||||||
@@ -26,7 +26,7 @@ var y=p(57147);var v=p(44967);var D=p(57888);var M=p(71017);var U=p(82072);var V
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(73837);const v={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function ArchiverError(i,d){Error.captureStackTrace(this,this.constructor);this.message=v[i]||i;this.code=i;this.data=d}y.inherits(ArchiverError,Error);d=i.exports=ArchiverError},99827:(i,d,p)=>{
|
var y=p(39023);const v={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function ArchiverError(i,d){Error.captureStackTrace(this,this.constructor);this.message=v[i]||i;this.code=i;this.data=d}y.inherits(ArchiverError,Error);d=i.exports=ArchiverError},54693:(i,d,p)=>{
|
||||||
/**
|
/**
|
||||||
* JSON Format Plugin
|
* JSON Format Plugin
|
||||||
*
|
*
|
||||||
@@ -34,7 +34,7 @@ var y=p(73837);const v={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(73837).inherits;var v=p(45193).Transform;var D=p(54119);var M=p(82072);var Json=function(i){if(!(this instanceof Json)){return new Json(i)}i=this.options=M.defaults(i,{});v.call(this,i);this.supports={directory:true,symlink:true};this.files=[]};y(Json,v);Json.prototype._transform=function(i,d,p){p(null,i)};Json.prototype._writeStringified=function(){var i=JSON.stringify(this.files);this.write(i)};Json.prototype.append=function(i,d,p){var y=this;d.crc32=0;function onend(i,v){if(i){p(i);return}d.size=v.length||0;d.crc32=D.unsigned(v);y.files.push(d);p(null,d)}if(d.sourceType==="buffer"){onend(null,i)}else if(d.sourceType==="stream"){M.collectStream(i,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};i.exports=Json},33614:(i,d,p)=>{
|
var y=p(39023).inherits;var v=p(29963).Transform;var D=p(84928);var M=p(53296);var Json=function(i){if(!(this instanceof Json)){return new Json(i)}i=this.options=M.defaults(i,{});v.call(this,i);this.supports={directory:true,symlink:true};this.files=[]};y(Json,v);Json.prototype._transform=function(i,d,p){p(null,i)};Json.prototype._writeStringified=function(){var i=JSON.stringify(this.files);this.write(i)};Json.prototype.append=function(i,d,p){var y=this;d.crc32=0;function onend(i,v){if(i){p(i);return}d.size=v.length||0;d.crc32=D.unsigned(v);y.files.push(d);p(null,d)}if(d.sourceType==="buffer"){onend(null,i)}else if(d.sourceType==="stream"){M.collectStream(i,onend)}};Json.prototype.finalize=function(){this._writeStringified();this.end()};i.exports=Json},10396:(i,d,p)=>{
|
||||||
/**
|
/**
|
||||||
* TAR Format Plugin
|
* TAR Format Plugin
|
||||||
*
|
*
|
||||||
@@ -42,7 +42,7 @@ var y=p(73837).inherits;var v=p(45193).Transform;var D=p(54119);var M=p(82072);v
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(59796);var v=p(2283);var D=p(82072);var Tar=function(i){if(!(this instanceof Tar)){return new Tar(i)}i=this.options=D.defaults(i,{gzip:false});if(typeof i.gzipOptions!=="object"){i.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=v.pack(i);this.compressor=false;if(i.gzip){this.compressor=y.createGzip(i.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(i){this.engine.emit("error",i)};Tar.prototype.append=function(i,d,p){var y=this;d.mtime=d.date;function append(i,v){if(i){p(i);return}y.engine.entry(d,v,(function(i){p(i,d)}))}if(d.sourceType==="buffer"){append(null,i)}else if(d.sourceType==="stream"&&d.stats){d.size=d.stats.size;var v=y.engine.entry(d,(function(i){p(i,d)}));i.pipe(v)}else if(d.sourceType==="stream"){D.collectStream(i,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(i,d){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(i,d)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};i.exports=Tar},8987:(i,d,p)=>{
|
var y=p(43106);var v=p(56118);var D=p(53296);var Tar=function(i){if(!(this instanceof Tar)){return new Tar(i)}i=this.options=D.defaults(i,{gzip:false});if(typeof i.gzipOptions!=="object"){i.gzipOptions={}}this.supports={directory:true,symlink:true};this.engine=v.pack(i);this.compressor=false;if(i.gzip){this.compressor=y.createGzip(i.gzipOptions);this.compressor.on("error",this._onCompressorError.bind(this))}};Tar.prototype._onCompressorError=function(i){this.engine.emit("error",i)};Tar.prototype.append=function(i,d,p){var y=this;d.mtime=d.date;function append(i,v){if(i){p(i);return}y.engine.entry(d,v,(function(i){p(i,d)}))}if(d.sourceType==="buffer"){append(null,i)}else if(d.sourceType==="stream"&&d.stats){d.size=d.stats.size;var v=y.engine.entry(d,(function(i){p(i,d)}));i.pipe(v)}else if(d.sourceType==="stream"){D.collectStream(i,append)}};Tar.prototype.finalize=function(){this.engine.finalize()};Tar.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Tar.prototype.pipe=function(i,d){if(this.compressor){return this.engine.pipe.apply(this.engine,[this.compressor]).pipe(i,d)}else{return this.engine.pipe.apply(this.engine,arguments)}};Tar.prototype.unpipe=function(){if(this.compressor){return this.compressor.unpipe.apply(this.compressor,arguments)}else{return this.engine.unpipe.apply(this.engine,arguments)}};i.exports=Tar},22836:(i,d,p)=>{
|
||||||
/**
|
/**
|
||||||
* ZIP Format Plugin
|
* ZIP Format Plugin
|
||||||
*
|
*
|
||||||
@@ -50,42 +50,42 @@ var y=p(59796);var v=p(2283);var D=p(82072);var Tar=function(i){if(!(this instan
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
|
||||||
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
* @copyright (c) 2012-2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(86454);var v=p(82072);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=v.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new y(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},57888:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";function apply(i,...d){return(...p)=>i(...d,...p)}function initialParams(i){return function(...d){var p=d.pop();return i.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var y=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(d,...p)=>i((()=>d(...p)))}var v;if(d){v=queueMicrotask}else if(p){v=setImmediate}else if(y){v=process.nextTick}else{v=fallback}var D=wrap(v);function asyncify(i){if(isAsync(i)){return function(...d){const p=d.pop();const y=i.apply(this,d);return handlePromise(y,p)}}return initialParams((function(d,p){var y;try{y=i.apply(this,d)}catch(i){return p(i)}if(y&&typeof y.then==="function"){return handlePromise(y,p)}else{p(null,y)}}))}function handlePromise(i,d){return i.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,d,p){try{i(d,p)}catch(i){D((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,d){if(!d)d=i.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return i.apply(this,p)}return new Promise(((y,v)=>{p[d-1]=(i,...d)=>{if(i)return v(i);y(d.length>1?d:d[0])};i.apply(this,p)}))}return awaitable}function applyEach$1(i){return function applyEach(d,...p){const y=awaitify((function(y){var v=this;return i(d,((i,d)=>{wrapAsync(i).apply(v,p.concat(d))}),y)}));return y}}function _asyncMap(i,d,p,y){d=d||[];var v=[];var D=0;var M=wrapAsync(p);return i(d,((i,d,p)=>{var y=D++;M(i,((i,d)=>{v[y]=d;p(i)}))}),(i=>{y(i,v)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const M={};var U=M;function once(i){function wrapper(...d){if(i===null)return;var p=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var d=-1;var p=i.length;return function next(){return++d<p?{value:i[d],key:d}:null}}function createES2015Iterator(i){var d=-1;return function next(){var p=i.next();if(p.done)return null;d++;return{value:p.value,key:d}}}function createObjectIterator(i){var d=i?Object.keys(i):[];var p=-1;var y=d.length;return function next(){var v=d[++p];if(v==="__proto__"){return next()}return p<y?{value:i[v],key:v}:null}}function createIterator(i){if(isArrayLike(i)){return createArrayIterator(i)}var d=getIterator(i);return d?createES2015Iterator(d):createObjectIterator(i)}function onlyOnce(i){return function(...d){if(i===null)throw new Error("Callback was already called.");var p=i;i=null;p.apply(this,d)}}function asyncEachOfLimit(i,d,p,y){let v=false;let D=false;let M=false;let V=0;let j=0;function replenish(){if(V>=d||M||v)return;M=true;i.next().then((({value:i,done:d})=>{if(D||v)return;M=false;if(d){v=true;if(V<=0){y(null)}return}V++;p(i,j,iterateeCallback);j++;replenish()})).catch(handleError)}function iterateeCallback(i,d){V-=1;if(D)return;if(i)return handleError(i);if(i===false){v=true;D=true;return}if(d===U||v&&V<=0){v=true;return y(null)}replenish()}function handleError(i){if(D)return;M=false;v=true;y(i)}replenish()}var eachOfLimit$2=i=>(d,p,y)=>{y=once(y);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!d){return y(null)}if(isAsyncGenerator(d)){return asyncEachOfLimit(d,i,p,y)}if(isAsyncIterable(d)){return asyncEachOfLimit(d[Symbol.asyncIterator](),i,p,y)}var v=createIterator(d);var D=false;var M=false;var V=0;var j=false;function iterateeCallback(i,d){if(M)return;V-=1;if(i){D=true;y(i)}else if(i===false){D=true;M=true}else if(d===U||D&&V<=0){D=true;return y(null)}else if(!j){replenish()}}function replenish(){j=true;while(V<i&&!D){var d=v();if(d===null){D=true;if(V<=0){y(null)}return}V+=1;p(d.value,d.key,onlyOnce(iterateeCallback))}j=false}replenish()};function eachOfLimit(i,d,p,y){return eachOfLimit$2(d)(i,Line truncated
|
var y=p(41622);var v=p(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=v.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new y(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";function apply(i,...d){return(...p)=>i(...d,...p)}function initialParams(i){return function(...d){var p=d.pop();return i.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var y=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(d,...p)=>i((()=>d(...p)))}var v;if(d){v=queueMicrotask}else if(p){v=setImmediate}else if(y){v=process.nextTick}else{v=fallback}var D=wrap(v);function asyncify(i){if(isAsync(i)){return function(...d){const p=d.pop();const y=i.apply(this,d);return handlePromise(y,p)}}return initialParams((function(d,p){var y;try{y=i.apply(this,d)}catch(i){return p(i)}if(y&&typeof y.then==="function"){return handlePromise(y,p)}else{p(null,y)}}))}function handlePromise(i,d){return i.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,d,p){try{i(d,p)}catch(i){D((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,d){if(!d)d=i.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return i.apply(this,p)}return new Promise(((y,v)=>{p[d-1]=(i,...d)=>{if(i)return v(i);y(d.length>1?d:d[0])};i.apply(this,p)}))}return awaitable}function applyEach$1(i){return function applyEach(d,...p){const y=awaitify((function(y){var v=this;return i(d,((i,d)=>{wrapAsync(i).apply(v,p.concat(d))}),y)}));return y}}function _asyncMap(i,d,p,y){d=d||[];var v=[];var D=0;var M=wrapAsync(p);return i(d,((i,d,p)=>{var y=D++;M(i,((i,d)=>{v[y]=d;p(i)}))}),(i=>{y(i,v)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const M={};var U=M;function once(i){function wrapper(...d){if(i===null)return;var p=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var d=-1;var p=i.length;return function next(){return++d<p?{value:i[d],key:d}:null}}function createES2015Iterator(i){var d=-1;return function next(){var p=i.next();if(p.done)return null;d++;return{value:p.value,key:d}}}function createObjectIterator(i){var d=i?Object.keys(i):[];var p=-1;var y=d.length;return function next(){var v=d[++p];if(v==="__proto__"){return next()}return p<y?{value:i[v],key:v}:null}}function createIterator(i){if(isArrayLike(i)){return createArrayIterator(i)}var d=getIterator(i);return d?createES2015Iterator(d):createObjectIterator(i)}function onlyOnce(i){return function(...d){if(i===null)throw new Error("Callback was already called.");var p=i;i=null;p.apply(this,d)}}function asyncEachOfLimit(i,d,p,y){let v=false;let D=false;let M=false;let V=0;let j=0;function replenish(){if(V>=d||M||v)return;M=true;i.next().then((({value:i,done:d})=>{if(D||v)return;M=false;if(d){v=true;if(V<=0){y(null)}return}V++;p(i,j,iterateeCallback);j++;replenish()})).catch(handleError)}function iterateeCallback(i,d){V-=1;if(D)return;if(i)return handleError(i);if(i===false){v=true;D=true;return}if(d===U||v&&V<=0){v=true;return y(null)}replenish()}function handleError(i){if(D)return;M=false;v=true;y(i)}replenish()}var eachOfLimit$2=i=>(d,p,y)=>{y=once(y);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!d){return y(null)}if(isAsyncGenerator(d)){return asyncEachOfLimit(d,i,p,y)}if(isAsyncIterable(d)){return asyncEachOfLimit(d[Symbol.asyncIterator](),i,p,y)}var v=createIterator(d);var D=false;var M=false;var V=0;var j=false;function iterateeCallback(i,d){if(M)return;V-=1;if(i){D=true;y(i)}else if(i===false){D=true;M=true}else if(d===U||D&&V<=0){D=true;return y(null)}else if(!j){replenish()}}function replenish(){j=true;while(V<i&&!D){var d=v();if(d===null){D=true;if(V<=0){y(null)}return}V+=1;p(d.value,d.key,onlyOnce(iterateeCallback))}j=false}replenish()};function eachOfLimit(i,d,p,y){return eachOfLimit$2(d)(i,Line truncated
|
||||||
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
|
||||||
var p;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,d=new Array(256);for(var p=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;d[p]=i}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(i){var d=0,p=0,y=0,v=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(y=0;y!=256;++y)v[y]=i[y];for(y=0;y!=256;++y){p=i[y];for(d=256+y;d<4096;d+=256)p=v[d]=p>>>8^i[p&255]}var D=[];for(y=1;y!=16;++y)D[y-1]=typeof Int32Array!=="undefined"?v.subarray(y*256,y*256+256):v.slice(y*256,y*256+256);return D}var p=slice_by_16_tables(d);var y=p[0],v=p[1],D=p[2],M=p[3],U=p[4];var V=p[5],j=p[6],K=p[7],ee=p[8],te=p[9];var re=p[10],ne=p[11],se=p[12],ie=p[13],oe=p[14];function crc32_bstr(i,p){var y=p^-1;for(var v=0,D=i.length;v<D;)y=y>>>8^d[(y^i.charCodeAt(v++))&255];return~y}function crc32_buf(i,p){var ae=p^-1,Ae=i.length-15,ce=0;for(;ce<Ae;)ae=oe[i[ce++]^ae&255]^ie[i[ce++]^ae>>8&255]^se[i[ce++]^ae>>16&255]^ne[i[ce++]^ae>>>24]^re[i[ce++]]^te[i[ce++]]^ee[i[ce++]]^K[i[ce++]]^j[i[ce++]]^V[i[ce++]]^U[i[ce++]]^M[i[ce++]]^D[i[ce++]]^v[i[ce++]]^y[i[ce++]]^d[i[ce++]];Ae+=15;while(ce<Ae)ae=ae>>>8^d[(ae^i[ce++])&255];return~ae}function crc32_str(i,p){var y=p^-1;for(var v=0,D=i.length,M=0,U=0;v<D;){M=i.charCodeAt(v++);if(M<128){y=y>>>8^d[(y^M)&255]}else if(M<2048){y=y>>>8^d[(y^(192|M>>6&31))&255];y=y>>>8^d[(y^(128|M&63))&255]}else if(M>=55296&&M<57344){M=(M&1023)+64;U=i.charCodeAt(v++)&1023;y=y>>>8^d[(y^(240|M>>8&7))&255];y=y>>>8^d[(y^(128|M>>2&63))&255];y=y>>>8^d[(y^(128|U>>6&15|(M&3)<<4))&255];y=y>>>8^d[(y^(128|U&63))&255]}else{y=y>>>8^d[(y^(224|M>>12&15))&255];y=y>>>8^d[(y^(128|M>>6&63))&255];y=y>>>8^d[(y^(128|M&63))&255]}}return~y}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},94521:(i,d,p)=>{"use strict";const{Transform:y}=p(45193);const v=p(83201);class CRC32Stream extends y{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=v.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},92563:(i,d,p)=>{"use strict";const{DeflateRaw:y}=p(59796);const v=p(83201);class DeflateCRC32Stream extends y{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}return super.push(i,d)}_transform(i,d,p){if(i){this.checksum=v.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},5101:(i,d,p)=>{"use strict";i.exports={CRC32Stream:p(94521),DeflateCRC32Stream:p(92563)}},28222:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{let i=false;return()=>{if(!i){i=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();d.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="Line truncated
|
var p;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,d=new Array(256);for(var p=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;d[p]=i}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(i){var d=0,p=0,y=0,v=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(y=0;y!=256;++y)v[y]=i[y];for(y=0;y!=256;++y){p=i[y];for(d=256+y;d<4096;d+=256)p=v[d]=p>>>8^i[p&255]}var D=[];for(y=1;y!=16;++y)D[y-1]=typeof Int32Array!=="undefined"?v.subarray(y*256,y*256+256):v.slice(y*256,y*256+256);return D}var p=slice_by_16_tables(d);var y=p[0],v=p[1],D=p[2],M=p[3],U=p[4];var V=p[5],j=p[6],K=p[7],ee=p[8],te=p[9];var re=p[10],ne=p[11],se=p[12],ie=p[13],oe=p[14];function crc32_bstr(i,p){var y=p^-1;for(var v=0,D=i.length;v<D;)y=y>>>8^d[(y^i.charCodeAt(v++))&255];return~y}function crc32_buf(i,p){var ae=p^-1,Ae=i.length-15,ce=0;for(;ce<Ae;)ae=oe[i[ce++]^ae&255]^ie[i[ce++]^ae>>8&255]^se[i[ce++]^ae>>16&255]^ne[i[ce++]^ae>>>24]^re[i[ce++]]^te[i[ce++]]^ee[i[ce++]]^K[i[ce++]]^j[i[ce++]]^V[i[ce++]]^U[i[ce++]]^M[i[ce++]]^D[i[ce++]]^v[i[ce++]]^y[i[ce++]]^d[i[ce++]];Ae+=15;while(ce<Ae)ae=ae>>>8^d[(ae^i[ce++])&255];return~ae}function crc32_str(i,p){var y=p^-1;for(var v=0,D=i.length,M=0,U=0;v<D;){M=i.charCodeAt(v++);if(M<128){y=y>>>8^d[(y^M)&255]}else if(M<2048){y=y>>>8^d[(y^(192|M>>6&31))&255];y=y>>>8^d[(y^(128|M&63))&255]}else if(M>=55296&&M<57344){M=(M&1023)+64;U=i.charCodeAt(v++)&1023;y=y>>>8^d[(y^(240|M>>8&7))&255];y=y>>>8^d[(y^(128|M>>2&63))&255];y=y>>>8^d[(y^(128|U>>6&15|(M&3)<<4))&255];y=y>>>8^d[(y^(128|U&63))&255]}else{y=y>>>8^d[(y^(224|M>>12&15))&255];y=y>>>8^d[(y^(128|M>>6&63))&255];y=y>>>8^d[(y^(128|M&63))&255]}}return~y}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,d,p)=>{"use strict";const{Transform:y}=p(29963);const v=p(84891);class CRC32Stream extends y{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=v.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,d,p)=>{"use strict";const{DeflateRaw:y}=p(43106);const v=p(84891);class DeflateCRC32Stream extends y{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}return super.push(i,d)}_transform(i,d,p){if(i){this.checksum=v.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,d,p)=>{"use strict";i.exports={CRC32Stream:p(3662),DeflateCRC32Stream:p(76252)}},6110:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{let i=false;return()=>{if(!i){i=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();d.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="unLine truncated
|
||||||
/**
|
/**
|
||||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||||
* @copyright 2015 Toru Nagashima. All rights reserved.
|
* @copyright 2015 Toru Nagashima. All rights reserved.
|
||||||
* See LICENSE file in root directory for full license.
|
* See LICENSE file in root directory for full license.
|
||||||
*/Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const y=new WeakMap;function pd(i){const d=p.get(i);console.assert(d!=null,"'this' is expected an Event object, but got",i);return d}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,d){p.set(this,{eventTarget:i,event:d,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const y=Object.keys(d);for(let i=0;i<y.length;++i){const d=y[i];if(!(d in this)){Object.defineProperty(this,d,defineRedirectDescriptor(d))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const i=pd(this).currentTarget;if(i==null){return[]}return[i]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return pd(this).eventPhase},stopPropagation(){const i=pd(this);i.stopped=true;if(typeof i.event.stopPropagation==="function"){i.event.stopPropagation()}},stopImmediatePropagation(){const i=pd(this);i.stopped=true;i.immediateStopped=true;if(typeof i.event.stopImmediatePropagation==="function"){i.event.stopImmediatePropagation()}},get bubbles(){return Boolean(pd(this).event.bubbles)},get cancelable(){return Boolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},get defaultPrevented(){return pd(this).canceled},get composed(){return Boolean(pd(this).event.composed)},get timeStamp(){return pd(this).timeStamp},get srcElement(){return pd(this).eventTarget},get cancelBubble(){return pd(this).stopped},set cancelBubble(i){if(!i){return}const d=pd(this);d.stopped=true;if(typeof d.event.cancelBubble==="boolean"){d.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(i){if(!i){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);y.set(window.Event.prototype,Event)}function defineRedirectDescriptor(i){return{get(){return pd(this).event[i]},set(d){pd(this).event[i]=d},configurable:true,enumerable:true}}function defineCallDescriptor(i){return{value(){const d=pd(this).event;return d[i].apply(d,arguments)},configurable:true,enumerable:true}}function defineWrapper(i,d){const p=Object.keys(d);if(p.length===0){return i}function CustomEvent(d,p){i.call(this,d,p)}CustomEvent.prototype=Object.create(i.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let y=0;y<p.length;++y){const v=p[y];if(!(v in i.prototype)){const i=Object.getOwnPropertyDescriptor(d,v);const p=typeof i.value==="function";Object.defineProperty(CustomEvent.prototype,v,p?defineCallDescriptor(v):defineRedirectDescriptor(v))}}return CustomEvent}function getWrapper(i){if(i==null||i===Object.prototype){return Event}let d=y.get(i);if(d==null){d=defineWrapper(getWrapper(Object.getPrototypeOf(i)),i);y.set(i,d)}return d}function wrapEvent(i,d){const p=getWrapper(Object.getPrototypeOf(d));return new p(i,d)}function isStopped(i){return pd(i).immediateStopped}function setEventPhase(i,d){pd(i).eventPhase=d}function setCurrentTarget(i,d){pd(i).currentTarget=d}function setPassiveListener(i,d){pd(i).passiveListener=d}const v=new WeakMap;const D=1;const M=2;const U=3;function isObject(i){return i!==null&&typeof i==="object"}function getListeners(i){const d=v.get(i);if(d==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return d}function defineEventAttributeDescriptor(i){return{get(){const d=getListeners(this);let p=d.get(i);while(p!=null){if(p.listenerType===U){return p.listener}p=p.next}return null},set(d){if(typeof d!=="function"&&!isObject(d)){d=null}const p=getListeners(this);let y=null;let v=p.get(i);while(v!=null){if(v.listenerType===U){if(y!==null){y.next=v.next}else if(v.next!==null){p.set(i,v.next)}else{p.delete(i)}}else{y=v}v=v.next}if(d!==null){const v={listener:d,listenerType:U,passive:false,once:false,next:null};if(y===null){p.set(i,v)}else{y.next=v}}},configurable:true,enumerable:true}}function defineEventAttribute(i,d){Object.defineProperty(i,`on${d}`,defineEventAttributeDescriptor(d))}function defineCustomEventTarget(i){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let d=0;d<i.length;++d){Line truncated
|
*/Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const y=new WeakMap;function pd(i){const d=p.get(i);console.assert(d!=null,"'this' is expected an Event object, but got",i);return d}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,d){p.set(this,{eventTarget:i,event:d,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const y=Object.keys(d);for(let i=0;i<y.length;++i){const d=y[i];if(!(d in this)){Object.defineProperty(this,d,defineRedirectDescriptor(d))}}}Event.prototype={get type(){return pd(this).event.type},get target(){return pd(this).eventTarget},get currentTarget(){return pd(this).currentTarget},composedPath(){const i=pd(this).currentTarget;if(i==null){return[]}return[i]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return pd(this).eventPhase},stopPropagation(){const i=pd(this);i.stopped=true;if(typeof i.event.stopPropagation==="function"){i.event.stopPropagation()}},stopImmediatePropagation(){const i=pd(this);i.stopped=true;i.immediateStopped=true;if(typeof i.event.stopImmediatePropagation==="function"){i.event.stopImmediatePropagation()}},get bubbles(){return Boolean(pd(this).event.bubbles)},get cancelable(){return Boolean(pd(this).event.cancelable)},preventDefault(){setCancelFlag(pd(this))},get defaultPrevented(){return pd(this).canceled},get composed(){return Boolean(pd(this).event.composed)},get timeStamp(){return pd(this).timeStamp},get srcElement(){return pd(this).eventTarget},get cancelBubble(){return pd(this).stopped},set cancelBubble(i){if(!i){return}const d=pd(this);d.stopped=true;if(typeof d.event.cancelBubble==="boolean"){d.event.cancelBubble=true}},get returnValue(){return!pd(this).canceled},set returnValue(i){if(!i){setCancelFlag(pd(this))}},initEvent(){}};Object.defineProperty(Event.prototype,"constructor",{value:Event,configurable:true,writable:true});if(typeof window!=="undefined"&&typeof window.Event!=="undefined"){Object.setPrototypeOf(Event.prototype,window.Event.prototype);y.set(window.Event.prototype,Event)}function defineRedirectDescriptor(i){return{get(){return pd(this).event[i]},set(d){pd(this).event[i]=d},configurable:true,enumerable:true}}function defineCallDescriptor(i){return{value(){const d=pd(this).event;return d[i].apply(d,arguments)},configurable:true,enumerable:true}}function defineWrapper(i,d){const p=Object.keys(d);if(p.length===0){return i}function CustomEvent(d,p){i.call(this,d,p)}CustomEvent.prototype=Object.create(i.prototype,{constructor:{value:CustomEvent,configurable:true,writable:true}});for(let y=0;y<p.length;++y){const v=p[y];if(!(v in i.prototype)){const i=Object.getOwnPropertyDescriptor(d,v);const p=typeof i.value==="function";Object.defineProperty(CustomEvent.prototype,v,p?defineCallDescriptor(v):defineRedirectDescriptor(v))}}return CustomEvent}function getWrapper(i){if(i==null||i===Object.prototype){return Event}let d=y.get(i);if(d==null){d=defineWrapper(getWrapper(Object.getPrototypeOf(i)),i);y.set(i,d)}return d}function wrapEvent(i,d){const p=getWrapper(Object.getPrototypeOf(d));return new p(i,d)}function isStopped(i){return pd(i).immediateStopped}function setEventPhase(i,d){pd(i).eventPhase=d}function setCurrentTarget(i,d){pd(i).currentTarget=d}function setPassiveListener(i,d){pd(i).passiveListener=d}const v=new WeakMap;const D=1;const M=2;const U=3;function isObject(i){return i!==null&&typeof i==="object"}function getListeners(i){const d=v.get(i);if(d==null){throw new TypeError("'this' is expected an EventTarget object, but got another value.")}return d}function defineEventAttributeDescriptor(i){return{get(){const d=getListeners(this);let p=d.get(i);while(p!=null){if(p.listenerType===U){return p.listener}p=p.next}return null},set(d){if(typeof d!=="function"&&!isObject(d)){d=null}const p=getListeners(this);let y=null;let v=p.get(i);while(v!=null){if(v.listenerType===U){if(y!==null){y.next=v.next}else if(v.next!==null){p.set(i,v.next)}else{p.delete(i)}}else{y=v}v=v.next}if(d!==null){const v={listener:d,listenerType:U,passive:false,once:false,next:null};if(y===null){p.set(i,v)}else{y.next=v}}},configurable:true,enumerable:true}}function defineEventAttribute(i,d){Object.defineProperty(i,`on${d}`,defineEventAttributeDescriptor(d))}function defineCustomEventTarget(i){function CustomEventTarget(){EventTarget.call(this)}CustomEventTarget.prototype=Object.create(EventTarget.prototype,{constructor:{value:CustomEventTarget,configurable:true,writable:true}});for(let d=0;d<i.length;++d){Line truncated
|
||||||
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(p){var y=true&&d;var v=true&&i&&i.exports==y&&i;var D=typeof global=="object"&&global;if(D.global===D||D.window===D){p=D}var M=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var U=/[\x01-\x7F]/g;var V=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var j=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var K={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprimeLine truncated
|
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */(function(p){var y=true&&d;var v=true&&i&&i.exports==y&&i;var D=typeof global=="object"&&global;if(D.global===D||D.window===D){p=D}var M=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var U=/[\x01-\x7F]/g;var V=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;var j=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var K={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprimeLine truncated
|
||||||
/*!
|
/*!
|
||||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||||
*
|
*
|
||||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*/function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.isPlainObject=isPlainObject},41554:i=>{"use strict";const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},20893:i=>{var d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},21917:(i,d,p)=>{"use strict";var y=p(51161);var v=p(68866);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(6073);i.exports.Schema=p(21082);i.exports.FAILSAFE_SCHEMA=p(28562);i.exports.JSON_SCHEMA=p(1035);i.exports.CORE_SCHEMA=p(12011);i.exports.DEFAULT_SCHEMA=p(18759);i.exports.load=y.load;i.exports.loadAll=y.loadAll;i.exports.dump=v.dump;i.exports.YAMLException=p(68179);i.exports.types={binary:p(77900),float:p(42705),map:p(86150),null:p(20721),pairs:p(96860),set:p(79548),timestamp:p(99212),bool:p(64993),int:p(11615),merge:p(86104),omap:p(19046),seq:p(67283),str:p(23619)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},26829:i=>{"use strict";function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,y,v,D;if(d){D=Object.keys(d);for(p=0,y=D.length;p<y;p+=1){v=D[p];i[v]=d[v]}}return i}function repeat(i,d){var p="",y;for(y=0;y<d;y+=1){p+=i}return p}function isNegativeZero(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}i.exports.isNothing=isNothing;i.exports.isObject=isObject;i.exports.toArray=toArray;i.exports.repeat=repeat;i.exports.isNegativeZero=isNegativeZero;i.exports.extend=extend},68866:(i,d,p)=>{"use strict";var y=p(26829);var v=p(68179);var D=p(18759);var M=Object.prototype.toString;var U=Object.prototype.hasOwnProperty;var V=65279;var j=9;var K=10;var ee=13;var te=32;var re=33;var ne=34;var se=35;var ie=37;var oe=38;var ae=39;var Ae=42;var ce=44;var le=45;var de=58;var ue=61;var pe=62;var ge=63;var he=64;var me=91;var fe=93;var Ee=96;var Ce=123;var ye=124;var Ie=125;var Be={};Be[0]="\\0";Be[7]="\\a";Be[8]="\\b";Be[9]="\\t";Be[10]="\\n";Be[11]="\\v";Be[12]="\\f";Be[13]="\\r";Be[27]="\\e";Be[34]='\\"';Be[92]="\\\\";Be[133]="\\N";Be[160]="\\_";Be[8232]="\\L";Be[8233]="\\P";var be=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var Qe=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,d){var p,y,v,D,M,V,j;if(d===null)return{};p={};y=Object.keys(d);for(v=0,D=y.length;v<D;v+=1){M=y[v];V=String(d[M]);if(M.slice(0,2)==="!!"){M="tag:yaml.org,2002:"+M.slice(2)}j=i.compiledTypeMap["fallback"][M];if(j&&U.call(j.styleAliases,V)){V=j.styleAliases[V]}p[M]=V}return p}function encodeHex(i){var d,p,D;d=i.toString(16).toUpperCase();if(i<=255){p="x";D=2}else if(i<=65535){p="u";D=4}else if(i<=4294967295){p="U";D=8}else{throw new v("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+p+y.repeat("0",D-d.length)+d}var we=1,ve=2;function State(i){this.schema=i["schema"]||D;this.indent=Math.max(1,i["indent"]||2);this.noArrayIndent=i["noArrayIndent"]||false;this.skipInvalid=i["skipInvalid"]||false;this.flowLevel=y.isNothing(i["flowLevel"])?-1:i["flowLevel"];this.styleMap=compileStyleMap(this.schema,i["styles"]||null);this.sortKeys=i["sortKeys"]||false;this.lineWidth=i["lineWidth"]||80;this.noRefs=i["noRefs"]||false;this.noCompatMode=i["noCompatMode"]||false;this.condenseFlow=i["condenseFlow"]||false;this.quotingType=i["quotingType"]==='"'?ve:we;this.forceQuotes=i["forceQuotes"]||false;this.replacer=typeof i["replacer"]==="function"?i["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(i,d){var p=y.repeat(" ",d),v=0,D=-1,M="",U,V=i.length;while(v<V){D=i.indexOf("\n",v);if(D===-1){U=i.slice(v);v=V}else{U=i.slice(v,D+1);v=D+1}if(U.length&&U!=="\n")M+=p;M+=U}return M}function generateNextLine(i,d){return"\n"+y.repeat(" ",i.indent*d)}function testImplicitResolving(i,d){var p,y,v;for(p=0,y=i.implicitTypes.length;p<y;p+=1){v=i.implicitTypes[p];if(v.resolve(d)){return true}Line truncated
|
*/function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.isPlainObject=isPlainObject},96543:i=>{"use strict";const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},82513:i=>{var d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},74281:(i,d,p)=>{"use strict";var y=p(91950);var v=p(59980);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(9557);i.exports.Schema=p(62046);i.exports.FAILSAFE_SCHEMA=p(69832);i.exports.JSON_SCHEMA=p(58927);i.exports.CORE_SCHEMA=p(55746);i.exports.DEFAULT_SCHEMA=p(97336);i.exports.load=y.load;i.exports.loadAll=y.loadAll;i.exports.dump=v.dump;i.exports.YAMLException=p(41248);i.exports.types={binary:p(8149),float:p(57584),map:p(47316),null:p(4333),pairs:p(16267),set:p(78758),timestamp:p(28966),bool:p(67296),int:p(62271),merge:p(76854),omap:p(58649),seq:p(77161),str:p(53929)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},19816:i=>{"use strict";function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,y,v,D;if(d){D=Object.keys(d);for(p=0,y=D.length;p<y;p+=1){v=D[p];i[v]=d[v]}}return i}function repeat(i,d){var p="",y;for(y=0;y<d;y+=1){p+=i}return p}function isNegativeZero(i){return i===0&&Number.NEGATIVE_INFINITY===1/i}i.exports.isNothing=isNothing;i.exports.isObject=isObject;i.exports.toArray=toArray;i.exports.repeat=repeat;i.exports.isNegativeZero=isNegativeZero;i.exports.extend=extend},59980:(i,d,p)=>{"use strict";var y=p(19816);var v=p(41248);var D=p(97336);var M=Object.prototype.toString;var U=Object.prototype.hasOwnProperty;var V=65279;var j=9;var K=10;var ee=13;var te=32;var re=33;var ne=34;var se=35;var ie=37;var oe=38;var ae=39;var Ae=42;var ce=44;var le=45;var de=58;var ue=61;var pe=62;var ge=63;var he=64;var me=91;var fe=93;var Ee=96;var Ce=123;var ye=124;var Ie=125;var Be={};Be[0]="\\0";Be[7]="\\a";Be[8]="\\b";Be[9]="\\t";Be[10]="\\n";Be[11]="\\v";Be[12]="\\f";Be[13]="\\r";Be[27]="\\e";Be[34]='\\"';Be[92]="\\\\";Be[133]="\\N";Be[160]="\\_";Be[8232]="\\L";Be[8233]="\\P";var be=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var Qe=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,d){var p,y,v,D,M,V,j;if(d===null)return{};p={};y=Object.keys(d);for(v=0,D=y.length;v<D;v+=1){M=y[v];V=String(d[M]);if(M.slice(0,2)==="!!"){M="tag:yaml.org,2002:"+M.slice(2)}j=i.compiledTypeMap["fallback"][M];if(j&&U.call(j.styleAliases,V)){V=j.styleAliases[V]}p[M]=V}return p}function encodeHex(i){var d,p,D;d=i.toString(16).toUpperCase();if(i<=255){p="x";D=2}else if(i<=65535){p="u";D=4}else if(i<=4294967295){p="U";D=8}else{throw new v("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+p+y.repeat("0",D-d.length)+d}var we=1,ve=2;function State(i){this.schema=i["schema"]||D;this.indent=Math.max(1,i["indent"]||2);this.noArrayIndent=i["noArrayIndent"]||false;this.skipInvalid=i["skipInvalid"]||false;this.flowLevel=y.isNothing(i["flowLevel"])?-1:i["flowLevel"];this.styleMap=compileStyleMap(this.schema,i["styles"]||null);this.sortKeys=i["sortKeys"]||false;this.lineWidth=i["lineWidth"]||80;this.noRefs=i["noRefs"]||false;this.noCompatMode=i["noCompatMode"]||false;this.condenseFlow=i["condenseFlow"]||false;this.quotingType=i["quotingType"]==='"'?ve:we;this.forceQuotes=i["forceQuotes"]||false;this.replacer=typeof i["replacer"]==="function"?i["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}function indentString(i,d){var p=y.repeat(" ",d),v=0,D=-1,M="",U,V=i.length;while(v<V){D=i.indexOf("\n",v);if(D===-1){U=i.slice(v);v=V}else{U=i.slice(v,D+1);v=D+1}if(U.length&&U!=="\n")M+=p;M+=U}return M}function generateNextLine(i,d){return"\n"+y.repeat(" ",i.indent*d)}function testImplicitResolving(i,d){var p,y,v;for(p=0,y=i.implicitTypes.length;p<y;p+=1){v=i.implicitTypes[p];if(v.resolve(d)){return true}}Line truncated
|
||||||
/*!
|
/*!
|
||||||
* mime-db
|
* mime-db
|
||||||
* Copyright(c) 2014 Jonathan Ong
|
* Copyright(c) 2014 Jonathan Ong
|
||||||
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
||||||
* MIT Licensed
|
* MIT Licensed
|
||||||
*/
|
*/
|
||||||
i.exports=p(53765)},43583:(i,d,p)=>{"use strict";
|
i.exports=p(81813)},14096:(i,d,p)=>{"use strict";
|
||||||
/*!
|
/*!
|
||||||
* mime-types
|
* mime-types
|
||||||
* Copyright(c) 2014 Jonathan Ong
|
* Copyright(c) 2014 Jonathan Ong
|
||||||
* Copyright(c) 2015 Douglas Christopher Wilson
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||||||
* MIT Licensed
|
* MIT Licensed
|
||||||
*/var y=p(47426);var v=p(71017).extname;var D=/^\s*([^;\s]*)(?:;|\s|$)/;var M=/^text\//i;d.charset=charset;d.charsets={lookup:charset};d.contentType=contentType;d.extension=extension;d.extensions=Object.create(null);d.lookup=lookup;d.types=Object.create(null);populateMaps(d.extensions,d.types);function charset(i){if(!i||typeof i!=="string"){return false}var d=D.exec(i);var p=d&&y[d[1].toLowerCase()];if(p&&p.charset){return p.charset}if(d&&M.test(d[1])){return"UTF-8"}return false}function contentType(i){if(!i||typeof i!=="string"){return false}var p=i.indexOf("/")===-1?d.lookup(i):i;if(!p){return false}if(p.indexOf("charset")===-1){var y=d.charset(p);if(y)p+="; charset="+y.toLowerCase()}return p}function extension(i){if(!i||typeof i!=="string"){return false}var p=D.exec(i);var y=p&&d.extensions[p[1].toLowerCase()];if(!y||!y.length){return false}return y[0]}function lookup(i){if(!i||typeof i!=="string"){return false}var p=v("x."+i).toLowerCase().substr(1);if(!p){return false}return d.types[p]||false}function populateMaps(i,d){var p=["nginx","apache",undefined,"iana"];Object.keys(y).forEach((function forEachMimeType(v){var D=y[v];var M=D.extensions;if(!M||!M.length){return}i[v]=M;for(var U=0;U<M.length;U++){var V=M[U];if(d[V]){var j=p.indexOf(y[d[V]].source);var K=p.indexOf(D.source);if(d[V]!=="application/octet-stream"&&(j>K||j===K&&d[V].substr(0,12)==="application/")){continue}}d[V]=v}}))}},83973:(i,d,p)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;var y=function(){try{return p(71017)}catch(i){}}()||{sep:"/"};minimatch.sep=y.sep;var v=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var D=p(48184);var M={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var U="[^/]";var V=U+"*?";var j="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var K="(?:(?!(?:\\/|^)\\.).)*?";var ee=charSet("().*{}+?[]^$\\!");function charSet(i){return i.split("").reduce((function(i,d){i[d]=true;return i}),{})}var te=/\/+/;minimatch.filter=filter;function filter(i,d){d=d||{};return function(p,y,v){return minimatch(p,i,d)}}function ext(i,d){d=d||{};var p={};Object.keys(i).forEach((function(d){p[d]=i[d]}));Object.keys(d).forEach((function(i){p[i]=d[i]}));return p}minimatch.defaults=function(i){if(!i||typeof i!=="object"||!Object.keys(i).length){return minimatch}var d=minimatch;var p=function minimatch(p,y,v){return d(p,y,ext(i,v))};p.Minimatch=function Minimatch(p,y){return new d.Minimatch(p,ext(i,y))};p.Minimatch.defaults=function defaults(p){return d.defaults(ext(i,p)).Minimatch};p.filter=function filter(p,y){return d.filter(p,ext(i,y))};p.defaults=function defaults(p){return d.defaults(ext(i,p))};p.makeRe=function makeRe(p,y){return d.makeRe(p,ext(i,y))};p.braceExpand=function braceExpand(p,y){return d.braceExpand(p,ext(i,y))};p.match=function(p,y,v){return d.match(p,y,ext(i,v))};return p};Minimatch.defaults=function(i){return minimatch.defaults(i).Minimatch};function minimatch(i,d,p){assertValidPattern(d);if(!p)p={};if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)}function Minimatch(i,d){if(!(this instanceof Minimatch)){return new Minimatch(i,d)}assertValidPattern(i);if(!d)d={};i=i.trim();if(!d.allowWindowsEscape&&y.sep!=="/"){i=i.split(y.sep).join("/")}this.options=d;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var i=this.pattern;var d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();var p=this.globSet=this.braceExpand();if(d.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,p);p=this.globParts=p.map((function(i){return i.split(te)}));this.debug(this.pattern,p);p=p.map((function(i,d,p){return i.map(this.parse,this)}),this);this.debug(this.pattern,p);p=p.filter((function(i){return i.indexOf(false)===-1}));this.debug(this.pattern,p);this.set=p}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var i=this.pattern;var d=false;var p=this.options;var y=0;if(p.nonegate)return;for(var v=0,D=i.length;v<D&&i.charAt(v)==="!";v++){d=!d;y++}if(y)this.pattern=i.substr(y);this.negate=d}minimatch.braceExpand=function(i,d){return braceExpand(i,d)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(i,d){if(!d){if(this instanceof Minimatch){d=this.options}else{d={}}}i=typeof i==="undefined"?this.pattern:i;assertValidPattern(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return D(i)}var re=1024*64;var assertValidPattern=function(i){if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>re){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var ne={};function parse(i,d){assertValidPattern(i);var p=this.options;if(i==="**"){if(!p.noglobstar)return v;eLine truncated
|
*/var y=p(99829);var v=p(16928).extname;var D=/^\s*([^;\s]*)(?:;|\s|$)/;var M=/^text\//i;d.charset=charset;d.charsets={lookup:charset};d.contentType=contentType;d.extension=extension;d.extensions=Object.create(null);d.lookup=lookup;d.types=Object.create(null);populateMaps(d.extensions,d.types);function charset(i){if(!i||typeof i!=="string"){return false}var d=D.exec(i);var p=d&&y[d[1].toLowerCase()];if(p&&p.charset){return p.charset}if(d&&M.test(d[1])){return"UTF-8"}return false}function contentType(i){if(!i||typeof i!=="string"){return false}var p=i.indexOf("/")===-1?d.lookup(i):i;if(!p){return false}if(p.indexOf("charset")===-1){var y=d.charset(p);if(y)p+="; charset="+y.toLowerCase()}return p}function extension(i){if(!i||typeof i!=="string"){return false}var p=D.exec(i);var y=p&&d.extensions[p[1].toLowerCase()];if(!y||!y.length){return false}return y[0]}function lookup(i){if(!i||typeof i!=="string"){return false}var p=v("x."+i).toLowerCase().substr(1);if(!p){return false}return d.types[p]||false}function populateMaps(i,d){var p=["nginx","apache",undefined,"iana"];Object.keys(y).forEach((function forEachMimeType(v){var D=y[v];var M=D.extensions;if(!M||!M.length){return}i[v]=M;for(var U=0;U<M.length;U++){var V=M[U];if(d[V]){var j=p.indexOf(y[d[V]].source);var K=p.indexOf(D.source);if(d[V]!=="application/octet-stream"&&(j>K||j===K&&d[V].substr(0,12)==="application/")){continue}}d[V]=v}}))}},43772:(i,d,p)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;var y=function(){try{return p(16928)}catch(i){}}()||{sep:"/"};minimatch.sep=y.sep;var v=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var D=p(73783);var M={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var U="[^/]";var V=U+"*?";var j="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var K="(?:(?!(?:\\/|^)\\.).)*?";var ee=charSet("().*{}+?[]^$\\!");function charSet(i){return i.split("").reduce((function(i,d){i[d]=true;return i}),{})}var te=/\/+/;minimatch.filter=filter;function filter(i,d){d=d||{};return function(p,y,v){return minimatch(p,i,d)}}function ext(i,d){d=d||{};var p={};Object.keys(i).forEach((function(d){p[d]=i[d]}));Object.keys(d).forEach((function(i){p[i]=d[i]}));return p}minimatch.defaults=function(i){if(!i||typeof i!=="object"||!Object.keys(i).length){return minimatch}var d=minimatch;var p=function minimatch(p,y,v){return d(p,y,ext(i,v))};p.Minimatch=function Minimatch(p,y){return new d.Minimatch(p,ext(i,y))};p.Minimatch.defaults=function defaults(p){return d.defaults(ext(i,p)).Minimatch};p.filter=function filter(p,y){return d.filter(p,ext(i,y))};p.defaults=function defaults(p){return d.defaults(ext(i,p))};p.makeRe=function makeRe(p,y){return d.makeRe(p,ext(i,y))};p.braceExpand=function braceExpand(p,y){return d.braceExpand(p,ext(i,y))};p.match=function(p,y,v){return d.match(p,y,ext(i,v))};return p};Minimatch.defaults=function(i){return minimatch.defaults(i).Minimatch};function minimatch(i,d,p){assertValidPattern(d);if(!p)p={};if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)}function Minimatch(i,d){if(!(this instanceof Minimatch)){return new Minimatch(i,d)}assertValidPattern(i);if(!d)d={};i=i.trim();if(!d.allowWindowsEscape&&y.sep!=="/"){i=i.split(y.sep).join("/")}this.options=d;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var i=this.pattern;var d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();var p=this.globSet=this.braceExpand();if(d.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,p);p=this.globParts=p.map((function(i){return i.split(te)}));this.debug(this.pattern,p);p=p.map((function(i,d,p){return i.map(this.parse,this)}),this);this.debug(this.pattern,p);p=p.filter((function(i){return i.indexOf(false)===-1}));this.debug(this.pattern,p);this.set=p}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var i=this.pattern;var d=false;var p=this.options;var y=0;if(p.nonegate)return;for(var v=0,D=i.length;v<D&&i.charAt(v)==="!";v++){d=!d;y++}if(y)this.pattern=i.substr(y);this.negate=d}minimatch.braceExpand=function(i,d){return braceExpand(i,d)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(i,d){if(!d){if(this instanceof Minimatch){d=this.options}else{d={}}}i=typeof i==="undefined"?this.pattern:i;assertValidPattern(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return D(i)}var re=1024*64;var assertValidPattern=function(i){if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>re){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var ne={};function parse(i,d){assertValidPattern(i);var p=this.options;if(i==="**"){if(!p.noglobstar)return v;eLine truncated
|
||||||
/*!
|
/*!
|
||||||
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
||||||
*
|
*
|
||||||
* Copyright (c) 2014-2018, Jon Schlinkert.
|
* Copyright (c) 2014-2018, Jon Schlinkert.
|
||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*/
|
*/
|
||||||
i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var p=i.length;if(p<=1)return i;var y="";if(p>4&&i[3]==="\\"){var v=i[2];if((v==="?"||v===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);y="//"}}var D=i.split(/[/\\]+/);if(d!==false&&D[D.length-1]===""){D.pop()}return y+D.join("/")}},1223:(i,d,p)=>{var y=p(62940);i.exports=y(once);i.exports.strict=y(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var d=i.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;return f}},47810:i=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,d,p,y){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var v=arguments.length;var D,M;switch(v){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,d,p,y)}));default:D=new Array(v-1);M=0;while(M<D.length){D[M++]=arguments[M]}return process.nextTick((function afterTick(){i.apply(null,D)}))}}},45676:i=>{i.exports=global.process},5322:(i,d,p)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):p(71031)},71031:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80289:(i,d,p)=>{"use strict";const{SymbolDispose:y}=p(89629);const{AbortError:v,codes:D}=p(80529);const{isNodeStream:M,isWebStream:U,kControllerErrorFunction:V}=p(27981);const j=p(76080);const{ERR_INVALID_ARG_TYPE:K}=D;let ee;const validateAbortSignal=(i,d)=>{if(typeof i!=="object"||!("aborted"in i)){throw new K(d,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!M(p)&&!U(p)){throw new K("stream",["ReadableStream","WritableStream","Stream"],p)}return i.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeof i!=="object"||!("aborted"in i)){return d}const D=M(d)?()=>{d.destroy(new v(undefined,{cause:i.reason}))}:()=>{d[V](new v(undefined,{cause:i.reason}))};if(i.aborted){D()}else{ee=ee||p(46959).addAbortListener;const v=ee(i,D);j(d,v[y])}return d}},52746:(i,d,p)=>{"use strict";const{StringPrototypeSlice:y,SymbolIterator:v,TypedArrayPrototypeSet:D,Uint8Array:M}=p(89629);const{Buffer:U}=p(14300);const{inspect:V}=p(46959);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(i){const d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=i+d.data;return p}concat(i){if(this.length===0)return U.alloc(0);const d=U.allocUnsafe(i>>>0);let p=this.head;let y=0;while(p){D(d,p.data,y);y+=p.data.length;p=p.next}return d}consume(i,d){const p=this.head.data;if(i<p.length){const d=p.slice(0,i);this.head.data=p.slice(i);return d}if(i===p.length){return this.shift()}return d?this._getString(i):this._getBuffer(i)}first(){return this.head.data}*[v](){for(let i=this.head;i;i=i.next){yield i.data}}_getString(i){let d="";let p=this.head;let v=0;do{const D=p.data;if(i>D.length){d+=D;i-=D.length}else{if(i===D.length){d+=D;++v;if(p.next)this.head=p.next;else this.head=this.tail=null}else{d+=y(D,0,i);this.head=p;p.data=y(D,i)}break}++v}while((p=p.next)!==null);this.length-=v;return d}_getBuffer(i){const d=U.allocUnsafe(i);const p=i;let y=this.head;let v=0;do{const U=y.data;if(i>U.length){D(d,U,p-i);i-=U.length}else{if(i===U.length){D(d,U,p-i);++v;if(y.next)this.head=y.next;else this.head=this.tail=null}else{D(d,new M(U.buffer,U.byteOffset,i),p-i);this.head=y;y.data=U.slice(i)}break}++v}while((y=y.next)!==null);this.length-=v;return d}[Symbol.for("nodejs.util.inspect.custom")](i,d){return V(this,{...d,depth:0,customInspect:false})}}},63129:(i,d,p)=>{"use sLine truncated
|
i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var p=i.length;if(p<=1)return i;var y="";if(p>4&&i[3]==="\\"){var v=i[2];if((v==="?"||v===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);y="//"}}var D=i.split(/[/\\]+/);if(d!==false&&D[D.length-1]===""){D.pop()}return y+D.join("/")}},55560:(i,d,p)=>{var y=p(58264);i.exports=y(once);i.exports.strict=y(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var d=i.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;return f}},41564:i=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,d,p,y){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var v=arguments.length;var D,M;switch(v){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,d,p,y)}));default:D=new Array(v-1);M=0;while(M<D.length){D[M++]=arguments[M]}return process.nextTick((function afterTick(){i.apply(null,D)}))}}},7945:i=>{i.exports=global.process},5506:(i,d,p)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):p(36828)},36828:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80652:(i,d,p)=>{"use strict";const{SymbolDispose:y}=p(50999);const{AbortError:v,codes:D}=p(69220);const{isNodeStream:M,isWebStream:U,kControllerErrorFunction:V}=p(83426);const j=p(36815);const{ERR_INVALID_ARG_TYPE:K}=D;let ee;const validateAbortSignal=(i,d)=>{if(typeof i!=="object"||!("aborted"in i)){throw new K(d,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!M(p)&&!U(p)){throw new K("stream",["ReadableStream","WritableStream","Stream"],p)}return i.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeof i!=="object"||!("aborted"in i)){return d}const D=M(d)?()=>{d.destroy(new v(undefined,{cause:i.reason}))}:()=>{d[V](new v(undefined,{cause:i.reason}))};if(i.aborted){D()}else{ee=ee||p(23539).addAbortListener;const v=ee(i,D);j(d,v[y])}return d}},77336:(i,d,p)=>{"use strict";const{StringPrototypeSlice:y,SymbolIterator:v,TypedArrayPrototypeSet:D,Uint8Array:M}=p(50999);const{Buffer:U}=p(20181);const{inspect:V}=p(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(i){const d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=i+d.data;return p}concat(i){if(this.length===0)return U.alloc(0);const d=U.allocUnsafe(i>>>0);let p=this.head;let y=0;while(p){D(d,p.data,y);y+=p.data.length;p=p.next}return d}consume(i,d){const p=this.head.data;if(i<p.length){const d=p.slice(0,i);this.head.data=p.slice(i);return d}if(i===p.length){return this.shift()}return d?this._getString(i):this._getBuffer(i)}first(){return this.head.data}*[v](){for(let i=this.head;i;i=i.next){yield i.data}}_getString(i){let d="";let p=this.head;let v=0;do{const D=p.data;if(i>D.length){d+=D;i-=D.length}else{if(i===D.length){d+=D;++v;if(p.next)this.head=p.next;else this.head=this.tail=null}else{d+=y(D,0,i);this.head=p;p.data=y(D,i)}break}++v}while((p=p.next)!==null);this.length-=v;return d}_getBuffer(i){const d=U.allocUnsafe(i);const p=i;let y=this.head;let v=0;do{const U=y.data;if(i>U.length){D(d,U,p-i);i-=U.length}else{if(i===U.length){D(d,U,p-i);++v;if(y.next)this.head=y.next;else this.head=this.tail=null}else{D(d,new M(U.buffer,U.byteOffset,i),p-i);this.head=y;y.data=U.slice(i)}break}++v}while((y=y.next)!==null);this.length-=v;return d}[Symbol.for("nodejs.util.inspect.custom")](i,d){return V(this,{...d,depth:0,customInspect:false})}}},64999:(i,d,p)=>{"use sLine truncated
|
||||||
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var i=String.fromCharCode;var d=Math.floor;var fromCodePoint=function(){var p=16384;var y=[];var v;var D;var M=-1;var U=arguments.length;if(!U){return""}var V="";while(++M<U){var j=Number(arguments[M]);if(!isFinite(j)||j<0||j>1114111||d(j)!==j){throw RangeError("Invalid code point: "+j)}if(j<=65535){y.push(j)}else{j-=65536;v=(j>>10)+55296;D=j%1024+56320;y.push(v,D)}if(M+1===U||y.length>p){V+=i.apply(null,y);y.length=0}}return V};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:d)},85911:(i,d)=>{d=i.exports=SemVer;var p;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){p=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{p=function(){}}d.SEMVER_SPEC_VERSION="2.0.0";var y=256;var v=Number.MAX_SAFE_INTEGER||9007199254740991;var D=16;var M=y-6;var U=d.re=[];var V=d.safeRe=[];var j=d.src=[];var K=d.tokens={};var ee=0;function tok(i){K[i]=ee++}var te="[a-zA-Z0-9-]";var re=[["\\s",1],["\\d",y],[te,M]];function makeSafeRe(i){for(var d=0;d<re.length;d++){var p=re[d][0];var y=re[d][1];i=i.split(p+"*").join(p+"{0,"+y+"}").split(p+"+").join(p+"{1,"+y+"}")}return i}tok("NUMERICIDENTIFIER");j[K.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");j[K.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");j[K.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+te+"*";tok("MAINVERSION");j[K.MAINVERSION]="("+j[K.NUMERICIDENTIFIER]+")\\."+"("+j[K.NUMERICIDENTIFIER]+")\\."+"("+j[K.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");j[K.MAINVERSIONLOOSE]="("+j[K.NUMERICIDENTIFIERLOOSE]+")\\."+"("+j[K.NUMERICIDENTIFIERLOOSE]+")\\."+"("+j[K.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");j[K.PRERELEASEIDENTIFIER]="(?:"+j[K.NUMERICIDENTIFIER]+"|"+j[K.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");j[K.PRERELEASEIDENTIFIERLOOSE]="(?:"+j[K.NUMERICIDENTIFIERLOOSE]+"|"+j[K.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");j[K.PRERELEASE]="(?:-("+j[K.PRERELEASEIDENTIFIER]+"(?:\\."+j[K.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");j[K.PRERELEASELOOSE]="(?:-?("+j[K.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+j[K.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");j[K.BUILDIDENTIFIER]=te+"+";tok("BUILD");j[K.BUILD]="(?:\\+("+j[K.BUILDIDENTIFIER]+"(?:\\."+j[K.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");j[K.FULLPLAIN]="v?"+j[K.MAINVERSION]+j[K.PRERELEASE]+"?"+j[K.BUILD]+"?";j[K.FULL]="^"+j[K.FULLPLAIN]+"$";tok("LOOSEPLAIN");j[K.LOOSEPLAIN]="[v=\\s]*"+j[K.MAINVERSIONLOOSE]+j[K.PRERELEASELOOSE]+"?"+j[K.BUILD]+"?";tok("LOOSE");j[K.LOOSE]="^"+j[K.LOOSEPLAIN]+"$";tok("GTLT");j[K.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");j[K.XRANGEIDENTIFIERLOOSE]=j[K.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");j[K.XRANGEIDENTIFIER]=j[K.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");j[K.XRANGEPLAIN]="[v=\\s]*("+j[K.XRANGEIDENTIFIER]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIER]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIER]+")"+"(?:"+j[K.PRERELEASE]+")?"+j[K.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");j[K.XRANGEPLAINLOOSE]="[v=\\s]*("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+j[K.PRERELEASELOOSE]+")?"+j[K.BUILD]+"?"+")?)?";tok("XRANGE");j[K.XRANGE]="^"+j[K.GTLT]+"\\s*"+j[K.XRANGEPLAIN]+"$";tok("XRANGELOOSE");j[K.XRANGELOOSE]="^"+j[K.GTLT]+"\\s*"+j[K.XRANGEPLAINLOOSE]+"$";tok("COERCE");j[K.COERCE]="(^|[^\\d])"+"(\\d{1,"+D+"})"+"(?:\\.(\\d{1,"+D+"}))?"+"(?:\\.(\\d{1,"+D+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");U[K.COERCERTL]=new RegExp(j[K.COERCE],"g");V[K.COERCERTL]=new RegExp(makeSafeRe(j[K.COERCE]),"g");tok("LONETILDE");j[K.LONETILDE]="(?:~>?)";tok("TILDETRIM");j[K.TILDETRIM]="(\\s*)"+j[K.LONETILDE]+"\\s+";U[K.TILDETRIM]=new RegExp(j[K.TILDETRIM],"g");V[K.TILDETRIM]=new RegExp(makeSafeRe(j[K.TILDETRIM]),"g");var ne="$1~";tok("TILDE");j[K.TILDE]="^"+j[K.LONETILDE]+j[K.XRANGEPLAIN]+"$";tok("TILDELOOSE");j[K.TILDELOOSE]="^"+j[K.LONETILDE]+j[K.XRANGEPLAINLOOSE]+"$";tok("LONECARET");j[K.LONECARET]="(?:\\^)";tok("CARETTRIM");j[K.CARETTRIM]="(\\s*)"+j[K.LONECARET]+"\\s+";U[K.CARETTRIM]=new RegExp(j[K.CARETTRIM],"g");V[K.CARETTRIM]=new RegExp(makeSafeRe(j[K.CARETTRIM]),"g");var se="$1^";tok("CARET");j[K.CARET]="^"+j[K.LONECARET]+j[K.XRANGEPLAIN]+"$";tok("CARETLOOSE");j[K.CARETLOOSE]="^"+j[K.LONECARET]+j[K.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");j[K.COMPARATORLOOSE]="^"+j[K.GTLT]+"\\s*("+j[K.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");j[K.COMPARATOR]="^"+j[K.GTLT]+"\\s*("+j[K.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");j[K.COMPARATORTRIM]="(\\s*)"+j[K.GTLT]+"\\s*("+j[K.LOOSEPLAIN]+"|"+j[K.XRANGEPLAIN]+")";U[K.COMPARATORTRIM]=new RegExp(j[K.COMPARATORTRIM],"g");V[K.COMPARATORTRIM]=new RegExp(makeSafeRe(j[K.COMPARATORTRIM]),"g");var ie="$1Line truncated
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var i=String.fromCharCode;var d=Math.floor;var fromCodePoint=function(){var p=16384;var y=[];var v;var D;var M=-1;var U=arguments.length;if(!U){return""}var V="";while(++M<U){var j=Number(arguments[M]);if(!isFinite(j)||j<0||j>1114111||d(j)!==j){throw RangeError("Invalid code point: "+j)}if(j<=65535){y.push(j)}else{j-=65536;v=(j>>10)+55296;D=j%1024+56320;y.push(v,D)}if(M+1===U||y.length>p){V+=i.apply(null,y);y.length=0}}return V};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:d)},39318:(i,d)=>{d=i.exports=SemVer;var p;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){p=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{p=function(){}}d.SEMVER_SPEC_VERSION="2.0.0";var y=256;var v=Number.MAX_SAFE_INTEGER||9007199254740991;var D=16;var M=y-6;var U=d.re=[];var V=d.safeRe=[];var j=d.src=[];var K=d.tokens={};var ee=0;function tok(i){K[i]=ee++}var te="[a-zA-Z0-9-]";var re=[["\\s",1],["\\d",y],[te,M]];function makeSafeRe(i){for(var d=0;d<re.length;d++){var p=re[d][0];var y=re[d][1];i=i.split(p+"*").join(p+"{0,"+y+"}").split(p+"+").join(p+"{1,"+y+"}")}return i}tok("NUMERICIDENTIFIER");j[K.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");j[K.NUMERICIDENTIFIERLOOSE]="\\d+";tok("NONNUMERICIDENTIFIER");j[K.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+te+"*";tok("MAINVERSION");j[K.MAINVERSION]="("+j[K.NUMERICIDENTIFIER]+")\\."+"("+j[K.NUMERICIDENTIFIER]+")\\."+"("+j[K.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");j[K.MAINVERSIONLOOSE]="("+j[K.NUMERICIDENTIFIERLOOSE]+")\\."+"("+j[K.NUMERICIDENTIFIERLOOSE]+")\\."+"("+j[K.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");j[K.PRERELEASEIDENTIFIER]="(?:"+j[K.NUMERICIDENTIFIER]+"|"+j[K.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");j[K.PRERELEASEIDENTIFIERLOOSE]="(?:"+j[K.NUMERICIDENTIFIERLOOSE]+"|"+j[K.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");j[K.PRERELEASE]="(?:-("+j[K.PRERELEASEIDENTIFIER]+"(?:\\."+j[K.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");j[K.PRERELEASELOOSE]="(?:-?("+j[K.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+j[K.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");j[K.BUILDIDENTIFIER]=te+"+";tok("BUILD");j[K.BUILD]="(?:\\+("+j[K.BUILDIDENTIFIER]+"(?:\\."+j[K.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");j[K.FULLPLAIN]="v?"+j[K.MAINVERSION]+j[K.PRERELEASE]+"?"+j[K.BUILD]+"?";j[K.FULL]="^"+j[K.FULLPLAIN]+"$";tok("LOOSEPLAIN");j[K.LOOSEPLAIN]="[v=\\s]*"+j[K.MAINVERSIONLOOSE]+j[K.PRERELEASELOOSE]+"?"+j[K.BUILD]+"?";tok("LOOSE");j[K.LOOSE]="^"+j[K.LOOSEPLAIN]+"$";tok("GTLT");j[K.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");j[K.XRANGEIDENTIFIERLOOSE]=j[K.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");j[K.XRANGEIDENTIFIER]=j[K.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");j[K.XRANGEPLAIN]="[v=\\s]*("+j[K.XRANGEIDENTIFIER]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIER]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIER]+")"+"(?:"+j[K.PRERELEASE]+")?"+j[K.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");j[K.XRANGEPLAINLOOSE]="[v=\\s]*("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+j[K.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+j[K.PRERELEASELOOSE]+")?"+j[K.BUILD]+"?"+")?)?";tok("XRANGE");j[K.XRANGE]="^"+j[K.GTLT]+"\\s*"+j[K.XRANGEPLAIN]+"$";tok("XRANGELOOSE");j[K.XRANGELOOSE]="^"+j[K.GTLT]+"\\s*"+j[K.XRANGEPLAINLOOSE]+"$";tok("COERCE");j[K.COERCE]="(^|[^\\d])"+"(\\d{1,"+D+"})"+"(?:\\.(\\d{1,"+D+"}))?"+"(?:\\.(\\d{1,"+D+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");U[K.COERCERTL]=new RegExp(j[K.COERCE],"g");V[K.COERCERTL]=new RegExp(makeSafeRe(j[K.COERCE]),"g");tok("LONETILDE");j[K.LONETILDE]="(?:~>?)";tok("TILDETRIM");j[K.TILDETRIM]="(\\s*)"+j[K.LONETILDE]+"\\s+";U[K.TILDETRIM]=new RegExp(j[K.TILDETRIM],"g");V[K.TILDETRIM]=new RegExp(makeSafeRe(j[K.TILDETRIM]),"g");var ne="$1~";tok("TILDE");j[K.TILDE]="^"+j[K.LONETILDE]+j[K.XRANGEPLAIN]+"$";tok("TILDELOOSE");j[K.TILDELOOSE]="^"+j[K.LONETILDE]+j[K.XRANGEPLAINLOOSE]+"$";tok("LONECARET");j[K.LONECARET]="(?:\\^)";tok("CARETTRIM");j[K.CARETTRIM]="(\\s*)"+j[K.LONECARET]+"\\s+";U[K.CARETTRIM]=new RegExp(j[K.CARETTRIM],"g");V[K.CARETTRIM]=new RegExp(makeSafeRe(j[K.CARETTRIM]),"g");var se="$1^";tok("CARET");j[K.CARET]="^"+j[K.LONECARET]+j[K.XRANGEPLAIN]+"$";tok("CARETLOOSE");j[K.CARETLOOSE]="^"+j[K.LONECARET]+j[K.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");j[K.COMPARATORLOOSE]="^"+j[K.GTLT]+"\\s*("+j[K.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");j[K.COMPARATOR]="^"+j[K.GTLT]+"\\s*("+j[K.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");j[K.COMPARATORTRIM]="(\\s*)"+j[K.GTLT]+"\\s*("+j[K.LOOSEPLAIN]+"|"+j[K.XRANGEPLAIN]+")";U[K.COMPARATORTRIM]=new RegExp(j[K.COMPARATORTRIM],"g");V[K.COMPARATORTRIM]=new RegExp(makeSafeRe(j[K.COMPARATORTRIM]),"g");var ie="$1Line truncated
|
||||||
/*!
|
/*!
|
||||||
* Tmp
|
* Tmp
|
||||||
*
|
*
|
||||||
@@ -93,9 +93,9 @@ i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected pa
|
|||||||
*
|
*
|
||||||
* MIT Licensed
|
* MIT Licensed
|
||||||
*/
|
*/
|
||||||
const y=p(57147);const v=p(22037);const D=p(71017);const M=p(6113);const U={fs:y.constants,os:v.constants};const V="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",j=/XXXXXX/,K=3,ee=(U.O_CREAT||U.fs.O_CREAT)|(U.O_EXCL||U.fs.O_EXCL)|(U.O_RDWR||U.fs.O_RDWR),te=v.platform()==="win32",re=U.EBADF||U.os.errno.EBADF,ne=U.ENOENT||U.os.errno.ENOENT,se=448,ie=384,oe="exit",ae=[],Ae=y.rmdirSync.bind(y);let ce=false;function rimraf(i,d){return y.rm(i,{recursive:true},d)}function FN_RIMRAF_SYNC(i){return y.rmSync(i,{recursive:true})}function tmpName(i,d){const p=_parseArguments(i,d),v=p[0],D=p[1];try{_assertAndSanitizeOptions(v)}catch(i){return D(i)}let M=v.tries;(function _getUniqueName(){try{const i=_generateTmpName(v);y.stat(i,(function(d){if(!d){if(M-- >0)return _getUniqueName();return D(new Error("Could not get a unique tmp filename, max tries reached "+i))}D(null,i)}))}catch(i){D(i)}})()}function tmpNameSync(i){const d=_parseArguments(i),p=d[0];_assertAndSanitizeOptions(p);let v=p.tries;do{const i=_generateTmpName(p);try{y.statSync(i)}catch(d){return i}}while(v-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,d){const p=_parseArguments(i,d),v=p[0],D=p[1];tmpName(v,(function _tmpNameCreated(i,d){if(i)return D(i);y.open(d,ee,v.mode||ie,(function _fileCreated(i,p){if(i)return D(i);if(v.discardDescriptor){return y.close(p,(function _discardCallback(i){return D(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,v,false))}))}else{const i=v.discardDescriptor||v.detachDescriptor;D(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,v,false))}}))}))}function fileSync(i){const d=_parseArguments(i),p=d[0];const v=p.discardDescriptor||p.detachDescriptor;const D=tmpNameSync(p);var M=y.openSync(D,ee,p.mode||ie);if(p.discardDescriptor){y.closeSync(M);M=undefined}return{name:D,fd:M,removeCallback:_prepareTmpFileRemoveCallback(D,v?-1:M,p,true)}}function dir(i,d){const p=_parseArguments(i,d),v=p[0],D=p[1];tmpName(v,(function _tmpNameCreated(i,d){if(i)return D(i);y.mkdir(d,v.mode||se,(function _dirCreated(i){if(i)return D(i);D(null,d,_prepareTmpDirRemoveCallback(d,v,false))}))}))}function dirSync(i){const d=_parseArguments(i),p=d[0];const v=tmpNameSync(p);y.mkdirSync(v,p.mode||se);return{name:v,removeCallback:_prepareTmpDirRemoveCallback(v,p,true)}}function _removeFileAsync(i,d){const _handler=function(i){if(i&&!_isENOENT(i)){return d(i)}d()};if(0<=i[0])y.close(i[0],(function(){y.unlink(i[1],_handler)}));else y.unlink(i[1],_handler)}function _removeFileSync(i){let d=null;try{if(0<=i[0])y.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{y.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throw d}}function _prepareTmpFileRemoveCallback(i,d,p,y){const v=_prepareRemoveCallback(_removeFileSync,[d,i],y);const D=_prepareRemoveCallback(_removeFileAsync,[d,i],y,v);if(!p.keep)ae.unshift(v);return y?v:D}function _prepareTmpDirRemoveCallback(i,d,p){const v=d.unsafeCleanup?rimraf:y.rmdir.bind(y);const D=d.unsafeCleanup?FN_RIMRAF_SYNC:Ae;const M=_prepareRemoveCallback(D,i,p);const U=_prepareRemoveCallback(v,i,p,M);if(!d.keep)ae.unshift(M);return p?M:U}function _prepareRemoveCallback(i,d,p,y){let v=false;return function _cleanupCallback(D){if(!v){const M=y||_cleanupCallback;const U=ae.indexOf(M);if(U>=0)ae.splice(U,1);v=true;if(p||i===Ae||i===FN_RIMRAF_SYNC){return i(d)}else{return i(d,D||function(){})}}}}function _garbageCollector(){if(!ce)return;while(ae.length){try{ae[0]()}catch(i){}}}function _randomChars(i){let d=[],p=null;try{p=M.randomBytes(i)}catch(d){p=M.pseudoRandomBytes(i)}for(var y=0;y<i;y++){d.push(V[p[y]%V.length])}return d.join("")}function _isBlank(i){return i===null||_isUndefined(i)||!i.trim()}function _isUndefined(i){return typeof i==="undefined"}function _parseArguments(i,d){if(typeof i==="function"){return[{},i]}if(_isUndefined(i)){return[{},d]}const p={};for(const d of Object.getOwnPropertyNames(i)){p[d]=i[d]}return[p,d]}function _generateTmpName(i){const d=i.tmpdir;if(!_isUndefined(i.name))return D.join(d,i.dir,i.name);if(!_isUndefined(i.template))return D.join(d,i.dir,i.template).replace(j,_randomChars(6));const p=[i.prefix?i.prefix:"tmp","-",process.pid,"-",_randomChars(12),i.postfix?"-"+i.postfix:""].join("");return D.join(d,i.dir,p)}function _assertAndSanitizeOptions(i){i.tmpdir=_getTmpDir(i);const d=i.tmpdir;if(!_isUndefined(i.name))_assertIsRelative(i.name,"name",d);if(!_isUndefined(i.dir))_assertIsRelative(i.dir,"dir",d);if(!_isUndefined(i.template)){_assertIsRelative(i.template,"template",d);if(!i.template.match(j))throw new Error(`Invalid template, found "${i.template}".`)}if(!_isUndefined(i.tries)&&isNaN(i.tries)||i.tries<0)throw new Error(`Invalid tries, found "${i.tries}".`);i.tries=_isUndefined(i.name)?i.tries||K:1;i.keep=!!i.keep;i.detachDescriptor=!!i.detachDescriptor;i.discardDescriptor=!!i.discardDescriptor;i.unsafeCleanup=!!i.unsafeCleanup;i.dir=_isUndefined(i.dir)?"":D.relative(d,_resolvePath(i.dir,d));i.templateLine truncated
|
const y=p(79896);const v=p(70857);const D=p(16928);const M=p(76982);const U={fs:y.constants,os:v.constants};const V="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",j=/XXXXXX/,K=3,ee=(U.O_CREAT||U.fs.O_CREAT)|(U.O_EXCL||U.fs.O_EXCL)|(U.O_RDWR||U.fs.O_RDWR),te=v.platform()==="win32",re=U.EBADF||U.os.errno.EBADF,ne=U.ENOENT||U.os.errno.ENOENT,se=448,ie=384,oe="exit",ae=[],Ae=y.rmdirSync.bind(y);let ce=false;function rimraf(i,d){return y.rm(i,{recursive:true},d)}function FN_RIMRAF_SYNC(i){return y.rmSync(i,{recursive:true})}function tmpName(i,d){const p=_parseArguments(i,d),v=p[0],D=p[1];try{_assertAndSanitizeOptions(v)}catch(i){return D(i)}let M=v.tries;(function _getUniqueName(){try{const i=_generateTmpName(v);y.stat(i,(function(d){if(!d){if(M-- >0)return _getUniqueName();return D(new Error("Could not get a unique tmp filename, max tries reached "+i))}D(null,i)}))}catch(i){D(i)}})()}function tmpNameSync(i){const d=_parseArguments(i),p=d[0];_assertAndSanitizeOptions(p);let v=p.tries;do{const i=_generateTmpName(p);try{y.statSync(i)}catch(d){return i}}while(v-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,d){const p=_parseArguments(i,d),v=p[0],D=p[1];tmpName(v,(function _tmpNameCreated(i,d){if(i)return D(i);y.open(d,ee,v.mode||ie,(function _fileCreated(i,p){if(i)return D(i);if(v.discardDescriptor){return y.close(p,(function _discardCallback(i){return D(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,v,false))}))}else{const i=v.discardDescriptor||v.detachDescriptor;D(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,v,false))}}))}))}function fileSync(i){const d=_parseArguments(i),p=d[0];const v=p.discardDescriptor||p.detachDescriptor;const D=tmpNameSync(p);var M=y.openSync(D,ee,p.mode||ie);if(p.discardDescriptor){y.closeSync(M);M=undefined}return{name:D,fd:M,removeCallback:_prepareTmpFileRemoveCallback(D,v?-1:M,p,true)}}function dir(i,d){const p=_parseArguments(i,d),v=p[0],D=p[1];tmpName(v,(function _tmpNameCreated(i,d){if(i)return D(i);y.mkdir(d,v.mode||se,(function _dirCreated(i){if(i)return D(i);D(null,d,_prepareTmpDirRemoveCallback(d,v,false))}))}))}function dirSync(i){const d=_parseArguments(i),p=d[0];const v=tmpNameSync(p);y.mkdirSync(v,p.mode||se);return{name:v,removeCallback:_prepareTmpDirRemoveCallback(v,p,true)}}function _removeFileAsync(i,d){const _handler=function(i){if(i&&!_isENOENT(i)){return d(i)}d()};if(0<=i[0])y.close(i[0],(function(){y.unlink(i[1],_handler)}));else y.unlink(i[1],_handler)}function _removeFileSync(i){let d=null;try{if(0<=i[0])y.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{y.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throw d}}function _prepareTmpFileRemoveCallback(i,d,p,y){const v=_prepareRemoveCallback(_removeFileSync,[d,i],y);const D=_prepareRemoveCallback(_removeFileAsync,[d,i],y,v);if(!p.keep)ae.unshift(v);return y?v:D}function _prepareTmpDirRemoveCallback(i,d,p){const v=d.unsafeCleanup?rimraf:y.rmdir.bind(y);const D=d.unsafeCleanup?FN_RIMRAF_SYNC:Ae;const M=_prepareRemoveCallback(D,i,p);const U=_prepareRemoveCallback(v,i,p,M);if(!d.keep)ae.unshift(M);return p?M:U}function _prepareRemoveCallback(i,d,p,y){let v=false;return function _cleanupCallback(D){if(!v){const M=y||_cleanupCallback;const U=ae.indexOf(M);if(U>=0)ae.splice(U,1);v=true;if(p||i===Ae||i===FN_RIMRAF_SYNC){return i(d)}else{return i(d,D||function(){})}}}}function _garbageCollector(){if(!ce)return;while(ae.length){try{ae[0]()}catch(i){}}}function _randomChars(i){let d=[],p=null;try{p=M.randomBytes(i)}catch(d){p=M.pseudoRandomBytes(i)}for(var y=0;y<i;y++){d.push(V[p[y]%V.length])}return d.join("")}function _isBlank(i){return i===null||_isUndefined(i)||!i.trim()}function _isUndefined(i){return typeof i==="undefined"}function _parseArguments(i,d){if(typeof i==="function"){return[{},i]}if(_isUndefined(i)){return[{},d]}const p={};for(const d of Object.getOwnPropertyNames(i)){p[d]=i[d]}return[p,d]}function _generateTmpName(i){const d=i.tmpdir;if(!_isUndefined(i.name))return D.join(d,i.dir,i.name);if(!_isUndefined(i.template))return D.join(d,i.dir,i.template).replace(j,_randomChars(6));const p=[i.prefix?i.prefix:"tmp","-",process.pid,"-",_randomChars(12),i.postfix?"-"+i.postfix:""].join("");return D.join(d,i.dir,p)}function _assertAndSanitizeOptions(i){i.tmpdir=_getTmpDir(i);const d=i.tmpdir;if(!_isUndefined(i.name))_assertIsRelative(i.name,"name",d);if(!_isUndefined(i.dir))_assertIsRelative(i.dir,"dir",d);if(!_isUndefined(i.template)){_assertIsRelative(i.template,"template",d);if(!i.template.match(j))throw new Error(`Invalid template, found "${i.template}".`)}if(!_isUndefined(i.tries)&&isNaN(i.tries)||i.tries<0)throw new Error(`Invalid tries, found "${i.tries}".`);i.tries=_isUndefined(i.name)?i.tries||K:1;i.keep=!!i.keep;i.detachDescriptor=!!i.detachDescriptor;i.discardDescriptor=!!i.discardDescriptor;i.unsafeCleanup=!!i.unsafeCleanup;i.dir=_isUndefined(i.dir)?"":D.relative(d,_resolvePath(i.dir,d));i.templatLine truncated
|
||||||
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const y=[];const v=new Uint8Array([13,10]);ee=0;let D=false;for(const[d,M]of i){if(typeof M==="string"){const i=fe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{const i=fe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeof M.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}const M=fe.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=async function*(){for(const i of y){if(i.stream){yield*i.stream()}else{yield i}}};te="multipart/form-data; boundary="+d}else if(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}y=i instanceof he?i:D(i)}if(typeof K==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){let d;y=new he({async start(){d=j(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:v}=await d.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const re={stream:y,source:K,length:ee};return[re,te]}function safelyExtractBody(i,d=false){if(!he){he=p(35356).ReadableStream}if(i instanceof he){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const y=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(le(i)){yield i}else{const d=i.stream;if(v.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[ae]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ne("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ge(d)}return new ie([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){re.brandCheck(this,i);throwIfAborted(this[te]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ee;let p;try{p=new y({headers:i,preservePath:true})}catch(i){throw new ne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{const M=[];if(v==="base64"||v.toLowerCase()==="base64"){let v="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");const d=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,new me(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,new me(M,y,{type:D}))}))}}));const v=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[te].body))p.write(i);p.end();await v;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[te].body)){if(!le(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ee;for(const[p,y]of i){d.append(p,y)}return d}else{await Promise.resolve();throwIfAborted(this[te]);throw re.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){throw new TypeError("Body is unusable")}const y=j();const errorSteps=i=>y.reject(i);const successSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(new Uint8Array);return y.promise}await K(i[te].body,successSteps,errorSteps);return y.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||v.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ee.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){Line truncated
|
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const y=[];const v=new Uint8Array([13,10]);ee=0;let D=false;for(const[d,M]of i){if(typeof M==="string"){const i=fe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(M)}\r\n`);y.push(i);ee+=i.byteLength}else{const i=fe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(M.name?`; filename="${escape(M.name)}"`:"")+"\r\n"+`Content-Type: ${M.type||"application/octet-stream"}\r\n\r\n`);y.push(i,M,v);if(typeof M.size==="number"){ee+=i.byteLength+M.size+v.byteLength}else{D=true}}}const M=fe.encode(`--${d}--`);y.push(M);ee+=M.byteLength;if(D){ee=null}K=i;j=async function*(){for(const i of y){if(i.stream){yield*i.stream()}else{yield i}}};te="multipart/form-data; boundary="+d}else if(M(i)){K=i;ee=i.size;if(i.type){te=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}y=i instanceof he?i:D(i)}if(typeof K==="string"||v.isBuffer(K)){ee=Buffer.byteLength(K)}if(j!=null){let d;y=new he({async start(){d=j(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:v}=await d.next();if(v){queueMicrotask((()=>{i.close()}))}else{if(!ce(y)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const re={stream:y,source:K,length:ee};return[re,te]}function safelyExtractBody(i,d=false){if(!he){he=p(63774).ReadableStream}if(i instanceof he){Ae(!v.isDisturbed(i),"The body has already been consumed.");Ae(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const y=se(p,{transfer:[p]});const[,v]=y.tee();i.stream=d;return{stream:v,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(le(i)){yield i}else{const d=i.stream;if(v.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[ae]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ne("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ge(d)}return new ie([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){re.brandCheck(this,i);throwIfAborted(this[te]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ee;let p;try{p=new y({headers:i,preservePath:true})}catch(i){throw new ne(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,y,v,D)=>{const M=[];if(v==="base64"||v.toLowerCase()==="base64"){let v="";p.on("data",(i=>{v+=i.toString().replace(/[\r\n]/gm,"");const d=v.length-v.length%4;M.push(Buffer.from(v.slice(0,d),"base64"));v=v.slice(d)}));p.on("end",(()=>{M.push(Buffer.from(v,"base64"));d.append(i,new me(M,y,{type:D}))}))}else{p.on("data",(i=>{M.push(i)}));p.on("end",(()=>{d.append(i,new me(M,y,{type:D}))}))}}));const v=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[te].body))p.write(i);p.end();await v;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[te].body)){if(!le(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ee;for(const[p,y]of i){d.append(p,y)}return d}else{await Promise.resolve();throwIfAborted(this[te]);throw re.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){re.brandCheck(i,p);throwIfAborted(i[te]);if(bodyUnusable(i[te].body)){throw new TypeError("Body is unusable")}const y=j();const errorSteps=i=>y.reject(i);const successSteps=i=>{try{y.resolve(d(i))}catch(i){errorSteps(i)}};if(i[te].body==null){successSteps(new Uint8Array);return y.promise}await K(i[te].body,successSteps,errorSteps);return y.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||v.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ee.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){Line truncated
|
||||||
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}else if(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(let i=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}return D}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},11688:(i,d,p)=>{"use strict";const{Writable:y}=p(12781);const v=p(67643);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(19188);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(37578);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(25515);const{WebsocketFrameSend:ie}=p(25444);const oe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");class ByteParser extends y{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){return i()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}else if(p===126){this.#A=D.PAYLOADLENGTH_16}else if(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const d=new ie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}else if(this.#c.opcode===M.PING){const d=this.consume(p);if(!this.ws[te]){const i=new ie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===M.PONG){const d=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}else if(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){return i()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}else if(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}const y=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}else if(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){const i=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return V}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const y=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}else if(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){return null}return{code:p}}let y=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){return null}try{y=new TextDecoder("utf-8",{fatal:true}).decode(y)}catch{return null}return{code:p,reason:y}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},37578:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},25515:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(37578);const{states:V,opcodes:j}=p(19188);const{MessageEvent:K,ErrorEvent:ee}=p(52611);function isEstablished(i){return i[y]===V.OPEN}function isClosing(i){return i[y]===V.CLOSING}function isClosed(i){return i[y]===V.CLOSED}function fireEvent(i,d,p=Event,y){const v=new p(i,y);d.dispatchEvent(v)}function websocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}let v;if(d===j.TEXT){try{v=new TexLine truncated
|
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */D[v-4]=this.maskKey[0];D[v-3]=this.maskKey[1];D[v-2]=this.maskKey[2];D[v-1]=this.maskKey[3];D[1]=p;if(p===126){D.writeUInt16BE(d,2)}else if(p===127){D[2]=D[3]=0;D.writeUIntBE(d,4,6)}D[1]|=128;for(let i=0;i<d;i++){D[v+i]=this.frameData[i]^this.maskKey[i%4]}return D}}i.exports={WebsocketFrameSend:WebsocketFrameSend}},43171:(i,d,p)=>{"use strict";const{Writable:y}=p(2203);const v=p(31637);const{parserStates:D,opcodes:M,states:U,emptyBuffer:V}=p(45913);const{kReadyState:j,kSentClose:K,kResponse:ee,kReceivedClose:te}=p(62933);const{isValidStatusCode:re,failWebsocketConnection:ne,websocketMessageReceived:se}=p(3574);const{WebsocketFrameSend:ie}=p(31237);const oe={};oe.ping=v.channel("undici:websocket:ping");oe.pong=v.channel("undici:websocket:pong");class ByteParser extends y{#o=[];#a=0;#A=D.INFO;#c={};#l=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#o.push(i);this.#a+=i.length;this.run(p)}run(i){while(true){if(this.#A===D.INFO){if(this.#a<2){return i()}const d=this.consume(2);this.#c.fin=(d[0]&128)!==0;this.#c.opcode=d[0]&15;this.#c.originalOpcode??=this.#c.opcode;this.#c.fragmented=!this.#c.fin&&this.#c.opcode!==M.CONTINUATION;if(this.#c.fragmented&&this.#c.opcode!==M.BINARY&&this.#c.opcode!==M.TEXT){ne(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#c.payloadLength=p;this.#A=D.READ_DATA}else if(p===126){this.#A=D.PAYLOADLENGTH_16}else if(p===127){this.#A=D.PAYLOADLENGTH_64}if(this.#c.fragmented&&p>125){ne(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#c.opcode===M.PING||this.#c.opcode===M.PONG||this.#c.opcode===M.CLOSE)&&p>125){ne(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#c.opcode===M.CLOSE){if(p===1){ne(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#c.closeInfo=this.parseCloseBody(false,i);if(!this.ws[K]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#c.closeInfo.code,0);const d=new ie(i);this.ws[ee].socket.write(d.createFrame(M.CLOSE),(i=>{if(!i){this.ws[K]=true}}))}this.ws[j]=U.CLOSING;this.ws[te]=true;this.end();return}else if(this.#c.opcode===M.PING){const d=this.consume(p);if(!this.ws[te]){const i=new ie(d);this.ws[ee].socket.write(i.createFrame(M.PONG));if(oe.ping.hasSubscribers){oe.ping.publish({payload:d})}}this.#A=D.INFO;if(this.#a>0){continue}else{i();return}}else if(this.#c.opcode===M.PONG){const d=this.consume(p);if(oe.pong.hasSubscribers){oe.pong.publish({payload:d})}if(this.#a>0){continue}else{i();return}}}else if(this.#A===D.PAYLOADLENGTH_16){if(this.#a<2){return i()}const d=this.consume(2);this.#c.payloadLength=d.readUInt16BE(0);this.#A=D.READ_DATA}else if(this.#A===D.PAYLOADLENGTH_64){if(this.#a<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ne(this.ws,"Received payload length > 2^31 bytes.");return}const y=d.readUInt32BE(4);this.#c.payloadLength=(p<<8)+y;this.#A=D.READ_DATA}else if(this.#A===D.READ_DATA){if(this.#a<this.#c.payloadLength){return i()}else if(this.#a>=this.#c.payloadLength){const i=this.consume(this.#c.payloadLength);this.#l.push(i);if(!this.#c.fragmented||this.#c.fin&&this.#c.opcode===M.CONTINUATION){const i=Buffer.concat(this.#l);se(this.ws,this.#c.originalOpcode,i);this.#c={};this.#l.length=0}this.#A=D.INFO}}if(this.#a>0){continue}else{i();break}}}consume(i){if(i>this.#a){return null}else if(i===0){return V}if(this.#o[0].length===i){this.#a-=this.#o[0].length;return this.#o.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const y=this.#o[0];const{length:v}=y;if(v+p===i){d.set(this.#o.shift(),p);break}else if(v+p>i){d.set(y.subarray(0,i-p),p);this.#o[0]=y.subarray(i-p);break}else{d.set(this.#o.shift(),p);p+=y.length}}this.#a-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!re(p)){return null}return{code:p}}let y=d.subarray(2);if(y[0]===239&&y[1]===187&&y[2]===191){y=y.subarray(3)}if(p!==undefined&&!re(p)){return null}try{y=new TextDecoder("utf-8",{fatal:true}).decode(y)}catch{return null}return{code:p,reason:y}}get closingInfo(){return this.#c.closeInfo}}i.exports={ByteParser:ByteParser}},62933:i=>{"use strict";i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(i,d,p)=>{"use strict";const{kReadyState:y,kController:v,kResponse:D,kBinaryType:M,kWebSocketURL:U}=p(62933);const{states:V,opcodes:j}=p(45913);const{MessageEvent:K,ErrorEvent:ee}=p(46255);function isEstablished(i){return i[y]===V.OPEN}function isClosing(i){return i[y]===V.CLOSING}function isClosed(i){return i[y]===V.CLOSED}function fireEvent(i,d,p=Event,y){const v=new p(i,y);d.dispatchEvent(v)}function websocketMessageReceived(i,d,p){if(i[y]!==V.OPEN){return}let v;if(d===j.TEXT){try{v=new TextDeLine truncated
|
||||||
/**
|
/**
|
||||||
* ZipStream
|
* ZipStream
|
||||||
*
|
*
|
||||||
@@ -103,5 +103,5 @@ const y=p(57147);const v=p(22037);const D=p(71017);const M=p(6113);const U={fs:y
|
|||||||
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
|
* @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE}
|
||||||
* @copyright (c) 2014 Chris Talkington, contributors.
|
* @copyright (c) 2014 Chris Talkington, contributors.
|
||||||
*/
|
*/
|
||||||
var y=p(73837).inherits;var v=p(25445).ZipArchiveOutputStream;var D=p(25445).ZipArchiveEntry;var M=p(82072);var U=i.exports=function(i){if(!(this instanceof U)){return new U(i)}i=this.options=i||{};i.zlib=i.zlib||{};v.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};y(U,v);U.prototype._normalizeFileData=function(i){i=M.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=i.type==="directory";var p=i.type==="symlink";if(i.name){i.name=M.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(d||p){i.store=true}i.date=M.dateify(i.date);return i};U.prototype.entry=function(i,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var y=new D(d.name);y.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){y.setName(d.name,true)}if(d.store){y.setMethod(0)}if(d.comment.length>0){y.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}y.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){i=Buffer.from(d.linkname)}return v.prototype.entry.call(this,y,i,p)};U.prototype.finalize=function(){this.finish()}},36949:function(i,d,p){"use strict";var y=this&&this.__createBinding||(Object.create?function(i,d,p,y){if(y===undefined)y=p;var v=Object.getOwnPropertyDescriptor(d,p);if(!v||("get"in v?!d.__esModule:v.writable||v.configurable)){v={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,y,v)}:function(i,d,p,y){if(y===undefined)y=p;i[y]=d[p]});var v=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var D=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))y(d,i,p);v(d,i);return d};var M=this&&this.__awaiter||function(i,d,p,y){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,v){function fulfilled(i){try{step(y.next(i))}catch(i){v(i)}}function rejected(i){try{step(y["throw"](i))}catch(i){v(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((y=y.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getRegistriesData=d.getAccountIDs=d.getRegion=d.isPubECR=d.isECR=void 0;const U=D(p(42186));const V=p(8923);const j=p(42308);const K=p(20258);const ee=p(23764);const te=p(77219);const re=/^(([0-9]{12})\.(dkr\.ecr|dkr-ecr)\.(.+)\.(on\.aws|amazonaws\.com(.cn)?))(\/([^:]+)(:.+)?)?$/;const ne=/public\.ecr\.aws|ecr-public\.aws\.com/;const isECR=i=>re.test(i)||(0,d.isPubECR)(i);d.isECR=isECR;const isPubECR=i=>ne.test(i);d.isPubECR=isPubECR;const getRegion=i=>{if((0,d.isPubECR)(i)){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}const p=i.match(re);if(!p){return""}return p[4]};d.getRegion=getRegion;const getAccountIDs=i=>{if((0,d.isPubECR)(i)){return[]}const p=i.match(re);if(!p){return[]}const y=[p[2]];if(process.env.AWS_ACCOUNT_IDS){y.push(...process.env.AWS_ACCOUNT_IDS.split(","))}return y.filter(((i,d)=>y.indexOf(i)===d))};d.getAccountIDs=getAccountIDs;const getRegistriesData=(i,p,y)=>M(void 0,void 0,void 0,(function*(){const v=(0,d.getRegion)(i);const D=(0,d.getAccountIDs)(i);const M={};if(D.length>0){U.debug(`Requesting AWS ECR auth token for ${D.join(", ")}`);M["registryIds"]=D}let re;const ne=process.env.http_proxy||process.env.HTTP_PROXY||"";if(ne){U.debug(`Using http proxy ${ne}`);re=new ee.HttpProxyAgent(ne)}let se;const ie=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(ie){U.debug(`Using https proxy ${ie}`);se=new te.HttpsProxyAgent(ie)}const oe=p&&y?{accessKeyId:p,secretAccessKey:y}:undefined;if((0,d.isPubECR)(i)){U.info(`AWS Public ECR detected with ${v} region`);const i=new j.ECRPUBLIC({customUserAgent:"docker-login-action",credentials:oe,region:v,requestHandler:new K.NodeHttpHandler({httpAgent:re,httpsAgent:se})});const d=yield i.getAuthorizationToken(M);if(!d.authorizationData||!d.authorizationData.authorizationToken){throw new Error("Could not retrieve an authorization token from AWS Public ECR")}const p=Buffer.from(dLine truncated
|
var y=p(39023).inherits;var v=p(47544).ZipArchiveOutputStream;var D=p(47544).ZipArchiveEntry;var M=p(53296);var U=i.exports=function(i){if(!(this instanceof U)){return new U(i)}i=this.options=i||{};i.zlib=i.zlib||{};v.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};y(U,v);U.prototype._normalizeFileData=function(i){i=M.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=i.type==="directory";var p=i.type==="symlink";if(i.name){i.name=M.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(d||p){i.store=true}i.date=M.dateify(i.date);return i};U.prototype.entry=function(i,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var y=new D(d.name);y.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){y.setName(d.name,true)}if(d.store){y.setMethod(0)}if(d.comment.length>0){y.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}y.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){i=Buffer.from(d.linkname)}return v.prototype.entry.call(this,y,i,p)};U.prototype.finalize=function(){this.finish()}},94258:function(i,d,p){"use strict";var y=this&&this.__createBinding||(Object.create?function(i,d,p,y){if(y===undefined)y=p;var v=Object.getOwnPropertyDescriptor(d,p);if(!v||("get"in v?!d.__esModule:v.writable||v.configurable)){v={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,y,v)}:function(i,d,p,y){if(y===undefined)y=p;i[y]=d[p]});var v=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var D=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),D=0;D<p.length;D++)if(p[D]!=="default")y(d,i,p[D]);v(d,i);return d}}();var M=this&&this.__awaiter||function(i,d,p,y){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,v){function fulfilled(i){try{step(y.next(i))}catch(i){v(i)}}function rejected(i){try{step(y["throw"](i))}catch(i){v(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((y=y.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getRegistriesData=d.getAccountIDs=d.getRegion=d.isPubECR=d.isECR=void 0;const U=D(p(37484));const V=p(28249);const j=p(29821);const K=p(61279);const ee=p(81970);const te=p(3669);const re=/^(([0-9]{12})\.(dkr\.ecr|dkr-ecr)\.(.+)\.(on\.aws|amazonaws\.com(.cn)?))(\/([^:]+)(:.+)?)?$/;const ne=/public\.ecr\.aws|ecr-public\.aws\.com/;const isECR=i=>re.test(i)||(0,d.isPubECR)(i);d.isECR=isECR;const isPubECR=i=>ne.test(i);d.isPubECR=isPubECR;const getRegion=i=>{if((0,d.isPubECR)(i)){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}const p=i.match(re);if(!p){return""}return p[4]};d.getRegion=getRegion;const getAccountIDs=i=>{if((0,d.isPubECR)(i)){return[]}const p=i.match(re);if(!p){return[]}const y=[p[2]];if(process.env.AWS_ACCOUNT_IDS){y.push(...process.env.AWS_ACCOUNT_IDS.split(","))}return y.filter(((i,d)=>y.indexOf(i)===d))};d.getAccountIDs=getAccountIDs;const getRegistriesData=(i,p,y)=>M(void 0,void 0,void 0,(function*(){const v=(0,d.getRegion)(i);const D=(0,d.getAccountIDs)(i);const M={};if(D.length>0){U.debug(`Requesting AWS ECR auth token for ${D.join(", ")}`);M["registryIds"]=D}let re;const ne=process.env.http_proxy||process.env.HTTP_PROXY||"";if(ne){U.debug(`Using http proxy ${ne}`);re=new ee.HttpProxyAgent(ne)}let se;const ie=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(ie){U.debug(`Using https proxy ${ie}`);se=new te.HttpsProxyAgent(ie)}const oe=p&&y?{accessKeyId:p,secretAccessKey:y}:undefined;if((0,d.isPubECR)(i)){U.info(`AWS Public ECR detected with ${v} region`);const i=new j.ECRPUBLIC({customUserAgent:"docker-login-action",credentials:oe,region:v,requestHandler:new K.NodeHttpHandler({httpAgent:re,httpsAgent:se})});const d=yield i.Line truncated
|
||||||
//# sourceMappingURL=index.js.map
|
//# sourceMappingURL=index.js.map
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","client_1","__webpack_require__","client","DefaultArtifactClient","Timestamp","runtime_1","runtime_2","runtime_3","runtime_4","runtime_5","runtime_6","runtime_7","Timestamp$Type","MessageType","constructor","super","no","name","kind","T","now","msg","ms","Date","seconds","PbLong","from","Math","floor","toString","nanos","toDate","message","toNumber","ceil","fromDate","date","getTime","internalJsonWrite","options","parse","Error","z","nanosStr","substring","toISOString","replace","internalJsonRead","json","target","typeofJsonValue","matches","match","Number","isNaN","globalThis","parseInt","repeat","length","MESSAGE_TYPE","reflectionMergePartial","internalBinaryRead","reader","end","pos","fieldNo","wireType","tag","int64","int32","u","readUnknownField","typeName","d","skip","UnknownFieldHandler","onRead","internalBinaryWrite","writer","WireType","Varint","writeUnknownFields","onWrite","BytesValue","StringValue","BoolValue","UInt32Value","Int32Value","UInt64Value","Int64Value","FloatValue","DoubleValue","DoubleValue$Type","refJsonWriter","scalar","refJsonReader","double","Bit64","FloatValue$Type","float","Bit32","Int64Value$Type","ScalarType","INT64","LongType","STRING","UInt64Value$Type","UINT64","uint64","Int32Value$Type","UInt32Value$Type","uint32","BoolValue$Type","bool","StringValue$Type","string","LengthDelimited","BytesValue$Type","Uint8Array","bytes","ArtifactService","DeleteArtifactResponse","DeleteArtifactRequest","GetSignedArtifactURLResponse","GetSignedArtifactURLRequest","ListArtifactsResponse_MonolithArtifact","ListArtifactsResponse","ListArtifactsRequest","FinalizeArtifactResponse","FinalizeArtifactRequest","CreateArtifactResponse","CreateArtifactRequest","FinalizeMigratedArtifactResponse","FinalizeMigratedArtifactRequest","MigrateArtifactResponse","MigrateArtifactRequest","runtime_rpc_1","wrappers_1","wrappers_2","timestamp_1","MigrateArtifactRequest$Type","workflowRunBackendId","expiresAt","fork","join","MigrateArtifactResponse$Type","ok","signedUploadUrl","FinalizeMigratedArtifactRequest$Type","size","FinalizeMigratedArtifactResponse$Type","artifactId","CreateArtifactRequest$Type","workflowJobRunBackendId","version","CreateArtifactResponse$Type","FinalizeArtifactRequest$Type","hash","FinalizeArtifactResponse$Type","ListArtifactsRequest$Type","nameFilter","idFilter","ListArtifactsResponse$Type","artifacts","push","i","ListArtifactsResponse_MonolithArtifact$Type","databaseId","createdAt","digest","GetSignedArtifactURLRequest$Type","GetSignedArtifactURLResponse$Type","signedUrl","DeleteArtifactRequest$Type","DeleteArtifactResponse$Type","ServiceType","I","O","ArtifactServiceClientProtobuf","ArtifactServiceClientJSON","artifact_1","rpc","CreateArtifact","bind","FinalizeArtifact","ListArtifacts","GetSignedArtifactURL","DeleteArtifact","request","data","toJson","useProtoFieldName","emitDefaultValues","promise","then","fromJson","ignoreUnknownFields","toBinary","fromBinary","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__rest","s","t","indexOf","getOwnPropertySymbols","propertyIsEnumerable","core_1","config_1","upload_artifact_1","download_artifact_1","delete_artifact_1","get_artifact_1","list_artifacts_1","errors_1","uploadArtifact","files","rootDirectory","isGhes","GHESNotSupportedError","error","warning","downloadArtifact","findBy","repositoryOwner","repositoryName","token","downloadOptions","downloadArtifactPublic","downloadArtifactInternal","listArtifacts","workflowRunId","listArtifactsPublic","latest","listArtifactsInternal","getArtifact","artifactName","getArtifactPublic","getArtifactInternal","deleteArtifact","deleteArtifactPublic","deleteArtifactInternal","github_1","user_agent_1","retry_options_1","utils_1","plugin_request_log_1","plugin_retry_1","artifact_twirp_client_1","util_1","generated_1","_a","retryOpts","requestOpts","getRetryOptions","defaults","opts","log","userAgent","getUserAgentString","previews","retry","github","getOctokit","requestLog","getArtifactResp","deleteArtifactResp","rest","actions","owner","repo","artifact_id","artifact","id","status","InvalidResponseError","headers","artifactClient","internalArtifactTwirpClient","getBackendIdsFromToken","listReq","listRes","ArtifactNotFoundError","sort","a","b","debug","req","res","info","__setModuleDefault","v","__importStar","mod","__importDefault","default","streamExtractExternal","promises_1","crypto","stream","core","httpClient","unzip_stream_1","scrubQueryParameters","url","parsed","URL","search","exists","path","access","code","streamExtract","directory","retryCount","setTimeout","HttpClient","response","statusCode","statusMessLine truncated
|
{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","client_1","__webpack_require__","client","DefaultArtifactClient","Timestamp","runtime_1","runtime_2","runtime_3","runtime_4","runtime_5","runtime_6","runtime_7","Timestamp$Type","MessageType","constructor","super","no","name","kind","T","now","msg","ms","Date","seconds","PbLong","from","Math","floor","toString","nanos","toDate","message","toNumber","ceil","fromDate","date","getTime","internalJsonWrite","options","parse","Error","z","nanosStr","substring","toISOString","replace","internalJsonRead","json","target","typeofJsonValue","matches","match","Number","isNaN","globalThis","parseInt","repeat","length","MESSAGE_TYPE","reflectionMergePartial","internalBinaryRead","reader","end","pos","fieldNo","wireType","tag","int64","int32","u","readUnknownField","typeName","d","skip","UnknownFieldHandler","onRead","internalBinaryWrite","writer","WireType","Varint","writeUnknownFields","onWrite","BytesValue","StringValue","BoolValue","UInt32Value","Int32Value","UInt64Value","Int64Value","FloatValue","DoubleValue","DoubleValue$Type","refJsonWriter","scalar","refJsonReader","double","Bit64","FloatValue$Type","float","Bit32","Int64Value$Type","ScalarType","INT64","LongType","STRING","UInt64Value$Type","UINT64","uint64","Int32Value$Type","UInt32Value$Type","uint32","BoolValue$Type","bool","StringValue$Type","string","LengthDelimited","BytesValue$Type","Uint8Array","bytes","ArtifactService","DeleteArtifactResponse","DeleteArtifactRequest","GetSignedArtifactURLResponse","GetSignedArtifactURLRequest","ListArtifactsResponse_MonolithArtifact","ListArtifactsResponse","ListArtifactsRequest","FinalizeArtifactResponse","FinalizeArtifactRequest","CreateArtifactResponse","CreateArtifactRequest","FinalizeMigratedArtifactResponse","FinalizeMigratedArtifactRequest","MigrateArtifactResponse","MigrateArtifactRequest","runtime_rpc_1","wrappers_1","wrappers_2","timestamp_1","MigrateArtifactRequest$Type","workflowRunBackendId","expiresAt","fork","join","MigrateArtifactResponse$Type","ok","signedUploadUrl","FinalizeMigratedArtifactRequest$Type","size","FinalizeMigratedArtifactResponse$Type","artifactId","CreateArtifactRequest$Type","workflowJobRunBackendId","version","CreateArtifactResponse$Type","FinalizeArtifactRequest$Type","hash","FinalizeArtifactResponse$Type","ListArtifactsRequest$Type","nameFilter","idFilter","ListArtifactsResponse$Type","artifacts","push","i","ListArtifactsResponse_MonolithArtifact$Type","databaseId","createdAt","digest","GetSignedArtifactURLRequest$Type","GetSignedArtifactURLResponse$Type","signedUrl","DeleteArtifactRequest$Type","DeleteArtifactResponse$Type","ServiceType","I","O","ArtifactServiceClientProtobuf","ArtifactServiceClientJSON","artifact_1","rpc","CreateArtifact","bind","FinalizeArtifact","ListArtifacts","GetSignedArtifactURL","DeleteArtifact","request","data","toJson","useProtoFieldName","emitDefaultValues","promise","then","fromJson","ignoreUnknownFields","toBinary","fromBinary","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__rest","s","t","indexOf","getOwnPropertySymbols","propertyIsEnumerable","core_1","config_1","upload_artifact_1","download_artifact_1","delete_artifact_1","get_artifact_1","list_artifacts_1","errors_1","uploadArtifact","files","rootDirectory","isGhes","GHESNotSupportedError","error","warning","downloadArtifact","findBy","repositoryOwner","repositoryName","token","downloadOptions","downloadArtifactPublic","downloadArtifactInternal","listArtifacts","workflowRunId","listArtifactsPublic","latest","listArtifactsInternal","getArtifact","artifactName","getArtifactPublic","getArtifactInternal","deleteArtifact","deleteArtifactPublic","deleteArtifactInternal","github_1","user_agent_1","retry_options_1","utils_1","plugin_request_log_1","plugin_retry_1","artifact_twirp_client_1","util_1","generated_1","_a","retryOpts","requestOpts","getRetryOptions","defaults","opts","log","userAgent","getUserAgentString","previews","retry","github","getOctokit","requestLog","getArtifactResp","deleteArtifactResp","rest","actions","owner","repo","artifact_id","artifact","id","status","InvalidResponseError","headers","artifactClient","internalArtifactTwirpClient","getBackendIdsFromToken","listReq","listRes","ArtifactNotFoundError","sort","a","b","debug","req","res","info","__setModuleDefault","v","__importStar","mod","__importDefault","default","streamExtractExternal","promises_1","crypto","stream","core","httpClient","unzip_stream_1","scrubQueryParameters","url","parsed","URL","search","exists","path","access","code","streamExtract","directory","retryCount","setTimeout","HttpClient","response","statusCode","statusMessLine truncated
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},274:(e,r,n)=>{var t=n(339);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t<o;t++){n.add(e[t],r)}return n};ArraySet.prototype.size=function ArraySet_size(){return i?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,r){var n=i?e:t.toSetString(e);var a=i?this.has(e):o.call(this._set,n);var u=this._array.length;if(!a||r){this._array.push(e)}if(!a){if(i){this._set.set(e,u)}else{this._set[n]=u}}};ArraySet.prototype.has=function ArraySet_has(e){if(i){return this._set.has(e)}else{var r=t.toSetString(e);return o.call(this._set,r)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(i){var r=this._set.get(e);if(r>=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};r.I=ArraySet},449:(e,r,n)=>{var t=n(190);var o=5;var i=1<<o;var a=i-1;var u=i;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var r=(e&1)===1;var n=e>>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<<l);l+=o}while(c);n.value=fromVLQSigned(s);n.rest=r}},190:(e,r)=>{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e<n.length){return n[e]}throw new TypeError("Must be between 0 and 63: "+e)};r.decode=function(e){var r=65;var n=90;var t=97;var o=122;var i=48;var a=57;var u=43;var s=47;var l=26;var c=52;if(r<=e&&e<=n){return e-r}if(t<=e&&e<=o){return e-t+l}if(i<=e&&e<=a){return e-i+c}if(e==u){return 62}if(e==s){return 63}return-1}},345:(e,r)=>{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n<o.length?n:-1}else{return u}}else{if(u-e>1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},680:(e,r,n)=>{var t=n(339);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},758:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n<t){var o=randomIntInRange(n,t);var i=n-1;swap(e,o,t);var a=e[t];for(var u=n;u<t;u++){if(r(e[u],Line truncated
|
(()=>{var e={296:e=>{var r=Object.prototype.toString;var n=typeof Buffer!=="undefined"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},599:(e,r,n)=>{e=n.nmd(e);var t=n(927).SourceMapConsumer;var o=n(928);var i;try{i=n(896);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(296);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var d=[];var h=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(e){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(e)}}function handlerExec(e){return function(r){for(var n=0;n<e.length;n++){var t=e[n](r);if(t){return t}}return null}}var m=handlerExec(d);d.push((function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,(function(e,r){return r?"":"/"}))}if(e in p){return p[e]}var r="";try{if(!i){var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}else if(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}return p[e]=r}));function supportRelativeURL(e,r){if(!e)return r;var n=o.dirname(e);var t=/^\w+:\/\/[^\/]*/.exec(n);var i=t?t[0]:"";var a=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";return i+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}return i+o.resolve(n.slice(i.length),r)}function retrieveSourceMapURL(e){var r;if(isInBrowser()){try{var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){return t}}catch(e){}}r=m(e);var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var i,a;while(a=o.exec(r))i=a;if(!i)return null;return i[1]}var v=handlerExec(h);h.push((function(e){var r=retrieveSourceMapURL(e);if(!r)return null;var n;if(g.test(r)){var t=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){return null}return{url:r,map:n}}));function mapSourcePosition(e){var r=f[e.source];if(!r){var n=v(e.source);if(n){r=f[e.source]={url:n.url,map:new t(n.map)};if(r.map.sourcesContent){r.map.sources.forEach((function(e,n){var t=r.map.sourcesContent[n];if(t){var o=supportRelativeURL(r.url,e);p[o]=t}}))}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeof r.map.originalPositionFor==="function"){var o=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);return o}}return e}function mapEvalOrigin(e){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){var n=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}return e}function CallSiteToString(){var e;var r="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}else if(u){o+="new "+(i||"<aLine truncated
|
||||||
+11
-11
@@ -35,18 +35,18 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/js-yaml": "^4.0.9",
|
"@types/js-yaml": "^4.0.9",
|
||||||
"@types/node": "^20.12.12",
|
"@types/node": "^20.19.9",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
||||||
"@typescript-eslint/parser": "^7.9.0",
|
"@typescript-eslint/parser": "^7.18.0",
|
||||||
"@vercel/ncc": "^0.38.1",
|
"@vercel/ncc": "^0.38.3",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.1",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.2",
|
||||||
"eslint-plugin-jest": "^28.5.0",
|
"eslint-plugin-jest": "^28.14.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.5.4",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.6.2",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.4.1",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1673,6 +1673,17 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@eslint-community/eslint-utils@npm:^4.7.0":
|
||||||
|
version: 4.9.0
|
||||||
|
resolution: "@eslint-community/eslint-utils@npm:4.9.0"
|
||||||
|
dependencies:
|
||||||
|
eslint-visitor-keys: ^3.4.3
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
|
||||||
|
checksum: ae9b98eea006d1354368804b0116b8b45017a4e47b486d1b9cfa048a8ed3dc69b9b074eb2b2acb14034e6897c24048fd42b6a6816d9dc8bb9daad79db7d478d2
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@eslint-community/regexpp@npm:^4.10.0":
|
"@eslint-community/regexpp@npm:^4.10.0":
|
||||||
version: 4.10.0
|
version: 4.10.0
|
||||||
resolution: "@eslint-community/regexpp@npm:4.10.0"
|
resolution: "@eslint-community/regexpp@npm:4.10.0"
|
||||||
@@ -1704,10 +1715,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@eslint/js@npm:8.57.0":
|
"@eslint/js@npm:8.57.1":
|
||||||
version: 8.57.0
|
version: 8.57.1
|
||||||
resolution: "@eslint/js@npm:8.57.0"
|
resolution: "@eslint/js@npm:8.57.1"
|
||||||
checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb
|
checksum: 2afb77454c06e8316793d2e8e79a0154854d35e6782a1217da274ca60b5044d2c69d6091155234ed0551a1e408f86f09dd4ece02752c59568fa403e60611e880
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -1718,14 +1729,14 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@humanwhocodes/config-array@npm:^0.11.14":
|
"@humanwhocodes/config-array@npm:^0.13.0":
|
||||||
version: 0.11.14
|
version: 0.13.0
|
||||||
resolution: "@humanwhocodes/config-array@npm:0.11.14"
|
resolution: "@humanwhocodes/config-array@npm:0.13.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@humanwhocodes/object-schema": ^2.0.2
|
"@humanwhocodes/object-schema": ^2.0.3
|
||||||
debug: ^4.3.1
|
debug: ^4.3.1
|
||||||
minimatch: ^3.0.5
|
minimatch: ^3.0.5
|
||||||
checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2
|
checksum: eae69ff9134025dd2924f0b430eb324981494be26f0fddd267a33c28711c4db643242cf9fddf7dadb9d16c96b54b2d2c073e60a56477df86e0173149313bd5d6
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -1736,7 +1747,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@humanwhocodes/object-schema@npm:^2.0.2":
|
"@humanwhocodes/object-schema@npm:^2.0.3":
|
||||||
version: 2.0.3
|
version: 2.0.3
|
||||||
resolution: "@humanwhocodes/object-schema@npm:2.0.3"
|
resolution: "@humanwhocodes/object-schema@npm:2.0.3"
|
||||||
checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631
|
checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631
|
||||||
@@ -1926,15 +1937,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@jest/schemas@npm:^29.4.3":
|
|
||||||
version: 29.4.3
|
|
||||||
resolution: "@jest/schemas@npm:29.4.3"
|
|
||||||
dependencies:
|
|
||||||
"@sinclair/typebox": ^0.25.16
|
|
||||||
checksum: ac754e245c19dc39e10ebd41dce09040214c96a4cd8efa143b82148e383e45128f24599195ab4f01433adae4ccfbe2db6574c90db2862ccd8551a86704b5bebd
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@jest/schemas@npm:^29.6.3":
|
"@jest/schemas@npm:^29.6.3":
|
||||||
version: 29.6.3
|
version: 29.6.3
|
||||||
resolution: "@jest/schemas@npm:29.6.3"
|
resolution: "@jest/schemas@npm:29.6.3"
|
||||||
@@ -2002,20 +2004,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@jest/types@npm:^29.5.0":
|
|
||||||
version: 29.5.0
|
|
||||||
resolution: "@jest/types@npm:29.5.0"
|
|
||||||
dependencies:
|
|
||||||
"@jest/schemas": ^29.4.3
|
|
||||||
"@types/istanbul-lib-coverage": ^2.0.0
|
|
||||||
"@types/istanbul-reports": ^3.0.0
|
|
||||||
"@types/node": "*"
|
|
||||||
"@types/yargs": ^17.0.8
|
|
||||||
chalk: ^4.0.0
|
|
||||||
checksum: 1811f94b19cf8a9460a289c4f056796cfc373480e0492692a6125a553cd1a63824bd846d7bb78820b7b6f758f6dd3c2d4558293bb676d541b2fa59c70fdf9d39
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@jest/types@npm:^29.6.3":
|
"@jest/types@npm:^29.6.3":
|
||||||
version: 29.6.3
|
version: 29.6.3
|
||||||
resolution: "@jest/types@npm:29.6.3"
|
resolution: "@jest/types@npm:29.6.3"
|
||||||
@@ -2493,10 +2481,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@pkgr/core@npm:^0.1.0":
|
"@pkgr/core@npm:^0.2.9":
|
||||||
version: 0.1.1
|
version: 0.2.9
|
||||||
resolution: "@pkgr/core@npm:0.1.1"
|
resolution: "@pkgr/core@npm:0.2.9"
|
||||||
checksum: 6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba
|
checksum: bb2fb86977d63f836f8f5b09015d74e6af6488f7a411dcd2bfdca79d76b5a681a9112f41c45bdf88a9069f049718efc6f3900d7f1de66a2ec966068308ae517f
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -2602,13 +2590,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@sinclair/typebox@npm:^0.25.16":
|
|
||||||
version: 0.25.24
|
|
||||||
resolution: "@sinclair/typebox@npm:0.25.24"
|
|
||||||
checksum: 10219c58f40b8414c50b483b0550445e9710d4fe7b2c4dccb9b66533dd90ba8e024acc776026cebe81e87f06fa24b07fdd7bc30dd277eb9cc386ec50151a3026
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"@sinclair/typebox@npm:^0.27.8":
|
"@sinclair/typebox@npm:^0.27.8":
|
||||||
version: 0.27.8
|
version: 0.27.8
|
||||||
resolution: "@sinclair/typebox@npm:0.27.8"
|
resolution: "@sinclair/typebox@npm:0.27.8"
|
||||||
@@ -3260,12 +3241,12 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:^20.12.12":
|
"@types/node@npm:^20.19.9":
|
||||||
version: 20.12.12
|
version: 20.19.14
|
||||||
resolution: "@types/node@npm:20.12.12"
|
resolution: "@types/node@npm:20.19.14"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: ~5.26.4
|
undici-types: ~6.21.0
|
||||||
checksum: 5373983874b9af7c216e7ca5d26b32a8d9829c703a69f1e66f2113598b5be8582c0e009ca97369f1ec9a6282b3f92812208d06eb1e9fc3bd9b939b022303d042
|
checksum: a19533f35718cfb543caa33a65abe020bf6ca9e8ae1db0b6802df152adcdc7d00a3793e811c89b5b51c1d0f4ee32e6650f1ed21e0f49948e4d36c849b5a2917a
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -3301,15 +3282,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/eslint-plugin@npm:^7.9.0":
|
"@typescript-eslint/eslint-plugin@npm:^7.18.0":
|
||||||
version: 7.9.0
|
version: 7.18.0
|
||||||
resolution: "@typescript-eslint/eslint-plugin@npm:7.9.0"
|
resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@eslint-community/regexpp": ^4.10.0
|
"@eslint-community/regexpp": ^4.10.0
|
||||||
"@typescript-eslint/scope-manager": 7.9.0
|
"@typescript-eslint/scope-manager": 7.18.0
|
||||||
"@typescript-eslint/type-utils": 7.9.0
|
"@typescript-eslint/type-utils": 7.18.0
|
||||||
"@typescript-eslint/utils": 7.9.0
|
"@typescript-eslint/utils": 7.18.0
|
||||||
"@typescript-eslint/visitor-keys": 7.9.0
|
"@typescript-eslint/visitor-keys": 7.18.0
|
||||||
graphemer: ^1.4.0
|
graphemer: ^1.4.0
|
||||||
ignore: ^5.3.1
|
ignore: ^5.3.1
|
||||||
natural-compare: ^1.4.0
|
natural-compare: ^1.4.0
|
||||||
@@ -3320,44 +3301,76 @@ __metadata:
|
|||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 0437d3d7a9adbd519e614a90633cd35fad4c9433d6b8902fd0f989907a3e0f05afc3a50ca35a8a02764e7333b92f5378088f657882f28c14a4d7e2433fea2766
|
checksum: dfcf150628ca2d4ccdfc20b46b0eae075c2f16ef5e70d9d2f0d746acf4c69a09f962b93befee01a529f14bbeb3e817b5aba287d7dd0edc23396bc5ed1f448c3d
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/parser@npm:^7.9.0":
|
"@typescript-eslint/parser@npm:^7.18.0":
|
||||||
version: 7.9.0
|
version: 7.18.0
|
||||||
resolution: "@typescript-eslint/parser@npm:7.9.0"
|
resolution: "@typescript-eslint/parser@npm:7.18.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/scope-manager": 7.9.0
|
"@typescript-eslint/scope-manager": 7.18.0
|
||||||
"@typescript-eslint/types": 7.9.0
|
"@typescript-eslint/types": 7.18.0
|
||||||
"@typescript-eslint/typescript-estree": 7.9.0
|
"@typescript-eslint/typescript-estree": 7.18.0
|
||||||
"@typescript-eslint/visitor-keys": 7.9.0
|
"@typescript-eslint/visitor-keys": 7.18.0
|
||||||
debug: ^4.3.4
|
debug: ^4.3.4
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.56.0
|
eslint: ^8.56.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: df80976afba65cf09583874a4330e7e275ff7b599863124ae911fa52f1f097948cc04bcea711da44688ee6beb2713f1c377604224a965869e527ad7e3f30ca72
|
checksum: 132b56ac3b2d90b588d61d005a70f6af322860974225b60201cbf45abf7304d67b7d8a6f0ade1c188ac4e339884e78d6dcd450417f1481998f9ddd155bab0801
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/scope-manager@npm:7.9.0":
|
"@typescript-eslint/project-service@npm:8.43.0":
|
||||||
version: 7.9.0
|
version: 8.43.0
|
||||||
resolution: "@typescript-eslint/scope-manager@npm:7.9.0"
|
resolution: "@typescript-eslint/project-service@npm:8.43.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/types": 7.9.0
|
"@typescript-eslint/tsconfig-utils": ^8.43.0
|
||||||
"@typescript-eslint/visitor-keys": 7.9.0
|
"@typescript-eslint/types": ^8.43.0
|
||||||
checksum: d63f140e6112df6a4902b670c4c1ad02e9dcbe46c85c859f098e43f2543102138874bfc4a31c61a466e7e526d280c09d6fddc33dea84c946db43a24d52108724
|
debug: ^4.3.4
|
||||||
|
peerDependencies:
|
||||||
|
typescript: ">=4.8.4 <6.0.0"
|
||||||
|
checksum: ba225e9aa6cf532da159c89adb6f222ec8e9873fe9e3ddb03208f820638df6c51bf672acf7f21d170471fd305971f36f822c2fa0e662c7772687ad482b33953c
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/type-utils@npm:7.9.0":
|
"@typescript-eslint/scope-manager@npm:7.18.0":
|
||||||
version: 7.9.0
|
version: 7.18.0
|
||||||
resolution: "@typescript-eslint/type-utils@npm:7.9.0"
|
resolution: "@typescript-eslint/scope-manager@npm:7.18.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/typescript-estree": 7.9.0
|
"@typescript-eslint/types": 7.18.0
|
||||||
"@typescript-eslint/utils": 7.9.0
|
"@typescript-eslint/visitor-keys": 7.18.0
|
||||||
|
checksum: b982c6ac13d8c86bb3b949c6b4e465f3f60557c2ccf4cc229799827d462df56b9e4d3eaed7711d79b875422fc3d71ec1ebcb5195db72134d07c619e3c5506b57
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/scope-manager@npm:8.43.0":
|
||||||
|
version: 8.43.0
|
||||||
|
resolution: "@typescript-eslint/scope-manager@npm:8.43.0"
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/types": 8.43.0
|
||||||
|
"@typescript-eslint/visitor-keys": 8.43.0
|
||||||
|
checksum: c5562b490fd81ff04a853200991a944e4586db9c5349a9ebbda836135409b1568b7bda965595b18a09cd235b3f8d72fbc3b67f6cf39550ecdb40d4e868c4ad49
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/tsconfig-utils@npm:8.43.0, @typescript-eslint/tsconfig-utils@npm:^8.43.0":
|
||||||
|
version: 8.43.0
|
||||||
|
resolution: "@typescript-eslint/tsconfig-utils@npm:8.43.0"
|
||||||
|
peerDependencies:
|
||||||
|
typescript: ">=4.8.4 <6.0.0"
|
||||||
|
checksum: 20cb7b553eba44a8c4b4af2d0cabbcff248494b8c87243be7fcd1bb00846344f0bbc5b2353027d8e9053ee3e0c3b491cbf1c024f9f60b7e370220e7b0620b96f
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/type-utils@npm:7.18.0":
|
||||||
|
version: 7.18.0
|
||||||
|
resolution: "@typescript-eslint/type-utils@npm:7.18.0"
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/typescript-estree": 7.18.0
|
||||||
|
"@typescript-eslint/utils": 7.18.0
|
||||||
debug: ^4.3.4
|
debug: ^4.3.4
|
||||||
ts-api-utils: ^1.3.0
|
ts-api-utils: ^1.3.0
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -3365,23 +3378,30 @@ __metadata:
|
|||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 0e87d4d7ee38cf2f1fb899b6a466d9c6637a917bd7534dab9f58a709a5dbe72d98486187e900d553f2f9140799217d290402f4fdaf141253f56078019034ab3a
|
checksum: 68fd5df5146c1a08cde20d59b4b919acab06a1b06194fe4f7ba1b928674880249890785fbbc97394142f2ef5cff5a7fba9b8a940449e7d5605306505348e38bc
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/types@npm:7.9.0":
|
"@typescript-eslint/types@npm:7.18.0":
|
||||||
version: 7.9.0
|
version: 7.18.0
|
||||||
resolution: "@typescript-eslint/types@npm:7.9.0"
|
resolution: "@typescript-eslint/types@npm:7.18.0"
|
||||||
checksum: 84c7e28b55a079dcd358aa6c20092819a20c20b167de4b04d86399e2ea1a0e28df92ee518c3b9236b7cd2cd72da81fc93e4bece48346e4a382723f4c857623ac
|
checksum: 7df2750cd146a0acd2d843208d69f153b458e024bbe12aab9e441ad2c56f47de3ddfeb329c4d1ea0079e2577fea4b8c1c1ce15315a8d49044586b04fedfe7a4d
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/typescript-estree@npm:7.9.0":
|
"@typescript-eslint/types@npm:8.43.0, @typescript-eslint/types@npm:^8.43.0":
|
||||||
version: 7.9.0
|
version: 8.43.0
|
||||||
resolution: "@typescript-eslint/typescript-estree@npm:7.9.0"
|
resolution: "@typescript-eslint/types@npm:8.43.0"
|
||||||
|
checksum: a6aabc17d477a1f518f76bb0b6fbad8d5b819f2239af047a46c755a243758cf98c7ea7ec7a8aa7c5cdada68c1c4e21797b07a65c36f65544119bfa13dbc37252
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/typescript-estree@npm:7.18.0":
|
||||||
|
version: 7.18.0
|
||||||
|
resolution: "@typescript-eslint/typescript-estree@npm:7.18.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/types": 7.9.0
|
"@typescript-eslint/types": 7.18.0
|
||||||
"@typescript-eslint/visitor-keys": 7.9.0
|
"@typescript-eslint/visitor-keys": 7.18.0
|
||||||
debug: ^4.3.4
|
debug: ^4.3.4
|
||||||
globby: ^11.1.0
|
globby: ^11.1.0
|
||||||
is-glob: ^4.0.3
|
is-glob: ^4.0.3
|
||||||
@@ -3391,31 +3411,76 @@ __metadata:
|
|||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 45da640ca585bf89b896a06a71889be2cdf25e5efa5ebf1d3196bf7d3ce256f0432d4caa4a04a0d877f2db504c5c3a50a37310f56b2c84af49704cea3d0a596b
|
checksum: c82d22ec9654973944f779eb4eb94c52f4a6eafaccce2f0231ff7757313f3a0d0256c3252f6dfe6d43f57171d09656478acb49a629a9d0c193fb959bc3f36116
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/utils@npm:7.9.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0":
|
"@typescript-eslint/typescript-estree@npm:8.43.0":
|
||||||
version: 7.9.0
|
version: 8.43.0
|
||||||
resolution: "@typescript-eslint/utils@npm:7.9.0"
|
resolution: "@typescript-eslint/typescript-estree@npm:8.43.0"
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/project-service": 8.43.0
|
||||||
|
"@typescript-eslint/tsconfig-utils": 8.43.0
|
||||||
|
"@typescript-eslint/types": 8.43.0
|
||||||
|
"@typescript-eslint/visitor-keys": 8.43.0
|
||||||
|
debug: ^4.3.4
|
||||||
|
fast-glob: ^3.3.2
|
||||||
|
is-glob: ^4.0.3
|
||||||
|
minimatch: ^9.0.4
|
||||||
|
semver: ^7.6.0
|
||||||
|
ts-api-utils: ^2.1.0
|
||||||
|
peerDependencies:
|
||||||
|
typescript: ">=4.8.4 <6.0.0"
|
||||||
|
checksum: b37b40d5084a8cb31ba94774120a0ce3b85ff09e1fe228029b5c23be39b041c0bfe9aaa1b9aa9cbde58215836c77e6a072c601c28d4ce225062c9622e8a359be
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/utils@npm:7.18.0":
|
||||||
|
version: 7.18.0
|
||||||
|
resolution: "@typescript-eslint/utils@npm:7.18.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@eslint-community/eslint-utils": ^4.4.0
|
"@eslint-community/eslint-utils": ^4.4.0
|
||||||
"@typescript-eslint/scope-manager": 7.9.0
|
"@typescript-eslint/scope-manager": 7.18.0
|
||||||
"@typescript-eslint/types": 7.9.0
|
"@typescript-eslint/types": 7.18.0
|
||||||
"@typescript-eslint/typescript-estree": 7.9.0
|
"@typescript-eslint/typescript-estree": 7.18.0
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^8.56.0
|
eslint: ^8.56.0
|
||||||
checksum: bec0bb97ec430247534e0eb60f0ba86f739968351d73fda57a1e7b70417057f3eec438d3f1014336fcb35e2c18de1eb444a0cb59de78de0921d10d5066907356
|
checksum: 751dbc816dab8454b7dc6b26a56671dbec08e3f4ef94c2661ce1c0fc48fa2d05a64e03efe24cba2c22d03ba943cd3c5c7a5e1b7b03bbb446728aec1c640bd767
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@typescript-eslint/visitor-keys@npm:7.9.0":
|
"@typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0":
|
||||||
version: 7.9.0
|
version: 8.43.0
|
||||||
resolution: "@typescript-eslint/visitor-keys@npm:7.9.0"
|
resolution: "@typescript-eslint/utils@npm:8.43.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/types": 7.9.0
|
"@eslint-community/eslint-utils": ^4.7.0
|
||||||
|
"@typescript-eslint/scope-manager": 8.43.0
|
||||||
|
"@typescript-eslint/types": 8.43.0
|
||||||
|
"@typescript-eslint/typescript-estree": 8.43.0
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^8.57.0 || ^9.0.0
|
||||||
|
typescript: ">=4.8.4 <6.0.0"
|
||||||
|
checksum: e50622ec6342d6cc7aa6c3441124fd95afffd7bbdc674ad8d6c45283a8a7d949a695bbc874096d772af4ba1ce007e65a7930f77ded4b2275a1d0d982fa5e276d
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/visitor-keys@npm:7.18.0":
|
||||||
|
version: 7.18.0
|
||||||
|
resolution: "@typescript-eslint/visitor-keys@npm:7.18.0"
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/types": 7.18.0
|
||||||
eslint-visitor-keys: ^3.4.3
|
eslint-visitor-keys: ^3.4.3
|
||||||
checksum: 29ed6af19f8e00110ccf2e0526ef8e4162ac18b2ca81a26f34b28719b2723faa028ff3485722bfa64864b23428e8d29453a7593f082d593326c21fd94f1499d9
|
checksum: 6e806a7cdb424c5498ea187a5a11d0fef7e4602a631be413e7d521e5aec1ab46ba00c76cfb18020adaa0a8c9802354a163bfa0deb74baa7d555526c7517bb158
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"@typescript-eslint/visitor-keys@npm:8.43.0":
|
||||||
|
version: 8.43.0
|
||||||
|
resolution: "@typescript-eslint/visitor-keys@npm:8.43.0"
|
||||||
|
dependencies:
|
||||||
|
"@typescript-eslint/types": 8.43.0
|
||||||
|
eslint-visitor-keys: ^4.2.1
|
||||||
|
checksum: 748b5457b1d813e223ae50753c09c503264f8809b267dc955ed3123c0bcbb4ba855823f1e616e3d48e14c03cd08c51c816a65bbea6fa44e7d54faac106791532
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -3426,14 +3491,14 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@vercel/ncc@npm:^0.38.1":
|
"@vercel/ncc@npm:^0.38.3":
|
||||||
version: 0.38.1
|
version: 0.38.3
|
||||||
resolution: "@vercel/ncc@npm:0.38.1"
|
resolution: "@vercel/ncc@npm:0.38.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
node-gyp: latest
|
node-gyp: latest
|
||||||
bin:
|
bin:
|
||||||
ncc: dist/ncc/cli.js
|
ncc: dist/ncc/cli.js
|
||||||
checksum: a522bb44c25a65db89941b08ca5817794b6920052f09a9cbd202cc987b81c13dd48cad9aa3b06793fc47ef70ae87fa0b85caf5b6a73e95de8091818049ed6194
|
checksum: 172ff37f17c7648755c5bd1bb09cfafa5a601a20ac8e008d6b220a6e727dfa3caef1a82a618a94383c679dd0265ff4a852ed25a491d4b3ca16d54f1ac03aed78
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -3836,7 +3901,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"braces@npm:^3.0.1":
|
"braces@npm:^3.0.1, braces@npm:^3.0.3":
|
||||||
version: 3.0.3
|
version: 3.0.3
|
||||||
resolution: "braces@npm:3.0.3"
|
resolution: "braces@npm:3.0.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3883,7 +3948,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"bs-logger@npm:0.x":
|
"bs-logger@npm:^0.2.6":
|
||||||
version: 0.2.6
|
version: 0.2.6
|
||||||
resolution: "bs-logger@npm:0.2.6"
|
resolution: "bs-logger@npm:0.2.6"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -4323,22 +4388,22 @@ __metadata:
|
|||||||
"@aws-sdk/client-ecr-public": ^3.859.0
|
"@aws-sdk/client-ecr-public": ^3.859.0
|
||||||
"@docker/actions-toolkit": ^0.62.1
|
"@docker/actions-toolkit": ^0.62.1
|
||||||
"@types/js-yaml": ^4.0.9
|
"@types/js-yaml": ^4.0.9
|
||||||
"@types/node": ^20.12.12
|
"@types/node": ^20.19.9
|
||||||
"@typescript-eslint/eslint-plugin": ^7.9.0
|
"@typescript-eslint/eslint-plugin": ^7.18.0
|
||||||
"@typescript-eslint/parser": ^7.9.0
|
"@typescript-eslint/parser": ^7.18.0
|
||||||
"@vercel/ncc": ^0.38.1
|
"@vercel/ncc": ^0.38.3
|
||||||
eslint: ^8.57.0
|
eslint: ^8.57.1
|
||||||
eslint-config-prettier: ^9.1.0
|
eslint-config-prettier: ^9.1.2
|
||||||
eslint-plugin-jest: ^28.5.0
|
eslint-plugin-jest: ^28.14.0
|
||||||
eslint-plugin-prettier: ^5.1.3
|
eslint-plugin-prettier: ^5.5.4
|
||||||
http-proxy-agent: ^7.0.2
|
http-proxy-agent: ^7.0.2
|
||||||
https-proxy-agent: ^7.0.6
|
https-proxy-agent: ^7.0.6
|
||||||
jest: ^29.7.0
|
jest: ^29.7.0
|
||||||
js-yaml: ^4.1.0
|
js-yaml: ^4.1.0
|
||||||
prettier: ^3.2.5
|
prettier: ^3.6.2
|
||||||
ts-jest: ^29.1.2
|
ts-jest: ^29.4.1
|
||||||
ts-node: ^10.9.2
|
ts-node: ^10.9.2
|
||||||
typescript: ^5.4.5
|
typescript: ^5.9.2
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
@@ -4520,24 +4585,24 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-config-prettier@npm:^9.1.0":
|
"eslint-config-prettier@npm:^9.1.2":
|
||||||
version: 9.1.0
|
version: 9.1.2
|
||||||
resolution: "eslint-config-prettier@npm:9.1.0"
|
resolution: "eslint-config-prettier@npm:9.1.2"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ">=7.0.0"
|
eslint: ">=7.0.0"
|
||||||
bin:
|
bin:
|
||||||
eslint-config-prettier: bin/cli.js
|
eslint-config-prettier: bin/cli.js
|
||||||
checksum: 9229b768c879f500ee54ca05925f31b0c0bafff3d9f5521f98ff05127356de78c81deb9365c86a5ec4efa990cb72b74df8612ae15965b14136044c73e1f6a907
|
checksum: e786b767331094fd024cb1b0899964a9da0602eaf4ebd617d6d9794752ccd04dbe997e3c14c17f256c97af20bee1c83c9273f69b74cb2081b6f514580d62408f
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-jest@npm:^28.5.0":
|
"eslint-plugin-jest@npm:^28.14.0":
|
||||||
version: 28.5.0
|
version: 28.14.0
|
||||||
resolution: "eslint-plugin-jest@npm:28.5.0"
|
resolution: "eslint-plugin-jest@npm:28.14.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/utils": ^6.0.0 || ^7.0.0
|
"@typescript-eslint/utils": ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@typescript-eslint/eslint-plugin": ^6.0.0 || ^7.0.0
|
"@typescript-eslint/eslint-plugin": ^6.0.0 || ^7.0.0 || ^8.0.0
|
||||||
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
|
eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
|
||||||
jest: "*"
|
jest: "*"
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
@@ -4545,27 +4610,27 @@ __metadata:
|
|||||||
optional: true
|
optional: true
|
||||||
jest:
|
jest:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 73ba168fb028db0765027c9e7844fe37cb6b660125929e72c5cf5c8e0fd4e67e7136409583256cf6267e066e1aa0be498c0ee729d1f3babaef4a3e7bdac428a8
|
checksum: 7daeb0ebc360ba159474246cef8ea7f0a3e020652571d948022af73bec7a53dd436b48de81332fd4d5d5556ef1046cec0e6a2213287a461e4e81390ce76ad2e7
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint-plugin-prettier@npm:^5.1.3":
|
"eslint-plugin-prettier@npm:^5.5.4":
|
||||||
version: 5.1.3
|
version: 5.5.4
|
||||||
resolution: "eslint-plugin-prettier@npm:5.1.3"
|
resolution: "eslint-plugin-prettier@npm:5.5.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
prettier-linter-helpers: ^1.0.0
|
prettier-linter-helpers: ^1.0.0
|
||||||
synckit: ^0.8.6
|
synckit: ^0.11.7
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@types/eslint": ">=8.0.0"
|
"@types/eslint": ">=8.0.0"
|
||||||
eslint: ">=8.0.0"
|
eslint: ">=8.0.0"
|
||||||
eslint-config-prettier: "*"
|
eslint-config-prettier: ">= 7.0.0 <10.0.0 || >=10.1.0"
|
||||||
prettier: ">=3.0.0"
|
prettier: ">=3.0.0"
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
"@types/eslint":
|
"@types/eslint":
|
||||||
optional: true
|
optional: true
|
||||||
eslint-config-prettier:
|
eslint-config-prettier:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: eb2a7d46a1887e1b93788ee8f8eb81e0b6b2a6f5a66a62bc6f375b033fc4e7ca16448da99380be800042786e76cf5c0df9c87a51a2c9b960ed47acbd7c0b9381
|
checksum: 0dd05ed85018ab0e98da80325b7bd4c4ab6dd684398f1270a7c8cf4261df714dd4502ba4c7f85f651aade9989da0a7d2adda03af8873b73b52014141abf385de
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -4593,15 +4658,22 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"eslint@npm:^8.57.0":
|
"eslint-visitor-keys@npm:^4.2.1":
|
||||||
version: 8.57.0
|
version: 4.2.1
|
||||||
resolution: "eslint@npm:8.57.0"
|
resolution: "eslint-visitor-keys@npm:4.2.1"
|
||||||
|
checksum: 3a77e3f99a49109f6fb2c5b7784bc78f9743b834d238cdba4d66c602c6b52f19ed7bcd0a5c5dbbeae3a8689fd785e76c001799f53d2228b278282cf9f699fff5
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"eslint@npm:^8.57.1":
|
||||||
|
version: 8.57.1
|
||||||
|
resolution: "eslint@npm:8.57.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@eslint-community/eslint-utils": ^4.2.0
|
"@eslint-community/eslint-utils": ^4.2.0
|
||||||
"@eslint-community/regexpp": ^4.6.1
|
"@eslint-community/regexpp": ^4.6.1
|
||||||
"@eslint/eslintrc": ^2.1.4
|
"@eslint/eslintrc": ^2.1.4
|
||||||
"@eslint/js": 8.57.0
|
"@eslint/js": 8.57.1
|
||||||
"@humanwhocodes/config-array": ^0.11.14
|
"@humanwhocodes/config-array": ^0.13.0
|
||||||
"@humanwhocodes/module-importer": ^1.0.1
|
"@humanwhocodes/module-importer": ^1.0.1
|
||||||
"@nodelib/fs.walk": ^1.2.8
|
"@nodelib/fs.walk": ^1.2.8
|
||||||
"@ungap/structured-clone": ^1.2.0
|
"@ungap/structured-clone": ^1.2.0
|
||||||
@@ -4637,7 +4709,7 @@ __metadata:
|
|||||||
text-table: ^0.2.0
|
text-table: ^0.2.0
|
||||||
bin:
|
bin:
|
||||||
eslint: bin/eslint.js
|
eslint: bin/eslint.js
|
||||||
checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9
|
checksum: e2489bb7f86dd2011967759a09164e65744ef7688c310bc990612fc26953f34cc391872807486b15c06833bdff737726a23e9b4cdba5de144c311377dc41d91b
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -4793,6 +4865,19 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"fast-glob@npm:^3.3.2":
|
||||||
|
version: 3.3.3
|
||||||
|
resolution: "fast-glob@npm:3.3.3"
|
||||||
|
dependencies:
|
||||||
|
"@nodelib/fs.stat": ^2.0.2
|
||||||
|
"@nodelib/fs.walk": ^1.2.3
|
||||||
|
glob-parent: ^5.1.2
|
||||||
|
merge2: ^1.3.0
|
||||||
|
micromatch: ^4.0.8
|
||||||
|
checksum: 0704d7b85c0305fd2cef37777337dfa26230fdd072dce9fb5c82a4b03156f3ffb8ed3e636033e65d45d2a5805a4e475825369a27404c0307f2db0c8eb3366fbd
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0":
|
"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0":
|
||||||
version: 2.1.0
|
version: 2.1.0
|
||||||
resolution: "fast-json-stable-stringify@npm:2.1.0"
|
resolution: "fast-json-stable-stringify@npm:2.1.0"
|
||||||
@@ -5978,20 +6063,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"jest-util@npm:^29.0.0":
|
|
||||||
version: 29.5.0
|
|
||||||
resolution: "jest-util@npm:29.5.0"
|
|
||||||
dependencies:
|
|
||||||
"@jest/types": ^29.5.0
|
|
||||||
"@types/node": "*"
|
|
||||||
chalk: ^4.0.0
|
|
||||||
ci-info: ^3.2.0
|
|
||||||
graceful-fs: ^4.2.9
|
|
||||||
picomatch: ^2.2.3
|
|
||||||
checksum: fd9212950d34d2ecad8c990dda0d8ea59a8a554b0c188b53ea5d6c4a0829a64f2e1d49e6e85e812014933d17426d7136da4785f9cf76fff1799de51b88bc85d3
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"jest-util@npm:^29.7.0":
|
"jest-util@npm:^29.7.0":
|
||||||
version: 29.7.0
|
version: 29.7.0
|
||||||
resolution: "jest-util@npm:29.7.0"
|
resolution: "jest-util@npm:29.7.0"
|
||||||
@@ -6215,7 +6286,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"lodash.memoize@npm:4.x":
|
"lodash.memoize@npm:^4.1.2":
|
||||||
version: 4.1.2
|
version: 4.1.2
|
||||||
resolution: "lodash.memoize@npm:4.1.2"
|
resolution: "lodash.memoize@npm:4.1.2"
|
||||||
checksum: 9ff3942feeccffa4f1fafa88d32f0d24fdc62fd15ded5a74a5f950ff5f0c6f61916157246744c620173dddf38d37095a92327d5fd3861e2063e736a5c207d089
|
checksum: 9ff3942feeccffa4f1fafa88d32f0d24fdc62fd15ded5a74a5f950ff5f0c6f61916157246744c620173dddf38d37095a92327d5fd3861e2063e736a5c207d089
|
||||||
@@ -6270,7 +6341,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"make-error@npm:1.x, make-error@npm:^1.1.1":
|
"make-error@npm:^1.1.1, make-error@npm:^1.3.6":
|
||||||
version: 1.3.6
|
version: 1.3.6
|
||||||
resolution: "make-error@npm:1.3.6"
|
resolution: "make-error@npm:1.3.6"
|
||||||
checksum: b86e5e0e25f7f777b77fabd8e2cbf15737972869d852a22b7e73c17623928fccb826d8e46b9951501d3f20e51ad74ba8c59ed584f610526a48f8ccf88aaec402
|
checksum: b86e5e0e25f7f777b77fabd8e2cbf15737972869d852a22b7e73c17623928fccb826d8e46b9951501d3f20e51ad74ba8c59ed584f610526a48f8ccf88aaec402
|
||||||
@@ -6337,6 +6408,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"micromatch@npm:^4.0.8":
|
||||||
|
version: 4.0.8
|
||||||
|
resolution: "micromatch@npm:4.0.8"
|
||||||
|
dependencies:
|
||||||
|
braces: ^3.0.3
|
||||||
|
picomatch: ^2.3.1
|
||||||
|
checksum: 79920eb634e6f400b464a954fcfa589c4e7c7143209488e44baf627f9affc8b1e306f41f4f0deedde97e69cb725920879462d3e750ab3bd3c1aed675bb3a8966
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"mime-db@npm:1.52.0":
|
"mime-db@npm:1.52.0":
|
||||||
version: 1.52.0
|
version: 1.52.0
|
||||||
resolution: "mime-db@npm:1.52.0"
|
resolution: "mime-db@npm:1.52.0"
|
||||||
@@ -6800,6 +6881,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"picomatch@npm:^2.3.1":
|
||||||
|
version: 2.3.1
|
||||||
|
resolution: "picomatch@npm:2.3.1"
|
||||||
|
checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"pirates@npm:^4.0.4":
|
"pirates@npm:^4.0.4":
|
||||||
version: 4.0.5
|
version: 4.0.5
|
||||||
resolution: "pirates@npm:4.0.5"
|
resolution: "pirates@npm:4.0.5"
|
||||||
@@ -6832,12 +6920,12 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"prettier@npm:^3.2.5":
|
"prettier@npm:^3.6.2":
|
||||||
version: 3.2.5
|
version: 3.6.2
|
||||||
resolution: "prettier@npm:3.2.5"
|
resolution: "prettier@npm:3.6.2"
|
||||||
bin:
|
bin:
|
||||||
prettier: bin/prettier.cjs
|
prettier: bin/prettier.cjs
|
||||||
checksum: 2ee4e1417572372afb7a13bb446b34f20f1bf1747db77cf6ccaf57a9be005f2f15c40f903d41a6b79eec3f57fff14d32a20fb6dee1f126da48908926fe43c311
|
checksum: 0206f5f437892e8858f298af8850bf9d0ef1c22e21107a213ba56bfb9c2387a2020bfda244a20161d8e3dad40c6b04101609a55d370dece53d0a31893b64f861
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -7462,13 +7550,12 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"synckit@npm:^0.8.6":
|
"synckit@npm:^0.11.7":
|
||||||
version: 0.8.8
|
version: 0.11.11
|
||||||
resolution: "synckit@npm:0.8.8"
|
resolution: "synckit@npm:0.11.11"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@pkgr/core": ^0.1.0
|
"@pkgr/core": ^0.2.9
|
||||||
tslib: ^2.6.2
|
checksum: bc896d4320525501495654766e6b0aa394e522476ea0547af603bdd9fd7e9b65dcd6e3a237bc7eb3ab7e196376712f228bf1bf6ed1e1809f4b32dc9baf7ad413
|
||||||
checksum: 9ed5d33abb785f5f24e2531efd53b2782ca77abf7912f734d170134552b99001915531be5a50297aa45c5701b5c9041e8762e6cd7a38e41e2461c1e7fccdedf8
|
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -7578,36 +7665,52 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"ts-jest@npm:^29.1.2":
|
"ts-api-utils@npm:^2.1.0":
|
||||||
version: 29.1.2
|
version: 2.1.0
|
||||||
resolution: "ts-jest@npm:29.1.2"
|
resolution: "ts-api-utils@npm:2.1.0"
|
||||||
|
peerDependencies:
|
||||||
|
typescript: ">=4.8.4"
|
||||||
|
checksum: 5b1ef89105654d93d67582308bd8dfe4bbf6874fccbcaa729b08fbb00a940fd4c691ca6d0d2b18c3c70878d9a7e503421b7cc473dbc3d0d54258b86401d4b15d
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
|
"ts-jest@npm:^29.4.1":
|
||||||
|
version: 29.4.1
|
||||||
|
resolution: "ts-jest@npm:29.4.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
bs-logger: 0.x
|
bs-logger: ^0.2.6
|
||||||
fast-json-stable-stringify: 2.x
|
fast-json-stable-stringify: ^2.1.0
|
||||||
jest-util: ^29.0.0
|
handlebars: ^4.7.8
|
||||||
json5: ^2.2.3
|
json5: ^2.2.3
|
||||||
lodash.memoize: 4.x
|
lodash.memoize: ^4.1.2
|
||||||
make-error: 1.x
|
make-error: ^1.3.6
|
||||||
semver: ^7.5.3
|
semver: ^7.7.2
|
||||||
yargs-parser: ^21.0.1
|
type-fest: ^4.41.0
|
||||||
|
yargs-parser: ^21.1.1
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@babel/core": ">=7.0.0-beta.0 <8"
|
"@babel/core": ">=7.0.0-beta.0 <8"
|
||||||
"@jest/types": ^29.0.0
|
"@jest/transform": ^29.0.0 || ^30.0.0
|
||||||
babel-jest: ^29.0.0
|
"@jest/types": ^29.0.0 || ^30.0.0
|
||||||
jest: ^29.0.0
|
babel-jest: ^29.0.0 || ^30.0.0
|
||||||
|
jest: ^29.0.0 || ^30.0.0
|
||||||
|
jest-util: ^29.0.0 || ^30.0.0
|
||||||
typescript: ">=4.3 <6"
|
typescript: ">=4.3 <6"
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
"@babel/core":
|
"@babel/core":
|
||||||
optional: true
|
optional: true
|
||||||
|
"@jest/transform":
|
||||||
|
optional: true
|
||||||
"@jest/types":
|
"@jest/types":
|
||||||
optional: true
|
optional: true
|
||||||
babel-jest:
|
babel-jest:
|
||||||
optional: true
|
optional: true
|
||||||
esbuild:
|
esbuild:
|
||||||
optional: true
|
optional: true
|
||||||
|
jest-util:
|
||||||
|
optional: true
|
||||||
bin:
|
bin:
|
||||||
ts-jest: cli.js
|
ts-jest: cli.js
|
||||||
checksum: a0ce0affc1b716c78c9ab55837829c42cb04b753d174a5c796bb1ddf9f0379fc20647b76fbe30edb30d9b23181908138d6b4c51ef2ae5e187b66635c295cefd5
|
checksum: 641f17ecb44caa987bc12feb87abbebc7cb0e4ba8725afe8208a14ec13ff0cce80fe47f79f3b8c37c7fe56e36fadee8314ed05c863b104bb7531bba71c3b9524
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -7700,6 +7803,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"type-fest@npm:^4.41.0":
|
||||||
|
version: 4.41.0
|
||||||
|
resolution: "type-fest@npm:4.41.0"
|
||||||
|
checksum: 7055c0e3eb188425d07403f1d5dc175ca4c4f093556f26871fe22041bc93d137d54bef5851afa320638ca1379106c594f5aa153caa654ac1a7f22c71588a4e80
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:^3.9":
|
"typescript@npm:^3.9":
|
||||||
version: 3.9.10
|
version: 3.9.10
|
||||||
resolution: "typescript@npm:3.9.10"
|
resolution: "typescript@npm:3.9.10"
|
||||||
@@ -7710,13 +7820,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@npm:^5.4.5":
|
"typescript@npm:^5.9.2":
|
||||||
version: 5.4.5
|
version: 5.9.2
|
||||||
resolution: "typescript@npm:5.4.5"
|
resolution: "typescript@npm:5.9.2"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 53c879c6fa1e3bcb194b274d4501ba1985894b2c2692fa079db03c5a5a7140587a1e04e1ba03184605d35f439b40192d9e138eb3279ca8eee313c081c8bcd9b0
|
checksum: f619cf6773cfe31409279711afd68cdf0859780006c50bc2a7a0c3227f85dea89a3b97248846326f3a17dad72ea90ec27cf61a8387772c680b2252fd02d8497b
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -7730,13 +7840,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"typescript@patch:typescript@^5.4.5#~builtin<compat/typescript>":
|
"typescript@patch:typescript@^5.9.2#~builtin<compat/typescript>":
|
||||||
version: 5.4.5
|
version: 5.9.2
|
||||||
resolution: "typescript@patch:typescript@npm%3A5.4.5#~builtin<compat/typescript>::version=5.4.5&hash=f3b441"
|
resolution: "typescript@patch:typescript@npm%3A5.9.2#~builtin<compat/typescript>::version=5.9.2&hash=f3b441"
|
||||||
bin:
|
bin:
|
||||||
tsc: bin/tsc
|
tsc: bin/tsc
|
||||||
tsserver: bin/tsserver
|
tsserver: bin/tsserver
|
||||||
checksum: 2373c693f3b328f3b2387c3efafe6d257b057a142f9a79291854b14ff4d5367d3d730810aee981726b677ae0fd8329b23309da3b6aaab8263dbdccf1da07a3ba
|
checksum: e42a701947325500008334622321a6ad073f842f5e7d5e7b588a6346b31fdf51d56082b9ce5cef24312ecd3e48d6c0d4d44da7555f65e2feec18cf62ec540385
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -7749,10 +7859,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"undici-types@npm:~5.26.4":
|
"undici-types@npm:~6.21.0":
|
||||||
version: 5.26.5
|
version: 6.21.0
|
||||||
resolution: "undici-types@npm:5.26.5"
|
resolution: "undici-types@npm:6.21.0"
|
||||||
checksum: 3192ef6f3fd5df652f2dc1cd782b49d6ff14dc98e5dced492aa8a8c65425227da5da6aafe22523c67f035a272c599bb89cfe803c1db6311e44bed3042fc25487
|
checksum: 46331c7d6016bf85b3e8f20c159d62f5ae471aba1eb3dc52fff35a0259d58dcc7d592d4cc4f00c5f9243fa738a11cfa48bd20203040d4a9e6bc25e807fab7ab3
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -8014,7 +8124,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1":
|
"yargs-parser@npm:^21.1.1":
|
||||||
version: 21.1.1
|
version: 21.1.1
|
||||||
resolution: "yargs-parser@npm:21.1.1"
|
resolution: "yargs-parser@npm:21.1.1"
|
||||||
checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c
|
checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c
|
||||||
|
|||||||
Reference in new issue
Block a user