create-storm-workspace 1.97.185 → 1.97.186

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  # Changelog for Storm Ops - Create Storm Workspace
4
4
 
5
+ ## [1.97.186](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.186) (05/20/2026)
6
+
7
+ ### Features
8
+
9
+ - **workspace-tools:** Added GitHub OIDC token retrieval to `npm-publish` executor ([a154fdcb8](https://github.com/storm-software/storm-ops/commit/a154fdcb8))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **config-tools** to **v1.190.26**
14
+
15
+ ## [1.97.185](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.185) (05/20/2026)
16
+
17
+ ### Miscellaneous
18
+
19
+ - **monorepo:** Ensure workspace package versions align ([3cb6e486a](https://github.com/storm-software/storm-ops/commit/3cb6e486a))
20
+
21
+ ### Updated Dependencies
22
+
23
+ - Updated **config-tools** to **v1.190.25**
24
+
5
25
  ## [1.97.184](https://github.com/storm-software/storm-ops/releases/tag/create-storm-workspace%401.97.184) (05/20/2026)
6
26
 
7
27
  ### Updated Dependencies
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-1.97.184-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-1.97.185-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/index.js CHANGED
@@ -108,7 +108,7 @@ ${i}`.trim()}function BK(e){if(am(e)!=="object")throw new TypeError("stringify c
108
108
  ${s}`,r),_b(this,"line"),_b(this,"column"),_b(this,"codeblock"),this.line=i,this.column=n,this.codeblock=s}};aK=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i,cK=class nd extends Date{constructor(t){let r=!0,i=!0,n="Z";if(typeof t=="string"){let s=t.match(aK);s?(s[1]||(r=!1,t=`0000-01-01T${t}`),i=!!s[2],s[2]&&+s[2]>23?t="":(n=s[3]||null,t=t.toUpperCase(),!n&&i&&(t+="Z"))):t=""}super(t),Tb(this,la,!1),Tb(this,ha,!1),Tb(this,bn,null),isNaN(this.getTime())||(ua(this,la,r),ua(this,ha,i),ua(this,bn,n))}isDateTime(){return Ni(this,la)&&Ni(this,ha)}isLocal(){return!Ni(this,la)||!Ni(this,ha)||!Ni(this,bn)}isDate(){return Ni(this,la)&&!Ni(this,ha)}isTime(){return Ni(this,ha)&&!Ni(this,la)}isValid(){return Ni(this,la)||Ni(this,ha)}toISOString(){let t=super.toISOString();if(this.isDate())return t.slice(0,10);if(this.isTime())return t.slice(11,23);if(Ni(this,bn)===null)return t.slice(0,-1);if(Ni(this,bn)==="Z")return t;let r=+Ni(this,bn).slice(1,3)*60+ +Ni(this,bn).slice(4,6);return r=Ni(this,bn)[0]==="-"?r:-r,new Date(this.getTime()-r*6e4).toISOString().slice(0,-1)+Ni(this,bn)}static wrapAsOffsetDateTime(t,r="Z"){let i=new nd(t);return ua(i,bn,r),i}static wrapAsLocalDateTime(t){let r=new nd(t);return ua(r,bn,null),r}static wrapAsLocalDate(t){let r=new nd(t);return ua(r,ha,!1),ua(r,bn,null),r}static wrapAsLocalTime(t){let r=new nd(t);return ua(r,la,!1),ua(r,bn,null),r}};la=new WeakMap,ha=new WeakMap,bn=new WeakMap;uK=cK;lK=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,hK=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,AK=/^[+-]?0[0-9_]/,pK=/^[0-9a-f]{4,8}$/i,O_={b:"\b",t:" ",n:`
109
109
  `,f:"\f",r:"\r",'"':'"',"\\":"\\"};gK=/^[a-zA-Z0-9-_]+[ \t]*$/;$_=/^[a-z0-9-_]+$/i});var z_=jr(()=>{fb()});async function H_(e,t={}){let r=Array.isArray(e)?e:[e],i={...QK,...t},n=xr(i.startingFrom),s=n[0]==="/",o=n.split("/").filter(Boolean);s&&(o[0]="/"+o[0]);let a=o.findIndex(u=>u.match(i.rootPattern));if(a===-1&&(a=0),i.reverse)for(let u=a+1;u<=o.length;u++)for(let l of r){let A=Us(...o.slice(0,u),l);if(await i.test(A))return A}else for(let u=o.length;u>a;u--)for(let l of r){let A=Us(...o.slice(0,u),l);if(await i.test(A))return A}throw new Error(`Cannot find matching ${e} in ${i.startingFrom} or parent directories`)}function Ub(e,t={}){return H_(e,t)}async function Y_(e,t={}){let r=await DK(e,t),i=t.cache&&typeof t.cache!="boolean"?t.cache:SK;if(t.cache&&i.has(r))return i.get(r);let n=await cm.promises.readFile(r,"utf8"),s;try{s=pb(n)}catch{s=Kp(n)}return i.set(r,s),s}async function DK(e=process.cwd(),t={}){let r=us(e)?e:await um(e,t);return Ub("package.json",{startingFrom:r,...t})}async function RK(e=process.cwd(),t={}){let i={startingFrom:us(e)?e:await um(e,t),...t};try{return await Ub(kK,i)}catch{}throw new Error("No lockfile found from "+e)}async function W_(e=process.cwd(),t={}){let r=us(e)?e:await um(e,t),i={startingFrom:r,...t};try{let n=await Ub(".git/config",i);return xr(n,"../..")}catch{}try{let n=await RK(r,{...i,reverse:!0});return ea(n)}catch{}try{let n=await H_(r,i);return ea(n)}catch{}throw new Error("Cannot detect workspace root from "+e)}var cm,QK,SK,kK,J_=jr(()=>{cm=require("node:fs");oh();qb();z_();QK={startingFrom:".",rootPattern:/^node_modules$/,reverse:!1,test:e=>{try{if((0,cm.statSync)(e).isFile())return!0}catch{}}};SK=new Map;kK=["yarn.lock","package-lock.json","pnpm-lock.yaml","npm-shrinkwrap.json","bun.lockb","bun.lock"]});function zb(e){return e.replace(/\\/g,"/")}function Vb(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}function fs(e,t,r){return AT.set(e,t),LK(r,e)}function LK(e,t){return r;function r(...i){let n=Error.stackTraceLimit;Hb()&&(Error.stackTraceLimit=0);let s=new e;Hb()&&(Error.stackTraceLimit=n);let o=PK(t,i,s);return Object.defineProperties(s,{message:{value:o,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),OK(s),s.code=t,s}}function Hb(){try{if(lT.default.startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):_K.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function MK(e){let t=NK+e.name;return Object.defineProperty(e,"name",{value:t}),e}function PK(e,t,r){let i=AT.get(e);if(pa.default.ok(i!==void 0,"expected `message` to be found"),typeof i=="function")return pa.default.ok(i.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i.length}).`),Reflect.apply(i,r,t);let n=/%[dfijoOs]/g,s=0;for(;n.exec(i)!==null;)s++;return pa.default.ok(s===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${s}).`),t.length===0?i:(t.unshift(i),Reflect.apply(gh.format,null,t))}function UK(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,gh.inspect)(e,{depth:-1})}`;let t=(0,gh.inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}function pT(e,{base:t,specifier:r}){let i=K_.get(e);if(i)return i;let n;try{n=da.default.readFileSync(cd.default.toNamespacedPath(e),"utf8")}catch(o){let a=o;if(a.code!=="ENOENT")throw a}let s={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(n!==void 0){let o;try{o=JSON.parse(n)}catch(a){let u=a,l=new qK(e,(t?`"${r}" from `:"")+(0,Yt.fileURLToPath)(t||r),u.message);throw l.cause=u,l}s.exists=!0,sd.call(o,"name")&&typeof o.name=="string"&&(s.name=o.name),sd.call(o,"main")&&typeof o.main=="string"&&(s.main=o.main),sd.call(o,"exports")&&(s.exports=o.exports),sd.call(o,"imports")&&(s.imports=o.imports),sd.call(o,"type")&&(o.type==="commonjs"||o.type==="module")&&(s.type=o.type)}return K_.set(e,s),s}function Yb(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let n=pT((0,Yt.fileURLToPath)(t),{specifier:e});if(n.exists)return n;let s=t;if(t=new URL("../package.json",t),t.pathname===s.pathname)break}return{pjsonPath:(0,Yt.fileURLToPath)(t),exists:!1,type:"none"}}function X_(e){return Yb(e).type}function jK(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}function zK(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return jK(t)}function HK(e){let t=e.pathname,r=t.length;for(;r--;){let i=t.codePointAt(r);if(i===47)return"";if(i===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function YK(e,t,r){let i=HK(e);if(i===".js"){let o=X_(e);return o!=="none"?o:"commonjs"}if(i===""){let o=X_(e);return o==="none"||o==="commonjs"?"commonjs":"module"}let n=GK[i];if(n)return n;if(r)return;let s=(0,Yt.fileURLToPath)(e);throw new VK(i,s)}function tT(){}function WK(e,t){let r=e.protocol;return $K.call(eT,r)&&eT[r](e,t,!0)||null}function KK(){return ZK}function XK(e){return KK()}function oT(e,t,r,i,n,s,o){if(Cc.default.noDeprecation)return;let a=(0,Yt.fileURLToPath)(i),u=oX.exec(o?e:t)!==null;Cc.default.emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${n?"imports":"exports"}" field module resolution of the package at ${a}${s?` imported from ${(0,Yt.fileURLToPath)(s)}`:""}.`,"DeprecationWarning","DEP0166")}function aT(e,t,r,i){if(Cc.default.noDeprecation||WK(e,{parentURL:r.href})!=="module")return;let s=(0,Yt.fileURLToPath)(e.href),o=(0,Yt.fileURLToPath)(new URL(".",t)),a=(0,Yt.fileURLToPath)(r);i?cd.default.resolve(o,i)!==s&&Cc.default.emitWarning(`Package ${o} has a "main" field set to "${i}", excluding the full filename and extension to the resolved file at "${s.slice(o.length)}", imported from ${a}.
110
110
  Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):Cc.default.emitWarning(`No "main" or "exports" field defined in the package.json for ${o} resolving the main entry point "${s.slice(o.length)}", imported from ${a}.
111
- Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function gT(e){try{return(0,da.statSync)(e)}catch{}}function $b(e){let t=(0,da.statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function aX(e,t,r){let i;if(t.main!==void 0){if(i=new URL(t.main,e),$b(i))return i;let o=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],a=-1;for(;++a<o.length&&(i=new URL(o[a],e),!$b(i));)i=void 0;if(i)return aT(i,e,r,t.main),i}let n=["./index.js","./index.json","./index.node"],s=-1;for(;++s<n.length&&(i=new URL(n[s],e),!$b(i));)i=void 0;if(i)return aT(i,e,r,t.main),i;throw new Wb((0,Yt.fileURLToPath)(new URL(".",e)),(0,Yt.fileURLToPath)(r))}function cX(e,t,r){if(sX.exec(e.pathname)!==null)throw new Am(e.pathname,'must not include encoded "/" or "\\" characters',(0,Yt.fileURLToPath)(t));let i;try{i=(0,Yt.fileURLToPath)(e)}catch(s){let o=s;throw Object.defineProperty(o,"input",{value:String(e)}),Object.defineProperty(o,"module",{value:String(t)}),o}let n=gT(i.endsWith("/")?i.slice(-1):i);if(n&&n.isDirectory()){let s=new iX(i,(0,Yt.fileURLToPath)(t));throw s.url=String(e),s}if(!n||!n.isFile()){let s=new Wb(i||e.pathname,t&&(0,Yt.fileURLToPath)(t),!0);throw s.url=String(e),s}{let s=(0,da.realpathSync)(i),{search:o,hash:a}=e;e=(0,Yt.pathToFileURL)(s+(i.endsWith(cd.default.sep)?"/":"")),e.search=o,e.hash=a}return e}function uX(e,t,r){return new tX(e,t&&(0,Yt.fileURLToPath)(new URL(".",t)),(0,Yt.fileURLToPath)(r))}function Gb(e,t,r){return new rX((0,Yt.fileURLToPath)(new URL(".",t)),e,r&&(0,Yt.fileURLToPath)(r))}function lX(e,t,r,i,n){let s=`request is not a valid match in pattern "${t}" for the "${i?"imports":"exports"}" resolution of ${(0,Yt.fileURLToPath)(r)}`;throw new Am(e,s,n&&(0,Yt.fileURLToPath)(n))}function od(e,t,r,i,n){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new eX((0,Yt.fileURLToPath)(new URL(".",r)),e,t,i,n&&(0,Yt.fileURLToPath)(n))}function hX(e,t,r,i,n,s,o,a,u){if(t!==""&&!s&&e[e.length-1]!=="/")throw od(r,e,i,o,n);if(!e.startsWith("./")){if(o&&!e.startsWith("../")&&!e.startsWith("/")){let d=!1;try{new URL(e),d=!0}catch{}if(!d){let m=s?lm.call(hm,e,()=>t):e+t;return ET(m,i,u)}}throw od(r,e,i,o,n)}if(iT.exec(e.slice(2))!==null)if(nT.exec(e.slice(2))===null){if(!a){let d=s?r.replace("*",()=>t):r+t,m=s?lm.call(hm,e,()=>t):e;oT(m,d,r,i,o,n,!0)}}else throw od(r,e,i,o,n);let l=new URL(e,i),A=l.pathname,h=new URL(".",i).pathname;if(!A.startsWith(h))throw od(r,e,i,o,n);if(t==="")return l;if(iT.exec(t)!==null){let d=s?r.replace("*",()=>t):r+t;if(nT.exec(t)===null){if(!a){let m=s?lm.call(hm,e,()=>t):e;oT(m,d,r,i,o,n,!1)}}else lX(d,r,i,o,n)}return s?new URL(lm.call(hm,l.href,()=>t)):new URL(t,l)}function AX(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function mh(e,t,r,i,n,s,o,a,u){if(typeof t=="string")return hX(t,r,i,e,n,s,o,a,u);if(Array.isArray(t)){let l=t;if(l.length===0)return null;let A,h=-1;for(;++h<l.length;){let d=l[h],m;try{m=mh(e,d,r,i,n,s,o,a,u)}catch(g){let E=g;if(A=E,E.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw g}if(m!==void 0){if(m===null){A=null;continue}return m}}if(A==null)return null;throw A}if(typeof t=="object"&&t!==null){let l=Object.getOwnPropertyNames(t),A=-1;for(;++A<l.length;){let h=l[A];if(AX(h))throw new dT((0,Yt.fileURLToPath)(e),n,'"exports" cannot contain numeric property keys.')}for(A=-1;++A<l.length;){let h=l[A];if(h==="default"||u&&u.has(h)){let d=t[h],m=mh(e,d,r,i,n,s,o,a,u);if(m===void 0)continue;return m}}return null}if(t===null)return null;throw od(i,t,e,o,n)}function pX(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let i=Object.getOwnPropertyNames(e),n=!1,s=0,o=-1;for(;++o<i.length;){let a=i[o],u=a===""||a[0]!==".";if(s++===0)n=u;else if(n!==u)throw new dT((0,Yt.fileURLToPath)(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return n}function dX(e,t,r){if(Cc.default.noDeprecation)return;let i=(0,Yt.fileURLToPath)(t);sT.has(i+"|"+e)||(sT.add(i+"|"+e),Cc.default.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${i}${r?` imported from ${(0,Yt.fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function cT(e,t,r,i,n){let s=r.exports;if(pX(s,e,i)&&(s={".":s}),fT.call(s,t)&&!t.includes("*")&&!t.endsWith("/")){let A=s[t],h=mh(e,A,"",t,i,!1,!1,!1,n);if(h==null)throw Gb(t,e,i);return h}let o="",a="",u=Object.getOwnPropertyNames(s),l=-1;for(;++l<u.length;){let A=u[l],h=A.indexOf("*");if(h!==-1&&t.startsWith(A.slice(0,h))){t.endsWith("/")&&dX(t,e,i);let d=A.slice(h+1);t.length>=A.length&&t.endsWith(d)&&mT(o,A)===1&&A.lastIndexOf("*")===h&&(o=A,a=t.slice(h,t.length-d.length))}}if(o){let A=s[o],h=mh(e,A,a,o,i,!0,!1,t.endsWith("/"),n);if(h==null)throw Gb(t,e,i);return h}throw Gb(t,e,i)}function mT(e,t){let r=e.indexOf("*"),i=t.indexOf("*"),n=r===-1?e.length:r+1,s=i===-1?t.length:i+1;return n>s?-1:s>n||r===-1?1:i===-1||e.length>t.length?-1:t.length>e.length?1:0}function fX(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let s="is not a valid internal imports specifier name";throw new Am(e,s,(0,Yt.fileURLToPath)(t))}let i,n=Yb(t);if(n.exists){i=(0,Yt.pathToFileURL)(n.pjsonPath);let s=n.imports;if(s)if(fT.call(s,e)&&!e.includes("*")){let o=mh(i,s[e],"",e,t,!1,!0,!1,r);if(o!=null)return o}else{let o="",a="",u=Object.getOwnPropertyNames(s),l=-1;for(;++l<u.length;){let A=u[l],h=A.indexOf("*");if(h!==-1&&e.startsWith(A.slice(0,-1))){let d=A.slice(h+1);e.length>=A.length&&e.endsWith(d)&&mT(o,A)===1&&A.lastIndexOf("*")===h&&(o=A,a=e.slice(h,e.length-d.length))}}if(o){let A=s[o],h=mh(i,A,a,o,t,!0,!0,!1,r);if(h!=null)return h}}}throw uX(e,i,t)}function gX(e,t){let r=e.indexOf("/"),i=!0,n=!1;e[0]==="@"&&(n=!0,r===-1||e.length===0?i=!1:r=e.indexOf("/",r+1));let s=r===-1?e:e.slice(0,r);if(nX.exec(s)!==null&&(i=!1),!i)throw new Am(e,"is not a valid package name",(0,Yt.fileURLToPath)(t));let o="."+(r===-1?"":e.slice(r));return{packageName:s,packageSubpath:o,isScoped:n}}function ET(e,t,r){if(ad.builtinModules.includes(e))return new URL("node:"+e);let{packageName:i,packageSubpath:n,isScoped:s}=gX(e,t),o=Yb(t);if(o.exists){let A=(0,Yt.pathToFileURL)(o.pjsonPath);if(o.name===i&&o.exports!==void 0&&o.exports!==null)return cT(A,n,o,t,r)}let a=new URL("./node_modules/"+i+"/package.json",t),u=(0,Yt.fileURLToPath)(a),l;do{let A=gT(u.slice(0,-13));if(!A||!A.isDirectory()){l=u,a=new URL((s?"../../../../node_modules/":"../../../node_modules/")+i+"/package.json",a),u=(0,Yt.fileURLToPath)(a);continue}let h=pT(u,{base:t,specifier:e});return h.exports!==void 0&&h.exports!==null?cT(a,n,h,t,r):n==="."?aX(a,h,t):new URL(n,a)}while(u.length!==l.length);throw new Wb(i,(0,Yt.fileURLToPath)(t),!1)}function mX(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function EX(e){return e===""?!1:e[0]==="/"?!0:mX(e)}function CX(e,t,r,i){r===void 0&&(r=XK());let n=t.protocol,o=n==="data:"||n==="http:"||n==="https:",a;if(EX(e))try{a=new URL(e,t)}catch(u){let l=new rT(e,t);throw l.cause=u,l}else if(n==="file:"&&e[0]==="#")a=fX(e,t,r);else try{a=new URL(e)}catch(u){if(o&&!ad.builtinModules.includes(e)){let l=new rT(e,t);throw l.cause=u,l}a=ET(e,t,r)}return pa.default.ok(a!==void 0,"expected to be defined"),a.protocol!=="file:"?a:cX(a,t)}function Eh(e){return typeof e=="string"&&!e.startsWith("file://")?zb(e):zb((0,Yt.fileURLToPath)(e))}function jb(e){return(0,Yt.pathToFileURL)(Eh(e)).toString()}function yX(e){return typeof e!="string"&&(e=e.toString()),/(?:node|data|http|https|file):/.test(e)?e:hT.has(e)?"node:"+e:"file://"+encodeURI(zb(e))}function uT(e,t,r){try{return CX(e,t,r)}catch(i){if(!wX.has(i?.code))throw i}}function BX(e,t={}){if(typeof e!="string")if(e instanceof URL)e=Eh(e);else throw new TypeError("input must be a `string` or `URL`");if(/(?:node|data|http|https):/.test(e))return e;if(hT.has(e))return"node:"+e;if(e.startsWith("file://")&&(e=Eh(e)),us(e))try{if((0,da.statSync)(e).isFile())return jb(e)}catch(o){if(o?.code!=="ENOENT")throw o}let r=t.conditions?new Set(t.conditions):bX,i=(Array.isArray(t.url)?t.url:[t.url]).filter(Boolean).map(o=>new URL(yX(o.toString())));i.length===0&&i.push(new URL(jb(process.cwd())));let n=[...i];for(let o of i)o.protocol==="file:"&&n.push(new URL("./",o),new URL(rb(o.pathname,"_index.js"),o),new URL("node_modules",o));let s;for(let o of n){if(s=uT(e,o,r),s)break;for(let a of["","/index"]){for(let u of t.extensions||IX)if(s=uT(rb(e,a)+u,o,r),s)break;if(s)break}if(s)break}if(!s){let o=new Error(`Cannot find module ${e} imported from ${n.join(", ")}`);throw o.code="ERR_MODULE_NOT_FOUND",o}return jb(s)}function vX(e,t){return BX(e,t)}function xX(e,t){return Eh(vX(e,t))}function um(e,t){try{return Promise.resolve(xX(e,t))}catch(r){return Promise.reject(r)}}var ad,da,Yt,pa,Cc,cd,lT,gh,hT,_K,TK,FK,cn,AT,NK,Z_,OK,sd,qK,K_,VK,$K,GK,eT,JK,ZK,lm,Am,dT,eX,Wb,tX,rX,iX,rT,fT,iT,nT,nX,hm,sX,sT,oX,bX,IX,wX,qb=jr(()=>{UR();ad=require("node:module"),da=Fi(require("node:fs"),1);qR();oh();Yt=require("node:url"),pa=Fi(require("node:assert"),1),Cc=Fi(require("node:process"),1),cd=Fi(require("node:path"),1),lT=Fi(require("node:v8"),1),gh=require("node:util"),hT=new Set(ad.builtinModules);_K={}.hasOwnProperty,TK=/^([A-Z][a-z\d]*)+$/,FK=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),cn={};AT=new Map,NK="__node_internal_";cn.ERR_INVALID_ARG_TYPE=fs("ERR_INVALID_ARG_TYPE",(e,t,r)=>{pa.default.ok(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";if(e.endsWith(" argument"))i+=`${e} `;else{let a=e.includes(".")?"property":"argument";i+=`"${e}" ${a} `}i+="must be ";let n=[],s=[],o=[];for(let a of t)pa.default.ok(typeof a=="string","All expected entries have to be of type string"),FK.has(a)?n.push(a.toLowerCase()):TK.exec(a)===null?(pa.default.ok(a!=="object",'The value "object" should be written as "Object"'),o.push(a)):s.push(a);if(s.length>0){let a=n.indexOf("object");a!==-1&&(n.slice(a,1),s.push("Object"))}return n.length>0&&(i+=`${n.length>1?"one of type":"of type"} ${Vb(n,"or")}`,(s.length>0||o.length>0)&&(i+=" or ")),s.length>0&&(i+=`an instance of ${Vb(s,"or")}`,o.length>0&&(i+=" or ")),o.length>0&&(o.length>1?i+=`one of ${Vb(o,"or")}`:(o[0].toLowerCase()!==o[0]&&(i+="an "),i+=`${o[0]}`)),i+=`. Received ${UK(r)}`,i},TypeError);cn.ERR_INVALID_MODULE_SPECIFIER=fs("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);cn.ERR_INVALID_PACKAGE_CONFIG=fs("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);cn.ERR_INVALID_PACKAGE_TARGET=fs("ERR_INVALID_PACKAGE_TARGET",(e,t,r,i=!1,n=void 0)=>{let s=typeof r=="string"&&!i&&r.length>0&&!r.startsWith("./");return t==="."?(pa.default.ok(i===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${n?` imported from ${n}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${i?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${n?` imported from ${n}`:""}${s?'; targets must start with "./"':""}`},Error);cn.ERR_MODULE_NOT_FOUND=fs("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);cn.ERR_NETWORK_IMPORT_DISALLOWED=fs("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);cn.ERR_PACKAGE_IMPORT_NOT_DEFINED=fs("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);cn.ERR_PACKAGE_PATH_NOT_EXPORTED=fs("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);cn.ERR_UNSUPPORTED_DIR_IMPORT=fs("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);cn.ERR_UNSUPPORTED_RESOLVE_REQUEST=fs("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);cn.ERR_UNKNOWN_FILE_EXTENSION=fs("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);cn.ERR_INVALID_ARG_VALUE=fs("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let i=(0,gh.inspect)(t);return i.length>128&&(i=`${i.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${i}`},TypeError);OK=MK(function(e){let t=Hb();return t&&(Z_=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=Z_),e});sd={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:qK}=cn,K_=new Map;({ERR_UNKNOWN_FILE_EXTENSION:VK}=cn),$K={}.hasOwnProperty,GK={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};eT={__proto__:null,"data:":zK,"file:":YK,"http:":tT,"https:":tT,"node:"(){return"builtin"}};JK=Object.freeze(["node","import"]),ZK=new Set(JK);lm=RegExp.prototype[Symbol.replace],{ERR_INVALID_MODULE_SPECIFIER:Am,ERR_INVALID_PACKAGE_CONFIG:dT,ERR_INVALID_PACKAGE_TARGET:eX,ERR_MODULE_NOT_FOUND:Wb,ERR_PACKAGE_IMPORT_NOT_DEFINED:tX,ERR_PACKAGE_PATH_NOT_EXPORTED:rX,ERR_UNSUPPORTED_DIR_IMPORT:iX,ERR_UNSUPPORTED_RESOLVE_REQUEST:rT}=cn,fT={}.hasOwnProperty,iT=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,nT=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,nX=/^\.|%|\\/,hm=/\*/g,sX=/%2f|%5c/i,sT=new Set,oX=/[/\\]{2}/;bX=new Set(["node","import"]),IX=[".mjs",".cjs",".js",".json"],wX=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"])});function Jb(e){if(e===null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Zb(e,t,r=".",i){if(!Jb(t))return Zb(e,{},r,i);let n=Object.assign({},t);for(let s in e){if(s==="__proto__"||s==="constructor")continue;let o=e[s];o!=null&&(i&&i(n,s,o,r)||(Array.isArray(o)&&Array.isArray(n[s])?n[s]=[...o,...n[s]]:Jb(o)&&Jb(n[s])?n[s]=Zb(o,n[s],(r?`${r}.`:"")+s.toString(),i):n[s]=o))}return n}function Kb(e){return(...t)=>t.reduce((r,i)=>Zb(r,i,"",e),{})}var gs,K0e,X0e,yc=jr(()=>{gs=Kb(),K0e=Kb((e,t,r)=>{if(e[t]!==void 0&&typeof r=="function")return e[t]=r(e[t]),!0}),X0e=Kb((e,t,r)=>{if(Array.isArray(e[t])&&typeof r=="function")return e[t]=r(e[t]),!0})});var QT=ee((iye,PX)=>{PX.exports={name:"dotenv",version:"16.6.1",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard",pretest:"npm run lint && npm run dts-check",test:"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},homepage:"https://github.com/motdotla/dotenv#readme",funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^18.11.3",decache:"^4.6.2",sinon:"^14.0.1",standard:"^17.0.0","standard-version":"^9.5.0",tap:"^19.2.0",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var tI=ee((nye,fa)=>{var Xb=require("fs"),dm=require("path"),UX=require("os"),qX=require("crypto"),VX=QT(),eI=VX.version,$X=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function GX(e){let t={},r=e.toString();r=r.replace(/\r\n?/mg,`
111
+ Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function gT(e){try{return(0,da.statSync)(e)}catch{}}function $b(e){let t=(0,da.statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function aX(e,t,r){let i;if(t.main!==void 0){if(i=new URL(t.main,e),$b(i))return i;let o=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],a=-1;for(;++a<o.length&&(i=new URL(o[a],e),!$b(i));)i=void 0;if(i)return aT(i,e,r,t.main),i}let n=["./index.js","./index.json","./index.node"],s=-1;for(;++s<n.length&&(i=new URL(n[s],e),!$b(i));)i=void 0;if(i)return aT(i,e,r,t.main),i;throw new Wb((0,Yt.fileURLToPath)(new URL(".",e)),(0,Yt.fileURLToPath)(r))}function cX(e,t,r){if(sX.exec(e.pathname)!==null)throw new Am(e.pathname,'must not include encoded "/" or "\\" characters',(0,Yt.fileURLToPath)(t));let i;try{i=(0,Yt.fileURLToPath)(e)}catch(s){let o=s;throw Object.defineProperty(o,"input",{value:String(e)}),Object.defineProperty(o,"module",{value:String(t)}),o}let n=gT(i.endsWith("/")?i.slice(-1):i);if(n&&n.isDirectory()){let s=new iX(i,(0,Yt.fileURLToPath)(t));throw s.url=String(e),s}if(!n||!n.isFile()){let s=new Wb(i||e.pathname,t&&(0,Yt.fileURLToPath)(t),!0);throw s.url=String(e),s}{let s=(0,da.realpathSync)(i),{search:o,hash:a}=e;e=(0,Yt.pathToFileURL)(s+(i.endsWith(cd.default.sep)?"/":"")),e.search=o,e.hash=a}return e}function uX(e,t,r){return new tX(e,t&&(0,Yt.fileURLToPath)(new URL(".",t)),(0,Yt.fileURLToPath)(r))}function Gb(e,t,r){return new rX((0,Yt.fileURLToPath)(new URL(".",t)),e,r&&(0,Yt.fileURLToPath)(r))}function lX(e,t,r,i,n){let s=`request is not a valid match in pattern "${t}" for the "${i?"imports":"exports"}" resolution of ${(0,Yt.fileURLToPath)(r)}`;throw new Am(e,s,n&&(0,Yt.fileURLToPath)(n))}function od(e,t,r,i,n){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new eX((0,Yt.fileURLToPath)(new URL(".",r)),e,t,i,n&&(0,Yt.fileURLToPath)(n))}function hX(e,t,r,i,n,s,o,a,u){if(t!==""&&!s&&e[e.length-1]!=="/")throw od(r,e,i,o,n);if(!e.startsWith("./")){if(o&&!e.startsWith("../")&&!e.startsWith("/")){let d=!1;try{new URL(e),d=!0}catch{}if(!d){let m=s?lm.call(hm,e,()=>t):e+t;return ET(m,i,u)}}throw od(r,e,i,o,n)}if(iT.exec(e.slice(2))!==null)if(nT.exec(e.slice(2))===null){if(!a){let d=s?r.replace("*",()=>t):r+t,m=s?lm.call(hm,e,()=>t):e;oT(m,d,r,i,o,n,!0)}}else throw od(r,e,i,o,n);let l=new URL(e,i),A=l.pathname,h=new URL(".",i).pathname;if(!A.startsWith(h))throw od(r,e,i,o,n);if(t==="")return l;if(iT.exec(t)!==null){let d=s?r.replace("*",()=>t):r+t;if(nT.exec(t)===null){if(!a){let m=s?lm.call(hm,e,()=>t):e;oT(m,d,r,i,o,n,!1)}}else lX(d,r,i,o,n)}return s?new URL(lm.call(hm,l.href,()=>t)):new URL(t,l)}function AX(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function mh(e,t,r,i,n,s,o,a,u){if(typeof t=="string")return hX(t,r,i,e,n,s,o,a,u);if(Array.isArray(t)){let l=t;if(l.length===0)return null;let A,h=-1;for(;++h<l.length;){let d=l[h],m;try{m=mh(e,d,r,i,n,s,o,a,u)}catch(g){let E=g;if(A=E,E.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw g}if(m!==void 0){if(m===null){A=null;continue}return m}}if(A==null)return null;throw A}if(typeof t=="object"&&t!==null){let l=Object.getOwnPropertyNames(t),A=-1;for(;++A<l.length;){let h=l[A];if(AX(h))throw new dT((0,Yt.fileURLToPath)(e),n,'"exports" cannot contain numeric property keys.')}for(A=-1;++A<l.length;){let h=l[A];if(h==="default"||u&&u.has(h)){let d=t[h],m=mh(e,d,r,i,n,s,o,a,u);if(m===void 0)continue;return m}}return null}if(t===null)return null;throw od(i,t,e,o,n)}function pX(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let i=Object.getOwnPropertyNames(e),n=!1,s=0,o=-1;for(;++o<i.length;){let a=i[o],u=a===""||a[0]!==".";if(s++===0)n=u;else if(n!==u)throw new dT((0,Yt.fileURLToPath)(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return n}function dX(e,t,r){if(Cc.default.noDeprecation)return;let i=(0,Yt.fileURLToPath)(t);sT.has(i+"|"+e)||(sT.add(i+"|"+e),Cc.default.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${i}${r?` imported from ${(0,Yt.fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function cT(e,t,r,i,n){let s=r.exports;if(pX(s,e,i)&&(s={".":s}),fT.call(s,t)&&!t.includes("*")&&!t.endsWith("/")){let A=s[t],h=mh(e,A,"",t,i,!1,!1,!1,n);if(h==null)throw Gb(t,e,i);return h}let o="",a="",u=Object.getOwnPropertyNames(s),l=-1;for(;++l<u.length;){let A=u[l],h=A.indexOf("*");if(h!==-1&&t.startsWith(A.slice(0,h))){t.endsWith("/")&&dX(t,e,i);let d=A.slice(h+1);t.length>=A.length&&t.endsWith(d)&&mT(o,A)===1&&A.lastIndexOf("*")===h&&(o=A,a=t.slice(h,t.length-d.length))}}if(o){let A=s[o],h=mh(e,A,a,o,i,!0,!1,t.endsWith("/"),n);if(h==null)throw Gb(t,e,i);return h}throw Gb(t,e,i)}function mT(e,t){let r=e.indexOf("*"),i=t.indexOf("*"),n=r===-1?e.length:r+1,s=i===-1?t.length:i+1;return n>s?-1:s>n||r===-1?1:i===-1||e.length>t.length?-1:t.length>e.length?1:0}function fX(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let s="is not a valid internal imports specifier name";throw new Am(e,s,(0,Yt.fileURLToPath)(t))}let i,n=Yb(t);if(n.exists){i=(0,Yt.pathToFileURL)(n.pjsonPath);let s=n.imports;if(s)if(fT.call(s,e)&&!e.includes("*")){let o=mh(i,s[e],"",e,t,!1,!0,!1,r);if(o!=null)return o}else{let o="",a="",u=Object.getOwnPropertyNames(s),l=-1;for(;++l<u.length;){let A=u[l],h=A.indexOf("*");if(h!==-1&&e.startsWith(A.slice(0,-1))){let d=A.slice(h+1);e.length>=A.length&&e.endsWith(d)&&mT(o,A)===1&&A.lastIndexOf("*")===h&&(o=A,a=e.slice(h,e.length-d.length))}}if(o){let A=s[o],h=mh(i,A,a,o,t,!0,!0,!1,r);if(h!=null)return h}}}throw uX(e,i,t)}function gX(e,t){let r=e.indexOf("/"),i=!0,n=!1;e[0]==="@"&&(n=!0,r===-1||e.length===0?i=!1:r=e.indexOf("/",r+1));let s=r===-1?e:e.slice(0,r);if(nX.exec(s)!==null&&(i=!1),!i)throw new Am(e,"is not a valid package name",(0,Yt.fileURLToPath)(t));let o="."+(r===-1?"":e.slice(r));return{packageName:s,packageSubpath:o,isScoped:n}}function ET(e,t,r){if(ad.builtinModules.includes(e))return new URL("node:"+e);let{packageName:i,packageSubpath:n,isScoped:s}=gX(e,t),o=Yb(t);if(o.exists){let A=(0,Yt.pathToFileURL)(o.pjsonPath);if(o.name===i&&o.exports!==void 0&&o.exports!==null)return cT(A,n,o,t,r)}let a=new URL("./node_modules/"+i+"/package.json",t),u=(0,Yt.fileURLToPath)(a),l;do{let A=gT(u.slice(0,-13));if(!A||!A.isDirectory()){l=u,a=new URL((s?"../../../../node_modules/":"../../../node_modules/")+i+"/package.json",a),u=(0,Yt.fileURLToPath)(a);continue}let h=pT(u,{base:t,specifier:e});return h.exports!==void 0&&h.exports!==null?cT(a,n,h,t,r):n==="."?aX(a,h,t):new URL(n,a)}while(u.length!==l.length);throw new Wb(i,(0,Yt.fileURLToPath)(t),!1)}function mX(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function EX(e){return e===""?!1:e[0]==="/"?!0:mX(e)}function CX(e,t,r,i){r===void 0&&(r=XK());let n=t.protocol,o=n==="data:"||n==="http:"||n==="https:",a;if(EX(e))try{a=new URL(e,t)}catch(u){let l=new rT(e,t);throw l.cause=u,l}else if(n==="file:"&&e[0]==="#")a=fX(e,t,r);else try{a=new URL(e)}catch(u){if(o&&!ad.builtinModules.includes(e)){let l=new rT(e,t);throw l.cause=u,l}a=ET(e,t,r)}return pa.default.ok(a!==void 0,"expected to be defined"),a.protocol!=="file:"?a:cX(a,t)}function Eh(e){return typeof e=="string"&&!e.startsWith("file://")?zb(e):zb((0,Yt.fileURLToPath)(e))}function jb(e){return(0,Yt.pathToFileURL)(Eh(e)).toString()}function yX(e){return typeof e!="string"&&(e=e.toString()),/(?:node|data|http|https|file):/.test(e)?e:hT.has(e)?"node:"+e:"file://"+encodeURI(zb(e))}function uT(e,t,r){try{return CX(e,t,r)}catch(i){if(!wX.has(i?.code))throw i}}function BX(e,t={}){if(typeof e!="string")if(e instanceof URL)e=Eh(e);else throw new TypeError("input must be a `string` or `URL`");if(/(?:node|data|http|https):/.test(e))return e;if(hT.has(e))return"node:"+e;if(e.startsWith("file://")&&(e=Eh(e)),us(e))try{if((0,da.statSync)(e).isFile())return jb(e)}catch(o){if(o?.code!=="ENOENT")throw o}let r=t.conditions?new Set(t.conditions):bX,i=(Array.isArray(t.url)?t.url:[t.url]).filter(Boolean).map(o=>new URL(yX(o.toString())));i.length===0&&i.push(new URL(jb(process.cwd())));let n=[...i];for(let o of i)o.protocol==="file:"&&n.push(new URL("./",o),new URL(rb(o.pathname,"_index.js"),o),new URL("node_modules",o));let s;for(let o of n){if(s=uT(e,o,r),s)break;for(let a of["","/index"]){for(let u of t.extensions||IX)if(s=uT(rb(e,a)+u,o,r),s)break;if(s)break}if(s)break}if(!s){let o=new Error(`Cannot find module ${e} imported from ${n.join(", ")}`);throw o.code="ERR_MODULE_NOT_FOUND",o}return jb(s)}function vX(e,t){return BX(e,t)}function xX(e,t){return Eh(vX(e,t))}function um(e,t){try{return Promise.resolve(xX(e,t))}catch(r){return Promise.reject(r)}}var ad,da,Yt,pa,Cc,cd,lT,gh,hT,_K,TK,FK,cn,AT,NK,Z_,OK,sd,qK,K_,VK,$K,GK,eT,JK,ZK,lm,Am,dT,eX,Wb,tX,rX,iX,rT,fT,iT,nT,nX,hm,sX,sT,oX,bX,IX,wX,qb=jr(()=>{UR();ad=require("node:module"),da=Fi(require("node:fs"),1);qR();oh();Yt=require("node:url"),pa=Fi(require("node:assert"),1),Cc=Fi(require("node:process"),1),cd=Fi(require("node:path"),1),lT=Fi(require("node:v8"),1),gh=require("node:util"),hT=new Set(ad.builtinModules);_K={}.hasOwnProperty,TK=/^([A-Z][a-z\d]*)+$/,FK=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),cn={};AT=new Map,NK="__node_internal_";cn.ERR_INVALID_ARG_TYPE=fs("ERR_INVALID_ARG_TYPE",(e,t,r)=>{pa.default.ok(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";if(e.endsWith(" argument"))i+=`${e} `;else{let a=e.includes(".")?"property":"argument";i+=`"${e}" ${a} `}i+="must be ";let n=[],s=[],o=[];for(let a of t)pa.default.ok(typeof a=="string","All expected entries have to be of type string"),FK.has(a)?n.push(a.toLowerCase()):TK.exec(a)===null?(pa.default.ok(a!=="object",'The value "object" should be written as "Object"'),o.push(a)):s.push(a);if(s.length>0){let a=n.indexOf("object");a!==-1&&(n.slice(a,1),s.push("Object"))}return n.length>0&&(i+=`${n.length>1?"one of type":"of type"} ${Vb(n,"or")}`,(s.length>0||o.length>0)&&(i+=" or ")),s.length>0&&(i+=`an instance of ${Vb(s,"or")}`,o.length>0&&(i+=" or ")),o.length>0&&(o.length>1?i+=`one of ${Vb(o,"or")}`:(o[0].toLowerCase()!==o[0]&&(i+="an "),i+=`${o[0]}`)),i+=`. Received ${UK(r)}`,i},TypeError);cn.ERR_INVALID_MODULE_SPECIFIER=fs("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);cn.ERR_INVALID_PACKAGE_CONFIG=fs("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);cn.ERR_INVALID_PACKAGE_TARGET=fs("ERR_INVALID_PACKAGE_TARGET",(e,t,r,i=!1,n=void 0)=>{let s=typeof r=="string"&&!i&&r.length>0&&!r.startsWith("./");return t==="."?(pa.default.ok(i===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${n?` imported from ${n}`:""}${s?'; targets must start with "./"':""}`):`Invalid "${i?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${n?` imported from ${n}`:""}${s?'; targets must start with "./"':""}`},Error);cn.ERR_MODULE_NOT_FOUND=fs("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);cn.ERR_NETWORK_IMPORT_DISALLOWED=fs("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);cn.ERR_PACKAGE_IMPORT_NOT_DEFINED=fs("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);cn.ERR_PACKAGE_PATH_NOT_EXPORTED=fs("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);cn.ERR_UNSUPPORTED_DIR_IMPORT=fs("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);cn.ERR_UNSUPPORTED_RESOLVE_REQUEST=fs("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);cn.ERR_UNKNOWN_FILE_EXTENSION=fs("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);cn.ERR_INVALID_ARG_VALUE=fs("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let i=(0,gh.inspect)(t);return i.length>128&&(i=`${i.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${i}`},TypeError);OK=MK(function(e){let t=Hb();return t&&(Z_=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=Z_),e});sd={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:qK}=cn,K_=new Map;({ERR_UNKNOWN_FILE_EXTENSION:VK}=cn),$K={}.hasOwnProperty,GK={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};eT={__proto__:null,"data:":zK,"file:":YK,"http:":tT,"https:":tT,"node:"(){return"builtin"}};JK=Object.freeze(["node","import"]),ZK=new Set(JK);lm=RegExp.prototype[Symbol.replace],{ERR_INVALID_MODULE_SPECIFIER:Am,ERR_INVALID_PACKAGE_CONFIG:dT,ERR_INVALID_PACKAGE_TARGET:eX,ERR_MODULE_NOT_FOUND:Wb,ERR_PACKAGE_IMPORT_NOT_DEFINED:tX,ERR_PACKAGE_PATH_NOT_EXPORTED:rX,ERR_UNSUPPORTED_DIR_IMPORT:iX,ERR_UNSUPPORTED_RESOLVE_REQUEST:rT}=cn,fT={}.hasOwnProperty,iT=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,nT=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,nX=/^\.|%|\\/,hm=/\*/g,sX=/%2f|%5c/i,sT=new Set,oX=/[/\\]{2}/;bX=new Set(["node","import"]),IX=[".mjs",".cjs",".js",".json"],wX=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"])});function Jb(e){if(e===null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Zb(e,t,r=".",i){if(!Jb(t))return Zb(e,{},r,i);let n={...t};for(let s of Object.keys(e)){if(s==="__proto__"||s==="constructor")continue;let o=e[s];o!=null&&(i&&i(n,s,o,r)||(Array.isArray(o)&&Array.isArray(n[s])?n[s]=[...o,...n[s]]:Jb(o)&&Jb(n[s])?n[s]=Zb(o,n[s],(r?`${r}.`:"")+s.toString(),i):n[s]=o))}return n}function Kb(e){return(...t)=>t.reduce((r,i)=>Zb(r,i,"",e),{})}var gs,K0e,X0e,yc=jr(()=>{gs=Kb(),K0e=Kb((e,t,r)=>{if(e[t]!==void 0&&typeof r=="function")return e[t]=r(e[t]),!0}),X0e=Kb((e,t,r)=>{if(Array.isArray(e[t])&&typeof r=="function")return e[t]=r(e[t]),!0})});var QT=ee((iye,PX)=>{PX.exports={name:"dotenv",version:"16.6.1",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard",pretest:"npm run lint && npm run dts-check",test:"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},homepage:"https://github.com/motdotla/dotenv#readme",funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^18.11.3",decache:"^4.6.2",sinon:"^14.0.1",standard:"^17.0.0","standard-version":"^9.5.0",tap:"^19.2.0",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var tI=ee((nye,fa)=>{var Xb=require("fs"),dm=require("path"),UX=require("os"),qX=require("crypto"),VX=QT(),eI=VX.version,$X=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function GX(e){let t={},r=e.toString();r=r.replace(/\r\n?/mg,`
112
112
  `);let i;for(;(i=$X.exec(r))!=null;){let n=i[1],s=i[2]||"";s=s.trim();let o=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),o==='"'&&(s=s.replace(/\\n/g,`
113
113
  `),s=s.replace(/\\r/g,"\r")),t[n]=s}return t}function jX(e){e=e||{};let t=RT(e);e.path=t;let r=pi.configDotenv(e);if(!r.parsed){let o=new Error(`MISSING_DATA: Cannot parse ${t} for an unknown reason`);throw o.code="MISSING_DATA",o}let i=kT(e).split(","),n=i.length,s;for(let o=0;o<n;o++)try{let a=i[o].trim(),u=HX(r,a);s=pi.decrypt(u.ciphertext,u.key);break}catch(a){if(o+1>=n)throw a}return pi.parse(s)}function zX(e){console.log(`[dotenv@${eI}][WARN] ${e}`)}function ld(e){console.log(`[dotenv@${eI}][DEBUG] ${e}`)}function DT(e){console.log(`[dotenv@${eI}] ${e}`)}function kT(e){return e&&e.DOTENV_KEY&&e.DOTENV_KEY.length>0?e.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function HX(e,t){let r;try{r=new URL(t)}catch(a){if(a.code==="ERR_INVALID_URL"){let u=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw u.code="INVALID_DOTENV_KEY",u}throw a}let i=r.password;if(!i){let a=new Error("INVALID_DOTENV_KEY: Missing key part");throw a.code="INVALID_DOTENV_KEY",a}let n=r.searchParams.get("environment");if(!n){let a=new Error("INVALID_DOTENV_KEY: Missing environment part");throw a.code="INVALID_DOTENV_KEY",a}let s=`DOTENV_VAULT_${n.toUpperCase()}`,o=e.parsed[s];if(!o){let a=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${s} in your .env.vault file.`);throw a.code="NOT_FOUND_DOTENV_ENVIRONMENT",a}return{ciphertext:o,key:i}}function RT(e){let t=null;if(e&&e.path&&e.path.length>0)if(Array.isArray(e.path))for(let r of e.path)Xb.existsSync(r)&&(t=r.endsWith(".vault")?r:`${r}.vault`);else t=e.path.endsWith(".vault")?e.path:`${e.path}.vault`;else t=dm.resolve(process.cwd(),".env.vault");return Xb.existsSync(t)?t:null}function ST(e){return e[0]==="~"?dm.join(UX.homedir(),e.slice(1)):e}function YX(e){let t=!!(e&&e.debug),r=e&&"quiet"in e?e.quiet:!0;(t||!r)&&DT("Loading env from encrypted .env.vault");let i=pi._parseVault(e),n=process.env;return e&&e.processEnv!=null&&(n=e.processEnv),pi.populate(n,i,e),{parsed:i}}function WX(e){let t=dm.resolve(process.cwd(),".env"),r="utf8",i=!!(e&&e.debug),n=e&&"quiet"in e?e.quiet:!0;e&&e.encoding?r=e.encoding:i&&ld("No encoding is specified. UTF-8 is used by default");let s=[t];if(e&&e.path)if(!Array.isArray(e.path))s=[ST(e.path)];else{s=[];for(let l of e.path)s.push(ST(l))}let o,a={};for(let l of s)try{let A=pi.parse(Xb.readFileSync(l,{encoding:r}));pi.populate(a,A,e)}catch(A){i&&ld(`Failed to load ${l} ${A.message}`),o=A}let u=process.env;if(e&&e.processEnv!=null&&(u=e.processEnv),pi.populate(u,a,e),i||!n){let l=Object.keys(a).length,A=[];for(let h of s)try{let d=dm.relative(process.cwd(),h);A.push(d)}catch(d){i&&ld(`Failed to load ${h} ${d.message}`),o=d}DT(`injecting env (${l}) from ${A.join(",")}`)}return o?{parsed:a,error:o}:{parsed:a}}function JX(e){if(kT(e).length===0)return pi.configDotenv(e);let t=RT(e);return t?pi._configVault(e):(zX(`You set DOTENV_KEY but you are missing a .env.vault file at ${t}. Did you forget to build it?`),pi.configDotenv(e))}function ZX(e,t){let r=Buffer.from(t.slice(-64),"hex"),i=Buffer.from(e,"base64"),n=i.subarray(0,12),s=i.subarray(-16);i=i.subarray(12,-16);try{let o=qX.createDecipheriv("aes-256-gcm",r,n);return o.setAuthTag(s),`${o.update(i)}${o.final()}`}catch(o){let a=o instanceof RangeError,u=o.message==="Invalid key length",l=o.message==="Unsupported state or unable to authenticate data";if(a||u){let A=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw A.code="INVALID_DOTENV_KEY",A}else if(l){let A=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw A.code="DECRYPTION_FAILED",A}else throw o}}function KX(e,t,r={}){let i=!!(r&&r.debug),n=!!(r&&r.override);if(typeof t!="object"){let s=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw s.code="OBJECT_REQUIRED",s}for(let s of Object.keys(t))Object.prototype.hasOwnProperty.call(e,s)?(n===!0&&(e[s]=t[s]),i&&ld(n===!0?`"${s}" is already defined and WAS overwritten`:`"${s}" is already defined and was NOT overwritten`)):e[s]=t[s]}var pi={configDotenv:WX,_configVault:YX,_parseVault:jX,config:JX,decrypt:ZX,parse:GX,populate:KX};fa.exports.configDotenv=pi.configDotenv;fa.exports._configVault=pi._configVault;fa.exports._parseVault=pi._parseVault;fa.exports.config=pi.config;fa.exports.decrypt=pi.decrypt;fa.exports.parse=pi.parse;fa.exports.populate=pi.populate;fa.exports=pi});var _T={};Su(_T,{parseJSONC:()=>Kp,stringifyJSONC:()=>Xg});var TT=jr(()=>{fb()});var Ch=ee((oye,NT)=>{"use strict";var FT=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);NT.exports=e=>e?Object.keys(e).map(t=>[FT.has(t)?FT.get(t):t,e[t]]).reduce((t,r)=>(t[r[0]]=r[1],t),Object.create(null)):{}});var bm=ee(jT=>{"use strict";var LT=typeof process=="object"&&process?process:{stdout:null,stderr:null},XX=require("events"),MT=require("stream"),eee=require("string_decoder"),OT=eee.StringDecoder,ga=Symbol("EOF"),ma=Symbol("maybeEmitEnd"),bc=Symbol("emittedEnd"),fm=Symbol("emittingEnd"),hd=Symbol("emittedError"),gm=Symbol("closed"),PT=Symbol("read"),mm=Symbol("flush"),UT=Symbol("flushChunk"),In=Symbol("encoding"),Ea=Symbol("decoder"),Em=Symbol("flowing"),Ad=Symbol("paused"),yh=Symbol("resume"),ni=Symbol("buffer"),Io=Symbol("pipes"),bi=Symbol("bufferLength"),rI=Symbol("bufferPush"),iI=Symbol("bufferShift"),Li=Symbol("objectMode"),si=Symbol("destroyed"),nI=Symbol("error"),sI=Symbol("emitData"),qT=Symbol("emitEnd"),oI=Symbol("emitEnd2"),Ca=Symbol("async"),aI=Symbol("abort"),Cm=Symbol("aborted"),Lu=Symbol("signal"),pd=e=>Promise.resolve().then(e),GT=global._MP_NO_ITERATOR_SYMBOLS_!=="1",VT=GT&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),$T=GT&&Symbol.iterator||Symbol("iterator not implemented"),tee=e=>e==="end"||e==="finish"||e==="prefinish",ree=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,iee=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),ym=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[yh](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},cI=class extends ym{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}},uI=class e extends MT{constructor(t){super(),this[Em]=!1,this[Ad]=!1,this[Io]=[],this[ni]=[],this[Li]=t&&t.objectMode||!1,this[Li]?this[In]=null:this[In]=t&&t.encoding||null,this[In]==="buffer"&&(this[In]=null),this[Ca]=t&&!!t.async||!1,this[Ea]=this[In]?new OT(this[In]):null,this[ga]=!1,this[bc]=!1,this[fm]=!1,this[gm]=!1,this[hd]=null,this.writable=!0,this.readable=!0,this[bi]=0,this[si]=!1,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[ni]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Io]}),this[Lu]=t&&t.signal,this[Cm]=!1,this[Lu]&&(this[Lu].addEventListener("abort",()=>this[aI]()),this[Lu].aborted&&this[aI]())}get bufferLength(){return this[bi]}get encoding(){return this[In]}set encoding(t){if(this[Li])throw new Error("cannot set encoding in objectMode");if(this[In]&&t!==this[In]&&(this[Ea]&&this[Ea].lastNeed||this[bi]))throw new Error("cannot change encoding");this[In]!==t&&(this[Ea]=t?new OT(t):null,this[ni].length&&(this[ni]=this[ni].map(r=>this[Ea].write(r)))),this[In]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[Li]}set objectMode(t){this[Li]=this[Li]||!!t}get async(){return this[Ca]}set async(t){this[Ca]=this[Ca]||!!t}[aI](){this[Cm]=!0,this.emit("abort",this[Lu].reason),this.destroy(this[Lu].reason)}get aborted(){return this[Cm]}set aborted(t){}write(t,r,i){if(this[Cm])return!1;if(this[ga])throw new Error("write after end");if(this[si])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[Ca]?pd:s=>s();return!this[Li]&&!Buffer.isBuffer(t)&&(iee(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):ree(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[Li]?(this.flowing&&this[bi]!==0&&this[mm](!0),this.flowing?this.emit("data",t):this[rI](t),this[bi]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[In]&&!this[Ea].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[In]&&(t=this[Ea].write(t)),this.flowing&&this[bi]!==0&&this[mm](!0),this.flowing?this.emit("data",t):this[rI](t),this[bi]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[bi]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[si])return null;if(this[bi]===0||t===0||t>this[bi])return this[ma](),null;this[Li]&&(t=null),this[ni].length>1&&!this[Li]&&(this.encoding?this[ni]=[this[ni].join("")]:this[ni]=[Buffer.concat(this[ni],this[bi])]);let r=this[PT](t||null,this[ni][0]);return this[ma](),r}[PT](t,r){return t===r.length||t===null?this[iI]():(this[ni][0]=r.slice(t),r=r.slice(0,t),this[bi]-=t),this.emit("data",r),!this[ni].length&&!this[ga]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[ga]=!0,this.writable=!1,(this.flowing||!this[Ad])&&this[ma](),this}[yh](){this[si]||(this[Ad]=!1,this[Em]=!0,this.emit("resume"),this[ni].length?this[mm]():this[ga]?this[ma]():this.emit("drain"))}resume(){return this[yh]()}pause(){this[Em]=!1,this[Ad]=!0}get destroyed(){return this[si]}get flowing(){return this[Em]}get paused(){return this[Ad]}[rI](t){this[Li]?this[bi]+=1:this[bi]+=t.length,this[ni].push(t)}[iI](){return this[Li]?this[bi]-=1:this[bi]-=this[ni][0].length,this[ni].shift()}[mm](t){do;while(this[UT](this[iI]())&&this[ni].length);!t&&!this[ni].length&&!this[ga]&&this.emit("drain")}[UT](t){return this.emit("data",t),this.flowing}pipe(t,r){if(this[si])return;let i=this[bc];return r=r||{},t===LT.stdout||t===LT.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this[Io].push(r.proxyErrors?new cI(this,t,r):new ym(this,t,r)),this[Ca]?pd(()=>this[yh]()):this[yh]()),t}unpipe(t){let r=this[Io].find(i=>i.dest===t);r&&(this[Io].splice(this[Io].indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this[Io].length&&!this.flowing?this[yh]():t==="readable"&&this[bi]!==0?super.emit("readable"):tee(t)&&this[bc]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[hd]&&(this[Ca]?pd(()=>r.call(this,this[hd])):r.call(this,this[hd])),i}get emittedEnd(){return this[bc]}[ma](){!this[fm]&&!this[bc]&&!this[si]&&this[ni].length===0&&this[ga]&&(this[fm]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[gm]&&this.emit("close"),this[fm]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==si&&this[si])return;if(t==="data")return!this[Li]&&!r?!1:this[Ca]?pd(()=>this[sI](r)):this[sI](r);if(t==="end")return this[qT]();if(t==="close"){if(this[gm]=!0,!this[bc]&&!this[si])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[hd]=r,super.emit(nI,r);let s=!this[Lu]||this.listeners("error").length?super.emit("error",r):!1;return this[ma](),s}else if(t==="resume"){let s=super.emit("resume");return this[ma](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[ma](),n}[sI](t){for(let i of this[Io])i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[ma](),r}[qT](){this[bc]||(this[bc]=!0,this.readable=!1,this[Ca]?pd(()=>this[oI]()):this[oI]())}[oI](){if(this[Ea]){let r=this[Ea].end();if(r){for(let i of this[Io])i.dest.write(r);super.emit("data",r)}}for(let r of this[Io])r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[Li]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[Li]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[Li]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[Li]?Promise.reject(new Error("cannot concat in objectMode")):this[In]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(si,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[VT](){let t=!1,r=()=>(this.pause(),t=!0,Promise.resolve({done:!0}));return{next:()=>{if(t)return r();let n=this.read();if(n!==null)return Promise.resolve({done:!1,value:n});if(this[ga])return r();let s=null,o=null,a=h=>{this.removeListener("data",u),this.removeListener("end",l),this.removeListener(si,A),r(),o(h)},u=h=>{this.removeListener("error",a),this.removeListener("end",l),this.removeListener(si,A),this.pause(),s({value:h,done:!!this[ga]})},l=()=>{this.removeListener("error",a),this.removeListener("data",u),this.removeListener(si,A),r(),s({done:!0})},A=()=>a(new Error("stream destroyed"));return new Promise((h,d)=>{o=d,s=h,this.once(si,A),this.once("error",a),this.once("end",l),this.once("data",u)})},throw:r,return:r,[VT](){return this}}}[$T](){let t=!1,r=()=>(this.pause(),this.removeListener(nI,r),this.removeListener(si,r),this.removeListener("end",r),t=!0,{done:!0}),i=()=>{if(t)return r();let n=this.read();return n===null?r():{value:n}};return this.once("end",r),this.once(nI,r),this.once(si,r),{next:i,throw:r,return:r,[$T](){return this}}}destroy(t){return this[si]?(t?this.emit("error",t):this.emit(si),this):(this[si]=!0,this[ni].length=0,this[bi]=0,typeof this.close=="function"&&!this[gm]&&this.close(),t?this.emit("error",t):this.emit(si),this)}static isStream(t){return!!t&&(t instanceof e||t instanceof MT||t instanceof XX&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}};jT.Minipass=uI});var HT=ee((cye,zT)=>{var nee=require("zlib").constants||{ZLIB_VERNUM:4736};zT.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},nee))});var fI=ee((uye,rF)=>{"use strict";var YT=typeof process=="object"&&process?process:{stdout:null,stderr:null},see=require("events"),WT=require("stream"),JT=require("string_decoder").StringDecoder,ya=Symbol("EOF"),ba=Symbol("maybeEmitEnd"),Ic=Symbol("emittedEnd"),Im=Symbol("emittingEnd"),dd=Symbol("emittedError"),wm=Symbol("closed"),ZT=Symbol("read"),Bm=Symbol("flush"),KT=Symbol("flushChunk"),wn=Symbol("encoding"),Ia=Symbol("decoder"),vm=Symbol("flowing"),fd=Symbol("paused"),bh=Symbol("resume"),Ii=Symbol("bufferLength"),lI=Symbol("bufferPush"),hI=Symbol("bufferShift"),ji=Symbol("objectMode"),zi=Symbol("destroyed"),AI=Symbol("emitData"),XT=Symbol("emitEnd"),pI=Symbol("emitEnd2"),wa=Symbol("async"),gd=e=>Promise.resolve().then(e),eF=global._MP_NO_ITERATOR_SYMBOLS_!=="1",oee=eF&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),aee=eF&&Symbol.iterator||Symbol("iterator not implemented"),cee=e=>e==="end"||e==="finish"||e==="prefinish",uee=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,lee=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),xm=class{constructor(t,r,i){this.src=t,this.dest=r,this.opts=i,this.ondrain=()=>t[bh](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},dI=class extends xm{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,i){super(t,r,i),this.proxyErrors=n=>r.emit("error",n),t.on("error",this.proxyErrors)}};rF.exports=class tF extends WT{constructor(t){super(),this[vm]=!1,this[fd]=!1,this.pipes=[],this.buffer=[],this[ji]=t&&t.objectMode||!1,this[ji]?this[wn]=null:this[wn]=t&&t.encoding||null,this[wn]==="buffer"&&(this[wn]=null),this[wa]=t&&!!t.async||!1,this[Ia]=this[wn]?new JT(this[wn]):null,this[ya]=!1,this[Ic]=!1,this[Im]=!1,this[wm]=!1,this[dd]=null,this.writable=!0,this.readable=!0,this[Ii]=0,this[zi]=!1}get bufferLength(){return this[Ii]}get encoding(){return this[wn]}set encoding(t){if(this[ji])throw new Error("cannot set encoding in objectMode");if(this[wn]&&t!==this[wn]&&(this[Ia]&&this[Ia].lastNeed||this[Ii]))throw new Error("cannot change encoding");this[wn]!==t&&(this[Ia]=t?new JT(t):null,this.buffer.length&&(this.buffer=this.buffer.map(r=>this[Ia].write(r)))),this[wn]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[ji]}set objectMode(t){this[ji]=this[ji]||!!t}get async(){return this[wa]}set async(t){this[wa]=this[wa]||!!t}write(t,r,i){if(this[ya])throw new Error("write after end");if(this[zi])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let n=this[wa]?gd:s=>s();return!this[ji]&&!Buffer.isBuffer(t)&&(lee(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):uee(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[ji]?(this.flowing&&this[Ii]!==0&&this[Bm](!0),this.flowing?this.emit("data",t):this[lI](t),this[Ii]!==0&&this.emit("readable"),i&&n(i),this.flowing):t.length?(typeof t=="string"&&!(r===this[wn]&&!this[Ia].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[wn]&&(t=this[Ia].write(t)),this.flowing&&this[Ii]!==0&&this[Bm](!0),this.flowing?this.emit("data",t):this[lI](t),this[Ii]!==0&&this.emit("readable"),i&&n(i),this.flowing):(this[Ii]!==0&&this.emit("readable"),i&&n(i),this.flowing)}read(t){if(this[zi])return null;if(this[Ii]===0||t===0||t>this[Ii])return this[ba](),null;this[ji]&&(t=null),this.buffer.length>1&&!this[ji]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Ii])]);let r=this[ZT](t||null,this.buffer[0]);return this[ba](),r}[ZT](t,r){return t===r.length||t===null?this[hI]():(this.buffer[0]=r.slice(t),r=r.slice(0,t),this[Ii]-=t),this.emit("data",r),!this.buffer.length&&!this[ya]&&this.emit("drain"),r}end(t,r,i){return typeof t=="function"&&(i=t,t=null),typeof r=="function"&&(i=r,r="utf8"),t&&this.write(t,r),i&&this.once("end",i),this[ya]=!0,this.writable=!1,(this.flowing||!this[fd])&&this[ba](),this}[bh](){this[zi]||(this[fd]=!1,this[vm]=!0,this.emit("resume"),this.buffer.length?this[Bm]():this[ya]?this[ba]():this.emit("drain"))}resume(){return this[bh]()}pause(){this[vm]=!1,this[fd]=!0}get destroyed(){return this[zi]}get flowing(){return this[vm]}get paused(){return this[fd]}[lI](t){this[ji]?this[Ii]+=1:this[Ii]+=t.length,this.buffer.push(t)}[hI](){return this.buffer.length&&(this[ji]?this[Ii]-=1:this[Ii]-=this.buffer[0].length),this.buffer.shift()}[Bm](t){do;while(this[KT](this[hI]()));!t&&!this.buffer.length&&!this[ya]&&this.emit("drain")}[KT](t){return t?(this.emit("data",t),this.flowing):!1}pipe(t,r){if(this[zi])return;let i=this[Ic];return r=r||{},t===YT.stdout||t===YT.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&t.end():(this.pipes.push(r.proxyErrors?new dI(this,t,r):new xm(this,t,r)),this[wa]?gd(()=>this[bh]()):this[bh]()),t}unpipe(t){let r=this.pipes.find(i=>i.dest===t);r&&(this.pipes.splice(this.pipes.indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let i=super.on(t,r);return t==="data"&&!this.pipes.length&&!this.flowing?this[bh]():t==="readable"&&this[Ii]!==0?super.emit("readable"):cee(t)&&this[Ic]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[dd]&&(this[wa]?gd(()=>r.call(this,this[dd])):r.call(this,this[dd])),i}get emittedEnd(){return this[Ic]}[ba](){!this[Im]&&!this[Ic]&&!this[zi]&&this.buffer.length===0&&this[ya]&&(this[Im]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[wm]&&this.emit("close"),this[Im]=!1)}emit(t,r,...i){if(t!=="error"&&t!=="close"&&t!==zi&&this[zi])return;if(t==="data")return r?this[wa]?gd(()=>this[AI](r)):this[AI](r):!1;if(t==="end")return this[XT]();if(t==="close"){if(this[wm]=!0,!this[Ic]&&!this[zi])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[dd]=r;let s=super.emit("error",r);return this[ba](),s}else if(t==="resume"){let s=super.emit("resume");return this[ba](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let n=super.emit(t,r,...i);return this[ba](),n}[AI](t){for(let i of this.pipes)i.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[ba](),r}[XT](){this[Ic]||(this[Ic]=!0,this.readable=!1,this[wa]?gd(()=>this[pI]()):this[pI]())}[pI](){if(this[Ia]){let r=this[Ia].end();if(r){for(let i of this.pipes)i.dest.write(r);super.emit("data",r)}}for(let r of this.pipes)r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[ji]||(t.dataLength=0);let r=this.promise();return this.on("data",i=>{t.push(i),this[ji]||(t.dataLength+=i.length)}),r.then(()=>t)}concat(){return this[ji]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[ji]?Promise.reject(new Error("cannot concat in objectMode")):this[wn]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(zi,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>t())})}[oee](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[ya])return Promise.resolve({done:!0});let i=null,n=null,s=l=>{this.removeListener("data",o),this.removeListener("end",a),n(l)},o=l=>{this.removeListener("error",s),this.removeListener("end",a),this.pause(),i({value:l,done:!!this[ya]})},a=()=>{this.removeListener("error",s),this.removeListener("data",o),i({done:!0})},u=()=>s(new Error("stream destroyed"));return new Promise((l,A)=>{n=A,i=l,this.once(zi,u),this.once("error",s),this.once("end",a),this.once("data",o)})}}}[aee](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(t){return this[zi]?(t?this.emit("error",t):this.emit(zi),this):(this[zi]=!0,this.buffer.length=0,this[Ii]=0,typeof this.close=="function"&&!this[wm]&&this.close(),t?this.emit("error",t):this.emit(zi),this)}static isStream(t){return!!t&&(t instanceof tF||t instanceof WT||t instanceof see&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}}});var RI=ee(jn=>{"use strict";var yI=require("assert"),wc=require("buffer").Buffer,sF=require("zlib"),Mu=jn.constants=HT(),hee=fI(),iF=wc.concat,Ou=Symbol("_superWrite"),wh=class extends Error{constructor(t){super("zlib: "+t.message),this.code=t.code,this.errno=t.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+t.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},Aee=Symbol("opts"),md=Symbol("flushFlag"),nF=Symbol("finishFlushFlag"),kI=Symbol("fullFlushFlag"),Tr=Symbol("handle"),Qm=Symbol("onError"),Ih=Symbol("sawError"),gI=Symbol("level"),mI=Symbol("strategy"),EI=Symbol("ended"),lye=Symbol("_defaultFullFlush"),Sm=class extends hee{constructor(t,r){if(!t||typeof t!="object")throw new TypeError("invalid options for ZlibBase constructor");super(t),this[Ih]=!1,this[EI]=!1,this[Aee]=t,this[md]=t.flush,this[nF]=t.finishFlush;try{this[Tr]=new sF[r](t)}catch(i){throw new wh(i)}this[Qm]=i=>{this[Ih]||(this[Ih]=!0,this.close(),this.emit("error",i))},this[Tr].on("error",i=>this[Qm](new wh(i))),this.once("end",()=>this.close)}close(){this[Tr]&&(this[Tr].close(),this[Tr]=null,this.emit("close"))}reset(){if(!this[Ih])return yI(this[Tr],"zlib binding closed"),this[Tr].reset()}flush(t){this.ended||(typeof t!="number"&&(t=this[kI]),this.write(Object.assign(wc.alloc(0),{[md]:t})))}end(t,r,i){return t&&this.write(t,r),this.flush(this[nF]),this[EI]=!0,super.end(null,null,i)}get ended(){return this[EI]}write(t,r,i){if(typeof r=="function"&&(i=r,r="utf8"),typeof t=="string"&&(t=wc.from(t,r)),this[Ih])return;yI(this[Tr],"zlib binding closed");let n=this[Tr]._handle,s=n.close;n.close=()=>{};let o=this[Tr].close;this[Tr].close=()=>{},wc.concat=l=>l;let a;try{let l=typeof t[md]=="number"?t[md]:this[md];a=this[Tr]._processChunk(t,l),wc.concat=iF}catch(l){wc.concat=iF,this[Qm](new wh(l))}finally{this[Tr]&&(this[Tr]._handle=n,n.close=s,this[Tr].close=o,this[Tr].removeAllListeners("error"))}this[Tr]&&this[Tr].on("error",l=>this[Qm](new wh(l)));let u;if(a)if(Array.isArray(a)&&a.length>0){u=this[Ou](wc.from(a[0]));for(let l=1;l<a.length;l++)u=this[Ou](a[l])}else u=this[Ou](wc.from(a));return i&&i(),u}[Ou](t){return super.write(t)}},Ba=class extends Sm{constructor(t,r){t=t||{},t.flush=t.flush||Mu.Z_NO_FLUSH,t.finishFlush=t.finishFlush||Mu.Z_FINISH,super(t,r),this[kI]=Mu.Z_FULL_FLUSH,this[gI]=t.level,this[mI]=t.strategy}params(t,r){if(!this[Ih]){if(!this[Tr])throw new Error("cannot switch params when binding is closed");if(!this[Tr].params)throw new Error("not supported in this implementation");if(this[gI]!==t||this[mI]!==r){this.flush(Mu.Z_SYNC_FLUSH),yI(this[Tr],"zlib binding closed");let i=this[Tr].flush;this[Tr].flush=(n,s)=>{this.flush(n),s()};try{this[Tr].params(t,r)}finally{this[Tr].flush=i}this[Tr]&&(this[gI]=t,this[mI]=r)}}}},bI=class extends Ba{constructor(t){super(t,"Deflate")}},II=class extends Ba{constructor(t){super(t,"Inflate")}},CI=Symbol("_portable"),wI=class extends Ba{constructor(t){super(t,"Gzip"),this[CI]=t&&!!t.portable}[Ou](t){return this[CI]?(this[CI]=!1,t[9]=255,super[Ou](t)):super[Ou](t)}},BI=class extends Ba{constructor(t){super(t,"Gunzip")}},vI=class extends Ba{constructor(t){super(t,"DeflateRaw")}},xI=class extends Ba{constructor(t){super(t,"InflateRaw")}},QI=class extends Ba{constructor(t){super(t,"Unzip")}},Dm=class extends Sm{constructor(t,r){t=t||{},t.flush=t.flush||Mu.BROTLI_OPERATION_PROCESS,t.finishFlush=t.finishFlush||Mu.BROTLI_OPERATION_FINISH,super(t,r),this[kI]=Mu.BROTLI_OPERATION_FLUSH}},SI=class extends Dm{constructor(t){super(t,"BrotliCompress")}},DI=class extends Dm{constructor(t){super(t,"BrotliDecompress")}};jn.Deflate=bI;jn.Inflate=II;jn.Gzip=wI;jn.Gunzip=BI;jn.DeflateRaw=vI;jn.InflateRaw=xI;jn.Unzip=QI;typeof sF.BrotliCompress=="function"?(jn.BrotliCompress=SI,jn.BrotliDecompress=DI):jn.BrotliCompress=jn.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var Bh=ee((pye,oF)=>{var pee=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;oF.exports=pee!=="win32"?e=>e:e=>e&&e.replace(/\\/g,"/")});var km=ee((fye,aF)=>{"use strict";var{Minipass:dee}=bm(),_I=Bh(),TI=Symbol("slurp");aF.exports=class extends dee{constructor(t,r,i){switch(super(),this.pause(),this.extended=r,this.globalExtended=i,this.header=t,this.startBlockSize=512*Math.ceil(t.size/512),this.blockRemain=this.startBlockSize,this.remain=t.size,this.type=t.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=_I(t.path),this.mode=t.mode,this.mode&&(this.mode=this.mode&4095),this.uid=t.uid,this.gid=t.gid,this.uname=t.uname,this.gname=t.gname,this.size=t.size,this.mtime=t.mtime,this.atime=t.atime,this.ctime=t.ctime,this.linkpath=_I(t.linkpath),this.uname=t.uname,this.gname=t.gname,r&&this[TI](r),i&&this[TI](i,!0)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");let i=this.remain,n=this.blockRemain;return this.remain=Math.max(0,i-r),this.blockRemain=Math.max(0,n-r),this.ignore?!0:i>=r?super.write(t):super.write(t.slice(0,i))}[TI](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=i==="path"||i==="linkpath"?_I(t[i]):t[i])}}});var FI=ee(Rm=>{"use strict";Rm.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);Rm.code=new Map(Array.from(Rm.name).map(e=>[e[1],e[0]]))});var hF=ee((mye,lF)=>{"use strict";var fee=(e,t)=>{if(Number.isSafeInteger(e))e<0?mee(e,t):gee(e,t);else throw Error("cannot encode number outside of javascript safe integer range");return t},gee=(e,t)=>{t[0]=128;for(var r=t.length;r>1;r--)t[r-1]=e&255,e=Math.floor(e/256)},mee=(e,t)=>{t[0]=255;var r=!1;e=e*-1;for(var i=t.length;i>1;i--){var n=e&255;e=Math.floor(e/256),r?t[i-1]=cF(n):n===0?t[i-1]=0:(r=!0,t[i-1]=uF(n))}},Eee=e=>{let t=e[0],r=t===128?yee(e.slice(1,e.length)):t===255?Cee(e):null;if(r===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(r))throw Error("parsed number outside of javascript safe integer range");return r},Cee=e=>{for(var t=e.length,r=0,i=!1,n=t-1;n>-1;n--){var s=e[n],o;i?o=cF(s):s===0?o=s:(i=!0,o=uF(s)),o!==0&&(r-=o*Math.pow(256,t-n-1))}return r},yee=e=>{for(var t=e.length,r=0,i=t-1;i>-1;i--){var n=e[i];n!==0&&(r+=n*Math.pow(256,t-i-1))}return r},cF=e=>(255^e)&255,uF=e=>(255^e)+1&255;lF.exports={encode:fee,parse:Eee}});var xh=ee((Eye,pF)=>{"use strict";var NI=FI(),vh=require("path").posix,AF=hF(),LI=Symbol("slurp"),zn=Symbol("type"),PI=class{constructor(t,r,i,n){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[zn]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(t)?this.decode(t,r||0,i,n):t&&this.set(t)}decode(t,r,i,n){if(r||(r=0),!t||!(t.length>=r+512))throw new Error("need 512 bytes for header");if(this.path=Pu(t,r,100),this.mode=Bc(t,r+100,8),this.uid=Bc(t,r+108,8),this.gid=Bc(t,r+116,8),this.size=Bc(t,r+124,12),this.mtime=MI(t,r+136,12),this.cksum=Bc(t,r+148,12),this[LI](i),this[LI](n,!0),this[zn]=Pu(t,r+156,1),this[zn]===""&&(this[zn]="0"),this[zn]==="0"&&this.path.slice(-1)==="/"&&(this[zn]="5"),this[zn]==="5"&&(this.size=0),this.linkpath=Pu(t,r+157,100),t.slice(r+257,r+265).toString()==="ustar\x0000")if(this.uname=Pu(t,r+265,32),this.gname=Pu(t,r+297,32),this.devmaj=Bc(t,r+329,8),this.devmin=Bc(t,r+337,8),t[r+475]!==0){let o=Pu(t,r+345,155);this.path=o+"/"+this.path}else{let o=Pu(t,r+345,130);o&&(this.path=o+"/"+this.path),this.atime=MI(t,r+476,12),this.ctime=MI(t,r+488,12)}let s=256;for(let o=r;o<r+148;o++)s+=t[o];for(let o=r+156;o<r+512;o++)s+=t[o];this.cksumValid=s===this.cksum,this.cksum===null&&s===256&&(this.nullBlock=!0)}[LI](t,r){for(let i in t)t[i]!==null&&t[i]!==void 0&&!(r&&i==="path")&&(this[i]=t[i])}encode(t,r){if(t||(t=this.block=Buffer.alloc(512),r=0),r||(r=0),!(t.length>=r+512))throw new Error("need 512 bytes for header");let i=this.ctime||this.atime?130:155,n=bee(this.path||"",i),s=n[0],o=n[1];this.needPax=n[2],this.needPax=Uu(t,r,100,s)||this.needPax,this.needPax=vc(t,r+100,8,this.mode)||this.needPax,this.needPax=vc(t,r+108,8,this.uid)||this.needPax,this.needPax=vc(t,r+116,8,this.gid)||this.needPax,this.needPax=vc(t,r+124,12,this.size)||this.needPax,this.needPax=OI(t,r+136,12,this.mtime)||this.needPax,t[r+156]=this[zn].charCodeAt(0),this.needPax=Uu(t,r+157,100,this.linkpath)||this.needPax,t.write("ustar\x0000",r+257,8),this.needPax=Uu(t,r+265,32,this.uname)||this.needPax,this.needPax=Uu(t,r+297,32,this.gname)||this.needPax,this.needPax=vc(t,r+329,8,this.devmaj)||this.needPax,this.needPax=vc(t,r+337,8,this.devmin)||this.needPax,this.needPax=Uu(t,r+345,i,o)||this.needPax,t[r+475]!==0?this.needPax=Uu(t,r+345,155,o)||this.needPax:(this.needPax=Uu(t,r+345,130,o)||this.needPax,this.needPax=OI(t,r+476,12,this.atime)||this.needPax,this.needPax=OI(t,r+488,12,this.ctime)||this.needPax);let a=256;for(let u=r;u<r+148;u++)a+=t[u];for(let u=r+156;u<r+512;u++)a+=t[u];return this.cksum=a,vc(t,r+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(t){for(let r in t)t[r]!==null&&t[r]!==void 0&&(this[r]=t[r])}get type(){return NI.name.get(this[zn])||this[zn]}get typeKey(){return this[zn]}set type(t){NI.code.has(t)?this[zn]=NI.code.get(t):this[zn]=t}},bee=(e,t)=>{let i=e,n="",s,o=vh.parse(e).root||".";if(Buffer.byteLength(i)<100)s=[i,n,!1];else{n=vh.dirname(i),i=vh.basename(i);do Buffer.byteLength(i)<=100&&Buffer.byteLength(n)<=t?s=[i,n,!1]:Buffer.byteLength(i)>100&&Buffer.byteLength(n)<=t?s=[i.slice(0,99),n,!0]:(i=vh.join(vh.basename(n),i),n=vh.dirname(n));while(n!==o&&!s);s||(s=[e.slice(0,99),"",!0])}return s},Pu=(e,t,r)=>e.slice(t,t+r).toString("utf8").replace(/\0.*/,""),MI=(e,t,r)=>Iee(Bc(e,t,r)),Iee=e=>e===null?null:new Date(e*1e3),Bc=(e,t,r)=>e[t]&128?AF.parse(e.slice(t,t+r)):Bee(e,t,r),wee=e=>isNaN(e)?null:e,Bee=(e,t,r)=>wee(parseInt(e.slice(t,t+r).toString("utf8").replace(/\0.*$/,"").trim(),8)),vee={12:8589934591,8:2097151},vc=(e,t,r,i)=>i===null?!1:i>vee[r]||i<0?(AF.encode(i,e.slice(t,t+r)),!0):(xee(e,t,r,i),!1),xee=(e,t,r,i)=>e.write(Qee(i,r),t,r,"ascii"),Qee=(e,t)=>See(Math.floor(e).toString(8),t),See=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0",OI=(e,t,r,i)=>i===null?!1:vc(e,t,r,i.getTime()/1e3),Dee=new Array(156).join("\0"),Uu=(e,t,r,i)=>i===null?!1:(e.write(i+Dee,t,r,"utf8"),i.length!==Buffer.byteLength(i)||i.length>r);pF.exports=PI});var _m=ee((Cye,dF)=>{"use strict";var kee=xh(),Ree=require("path"),Ed=class{constructor(t,r){this.atime=t.atime||null,this.charset=t.charset||null,this.comment=t.comment||null,this.ctime=t.ctime||null,this.gid=t.gid||null,this.gname=t.gname||null,this.linkpath=t.linkpath||null,this.mtime=t.mtime||null,this.path=t.path||null,this.size=t.size||null,this.uid=t.uid||null,this.uname=t.uname||null,this.dev=t.dev||null,this.ino=t.ino||null,this.nlink=t.nlink||null,this.global=r||!1}encode(){let t=this.encodeBody();if(t==="")return null;let r=Buffer.byteLength(t),i=512*Math.ceil(1+r/512),n=Buffer.allocUnsafe(i);for(let s=0;s<512;s++)n[s]=0;new kee({path:("PaxHeader/"+Ree.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:r,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(n),n.write(t,512,r,"utf8");for(let s=r+512;s<n.length;s++)n[s]=0;return n}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(t){if(this[t]===null||this[t]===void 0)return"";let r=this[t]instanceof Date?this[t].getTime()/1e3:this[t],i=" "+(t==="dev"||t==="ino"||t==="nlink"?"SCHILY.":"")+t+"="+r+`
114
114
  `,n=Buffer.byteLength(i),s=Math.floor(Math.log(n)/Math.log(10))+1;return n+s>=Math.pow(10,s)&&(s+=1),s+n+i}};Ed.parse=(e,t,r)=>new Ed(_ee(Tee(e),t),r);var _ee=(e,t)=>t?Object.keys(e).reduce((r,i)=>(r[i]=e[i],r),t):e,Tee=e=>e.replace(/\n$/,"").split(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-storm-workspace",
3
- "version": "1.97.185",
3
+ "version": "1.97.186",
4
4
  "private": false,
5
5
  "description": "⚡A CLI tool used to generate and fully configure a Storm Workspace repository.",
6
6
  "keywords": [
@@ -29,14 +29,14 @@
29
29
  "typings": "./src/index.d.ts",
30
30
  "bin": { "create-storm-workspace": "./index.js" },
31
31
  "dependencies": {
32
- "@nx/workspace": "22.7.1",
32
+ "@nx/workspace": "22.7.2",
33
33
  "create-nx-workspace": "^22.7.2",
34
34
  "enquirer": "2.4.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@nx/devkit": "22.7.1",
37
+ "@nx/devkit": "^22.7.2",
38
38
  "@types/node": "^25.9.1",
39
- "nx": "22.7.1"
39
+ "nx": "22.7.2"
40
40
  },
41
41
  "peerDependencies": { "@nx/devkit": ">=22.7.1", "nx": ">=22.7.1" },
42
42
  "peerDependenciesMeta": {
@@ -44,5 +44,5 @@
44
44
  "nx": { "optional": false }
45
45
  },
46
46
  "publishConfig": { "access": "public" },
47
- "gitHead": "612ced4c4fb0ca6359356cecc9a163042286f577"
47
+ "gitHead": "96e61dd6fdcf39bad7cf596e2966e409c3aaf01c"
48
48
  }