create-turbo 2.4.2 → 2.4.3-canary.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cli.js +1 -1
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -27,7 +27,7 @@ Please report this to https://github.com/szmarczak/http2-wrapper/`);y(m)}return}
|
|
27
27
|
`).reverse(),u=r.stack.slice(r.stack.indexOf(r.message)+r.message.length).split(`
|
28
28
|
`).reverse();for(;u.length!==0&&u[0]===a[0];)a.shift();this.stack=`${this.stack.slice(0,o)}${a.reverse().join(`
|
29
29
|
`)}${u.reverse().join(`
|
30
|
-
`)}`}}};ke.RequestError=Ue;var Bl=class extends Ue{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}};ke.MaxRedirectsError=Bl;var Nl=class extends Ue{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}};ke.HTTPError=Nl;var Ml=class extends Ue{constructor(e,r){super(e.message,e,r),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}};ke.CacheError=Ml;var jl=class extends Ue{constructor(e,r){super(e.message,e,r),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}};ke.UploadError=jl;var ql=class extends Ue{constructor(e,r,n){super(e.message,e,n),this.name="TimeoutError",this.event=e.event,this.timings=r}};ke.TimeoutError=ql;var wa=class extends Ue{constructor(e,r){super(e.message,e,r),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}};ke.ReadError=wa;var Ul=class extends Ue{constructor(e){super(`Unsupported protocol "${e.url.protocol}"`,{},e),this.name="UnsupportedProtocolError",this.code="ERR_UNSUPPORTED_PROTOCOL"}};ke.UnsupportedProtocolError=Ul;var qq=["socket","connect","continue","information","upgrade","timeout"],Hl=class extends _R.Duplex{constructor(e,r={},n){super({autoDestroy:!1,highWaterMark:0}),this[Ks]=0,this[Js]=0,this.requestInitialized=!1,this[Pl]=new Set,this.redirects=[],this[Xs]=!1,this[Il]=!1,this[Ea]=[],this.retryCount=0,this._progressCallbacks=[];let i=()=>this._unlockWrite(),s=()=>this._lockWrite();this.on("pipe",c=>{c.prependListener("data",i),c.on("data",s),c.prependListener("end",i),c.on("end",s)}),this.on("unpipe",c=>{c.off("data",i),c.off("data",s),c.off("end",i),c.off("end",s)}),this.on("pipe",c=>{c instanceof dy.IncomingMessage&&(this.options.headers={...c.headers,...this.options.headers})});let{json:o,body:a,form:u}=r;if((o||a||u)&&this._lockWrite(),ke.kIsNormalizedAlready in r)this.options=r;else try{this.options=this.constructor.normalizeArguments(e,r,n)}catch(c){Y.default.nodeStream(r.body)&&r.body.destroy(),this.destroy(c);return}(async()=>{var c;try{this.options.body instanceof bq.ReadStream&&await Nq(this.options.body);let{url:l}=this.options;if(!l)throw new TypeError("Missing `url` property");if(this.requestUrl=l.toString(),decodeURI(this.requestUrl),await this._finalizeBody(),await this._makeRequest(),this.destroyed){(c=this[nt])===null||c===void 0||c.destroy();return}for(let h of this[Ea])h();this[Ea].length=0,this.requestInitialized=!0}catch(l){if(l instanceof Ue){this._beforeError(l);return}this.destroyed||this.destroy(l)}})()}static normalizeArguments(e,r,n){var i,s,o,a,u;let c=r;if(Y.default.object(e)&&!Y.default.urlInstance(e))r={...n,...e,...r};else{if(e&&r&&r.url!==void 0)throw new TypeError("The `url` option is mutually exclusive with the `input` argument");r={...n,...r},e!==void 0&&(r.url=e),Y.default.urlInstance(r.url)&&(r.url=new Pn.URL(r.url.toString()))}if(r.cache===!1&&(r.cache=void 0),r.dnsCache===!1&&(r.dnsCache=void 0),Y.assert.any([Y.default.string,Y.default.undefined],r.method),Y.assert.any([Y.default.object,Y.default.undefined],r.headers),Y.assert.any([Y.default.string,Y.default.urlInstance,Y.default.undefined],r.prefixUrl),Y.assert.any([Y.default.object,Y.default.undefined],r.cookieJar),Y.assert.any([Y.default.object,Y.default.string,Y.default.undefined],r.searchParams),Y.assert.any([Y.default.object,Y.default.string,Y.default.undefined],r.cache),Y.assert.any([Y.default.object,Y.default.number,Y.default.undefined],r.timeout),Y.assert.any([Y.default.object,Y.default.undefined],r.context),Y.assert.any([Y.default.object,Y.default.undefined],r.hooks),Y.assert.any([Y.default.boolean,Y.default.undefined],r.decompress),Y.assert.any([Y.default.boolean,Y.default.undefined],r.ignoreInvalidCookies),Y.assert.any([Y.default.boolean,Y.default.undefined],r.followRedirect),Y.assert.any([Y.default.number,Y.default.undefined],r.maxRedirects),Y.assert.any([Y.default.boolean,Y.default.undefined],r.throwHttpErrors),Y.assert.any([Y.default.boolean,Y.default.undefined],r.http2),Y.assert.any([Y.default.boolean,Y.default.undefined],r.allowGetBody),Y.assert.any([Y.default.string,Y.default.undefined],r.localAddress),Y.assert.any([SR.isDnsLookupIpVersion,Y.default.undefined],r.dnsLookupIpVersion),Y.assert.any([Y.default.object,Y.default.undefined],r.https),Y.assert.any([Y.default.boolean,Y.default.undefined],r.rejectUnauthorized),r.https&&(Y.assert.any([Y.default.boolean,Y.default.undefined],r.https.rejectUnauthorized),Y.assert.any([Y.default.function_,Y.default.undefined],r.https.checkServerIdentity),Y.assert.any([Y.default.string,Y.default.object,Y.default.array,Y.default.undefined],r.https.certificateAuthority),Y.assert.any([Y.default.string,Y.default.object,Y.default.array,Y.default.undefined],r.https.key),Y.assert.any([Y.default.string,Y.default.object,Y.default.array,Y.default.undefined],r.https.certificate),Y.assert.any([Y.default.string,Y.default.undefined],r.https.passphrase),Y.assert.any([Y.default.string,Y.default.buffer,Y.default.array,Y.default.undefined],r.https.pfx)),Y.assert.any([Y.default.object,Y.default.undefined],r.cacheOptions),Y.default.string(r.method)?r.method=r.method.toUpperCase():r.method="GET",r.headers===(n==null?void 0:n.headers)?r.headers={...r.headers}:r.headers=Aq({...n==null?void 0:n.headers,...r.headers}),"slashes"in r)throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.");if("auth"in r)throw new TypeError("Parameter `auth` is deprecated. Use `username` / `password` instead.");if("searchParams"in r&&r.searchParams&&r.searchParams!==(n==null?void 0:n.searchParams)){let d;if(Y.default.string(r.searchParams)||r.searchParams instanceof Pn.URLSearchParams)d=new Pn.URLSearchParams(r.searchParams);else{Lq(r.searchParams),d=new Pn.URLSearchParams;for(let y in r.searchParams){let m=r.searchParams[y];m===null?d.append(y,""):m!==void 0&&d.append(y,m)}}(i=n==null?void 0:n.searchParams)===null||i===void 0||i.forEach((y,m)=>{d.has(m)||d.append(m,y)}),r.searchParams=d}if(r.username=(s=r.username)!==null&&s!==void 0?s:"",r.password=(o=r.password)!==null&&o!==void 0?o:"",Y.default.undefined(r.prefixUrl)?r.prefixUrl=(a=n==null?void 0:n.prefixUrl)!==null&&a!==void 0?a:"":(r.prefixUrl=r.prefixUrl.toString(),r.prefixUrl!==""&&!r.prefixUrl.endsWith("/")&&(r.prefixUrl+="/")),Y.default.string(r.url)){if(r.url.startsWith("/"))throw new Error("`input` must not start with a slash when using `prefixUrl`");r.url=xR.default(r.prefixUrl+r.url,r)}else(Y.default.undefined(r.url)&&r.prefixUrl!==""||r.protocol)&&(r.url=xR.default(r.prefixUrl,r));if(r.url){"port"in r&&delete r.port;let{prefixUrl:d}=r;Object.defineProperty(r,"prefixUrl",{set:m=>{let p=r.url;if(!p.href.startsWith(m))throw new Error(`Cannot change \`prefixUrl\` from ${d} to ${m}: ${p.href}`);r.url=new Pn.URL(m+p.href.slice(d.length)),d=m},get:()=>d});let{protocol:y}=r.url;if(y==="unix:"&&(y="http:",r.url=new Pn.URL(`http://unix${r.url.pathname}${r.url.search}`)),r.searchParams&&(r.url.search=r.searchParams.toString()),y!=="http:"&&y!=="https:")throw new Ul(r);r.username===""?r.username=r.url.username:r.url.username=r.username,r.password===""?r.password=r.url.password:r.url.password=r.password}let{cookieJar:l}=r;if(l){let{setCookie:d,getCookieString:y}=l;Y.assert.function_(d),Y.assert.function_(y),d.length===4&&y.length===0&&(d=gR.promisify(d.bind(r.cookieJar)),y=gR.promisify(y.bind(r.cookieJar)),r.cookieJar={setCookie:d,getCookieString:y})}let{cache:h}=r;if(h&&(yy.has(h)||yy.set(h,new vR((d,y)=>{let m=d[nt](d,y);return Y.default.promise(m)&&(m.once=(p,E)=>{if(p==="error")m.catch(E);else if(p==="abort")(async()=>{try{(await m).once("abort",E)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${p}`);return m}),m},h))),r.cacheOptions={...r.cacheOptions},r.dnsCache===!0)py||(py=new wq.default),r.dnsCache=py;else if(!Y.default.undefined(r.dnsCache)&&!r.dnsCache.lookup)throw new TypeError(`Parameter \`dnsCache\` must be a CacheableLookup instance or a boolean, got ${Y.default(r.dnsCache)}`);Y.default.number(r.timeout)?r.timeout={request:r.timeout}:n&&r.timeout!==n.timeout?r.timeout={...n.timeout,...r.timeout}:r.timeout={...r.timeout},r.context||(r.context={});let f=r.hooks===(n==null?void 0:n.hooks);r.hooks={...r.hooks};for(let d of ke.knownHookEvents)if(d in r.hooks)if(Y.default.array(r.hooks[d]))r.hooks[d]=[...r.hooks[d]];else throw new TypeError(`Parameter \`${d}\` must be an Array, got ${Y.default(r.hooks[d])}`);else r.hooks[d]=[];if(n&&!f)for(let d of ke.knownHookEvents)n.hooks[d].length>0&&(r.hooks[d]=[...n.hooks[d],...r.hooks[d]]);if("family"in r&&In.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"'),n!=null&&n.https&&(r.https={...n.https,...r.https}),"rejectUnauthorized"in r&&In.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"'),"checkServerIdentity"in r&&In.default('"options.checkServerIdentity" was never documented, please use "options.https.checkServerIdentity"'),"ca"in r&&In.default('"options.ca" was never documented, please use "options.https.certificateAuthority"'),"key"in r&&In.default('"options.key" was never documented, please use "options.https.key"'),"cert"in r&&In.default('"options.cert" was never documented, please use "options.https.certificate"'),"passphrase"in r&&In.default('"options.passphrase" was never documented, please use "options.https.passphrase"'),"pfx"in r&&In.default('"options.pfx" was never documented, please use "options.https.pfx"'),"followRedirects"in r)throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.");if(r.agent){for(let d in r.agent)if(d!=="http"&&d!=="https"&&d!=="http2")throw new TypeError(`Expected the \`options.agent\` properties to be \`http\`, \`https\` or \`http2\`, got \`${d}\``)}return r.maxRedirects=(u=r.maxRedirects)!==null&&u!==void 0?u:0,ke.setNonEnumerableProperties([n,c],r),Fq.default(r,n)}_lockWrite(){let e=()=>{throw new TypeError("The payload has been already provided")};this.write=e,this.end=e}_unlockWrite(){this.write=super.write,this.end=super.end}async _finalizeBody(){let{options:e}=this,{headers:r}=e,n=!Y.default.undefined(e.form),i=!Y.default.undefined(e.json),s=!Y.default.undefined(e.body),o=n||i||s,a=ke.withoutBody.has(e.method)&&!(e.method==="GET"&&e.allowGetBody);if(this._cannotHaveBody=a,o){if(a)throw new TypeError(`The \`${e.method}\` method cannot be used with a body`);if([s,n,i].filter(u=>u).length>1)throw new TypeError("The `body`, `json` and `form` options are mutually exclusive");if(s&&!(e.body instanceof _R.Readable)&&!Y.default.string(e.body)&&!Y.default.buffer(e.body)&&!ER.default(e.body))throw new TypeError("The `body` option must be a stream.Readable, string or Buffer");if(n&&!Y.default.object(e.form))throw new TypeError("The `form` option must be an Object");{let u=!Y.default.string(r["content-type"]);s?(ER.default(e.body)&&u&&(r["content-type"]=`multipart/form-data; boundary=${e.body.getBoundary()}`),this[Ln]=e.body):n?(u&&(r["content-type"]="application/x-www-form-urlencoded"),this[Ln]=new Pn.URLSearchParams(e.form).toString()):(u&&(r["content-type"]="application/json"),this[Ln]=e.stringifyJson(e.json));let c=await Dq.default(this[Ln],e.headers);Y.default.undefined(r["content-length"])&&Y.default.undefined(r["transfer-encoding"])&&!a&&!Y.default.undefined(c)&&(r["content-length"]=String(c))}}else a?this._lockWrite():this._unlockWrite();this[Zs]=Number(r["content-length"])||void 0}async _onResponseBase(e){let{options:r}=this,{url:n}=r;this[RR]=e,r.decompress&&(e=xq(e));let i=e.statusCode,s=e;s.statusMessage=s.statusMessage?s.statusMessage:bR.STATUS_CODES[i],s.url=r.url.toString(),s.requestUrl=this.requestUrl,s.redirectUrls=this.redirects,s.request=this,s.isFromCache=e.fromCache||!1,s.ip=this.ip,s.retryCount=this.retryCount,this[DR]=s.isFromCache,this[Ys]=Number(e.headers["content-length"])||void 0,this[Ll]=e,e.once("end",()=>{this[Ys]=this[Ks],this.emit("downloadProgress",this.downloadProgress)}),e.once("error",a=>{e.destroy(),this._beforeError(new wa(a,this))}),e.once("aborted",()=>{this._beforeError(new wa({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let o=e.headers["set-cookie"];if(Y.default.object(r.cookieJar)&&o){let a=o.map(async u=>r.cookieJar.setCookie(u,n.toString()));r.ignoreInvalidCookies&&(a=a.map(async u=>u.catch(()=>{})));try{await Promise.all(a)}catch(u){this._beforeError(u);return}}if(r.followRedirect&&e.headers.location&&Mq.has(i)){if(e.resume(),this[nt]&&(this[my](),delete this[nt],this[AR]()),(i===303&&r.method!=="GET"&&r.method!=="HEAD"||!r.methodRewriting)&&(r.method="GET","body"in r&&delete r.body,"json"in r&&delete r.json,"form"in r&&delete r.form,this[Ln]=void 0,delete r.headers["content-length"]),this.redirects.length>=r.maxRedirects){this._beforeError(new Bl(this));return}try{let h=function(f){return f.protocol==="unix:"||f.hostname==="unix"},u=Buffer.from(e.headers.location,"binary").toString(),c=new Pn.URL(u,n),l=c.toString();if(decodeURI(l),!h(n)&&h(c)){this._beforeError(new Ue("Cannot redirect to UNIX socket",{},this));return}c.hostname!==n.hostname||c.port!==n.port?("host"in r.headers&&delete r.headers.host,"cookie"in r.headers&&delete r.headers.cookie,"authorization"in r.headers&&delete r.headers.authorization,(r.username||r.password)&&(r.username="",r.password="")):(c.username=r.username,c.password=r.password),this.redirects.push(l),r.url=c;for(let f of r.hooks.beforeRedirect)await f(r,s);this.emit("redirect",s,r),await this._makeRequest()}catch(u){this._beforeError(u);return}return}if(r.isStream&&r.throwHttpErrors&&!Oq.isResponseOk(s)){this._beforeError(new Nl(s));return}e.on("readable",()=>{this[Il]&&this._read()}),this.on("resume",()=>{e.resume()}),this.on("pause",()=>{e.pause()}),e.once("end",()=>{this.push(null)}),this.emit("response",e);for(let a of this[Pl])if(!a.headersSent){for(let u in e.headers){let c=r.decompress?u!=="content-encoding":!0,l=e.headers[u];c&&a.setHeader(u,l)}a.statusCode=i}}async _onResponse(e){try{await this._onResponseBase(e)}catch(r){this._beforeError(r)}}_onRequest(e){let{options:r}=this,{timeout:n,url:i}=r;Eq.default(e),this[my]=wR.default(e,n,i);let s=r.cache?"cacheableResponse":"response";e.once(s,u=>{this._onResponse(u)}),e.once("error",u=>{var c;e.destroy(),(c=e.res)===null||c===void 0||c.removeAllListeners("end"),u=u instanceof wR.TimeoutError?new ql(u,this.timings,this):new Ue(u.message,u,this),this._beforeError(u)}),this[AR]=Cq.default(e,this,qq),this[nt]=e,this.emit("uploadProgress",this.uploadProgress);let o=this[Ln],a=this.redirects.length===0?this:e;Y.default.nodeStream(o)?(o.pipe(a),o.once("error",u=>{this._beforeError(new jl(u,this))})):(this._unlockWrite(),Y.default.undefined(o)?(this._cannotHaveBody||this._noPipe)&&(a.end(),this._lockWrite()):(this._writeRequest(o,void 0,()=>{}),a.end(),this._lockWrite())),this.emit("request",e)}async _createCacheableRequest(e,r){return new Promise((n,i)=>{Object.assign(r,Rq.default(e)),delete r.url;let s,o=yy.get(r.cache)(r,async a=>{a._readableState.autoDestroy=!1,s&&(await s).emit("cacheableResponse",a),n(a)});r.url=e,o.once("error",i),o.once("request",async a=>{s=a,n(s)})})}async _makeRequest(){var e,r,n,i,s;let{options:o}=this,{headers:a}=o;for(let E in a)if(Y.default.undefined(a[E]))delete a[E];else if(Y.default.null_(a[E]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${E}\` header`);if(o.decompress&&Y.default.undefined(a["accept-encoding"])&&(a["accept-encoding"]=Iq?"gzip, deflate, br":"gzip, deflate"),o.cookieJar){let E=await o.cookieJar.getCookieString(o.url.toString());Y.default.nonEmptyString(E)&&(o.headers.cookie=E)}for(let E of o.hooks.beforeRequest){let R=await E(o);if(!Y.default.undefined(R)){o.request=()=>R;break}}o.body&&this[Ln]!==o.body&&(this[Ln]=o.body);let{agent:u,request:c,timeout:l,url:h}=o;if(o.dnsCache&&!("lookup"in o)&&(o.lookup=o.dnsCache.lookup),h.hostname==="unix"){let E=/(?<socketPath>.+?):(?<path>.+)/.exec(`${h.pathname}${h.search}`);if(E!=null&&E.groups){let{socketPath:R,path:P}=E.groups;Object.assign(o,{socketPath:R,path:P,host:""})}}let f=h.protocol==="https:",d;o.http2?d=Sq.auto:d=f?vq.request:bR.request;let y=(e=o.request)!==null&&e!==void 0?e:d,m=o.cache?this._createCacheableRequest:y;u&&!o.http2&&(o.agent=u[f?"https":"http"]),o[nt]=y,delete o.request,delete o.timeout;let p=o;if(p.shared=(r=o.cacheOptions)===null||r===void 0?void 0:r.shared,p.cacheHeuristic=(n=o.cacheOptions)===null||n===void 0?void 0:n.cacheHeuristic,p.immutableMinTimeToLive=(i=o.cacheOptions)===null||i===void 0?void 0:i.immutableMinTimeToLive,p.ignoreCargoCult=(s=o.cacheOptions)===null||s===void 0?void 0:s.ignoreCargoCult,o.dnsLookupIpVersion!==void 0)try{p.family=SR.dnsLookupIpVersionToFamily(o.dnsLookupIpVersion)}catch{throw new Error("Invalid `dnsLookupIpVersion` option value")}o.https&&("rejectUnauthorized"in o.https&&(p.rejectUnauthorized=o.https.rejectUnauthorized),o.https.checkServerIdentity&&(p.checkServerIdentity=o.https.checkServerIdentity),o.https.certificateAuthority&&(p.ca=o.https.certificateAuthority),o.https.certificate&&(p.cert=o.https.certificate),o.https.key&&(p.key=o.https.key),o.https.passphrase&&(p.passphrase=o.https.passphrase),o.https.pfx&&(p.pfx=o.https.pfx));try{let E=await m(h,p);Y.default.undefined(E)&&(E=d(h,p)),o.request=c,o.timeout=l,o.agent=u,o.https&&("rejectUnauthorized"in o.https&&delete p.rejectUnauthorized,o.https.checkServerIdentity&&delete p.checkServerIdentity,o.https.certificateAuthority&&delete p.ca,o.https.certificate&&delete p.cert,o.https.key&&delete p.key,o.https.passphrase&&delete p.passphrase,o.https.pfx&&delete p.pfx),Bq(E)?this._onRequest(E):this.writable?(this.once("finish",()=>{this._onResponse(E)}),this._unlockWrite(),this.end(),this._lockWrite()):this._onResponse(E)}catch(E){throw E instanceof vR.CacheError?new Ml(E,this):new Ue(E.message,E,this)}}async _error(e){try{for(let r of this.options.hooks.beforeError)e=await r(e)}catch(r){e=new Ue(r.message,r,this)}this.destroy(e)}_beforeError(e){if(this[Xs])return;let{options:r}=this,n=this.retryCount+1;this[Xs]=!0,e instanceof Ue||(e=new Ue(e.message,e,this));let i=e,{response:s}=i;(async()=>{if(s&&!s.body){s.setEncoding(this._readableState.encoding);try{s.rawBody=await Tq.default(s),s.body=s.rawBody.toString()}catch{}}if(this.listenerCount("retry")!==0){let o;try{let a;s&&"retry-after"in s.headers&&(a=Number(s.headers["retry-after"]),Number.isNaN(a)?(a=Date.parse(s.headers["retry-after"])-Date.now(),a<=0&&(a=1)):a*=1e3),o=await r.retry.calculateDelay({attemptCount:n,retryOptions:r.retry,error:i,retryAfter:a,computedValue:Pq.default({attemptCount:n,retryOptions:r.retry,error:i,retryAfter:a,computedValue:0})})}catch(a){this._error(new Ue(a.message,a,this));return}if(o){let a=async()=>{try{for(let u of this.options.hooks.beforeRetry)await u(this.options,i,n)}catch(u){this._error(new Ue(u.message,e,this));return}this.destroyed||(this.destroy(),this.emit("retry",n,e))};this[kR]=setTimeout(a,o);return}}this._error(i)})()}_read(){this[Il]=!0;let e=this[Ll];if(e&&!this[Xs]){e.readableLength&&(this[Il]=!1);let r;for(;(r=e.read())!==null;){this[Ks]+=r.length,this[CR]=!0;let n=this.downloadProgress;n.percent<1&&this.emit("downloadProgress",n),this.push(r)}}}_write(e,r,n){let i=()=>{this._writeRequest(e,r,n)};this.requestInitialized?i():this[Ea].push(i)}_writeRequest(e,r,n){this[nt].destroyed||(this._progressCallbacks.push(()=>{this[Js]+=Buffer.byteLength(e,r);let i=this.uploadProgress;i.percent<1&&this.emit("uploadProgress",i)}),this[nt].write(e,r,i=>{!i&&this._progressCallbacks.length>0&&this._progressCallbacks.shift()(),n(i)}))}_final(e){let r=()=>{for(;this._progressCallbacks.length!==0;)this._progressCallbacks.shift()();if(!(nt in this)){e();return}if(this[nt].destroyed){e();return}this[nt].end(n=>{n||(this[Zs]=this[Js],this.emit("uploadProgress",this.uploadProgress),this[nt].emit("upload-complete")),e(n)})};this.requestInitialized?r():this[Ea].push(r)}_destroy(e,r){var n;this[Xs]=!0,clearTimeout(this[kR]),nt in this&&(this[my](),!((n=this[Ll])===null||n===void 0)&&n.complete||this[nt].destroy()),e!==null&&!Y.default.undefined(e)&&!(e instanceof Ue)&&(e=new Ue(e.message,e,this)),r(e)}get _isAboutToError(){return this[Xs]}get ip(){var e;return(e=this.socket)===null||e===void 0?void 0:e.remoteAddress}get aborted(){var e,r,n;return((r=(e=this[nt])===null||e===void 0?void 0:e.destroyed)!==null&&r!==void 0?r:this.destroyed)&&!(!((n=this[RR])===null||n===void 0)&&n.complete)}get socket(){var e,r;return(r=(e=this[nt])===null||e===void 0?void 0:e.socket)!==null&&r!==void 0?r:void 0}get downloadProgress(){let e;return this[Ys]?e=this[Ks]/this[Ys]:this[Ys]===this[Ks]?e=1:e=0,{percent:e,transferred:this[Ks],total:this[Ys]}}get uploadProgress(){let e;return this[Zs]?e=this[Js]/this[Zs]:this[Zs]===this[Js]?e=1:e=0,{percent:e,transferred:this[Js],total:this[Zs]}}get timings(){var e;return(e=this[nt])===null||e===void 0?void 0:e.timings}get isFromCache(){return this[DR]}pipe(e,r){if(this[CR])throw new Error("Failed to pipe. The response has been emitted already.");return e instanceof dy.ServerResponse&&this[Pl].add(e),super.pipe(e,r)}unpipe(e){return e instanceof dy.ServerResponse&&this[Pl].delete(e),super.unpipe(e),this}};ke.default=Hl});var Sa=A(ur=>{"use strict";var Uq=ur&&ur.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Hq=ur&&ur.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Uq(e,t,r)};Object.defineProperty(ur,"__esModule",{value:!0});ur.CancelError=ur.ParseError=void 0;var TR=xa(),gy=class extends TR.RequestError{constructor(e,r){let{options:n}=r.request;super(`${e.message} in "${n.url.toString()}"`,e,r.request),this.name="ParseError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_BODY_PARSE_FAILURE":this.code}};ur.ParseError=gy;var _y=class extends TR.RequestError{constructor(e){super("Promise was canceled",{},e),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}};ur.CancelError=_y;Hq(xa(),ur)});var FR=A(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});var OR=Sa(),$q=(t,e,r,n)=>{let{rawBody:i}=t;try{if(e==="text")return i.toString(n);if(e==="json")return i.length===0?"":r(i.toString());if(e==="buffer")return i;throw new OR.ParseError({message:`Unknown body type '${e}'`,name:"Error"},t)}catch(s){throw new OR.ParseError(s,t)}};by.default=$q});var vy=A(Bn=>{"use strict";var Gq=Bn&&Bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),zq=Bn&&Bn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Gq(e,t,r)};Object.defineProperty(Bn,"__esModule",{value:!0});var Vq=require("events"),Wq=en(),Yq=TC(),$l=Sa(),PR=FR(),IR=xa(),Kq=ry(),Zq=cy(),LR=ly(),Jq=["request","response","redirect","uploadProgress","downloadProgress"];function BR(t){let e,r,n=new Vq.EventEmitter,i=new Yq((o,a,u)=>{let c=l=>{let h=new IR.default(void 0,t);h.retryCount=l,h._noPipe=!0,u(()=>h.destroy()),u.shouldReject=!1,u(()=>a(new $l.CancelError(h))),e=h,h.once("response",async y=>{var m;if(y.retryCount=l,y.request.aborted)return;let p;try{p=await Zq.default(h),y.rawBody=p}catch{return}if(h._isAboutToError)return;let E=((m=y.headers["content-encoding"])!==null&&m!==void 0?m:"").toLowerCase(),R=["gzip","deflate","br"].includes(E),{options:P}=h;if(R&&!P.decompress)y.body=p;else try{y.body=PR.default(y,P.responseType,P.parseJson,P.encoding)}catch(O){if(y.body=p.toString(),LR.isResponseOk(y)){h._beforeError(O);return}}try{for(let[O,F]of P.hooks.afterResponse.entries())y=await F(y,async M=>{let x=IR.default.normalizeArguments(void 0,{...M,retry:{calculateDelay:()=>0},throwHttpErrors:!1,resolveBodyOnly:!1},P);x.hooks.afterResponse=x.hooks.afterResponse.slice(0,O);for(let U of x.hooks.beforeRetry)await U(x);let D=BR(x);return u(()=>{D.catch(()=>{}),D.cancel()}),D})}catch(O){h._beforeError(new $l.RequestError(O.message,O,h));return}if(r=y,!LR.isResponseOk(y)){h._beforeError(new $l.HTTPError(y));return}h.destroy(),o(h.options.resolveBodyOnly?y.body:y)});let f=y=>{if(i.isCanceled)return;let{options:m}=h;if(y instanceof $l.HTTPError&&!m.throwHttpErrors){let{response:p}=y;o(h.options.resolveBodyOnly?p.body:p);return}a(y)};h.once("error",f);let d=h.options.body;h.once("retry",(y,m)=>{var p,E;if(d===((p=m.request)===null||p===void 0?void 0:p.options.body)&&Wq.default.nodeStream((E=m.request)===null||E===void 0?void 0:E.options.body)){f(m);return}c(y)}),Kq.default(h,n,Jq)};c(0)});i.on=(o,a)=>(n.on(o,a),i);let s=o=>{let a=(async()=>{await i;let{options:u}=r.request;return PR.default(r,o,u.parseJson,u.encoding)})();return Object.defineProperties(a,Object.getOwnPropertyDescriptors(i)),a};return i.json=()=>{let{headers:o}=e.options;return!e.writableFinished&&o.accept===void 0&&(o.accept="application/json"),s("json")},i.buffer=()=>s("buffer"),i.text=()=>s("text"),i}Bn.default=BR;zq(Sa(),Bn)});var NR=A(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});var Xq=Sa();function Qq(t,...e){let r=(async()=>{if(t instanceof Xq.RequestError)try{for(let i of e)if(i)for(let s of i)t=await s(t)}catch(i){t=i}throw t})(),n=()=>r;return r.json=n,r.text=n,r.buffer=n,r.on=n,r}Ey.default=Qq});var qR=A(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0});var MR=en();function jR(t){for(let e of Object.values(t))(MR.default.plainObject(e)||MR.default.array(e))&&jR(e);return Object.freeze(t)}wy.default=jR});var HR=A(UR=>{"use strict";Object.defineProperty(UR,"__esModule",{value:!0})});var xy=A(Xt=>{"use strict";var e7=Xt&&Xt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),t7=Xt&&Xt.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&e7(e,t,r)};Object.defineProperty(Xt,"__esModule",{value:!0});Xt.defaultHandler=void 0;var $R=en(),Jt=vy(),r7=NR(),zl=xa(),n7=qR(),i7={RequestError:Jt.RequestError,CacheError:Jt.CacheError,ReadError:Jt.ReadError,HTTPError:Jt.HTTPError,MaxRedirectsError:Jt.MaxRedirectsError,TimeoutError:Jt.TimeoutError,ParseError:Jt.ParseError,CancelError:Jt.CancelError,UnsupportedProtocolError:Jt.UnsupportedProtocolError,UploadError:Jt.UploadError},s7=async t=>new Promise(e=>{setTimeout(e,t)}),{normalizeArguments:Gl}=zl.default,GR=(...t)=>{let e;for(let r of t)e=Gl(void 0,r,e);return e},o7=t=>t.isStream?new zl.default(void 0,t):Jt.default(t),a7=t=>"defaults"in t&&"options"in t.defaults,u7=["get","post","put","patch","head","delete"];Xt.defaultHandler=(t,e)=>e(t);var zR=(t,e)=>{if(t)for(let r of t)r(e)},VR=t=>{t._rawHandlers=t.handlers,t.handlers=t.handlers.map(n=>(i,s)=>{let o,a=n(i,u=>(o=s(u),o));if(a!==o&&!i.isStream&&o){let u=a,{then:c,catch:l,finally:h}=u;Object.setPrototypeOf(u,Object.getPrototypeOf(o)),Object.defineProperties(u,Object.getOwnPropertyDescriptors(o)),u.then=c,u.catch=l,u.finally=h}return a});let e=(n,i={},s)=>{var o,a;let u=0,c=l=>t.handlers[u++](l,u===t.handlers.length?o7:c);if($R.default.plainObject(n)){let l={...n,...i};zl.setNonEnumerableProperties([n,i],l),i=l,n=void 0}try{let l;try{zR(t.options.hooks.init,i),zR((o=i.hooks)===null||o===void 0?void 0:o.init,i)}catch(f){l=f}let h=Gl(n,i,s!=null?s:t.options);if(h[zl.kIsNormalizedAlready]=!0,l)throw new Jt.RequestError(l.message,l,h);return c(h)}catch(l){if(i.isStream)throw l;return r7.default(l,t.options.hooks.beforeError,(a=i.hooks)===null||a===void 0?void 0:a.beforeError)}};e.extend=(...n)=>{let i=[t.options],s=[...t._rawHandlers],o;for(let a of n)a7(a)?(i.push(a.defaults.options),s.push(...a.defaults._rawHandlers),o=a.defaults.mutableDefaults):(i.push(a),"handlers"in a&&s.push(...a.handlers),o=a.mutableDefaults);return s=s.filter(a=>a!==Xt.defaultHandler),s.length===0&&s.push(Xt.defaultHandler),VR({options:GR(...i),handlers:s,mutableDefaults:!!o})};let r=async function*(n,i){let s=Gl(n,i,t.options);s.resolveBodyOnly=!1;let o=s.pagination;if(!$R.default.object(o))throw new TypeError("`options.pagination` must be implemented");let a=[],{countLimit:u}=o,c=0;for(;c<o.requestLimit;){c!==0&&await s7(o.backoff);let l=await e(void 0,void 0,s),h=await o.transform(l),f=[];for(let y of h)if(o.filter(y,a,f)&&(!o.shouldContinue(y,a,f)||(yield y,o.stackAllItems&&a.push(y),f.push(y),--u<=0)))return;let d=o.paginate(l,a,f);if(d===!1)return;d===l.request.options?s=l.request.options:d!==void 0&&(s=Gl(void 0,d,s)),c++}};e.paginate=r,e.paginate.all=async(n,i)=>{let s=[];for await(let o of r(n,i))s.push(o);return s},e.paginate.each=r,e.stream=(n,i)=>e(n,{...i,isStream:!0});for(let n of u7)e[n]=(i,s)=>e(i,{...s,method:n}),e.stream[n]=(i,s)=>e(i,{...s,method:n,isStream:!0});return Object.assign(e,i7),Object.defineProperty(e,"defaults",{value:t.mutableDefaults?t:n7.default(t),writable:t.mutableDefaults,configurable:t.mutableDefaults,enumerable:!0}),e.mergeOptions=GR,e};Xt.default=VR;t7(HR(),Xt)});var Ay=A((tn,Vl)=>{"use strict";var c7=tn&&tn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),WR=tn&&tn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&c7(e,t,r)};Object.defineProperty(tn,"__esModule",{value:!0});var l7=require("url"),YR=xy(),h7={options:{method:"GET",retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:t})=>t},timeout:{},headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},hooks:{init:[],beforeRequest:[],beforeRedirect:[],beforeRetry:[],beforeError:[],afterResponse:[]},cache:void 0,dnsCache:void 0,decompress:!0,throwHttpErrors:!0,followRedirect:!0,isStream:!1,responseType:"text",resolveBodyOnly:!1,maxRedirects:10,prefixUrl:"",methodRewriting:!0,ignoreInvalidCookies:!1,context:{},http2:!1,allowGetBody:!1,https:void 0,pagination:{transform:t=>t.request.options.responseType==="json"?t.body:JSON.parse(t.body),paginate:t=>{if(!Reflect.has(t.headers,"link"))return!1;let e=t.headers.link.split(","),r;for(let n of e){let i=n.split(";");if(i[1].includes("next")){r=i[0].trimStart().trim(),r=r.slice(1,-1);break}}return r?{url:new l7.URL(r)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:1/0,backoff:0,requestLimit:1e4,stackAllItems:!0},parseJson:t=>JSON.parse(t),stringifyJson:t=>JSON.stringify(t),cacheOptions:{}},handlers:[YR.defaultHandler],mutableDefaults:!1},Sy=YR.default(h7);tn.default=Sy;Vl.exports=Sy;Vl.exports.default=Sy;Vl.exports.__esModule=!0;WR(xy(),tn);WR(vy(),tn)});var tk=A((xK,ek)=>{function Qt(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}ek.exports=Qt;Qt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Qt.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Qt.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};Qt.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Qt.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Qt.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Qt.prototype.start=Qt.prototype.try;Qt.prototype.errors=function(){return this._errors};Qt.prototype.attempts=function(){return this._attempts};Qt.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],s=i.message,o=(t[s]||0)+1;t[s]=o,o>=r&&(e=i,r=o)}return e}});var rk=A(yi=>{var d7=tk();yi.operation=function(t){var e=yi.timeouts(t);return new d7(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};yi.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(s,o){return s-o}),n};yi.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};yi.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var s=r[i],o=t[s];t[s]=function(u){var c=yi.operation(e),l=Array.prototype.slice.call(arguments,1),h=l.pop();l.push(function(f){c.retry(f)||(f&&(arguments[0]=c.mainError()),h.apply(this,arguments))}),c.attempt(function(){u.apply(t,l)})}.bind(t,o),t[s].options=e}}});var ik=A((AK,nk)=>{nk.exports=rk()});var ok=A((DK,sk)=>{var p7=ik();function m7(t,e){function r(n,i){var s=e||{},o;"randomize"in s||(s.randomize=!0),o=p7.operation(s);function a(l){i(l||new Error("Aborted"))}function u(l,h){if(l.bail){a(l);return}o.retry(l)?s.onRetry&&s.onRetry(l,h):i(o.mainError())}function c(l){var h;try{h=t(a,l)}catch(f){u(f,l);return}Promise.resolve(h).then(n).catch(function(d){u(d,l)})}o.attempt(c)}return new Promise(r)}sk.exports=m7});var wk=A(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});function mU(t){return t&&t.__esModule?t:{default:t}}var _k=Object.defineProperty,yk=Object.getOwnPropertySymbols,yU=Object.prototype.hasOwnProperty,gU=Object.prototype.propertyIsEnumerable,gk=(t,e,r)=>e in t?_k(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_U=(t,e)=>{for(var r in e||(e={}))yU.call(e,r)&&gk(t,r,e[r]);if(yk)for(var r of yk(e))gU.call(e,r)&&gk(t,r,e[r]);return t},bU=(t,e)=>{for(var r in e)_k(t,r,{get:e[r],enumerable:!0})},vU=(t,e,r)=>new Promise((n,i)=>{var s=u=>{try{a(r.next(u))}catch(c){i(c)}},o=u=>{try{a(r.throw(u))}catch(c){i(c)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,o);a((r=r.apply(t,e)).next())}),bk={};bU(bk,{configDir:()=>Ek,darwinConfig:()=>Hy,getPathForPlatform:()=>Gy,getPlatform:()=>Uy,linuxConfig:()=>th,winConfig:()=>$y});var EU=require("fs/promises"),wU=require("path"),vk=mU(wU);function Uy(){return process.platform}function th(){if(process.env.XDG_CONFIG_HOME!==void 0)return process.env.XDG_CONFIG_HOME;if(process.env.HOME!==void 0)return vk.default.join(process.env.HOME,".config")}function Hy(){if(process.env.HOME!==void 0)return vk.default.join(process.env.HOME,"/Library/Application Support")}function $y(){return process.env.APPDATA}function Gy({platform:t}){switch(t){case"linux":return th();case"darwin":return Hy();case"win32":return $y();default:return th()}}function Ek(){return vU(this,arguments,function*(t={}){var e;let r=(e=t.platform)!=null?e:Uy(),n=Gy({platform:r});if(n!==void 0){if(t.validate===!1)return n;try{return yield EU.stat.call(void 0,n),n}catch{return}}})}Or.__spreadValues=_U;Or.getPlatform=Uy;Or.linuxConfig=th;Or.darwinConfig=Hy;Or.winConfig=$y;Or.getPathForPlatform=Gy;Or.configDir=Ek;Or.config_dir_exports=bk});var xk=A(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});var xU=wk();zy.configDir=xU.configDir});var kk=A((cZ,IU)=>{IU.exports=[{name:"Agola CI",constant:"AGOLA",env:"AGOLA_GIT_REF",pr:"AGOLA_PULL_REQUEST_ID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"TF_BUILD",pr:{BUILD_REASON:"PullRequest"}},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Earthly",constant:"EARTHLY",env:"EARTHLY_CI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"Gitea Actions",constant:"GITEA_ACTIONS",env:"GITEA_ACTIONS"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Prow",constant:"PROW",env:"PROW_JOB_ID"},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vela",constant:"VELA",env:"VELA",pr:{VELA_PULL_REQUEST:"1"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]},pr:"VERCEL_GIT_PULL_REQUEST_ID"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]});var Fk=A(Mt=>{"use strict";var Ok=kk(),Ye=process.env;Object.defineProperty(Mt,"_vendors",{value:Ok.map(function(t){return t.constant})});Mt.name=null;Mt.isPR=null;Ok.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(n){return Tk(n)});if(Mt[t.constant]=r,!!r)switch(Mt.name=t.name,typeof t.pr){case"string":Mt.isPR=!!Ye[t.pr];break;case"object":"env"in t.pr?Mt.isPR=t.pr.env in Ye&&Ye[t.pr.env]!==t.pr.ne:"any"in t.pr?Mt.isPR=t.pr.any.some(function(n){return!!Ye[n]}):Mt.isPR=Tk(t.pr);break;default:Mt.isPR=null}});Mt.isCI=!!(Ye.CI!=="false"&&(Ye.BUILD_ID||Ye.BUILD_NUMBER||Ye.CI||Ye.CI_APP_ID||Ye.CI_BUILD_ID||Ye.CI_BUILD_NUMBER||Ye.CI_NAME||Ye.CONTINUOUS_INTEGRATION||Ye.RUN_ID||Mt.name));function Tk(t){return typeof t=="string"?!!Ye[t]:"env"in t?Ye[t.env]&&Ye[t.env].includes(t.includes):"any"in t?t.any.some(function(e){return!!Ye[e]}):Object.keys(t).every(function(e){return Ye[e]===t[e]})}});var rh=A((DZ,UU)=>{UU.exports={name:"create-turbo",version:"2.4.2",description:"Create a new Turborepo",homepage:"https://turbo.build/repo",license:"MIT",repository:{type:"git",url:"https://github.com/vercel/turborepo",directory:"packages/create-turbo"},bugs:{url:"https://github.com/vercel/turborepo/issues"},bin:{"create-turbo":"dist/cli.js"},scripts:{build:"tsup",test:"jest",lint:"eslint src/","check-types":"tsc --noEmit","lint:prettier":"prettier -c . --cache --ignore-path=../../.prettierignore"},dependencies:{commander:"^11.0.0","fs-extra":"^11.1.1",inquirer:"^8.0.0",picocolors:"1.0.1","proxy-agent":"^6.2.2",semver:"^7.3.8","update-check":"^1.5.4"},devDependencies:{"@jest/globals":"^29.7.0","@turbo/eslint-config":"workspace:*","@turbo/telemetry":"workspace:*","@turbo/test-utils":"workspace:*","@turbo/tsconfig":"workspace:*","@turbo/utils":"workspace:*","@turbo/workspaces":"workspace:*","@types/fs-extra":"^9.0.13","@types/inquirer":"^7.3.1","@types/node":"^18.17.2","@types/semver":"^7.3.9",jest:"^29.7.0","ts-jest":"^29.2.5",tsup:"^6.7.0",typescript:"5.5.4"},files:["dist"]}});var KT=oe(require("http")),ZT=oe(require("https")),wg=oe(require("picocolors")),Ha=require("commander");var pO=oe(Tg());function bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wo(t){return wo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wo(t)}function vh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eh(t,e){if(e&&(wo(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vh(t)}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(t)}function Ir(t,e){return Ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ir(t,e)}function wh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ir(t,e)}function xh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Sh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bi(t,e,r){return Sh()?Bi=Reflect.construct.bind():Bi=function(i,s,o){var a=[null];a.push.apply(a,s);var u=Function.bind.apply(i,a),c=new u;return o&&Ir(c,o.prototype),c},Bi.apply(null,arguments)}function xo(t){var e=typeof Map=="function"?new Map:void 0;return xo=function(n){if(n===null||!xh(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Bi(n,arguments,zn(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ir(i,n)},xo(t)}var Yg=oe(Wg());var mO=oe(require("fs-extra")),_G=function(t){wh(e,t);function e(r){var n;return bh(this,e),n=Eh(this,zn(e).call(this,"No package.json could be found upwards from the directory ".concat(r))),n.directory=r,n}return e}(xo(Error));var yO=oe(require("fs")),gO=oe(require("path"));var P3=oe(require("fs")),I3=oe(require("path"));function l_(t){return typeof t=="undefined"||t===null}function vO(t){return typeof t=="object"&&t!==null}function EO(t){return Array.isArray(t)?t:l_(t)?[]:[t]}function wO(t,e){var r,n,i,s;if(e)for(s=Object.keys(e),r=0,n=s.length;r<n;r+=1)i=s[r],t[i]=e[i];return t}function xO(t,e){var r="",n;for(n=0;n<e;n+=1)r+=t;return r}function SO(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var AO=l_,DO=vO,CO=EO,RO=xO,kO=SO,TO=wO,Ve={isNothing:AO,isObject:DO,toArray:CO,repeat:RO,isNegativeZero:kO,extend:TO};function h_(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`
|
30
|
+
`)}`}}};ke.RequestError=Ue;var Bl=class extends Ue{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e),this.name="MaxRedirectsError",this.code="ERR_TOO_MANY_REDIRECTS"}};ke.MaxRedirectsError=Bl;var Nl=class extends Ue{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request),this.name="HTTPError",this.code="ERR_NON_2XX_3XX_RESPONSE"}};ke.HTTPError=Nl;var Ml=class extends Ue{constructor(e,r){super(e.message,e,r),this.name="CacheError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_CACHE_ACCESS":this.code}};ke.CacheError=Ml;var jl=class extends Ue{constructor(e,r){super(e.message,e,r),this.name="UploadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_UPLOAD":this.code}};ke.UploadError=jl;var ql=class extends Ue{constructor(e,r,n){super(e.message,e,n),this.name="TimeoutError",this.event=e.event,this.timings=r}};ke.TimeoutError=ql;var wa=class extends Ue{constructor(e,r){super(e.message,e,r),this.name="ReadError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_READING_RESPONSE_STREAM":this.code}};ke.ReadError=wa;var Ul=class extends Ue{constructor(e){super(`Unsupported protocol "${e.url.protocol}"`,{},e),this.name="UnsupportedProtocolError",this.code="ERR_UNSUPPORTED_PROTOCOL"}};ke.UnsupportedProtocolError=Ul;var qq=["socket","connect","continue","information","upgrade","timeout"],Hl=class extends _R.Duplex{constructor(e,r={},n){super({autoDestroy:!1,highWaterMark:0}),this[Ks]=0,this[Js]=0,this.requestInitialized=!1,this[Pl]=new Set,this.redirects=[],this[Xs]=!1,this[Il]=!1,this[Ea]=[],this.retryCount=0,this._progressCallbacks=[];let i=()=>this._unlockWrite(),s=()=>this._lockWrite();this.on("pipe",c=>{c.prependListener("data",i),c.on("data",s),c.prependListener("end",i),c.on("end",s)}),this.on("unpipe",c=>{c.off("data",i),c.off("data",s),c.off("end",i),c.off("end",s)}),this.on("pipe",c=>{c instanceof dy.IncomingMessage&&(this.options.headers={...c.headers,...this.options.headers})});let{json:o,body:a,form:u}=r;if((o||a||u)&&this._lockWrite(),ke.kIsNormalizedAlready in r)this.options=r;else try{this.options=this.constructor.normalizeArguments(e,r,n)}catch(c){Y.default.nodeStream(r.body)&&r.body.destroy(),this.destroy(c);return}(async()=>{var c;try{this.options.body instanceof bq.ReadStream&&await Nq(this.options.body);let{url:l}=this.options;if(!l)throw new TypeError("Missing `url` property");if(this.requestUrl=l.toString(),decodeURI(this.requestUrl),await this._finalizeBody(),await this._makeRequest(),this.destroyed){(c=this[nt])===null||c===void 0||c.destroy();return}for(let h of this[Ea])h();this[Ea].length=0,this.requestInitialized=!0}catch(l){if(l instanceof Ue){this._beforeError(l);return}this.destroyed||this.destroy(l)}})()}static normalizeArguments(e,r,n){var i,s,o,a,u;let c=r;if(Y.default.object(e)&&!Y.default.urlInstance(e))r={...n,...e,...r};else{if(e&&r&&r.url!==void 0)throw new TypeError("The `url` option is mutually exclusive with the `input` argument");r={...n,...r},e!==void 0&&(r.url=e),Y.default.urlInstance(r.url)&&(r.url=new Pn.URL(r.url.toString()))}if(r.cache===!1&&(r.cache=void 0),r.dnsCache===!1&&(r.dnsCache=void 0),Y.assert.any([Y.default.string,Y.default.undefined],r.method),Y.assert.any([Y.default.object,Y.default.undefined],r.headers),Y.assert.any([Y.default.string,Y.default.urlInstance,Y.default.undefined],r.prefixUrl),Y.assert.any([Y.default.object,Y.default.undefined],r.cookieJar),Y.assert.any([Y.default.object,Y.default.string,Y.default.undefined],r.searchParams),Y.assert.any([Y.default.object,Y.default.string,Y.default.undefined],r.cache),Y.assert.any([Y.default.object,Y.default.number,Y.default.undefined],r.timeout),Y.assert.any([Y.default.object,Y.default.undefined],r.context),Y.assert.any([Y.default.object,Y.default.undefined],r.hooks),Y.assert.any([Y.default.boolean,Y.default.undefined],r.decompress),Y.assert.any([Y.default.boolean,Y.default.undefined],r.ignoreInvalidCookies),Y.assert.any([Y.default.boolean,Y.default.undefined],r.followRedirect),Y.assert.any([Y.default.number,Y.default.undefined],r.maxRedirects),Y.assert.any([Y.default.boolean,Y.default.undefined],r.throwHttpErrors),Y.assert.any([Y.default.boolean,Y.default.undefined],r.http2),Y.assert.any([Y.default.boolean,Y.default.undefined],r.allowGetBody),Y.assert.any([Y.default.string,Y.default.undefined],r.localAddress),Y.assert.any([SR.isDnsLookupIpVersion,Y.default.undefined],r.dnsLookupIpVersion),Y.assert.any([Y.default.object,Y.default.undefined],r.https),Y.assert.any([Y.default.boolean,Y.default.undefined],r.rejectUnauthorized),r.https&&(Y.assert.any([Y.default.boolean,Y.default.undefined],r.https.rejectUnauthorized),Y.assert.any([Y.default.function_,Y.default.undefined],r.https.checkServerIdentity),Y.assert.any([Y.default.string,Y.default.object,Y.default.array,Y.default.undefined],r.https.certificateAuthority),Y.assert.any([Y.default.string,Y.default.object,Y.default.array,Y.default.undefined],r.https.key),Y.assert.any([Y.default.string,Y.default.object,Y.default.array,Y.default.undefined],r.https.certificate),Y.assert.any([Y.default.string,Y.default.undefined],r.https.passphrase),Y.assert.any([Y.default.string,Y.default.buffer,Y.default.array,Y.default.undefined],r.https.pfx)),Y.assert.any([Y.default.object,Y.default.undefined],r.cacheOptions),Y.default.string(r.method)?r.method=r.method.toUpperCase():r.method="GET",r.headers===(n==null?void 0:n.headers)?r.headers={...r.headers}:r.headers=Aq({...n==null?void 0:n.headers,...r.headers}),"slashes"in r)throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.");if("auth"in r)throw new TypeError("Parameter `auth` is deprecated. Use `username` / `password` instead.");if("searchParams"in r&&r.searchParams&&r.searchParams!==(n==null?void 0:n.searchParams)){let d;if(Y.default.string(r.searchParams)||r.searchParams instanceof Pn.URLSearchParams)d=new Pn.URLSearchParams(r.searchParams);else{Lq(r.searchParams),d=new Pn.URLSearchParams;for(let y in r.searchParams){let m=r.searchParams[y];m===null?d.append(y,""):m!==void 0&&d.append(y,m)}}(i=n==null?void 0:n.searchParams)===null||i===void 0||i.forEach((y,m)=>{d.has(m)||d.append(m,y)}),r.searchParams=d}if(r.username=(s=r.username)!==null&&s!==void 0?s:"",r.password=(o=r.password)!==null&&o!==void 0?o:"",Y.default.undefined(r.prefixUrl)?r.prefixUrl=(a=n==null?void 0:n.prefixUrl)!==null&&a!==void 0?a:"":(r.prefixUrl=r.prefixUrl.toString(),r.prefixUrl!==""&&!r.prefixUrl.endsWith("/")&&(r.prefixUrl+="/")),Y.default.string(r.url)){if(r.url.startsWith("/"))throw new Error("`input` must not start with a slash when using `prefixUrl`");r.url=xR.default(r.prefixUrl+r.url,r)}else(Y.default.undefined(r.url)&&r.prefixUrl!==""||r.protocol)&&(r.url=xR.default(r.prefixUrl,r));if(r.url){"port"in r&&delete r.port;let{prefixUrl:d}=r;Object.defineProperty(r,"prefixUrl",{set:m=>{let p=r.url;if(!p.href.startsWith(m))throw new Error(`Cannot change \`prefixUrl\` from ${d} to ${m}: ${p.href}`);r.url=new Pn.URL(m+p.href.slice(d.length)),d=m},get:()=>d});let{protocol:y}=r.url;if(y==="unix:"&&(y="http:",r.url=new Pn.URL(`http://unix${r.url.pathname}${r.url.search}`)),r.searchParams&&(r.url.search=r.searchParams.toString()),y!=="http:"&&y!=="https:")throw new Ul(r);r.username===""?r.username=r.url.username:r.url.username=r.username,r.password===""?r.password=r.url.password:r.url.password=r.password}let{cookieJar:l}=r;if(l){let{setCookie:d,getCookieString:y}=l;Y.assert.function_(d),Y.assert.function_(y),d.length===4&&y.length===0&&(d=gR.promisify(d.bind(r.cookieJar)),y=gR.promisify(y.bind(r.cookieJar)),r.cookieJar={setCookie:d,getCookieString:y})}let{cache:h}=r;if(h&&(yy.has(h)||yy.set(h,new vR((d,y)=>{let m=d[nt](d,y);return Y.default.promise(m)&&(m.once=(p,E)=>{if(p==="error")m.catch(E);else if(p==="abort")(async()=>{try{(await m).once("abort",E)}catch{}})();else throw new Error(`Unknown HTTP2 promise event: ${p}`);return m}),m},h))),r.cacheOptions={...r.cacheOptions},r.dnsCache===!0)py||(py=new wq.default),r.dnsCache=py;else if(!Y.default.undefined(r.dnsCache)&&!r.dnsCache.lookup)throw new TypeError(`Parameter \`dnsCache\` must be a CacheableLookup instance or a boolean, got ${Y.default(r.dnsCache)}`);Y.default.number(r.timeout)?r.timeout={request:r.timeout}:n&&r.timeout!==n.timeout?r.timeout={...n.timeout,...r.timeout}:r.timeout={...r.timeout},r.context||(r.context={});let f=r.hooks===(n==null?void 0:n.hooks);r.hooks={...r.hooks};for(let d of ke.knownHookEvents)if(d in r.hooks)if(Y.default.array(r.hooks[d]))r.hooks[d]=[...r.hooks[d]];else throw new TypeError(`Parameter \`${d}\` must be an Array, got ${Y.default(r.hooks[d])}`);else r.hooks[d]=[];if(n&&!f)for(let d of ke.knownHookEvents)n.hooks[d].length>0&&(r.hooks[d]=[...n.hooks[d],...r.hooks[d]]);if("family"in r&&In.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"'),n!=null&&n.https&&(r.https={...n.https,...r.https}),"rejectUnauthorized"in r&&In.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"'),"checkServerIdentity"in r&&In.default('"options.checkServerIdentity" was never documented, please use "options.https.checkServerIdentity"'),"ca"in r&&In.default('"options.ca" was never documented, please use "options.https.certificateAuthority"'),"key"in r&&In.default('"options.key" was never documented, please use "options.https.key"'),"cert"in r&&In.default('"options.cert" was never documented, please use "options.https.certificate"'),"passphrase"in r&&In.default('"options.passphrase" was never documented, please use "options.https.passphrase"'),"pfx"in r&&In.default('"options.pfx" was never documented, please use "options.https.pfx"'),"followRedirects"in r)throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.");if(r.agent){for(let d in r.agent)if(d!=="http"&&d!=="https"&&d!=="http2")throw new TypeError(`Expected the \`options.agent\` properties to be \`http\`, \`https\` or \`http2\`, got \`${d}\``)}return r.maxRedirects=(u=r.maxRedirects)!==null&&u!==void 0?u:0,ke.setNonEnumerableProperties([n,c],r),Fq.default(r,n)}_lockWrite(){let e=()=>{throw new TypeError("The payload has been already provided")};this.write=e,this.end=e}_unlockWrite(){this.write=super.write,this.end=super.end}async _finalizeBody(){let{options:e}=this,{headers:r}=e,n=!Y.default.undefined(e.form),i=!Y.default.undefined(e.json),s=!Y.default.undefined(e.body),o=n||i||s,a=ke.withoutBody.has(e.method)&&!(e.method==="GET"&&e.allowGetBody);if(this._cannotHaveBody=a,o){if(a)throw new TypeError(`The \`${e.method}\` method cannot be used with a body`);if([s,n,i].filter(u=>u).length>1)throw new TypeError("The `body`, `json` and `form` options are mutually exclusive");if(s&&!(e.body instanceof _R.Readable)&&!Y.default.string(e.body)&&!Y.default.buffer(e.body)&&!ER.default(e.body))throw new TypeError("The `body` option must be a stream.Readable, string or Buffer");if(n&&!Y.default.object(e.form))throw new TypeError("The `form` option must be an Object");{let u=!Y.default.string(r["content-type"]);s?(ER.default(e.body)&&u&&(r["content-type"]=`multipart/form-data; boundary=${e.body.getBoundary()}`),this[Ln]=e.body):n?(u&&(r["content-type"]="application/x-www-form-urlencoded"),this[Ln]=new Pn.URLSearchParams(e.form).toString()):(u&&(r["content-type"]="application/json"),this[Ln]=e.stringifyJson(e.json));let c=await Dq.default(this[Ln],e.headers);Y.default.undefined(r["content-length"])&&Y.default.undefined(r["transfer-encoding"])&&!a&&!Y.default.undefined(c)&&(r["content-length"]=String(c))}}else a?this._lockWrite():this._unlockWrite();this[Zs]=Number(r["content-length"])||void 0}async _onResponseBase(e){let{options:r}=this,{url:n}=r;this[RR]=e,r.decompress&&(e=xq(e));let i=e.statusCode,s=e;s.statusMessage=s.statusMessage?s.statusMessage:bR.STATUS_CODES[i],s.url=r.url.toString(),s.requestUrl=this.requestUrl,s.redirectUrls=this.redirects,s.request=this,s.isFromCache=e.fromCache||!1,s.ip=this.ip,s.retryCount=this.retryCount,this[DR]=s.isFromCache,this[Ys]=Number(e.headers["content-length"])||void 0,this[Ll]=e,e.once("end",()=>{this[Ys]=this[Ks],this.emit("downloadProgress",this.downloadProgress)}),e.once("error",a=>{e.destroy(),this._beforeError(new wa(a,this))}),e.once("aborted",()=>{this._beforeError(new wa({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))}),this.emit("downloadProgress",this.downloadProgress);let o=e.headers["set-cookie"];if(Y.default.object(r.cookieJar)&&o){let a=o.map(async u=>r.cookieJar.setCookie(u,n.toString()));r.ignoreInvalidCookies&&(a=a.map(async u=>u.catch(()=>{})));try{await Promise.all(a)}catch(u){this._beforeError(u);return}}if(r.followRedirect&&e.headers.location&&Mq.has(i)){if(e.resume(),this[nt]&&(this[my](),delete this[nt],this[AR]()),(i===303&&r.method!=="GET"&&r.method!=="HEAD"||!r.methodRewriting)&&(r.method="GET","body"in r&&delete r.body,"json"in r&&delete r.json,"form"in r&&delete r.form,this[Ln]=void 0,delete r.headers["content-length"]),this.redirects.length>=r.maxRedirects){this._beforeError(new Bl(this));return}try{let h=function(f){return f.protocol==="unix:"||f.hostname==="unix"},u=Buffer.from(e.headers.location,"binary").toString(),c=new Pn.URL(u,n),l=c.toString();if(decodeURI(l),!h(n)&&h(c)){this._beforeError(new Ue("Cannot redirect to UNIX socket",{},this));return}c.hostname!==n.hostname||c.port!==n.port?("host"in r.headers&&delete r.headers.host,"cookie"in r.headers&&delete r.headers.cookie,"authorization"in r.headers&&delete r.headers.authorization,(r.username||r.password)&&(r.username="",r.password="")):(c.username=r.username,c.password=r.password),this.redirects.push(l),r.url=c;for(let f of r.hooks.beforeRedirect)await f(r,s);this.emit("redirect",s,r),await this._makeRequest()}catch(u){this._beforeError(u);return}return}if(r.isStream&&r.throwHttpErrors&&!Oq.isResponseOk(s)){this._beforeError(new Nl(s));return}e.on("readable",()=>{this[Il]&&this._read()}),this.on("resume",()=>{e.resume()}),this.on("pause",()=>{e.pause()}),e.once("end",()=>{this.push(null)}),this.emit("response",e);for(let a of this[Pl])if(!a.headersSent){for(let u in e.headers){let c=r.decompress?u!=="content-encoding":!0,l=e.headers[u];c&&a.setHeader(u,l)}a.statusCode=i}}async _onResponse(e){try{await this._onResponseBase(e)}catch(r){this._beforeError(r)}}_onRequest(e){let{options:r}=this,{timeout:n,url:i}=r;Eq.default(e),this[my]=wR.default(e,n,i);let s=r.cache?"cacheableResponse":"response";e.once(s,u=>{this._onResponse(u)}),e.once("error",u=>{var c;e.destroy(),(c=e.res)===null||c===void 0||c.removeAllListeners("end"),u=u instanceof wR.TimeoutError?new ql(u,this.timings,this):new Ue(u.message,u,this),this._beforeError(u)}),this[AR]=Cq.default(e,this,qq),this[nt]=e,this.emit("uploadProgress",this.uploadProgress);let o=this[Ln],a=this.redirects.length===0?this:e;Y.default.nodeStream(o)?(o.pipe(a),o.once("error",u=>{this._beforeError(new jl(u,this))})):(this._unlockWrite(),Y.default.undefined(o)?(this._cannotHaveBody||this._noPipe)&&(a.end(),this._lockWrite()):(this._writeRequest(o,void 0,()=>{}),a.end(),this._lockWrite())),this.emit("request",e)}async _createCacheableRequest(e,r){return new Promise((n,i)=>{Object.assign(r,Rq.default(e)),delete r.url;let s,o=yy.get(r.cache)(r,async a=>{a._readableState.autoDestroy=!1,s&&(await s).emit("cacheableResponse",a),n(a)});r.url=e,o.once("error",i),o.once("request",async a=>{s=a,n(s)})})}async _makeRequest(){var e,r,n,i,s;let{options:o}=this,{headers:a}=o;for(let E in a)if(Y.default.undefined(a[E]))delete a[E];else if(Y.default.null_(a[E]))throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${E}\` header`);if(o.decompress&&Y.default.undefined(a["accept-encoding"])&&(a["accept-encoding"]=Iq?"gzip, deflate, br":"gzip, deflate"),o.cookieJar){let E=await o.cookieJar.getCookieString(o.url.toString());Y.default.nonEmptyString(E)&&(o.headers.cookie=E)}for(let E of o.hooks.beforeRequest){let R=await E(o);if(!Y.default.undefined(R)){o.request=()=>R;break}}o.body&&this[Ln]!==o.body&&(this[Ln]=o.body);let{agent:u,request:c,timeout:l,url:h}=o;if(o.dnsCache&&!("lookup"in o)&&(o.lookup=o.dnsCache.lookup),h.hostname==="unix"){let E=/(?<socketPath>.+?):(?<path>.+)/.exec(`${h.pathname}${h.search}`);if(E!=null&&E.groups){let{socketPath:R,path:P}=E.groups;Object.assign(o,{socketPath:R,path:P,host:""})}}let f=h.protocol==="https:",d;o.http2?d=Sq.auto:d=f?vq.request:bR.request;let y=(e=o.request)!==null&&e!==void 0?e:d,m=o.cache?this._createCacheableRequest:y;u&&!o.http2&&(o.agent=u[f?"https":"http"]),o[nt]=y,delete o.request,delete o.timeout;let p=o;if(p.shared=(r=o.cacheOptions)===null||r===void 0?void 0:r.shared,p.cacheHeuristic=(n=o.cacheOptions)===null||n===void 0?void 0:n.cacheHeuristic,p.immutableMinTimeToLive=(i=o.cacheOptions)===null||i===void 0?void 0:i.immutableMinTimeToLive,p.ignoreCargoCult=(s=o.cacheOptions)===null||s===void 0?void 0:s.ignoreCargoCult,o.dnsLookupIpVersion!==void 0)try{p.family=SR.dnsLookupIpVersionToFamily(o.dnsLookupIpVersion)}catch{throw new Error("Invalid `dnsLookupIpVersion` option value")}o.https&&("rejectUnauthorized"in o.https&&(p.rejectUnauthorized=o.https.rejectUnauthorized),o.https.checkServerIdentity&&(p.checkServerIdentity=o.https.checkServerIdentity),o.https.certificateAuthority&&(p.ca=o.https.certificateAuthority),o.https.certificate&&(p.cert=o.https.certificate),o.https.key&&(p.key=o.https.key),o.https.passphrase&&(p.passphrase=o.https.passphrase),o.https.pfx&&(p.pfx=o.https.pfx));try{let E=await m(h,p);Y.default.undefined(E)&&(E=d(h,p)),o.request=c,o.timeout=l,o.agent=u,o.https&&("rejectUnauthorized"in o.https&&delete p.rejectUnauthorized,o.https.checkServerIdentity&&delete p.checkServerIdentity,o.https.certificateAuthority&&delete p.ca,o.https.certificate&&delete p.cert,o.https.key&&delete p.key,o.https.passphrase&&delete p.passphrase,o.https.pfx&&delete p.pfx),Bq(E)?this._onRequest(E):this.writable?(this.once("finish",()=>{this._onResponse(E)}),this._unlockWrite(),this.end(),this._lockWrite()):this._onResponse(E)}catch(E){throw E instanceof vR.CacheError?new Ml(E,this):new Ue(E.message,E,this)}}async _error(e){try{for(let r of this.options.hooks.beforeError)e=await r(e)}catch(r){e=new Ue(r.message,r,this)}this.destroy(e)}_beforeError(e){if(this[Xs])return;let{options:r}=this,n=this.retryCount+1;this[Xs]=!0,e instanceof Ue||(e=new Ue(e.message,e,this));let i=e,{response:s}=i;(async()=>{if(s&&!s.body){s.setEncoding(this._readableState.encoding);try{s.rawBody=await Tq.default(s),s.body=s.rawBody.toString()}catch{}}if(this.listenerCount("retry")!==0){let o;try{let a;s&&"retry-after"in s.headers&&(a=Number(s.headers["retry-after"]),Number.isNaN(a)?(a=Date.parse(s.headers["retry-after"])-Date.now(),a<=0&&(a=1)):a*=1e3),o=await r.retry.calculateDelay({attemptCount:n,retryOptions:r.retry,error:i,retryAfter:a,computedValue:Pq.default({attemptCount:n,retryOptions:r.retry,error:i,retryAfter:a,computedValue:0})})}catch(a){this._error(new Ue(a.message,a,this));return}if(o){let a=async()=>{try{for(let u of this.options.hooks.beforeRetry)await u(this.options,i,n)}catch(u){this._error(new Ue(u.message,e,this));return}this.destroyed||(this.destroy(),this.emit("retry",n,e))};this[kR]=setTimeout(a,o);return}}this._error(i)})()}_read(){this[Il]=!0;let e=this[Ll];if(e&&!this[Xs]){e.readableLength&&(this[Il]=!1);let r;for(;(r=e.read())!==null;){this[Ks]+=r.length,this[CR]=!0;let n=this.downloadProgress;n.percent<1&&this.emit("downloadProgress",n),this.push(r)}}}_write(e,r,n){let i=()=>{this._writeRequest(e,r,n)};this.requestInitialized?i():this[Ea].push(i)}_writeRequest(e,r,n){this[nt].destroyed||(this._progressCallbacks.push(()=>{this[Js]+=Buffer.byteLength(e,r);let i=this.uploadProgress;i.percent<1&&this.emit("uploadProgress",i)}),this[nt].write(e,r,i=>{!i&&this._progressCallbacks.length>0&&this._progressCallbacks.shift()(),n(i)}))}_final(e){let r=()=>{for(;this._progressCallbacks.length!==0;)this._progressCallbacks.shift()();if(!(nt in this)){e();return}if(this[nt].destroyed){e();return}this[nt].end(n=>{n||(this[Zs]=this[Js],this.emit("uploadProgress",this.uploadProgress),this[nt].emit("upload-complete")),e(n)})};this.requestInitialized?r():this[Ea].push(r)}_destroy(e,r){var n;this[Xs]=!0,clearTimeout(this[kR]),nt in this&&(this[my](),!((n=this[Ll])===null||n===void 0)&&n.complete||this[nt].destroy()),e!==null&&!Y.default.undefined(e)&&!(e instanceof Ue)&&(e=new Ue(e.message,e,this)),r(e)}get _isAboutToError(){return this[Xs]}get ip(){var e;return(e=this.socket)===null||e===void 0?void 0:e.remoteAddress}get aborted(){var e,r,n;return((r=(e=this[nt])===null||e===void 0?void 0:e.destroyed)!==null&&r!==void 0?r:this.destroyed)&&!(!((n=this[RR])===null||n===void 0)&&n.complete)}get socket(){var e,r;return(r=(e=this[nt])===null||e===void 0?void 0:e.socket)!==null&&r!==void 0?r:void 0}get downloadProgress(){let e;return this[Ys]?e=this[Ks]/this[Ys]:this[Ys]===this[Ks]?e=1:e=0,{percent:e,transferred:this[Ks],total:this[Ys]}}get uploadProgress(){let e;return this[Zs]?e=this[Js]/this[Zs]:this[Zs]===this[Js]?e=1:e=0,{percent:e,transferred:this[Js],total:this[Zs]}}get timings(){var e;return(e=this[nt])===null||e===void 0?void 0:e.timings}get isFromCache(){return this[DR]}pipe(e,r){if(this[CR])throw new Error("Failed to pipe. The response has been emitted already.");return e instanceof dy.ServerResponse&&this[Pl].add(e),super.pipe(e,r)}unpipe(e){return e instanceof dy.ServerResponse&&this[Pl].delete(e),super.unpipe(e),this}};ke.default=Hl});var Sa=A(ur=>{"use strict";var Uq=ur&&ur.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Hq=ur&&ur.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Uq(e,t,r)};Object.defineProperty(ur,"__esModule",{value:!0});ur.CancelError=ur.ParseError=void 0;var TR=xa(),gy=class extends TR.RequestError{constructor(e,r){let{options:n}=r.request;super(`${e.message} in "${n.url.toString()}"`,e,r.request),this.name="ParseError",this.code=this.code==="ERR_GOT_REQUEST_ERROR"?"ERR_BODY_PARSE_FAILURE":this.code}};ur.ParseError=gy;var _y=class extends TR.RequestError{constructor(e){super("Promise was canceled",{},e),this.name="CancelError",this.code="ERR_CANCELED"}get isCanceled(){return!0}};ur.CancelError=_y;Hq(xa(),ur)});var FR=A(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});var OR=Sa(),$q=(t,e,r,n)=>{let{rawBody:i}=t;try{if(e==="text")return i.toString(n);if(e==="json")return i.length===0?"":r(i.toString());if(e==="buffer")return i;throw new OR.ParseError({message:`Unknown body type '${e}'`,name:"Error"},t)}catch(s){throw new OR.ParseError(s,t)}};by.default=$q});var vy=A(Bn=>{"use strict";var Gq=Bn&&Bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),zq=Bn&&Bn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Gq(e,t,r)};Object.defineProperty(Bn,"__esModule",{value:!0});var Vq=require("events"),Wq=en(),Yq=TC(),$l=Sa(),PR=FR(),IR=xa(),Kq=ry(),Zq=cy(),LR=ly(),Jq=["request","response","redirect","uploadProgress","downloadProgress"];function BR(t){let e,r,n=new Vq.EventEmitter,i=new Yq((o,a,u)=>{let c=l=>{let h=new IR.default(void 0,t);h.retryCount=l,h._noPipe=!0,u(()=>h.destroy()),u.shouldReject=!1,u(()=>a(new $l.CancelError(h))),e=h,h.once("response",async y=>{var m;if(y.retryCount=l,y.request.aborted)return;let p;try{p=await Zq.default(h),y.rawBody=p}catch{return}if(h._isAboutToError)return;let E=((m=y.headers["content-encoding"])!==null&&m!==void 0?m:"").toLowerCase(),R=["gzip","deflate","br"].includes(E),{options:P}=h;if(R&&!P.decompress)y.body=p;else try{y.body=PR.default(y,P.responseType,P.parseJson,P.encoding)}catch(O){if(y.body=p.toString(),LR.isResponseOk(y)){h._beforeError(O);return}}try{for(let[O,F]of P.hooks.afterResponse.entries())y=await F(y,async M=>{let x=IR.default.normalizeArguments(void 0,{...M,retry:{calculateDelay:()=>0},throwHttpErrors:!1,resolveBodyOnly:!1},P);x.hooks.afterResponse=x.hooks.afterResponse.slice(0,O);for(let U of x.hooks.beforeRetry)await U(x);let D=BR(x);return u(()=>{D.catch(()=>{}),D.cancel()}),D})}catch(O){h._beforeError(new $l.RequestError(O.message,O,h));return}if(r=y,!LR.isResponseOk(y)){h._beforeError(new $l.HTTPError(y));return}h.destroy(),o(h.options.resolveBodyOnly?y.body:y)});let f=y=>{if(i.isCanceled)return;let{options:m}=h;if(y instanceof $l.HTTPError&&!m.throwHttpErrors){let{response:p}=y;o(h.options.resolveBodyOnly?p.body:p);return}a(y)};h.once("error",f);let d=h.options.body;h.once("retry",(y,m)=>{var p,E;if(d===((p=m.request)===null||p===void 0?void 0:p.options.body)&&Wq.default.nodeStream((E=m.request)===null||E===void 0?void 0:E.options.body)){f(m);return}c(y)}),Kq.default(h,n,Jq)};c(0)});i.on=(o,a)=>(n.on(o,a),i);let s=o=>{let a=(async()=>{await i;let{options:u}=r.request;return PR.default(r,o,u.parseJson,u.encoding)})();return Object.defineProperties(a,Object.getOwnPropertyDescriptors(i)),a};return i.json=()=>{let{headers:o}=e.options;return!e.writableFinished&&o.accept===void 0&&(o.accept="application/json"),s("json")},i.buffer=()=>s("buffer"),i.text=()=>s("text"),i}Bn.default=BR;zq(Sa(),Bn)});var NR=A(Ey=>{"use strict";Object.defineProperty(Ey,"__esModule",{value:!0});var Xq=Sa();function Qq(t,...e){let r=(async()=>{if(t instanceof Xq.RequestError)try{for(let i of e)if(i)for(let s of i)t=await s(t)}catch(i){t=i}throw t})(),n=()=>r;return r.json=n,r.text=n,r.buffer=n,r.on=n,r}Ey.default=Qq});var qR=A(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0});var MR=en();function jR(t){for(let e of Object.values(t))(MR.default.plainObject(e)||MR.default.array(e))&&jR(e);return Object.freeze(t)}wy.default=jR});var HR=A(UR=>{"use strict";Object.defineProperty(UR,"__esModule",{value:!0})});var xy=A(Xt=>{"use strict";var e7=Xt&&Xt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),t7=Xt&&Xt.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&e7(e,t,r)};Object.defineProperty(Xt,"__esModule",{value:!0});Xt.defaultHandler=void 0;var $R=en(),Jt=vy(),r7=NR(),zl=xa(),n7=qR(),i7={RequestError:Jt.RequestError,CacheError:Jt.CacheError,ReadError:Jt.ReadError,HTTPError:Jt.HTTPError,MaxRedirectsError:Jt.MaxRedirectsError,TimeoutError:Jt.TimeoutError,ParseError:Jt.ParseError,CancelError:Jt.CancelError,UnsupportedProtocolError:Jt.UnsupportedProtocolError,UploadError:Jt.UploadError},s7=async t=>new Promise(e=>{setTimeout(e,t)}),{normalizeArguments:Gl}=zl.default,GR=(...t)=>{let e;for(let r of t)e=Gl(void 0,r,e);return e},o7=t=>t.isStream?new zl.default(void 0,t):Jt.default(t),a7=t=>"defaults"in t&&"options"in t.defaults,u7=["get","post","put","patch","head","delete"];Xt.defaultHandler=(t,e)=>e(t);var zR=(t,e)=>{if(t)for(let r of t)r(e)},VR=t=>{t._rawHandlers=t.handlers,t.handlers=t.handlers.map(n=>(i,s)=>{let o,a=n(i,u=>(o=s(u),o));if(a!==o&&!i.isStream&&o){let u=a,{then:c,catch:l,finally:h}=u;Object.setPrototypeOf(u,Object.getPrototypeOf(o)),Object.defineProperties(u,Object.getOwnPropertyDescriptors(o)),u.then=c,u.catch=l,u.finally=h}return a});let e=(n,i={},s)=>{var o,a;let u=0,c=l=>t.handlers[u++](l,u===t.handlers.length?o7:c);if($R.default.plainObject(n)){let l={...n,...i};zl.setNonEnumerableProperties([n,i],l),i=l,n=void 0}try{let l;try{zR(t.options.hooks.init,i),zR((o=i.hooks)===null||o===void 0?void 0:o.init,i)}catch(f){l=f}let h=Gl(n,i,s!=null?s:t.options);if(h[zl.kIsNormalizedAlready]=!0,l)throw new Jt.RequestError(l.message,l,h);return c(h)}catch(l){if(i.isStream)throw l;return r7.default(l,t.options.hooks.beforeError,(a=i.hooks)===null||a===void 0?void 0:a.beforeError)}};e.extend=(...n)=>{let i=[t.options],s=[...t._rawHandlers],o;for(let a of n)a7(a)?(i.push(a.defaults.options),s.push(...a.defaults._rawHandlers),o=a.defaults.mutableDefaults):(i.push(a),"handlers"in a&&s.push(...a.handlers),o=a.mutableDefaults);return s=s.filter(a=>a!==Xt.defaultHandler),s.length===0&&s.push(Xt.defaultHandler),VR({options:GR(...i),handlers:s,mutableDefaults:!!o})};let r=async function*(n,i){let s=Gl(n,i,t.options);s.resolveBodyOnly=!1;let o=s.pagination;if(!$R.default.object(o))throw new TypeError("`options.pagination` must be implemented");let a=[],{countLimit:u}=o,c=0;for(;c<o.requestLimit;){c!==0&&await s7(o.backoff);let l=await e(void 0,void 0,s),h=await o.transform(l),f=[];for(let y of h)if(o.filter(y,a,f)&&(!o.shouldContinue(y,a,f)||(yield y,o.stackAllItems&&a.push(y),f.push(y),--u<=0)))return;let d=o.paginate(l,a,f);if(d===!1)return;d===l.request.options?s=l.request.options:d!==void 0&&(s=Gl(void 0,d,s)),c++}};e.paginate=r,e.paginate.all=async(n,i)=>{let s=[];for await(let o of r(n,i))s.push(o);return s},e.paginate.each=r,e.stream=(n,i)=>e(n,{...i,isStream:!0});for(let n of u7)e[n]=(i,s)=>e(i,{...s,method:n}),e.stream[n]=(i,s)=>e(i,{...s,method:n,isStream:!0});return Object.assign(e,i7),Object.defineProperty(e,"defaults",{value:t.mutableDefaults?t:n7.default(t),writable:t.mutableDefaults,configurable:t.mutableDefaults,enumerable:!0}),e.mergeOptions=GR,e};Xt.default=VR;t7(HR(),Xt)});var Ay=A((tn,Vl)=>{"use strict";var c7=tn&&tn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),WR=tn&&tn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&c7(e,t,r)};Object.defineProperty(tn,"__esModule",{value:!0});var l7=require("url"),YR=xy(),h7={options:{method:"GET",retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:void 0,calculateDelay:({computedValue:t})=>t},timeout:{},headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},hooks:{init:[],beforeRequest:[],beforeRedirect:[],beforeRetry:[],beforeError:[],afterResponse:[]},cache:void 0,dnsCache:void 0,decompress:!0,throwHttpErrors:!0,followRedirect:!0,isStream:!1,responseType:"text",resolveBodyOnly:!1,maxRedirects:10,prefixUrl:"",methodRewriting:!0,ignoreInvalidCookies:!1,context:{},http2:!1,allowGetBody:!1,https:void 0,pagination:{transform:t=>t.request.options.responseType==="json"?t.body:JSON.parse(t.body),paginate:t=>{if(!Reflect.has(t.headers,"link"))return!1;let e=t.headers.link.split(","),r;for(let n of e){let i=n.split(";");if(i[1].includes("next")){r=i[0].trimStart().trim(),r=r.slice(1,-1);break}}return r?{url:new l7.URL(r)}:!1},filter:()=>!0,shouldContinue:()=>!0,countLimit:1/0,backoff:0,requestLimit:1e4,stackAllItems:!0},parseJson:t=>JSON.parse(t),stringifyJson:t=>JSON.stringify(t),cacheOptions:{}},handlers:[YR.defaultHandler],mutableDefaults:!1},Sy=YR.default(h7);tn.default=Sy;Vl.exports=Sy;Vl.exports.default=Sy;Vl.exports.__esModule=!0;WR(xy(),tn);WR(vy(),tn)});var tk=A((xK,ek)=>{function Qt(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}ek.exports=Qt;Qt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Qt.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Qt.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};Qt.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Qt.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Qt.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Qt.prototype.start=Qt.prototype.try;Qt.prototype.errors=function(){return this._errors};Qt.prototype.attempts=function(){return this._attempts};Qt.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],s=i.message,o=(t[s]||0)+1;t[s]=o,o>=r&&(e=i,r=o)}return e}});var rk=A(yi=>{var d7=tk();yi.operation=function(t){var e=yi.timeouts(t);return new d7(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};yi.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<e.retries;i++)n.push(this.createTimeout(i,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(i,e)),n.sort(function(s,o){return s-o}),n};yi.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};yi.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var s=r[i],o=t[s];t[s]=function(u){var c=yi.operation(e),l=Array.prototype.slice.call(arguments,1),h=l.pop();l.push(function(f){c.retry(f)||(f&&(arguments[0]=c.mainError()),h.apply(this,arguments))}),c.attempt(function(){u.apply(t,l)})}.bind(t,o),t[s].options=e}}});var ik=A((AK,nk)=>{nk.exports=rk()});var ok=A((DK,sk)=>{var p7=ik();function m7(t,e){function r(n,i){var s=e||{},o;"randomize"in s||(s.randomize=!0),o=p7.operation(s);function a(l){i(l||new Error("Aborted"))}function u(l,h){if(l.bail){a(l);return}o.retry(l)?s.onRetry&&s.onRetry(l,h):i(o.mainError())}function c(l){var h;try{h=t(a,l)}catch(f){u(f,l);return}Promise.resolve(h).then(n).catch(function(d){u(d,l)})}o.attempt(c)}return new Promise(r)}sk.exports=m7});var wk=A(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});function mU(t){return t&&t.__esModule?t:{default:t}}var _k=Object.defineProperty,yk=Object.getOwnPropertySymbols,yU=Object.prototype.hasOwnProperty,gU=Object.prototype.propertyIsEnumerable,gk=(t,e,r)=>e in t?_k(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_U=(t,e)=>{for(var r in e||(e={}))yU.call(e,r)&&gk(t,r,e[r]);if(yk)for(var r of yk(e))gU.call(e,r)&&gk(t,r,e[r]);return t},bU=(t,e)=>{for(var r in e)_k(t,r,{get:e[r],enumerable:!0})},vU=(t,e,r)=>new Promise((n,i)=>{var s=u=>{try{a(r.next(u))}catch(c){i(c)}},o=u=>{try{a(r.throw(u))}catch(c){i(c)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(s,o);a((r=r.apply(t,e)).next())}),bk={};bU(bk,{configDir:()=>Ek,darwinConfig:()=>Hy,getPathForPlatform:()=>Gy,getPlatform:()=>Uy,linuxConfig:()=>th,winConfig:()=>$y});var EU=require("fs/promises"),wU=require("path"),vk=mU(wU);function Uy(){return process.platform}function th(){if(process.env.XDG_CONFIG_HOME!==void 0)return process.env.XDG_CONFIG_HOME;if(process.env.HOME!==void 0)return vk.default.join(process.env.HOME,".config")}function Hy(){if(process.env.HOME!==void 0)return vk.default.join(process.env.HOME,"/Library/Application Support")}function $y(){return process.env.APPDATA}function Gy({platform:t}){switch(t){case"linux":return th();case"darwin":return Hy();case"win32":return $y();default:return th()}}function Ek(){return vU(this,arguments,function*(t={}){var e;let r=(e=t.platform)!=null?e:Uy(),n=Gy({platform:r});if(n!==void 0){if(t.validate===!1)return n;try{return yield EU.stat.call(void 0,n),n}catch{return}}})}Or.__spreadValues=_U;Or.getPlatform=Uy;Or.linuxConfig=th;Or.darwinConfig=Hy;Or.winConfig=$y;Or.getPathForPlatform=Gy;Or.configDir=Ek;Or.config_dir_exports=bk});var xk=A(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});var xU=wk();zy.configDir=xU.configDir});var kk=A((cZ,IU)=>{IU.exports=[{name:"Agola CI",constant:"AGOLA",env:"AGOLA_GIT_REF",pr:"AGOLA_PULL_REQUEST_ID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"TF_BUILD",pr:{BUILD_REASON:"PullRequest"}},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Earthly",constant:"EARTHLY",env:"EARTHLY_CI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"Gitea Actions",constant:"GITEA_ACTIONS",env:"GITEA_ACTIONS"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Prow",constant:"PROW",env:"PROW_JOB_ID"},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vela",constant:"VELA",env:"VELA",pr:{VELA_PULL_REQUEST:"1"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]},pr:"VERCEL_GIT_PULL_REQUEST_ID"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]});var Fk=A(Mt=>{"use strict";var Ok=kk(),Ye=process.env;Object.defineProperty(Mt,"_vendors",{value:Ok.map(function(t){return t.constant})});Mt.name=null;Mt.isPR=null;Ok.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(n){return Tk(n)});if(Mt[t.constant]=r,!!r)switch(Mt.name=t.name,typeof t.pr){case"string":Mt.isPR=!!Ye[t.pr];break;case"object":"env"in t.pr?Mt.isPR=t.pr.env in Ye&&Ye[t.pr.env]!==t.pr.ne:"any"in t.pr?Mt.isPR=t.pr.any.some(function(n){return!!Ye[n]}):Mt.isPR=Tk(t.pr);break;default:Mt.isPR=null}});Mt.isCI=!!(Ye.CI!=="false"&&(Ye.BUILD_ID||Ye.BUILD_NUMBER||Ye.CI||Ye.CI_APP_ID||Ye.CI_BUILD_ID||Ye.CI_BUILD_NUMBER||Ye.CI_NAME||Ye.CONTINUOUS_INTEGRATION||Ye.RUN_ID||Mt.name));function Tk(t){return typeof t=="string"?!!Ye[t]:"env"in t?Ye[t.env]&&Ye[t.env].includes(t.includes):"any"in t?t.any.some(function(e){return!!Ye[e]}):Object.keys(t).every(function(e){return Ye[e]===t[e]})}});var rh=A((DZ,UU)=>{UU.exports={name:"create-turbo",version:"2.4.3-canary.1",description:"Create a new Turborepo",homepage:"https://turbo.build/repo",license:"MIT",repository:{type:"git",url:"https://github.com/vercel/turborepo",directory:"packages/create-turbo"},bugs:{url:"https://github.com/vercel/turborepo/issues"},bin:{"create-turbo":"dist/cli.js"},scripts:{build:"tsup",test:"jest",lint:"eslint src/","check-types":"tsc --noEmit","lint:prettier":"prettier -c . --cache --ignore-path=../../.prettierignore"},dependencies:{commander:"^11.0.0","fs-extra":"^11.1.1",inquirer:"^8.0.0",picocolors:"1.0.1","proxy-agent":"^6.2.2",semver:"^7.3.8","update-check":"^1.5.4"},devDependencies:{"@jest/globals":"^29.7.0","@turbo/eslint-config":"workspace:*","@turbo/telemetry":"workspace:*","@turbo/test-utils":"workspace:*","@turbo/tsconfig":"workspace:*","@turbo/utils":"workspace:*","@turbo/workspaces":"workspace:*","@types/fs-extra":"^9.0.13","@types/inquirer":"^7.3.1","@types/node":"^18.17.2","@types/semver":"^7.3.9",jest:"^29.7.0","ts-jest":"^29.2.5",tsup:"^6.7.0",typescript:"5.5.4"},files:["dist"]}});var KT=oe(require("http")),ZT=oe(require("https")),wg=oe(require("picocolors")),Ha=require("commander");var pO=oe(Tg());function bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wo(t){return wo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wo(t)}function vh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eh(t,e){if(e&&(wo(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return vh(t)}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(t)}function Ir(t,e){return Ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Ir(t,e)}function wh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ir(t,e)}function xh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Sh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bi(t,e,r){return Sh()?Bi=Reflect.construct.bind():Bi=function(i,s,o){var a=[null];a.push.apply(a,s);var u=Function.bind.apply(i,a),c=new u;return o&&Ir(c,o.prototype),c},Bi.apply(null,arguments)}function xo(t){var e=typeof Map=="function"?new Map:void 0;return xo=function(n){if(n===null||!xh(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Bi(n,arguments,zn(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ir(i,n)},xo(t)}var Yg=oe(Wg());var mO=oe(require("fs-extra")),_G=function(t){wh(e,t);function e(r){var n;return bh(this,e),n=Eh(this,zn(e).call(this,"No package.json could be found upwards from the directory ".concat(r))),n.directory=r,n}return e}(xo(Error));var yO=oe(require("fs")),gO=oe(require("path"));var P3=oe(require("fs")),I3=oe(require("path"));function l_(t){return typeof t=="undefined"||t===null}function vO(t){return typeof t=="object"&&t!==null}function EO(t){return Array.isArray(t)?t:l_(t)?[]:[t]}function wO(t,e){var r,n,i,s;if(e)for(s=Object.keys(e),r=0,n=s.length;r<n;r+=1)i=s[r],t[i]=e[i];return t}function xO(t,e){var r="",n;for(n=0;n<e;n+=1)r+=t;return r}function SO(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var AO=l_,DO=vO,CO=EO,RO=xO,kO=SO,TO=wO,Ve={isNothing:AO,isObject:DO,toArray:CO,repeat:RO,isNegativeZero:kO,extend:TO};function h_(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`
|
31
31
|
|
32
32
|
`+t.mark.snippet),n+" "+r):n}function Ao(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=h_(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Ao.prototype=Object.create(Error.prototype);Ao.prototype.constructor=Ao;Ao.prototype.toString=function(e){return this.name+": "+h_(this,e)};var pt=Ao;function Oh(t,e,r,n,i){var s="",o="",a=Math.floor(i/2)-1;return n-e>a&&(s=" ... ",e=n-a+s.length),r-n>a&&(o=" ...",r=n+a-o.length),{str:s+t.slice(e,r).replace(/\t/g,"\u2192")+o,pos:n-e+s.length}}function Fh(t,e){return Ve.repeat(" ",e-t.length)+t}function OO(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],s,o=-1;s=r.exec(t.buffer);)i.push(s.index),n.push(s.index+s[0].length),t.position<=s.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a="",u,c,l=Math.min(t.line+e.linesAfter,i.length).toString().length,h=e.maxLength-(e.indent+l+3);for(u=1;u<=e.linesBefore&&!(o-u<0);u++)c=Oh(t.buffer,n[o-u],i[o-u],t.position-(n[o]-n[o-u]),h),a=Ve.repeat(" ",e.indent)+Fh((t.line-u+1).toString(),l)+" | "+c.str+`
|
33
33
|
`+a;for(c=Oh(t.buffer,n[o],i[o],t.position,h),a+=Ve.repeat(" ",e.indent)+Fh((t.line+1).toString(),l)+" | "+c.str+`
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-turbo",
|
3
|
-
"version": "2.4.
|
3
|
+
"version": "2.4.3-canary.1",
|
4
4
|
"description": "Create a new Turborepo",
|
5
5
|
"homepage": "https://turbo.build/repo",
|
6
6
|
"license": "MIT",
|
@@ -36,10 +36,10 @@
|
|
36
36
|
"typescript": "5.5.4",
|
37
37
|
"@turbo/eslint-config": "0.0.0",
|
38
38
|
"@turbo/telemetry": "0.0.0",
|
39
|
-
"@turbo/test-utils": "0.0.0",
|
40
39
|
"@turbo/tsconfig": "0.0.0",
|
40
|
+
"@turbo/workspaces": "2.4.3-canary.1",
|
41
41
|
"@turbo/utils": "0.0.0",
|
42
|
-
"@turbo/
|
42
|
+
"@turbo/test-utils": "0.0.0"
|
43
43
|
},
|
44
44
|
"files": [
|
45
45
|
"dist"
|