tsx 4.8.1 → 4.9.0

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.
Files changed (51) hide show
  1. package/dist/cjs/api/index.cjs +1 -1
  2. package/dist/cjs/api/index.d.mts +16 -0
  3. package/dist/cjs/api/index.mjs +1 -1
  4. package/dist/cjs/index.cjs +1 -1
  5. package/dist/cjs/index.mjs +1 -1
  6. package/dist/cli.cjs +27 -27
  7. package/dist/cli.mjs +26 -26
  8. package/dist/client-Cg7nS93t.mjs +1 -0
  9. package/dist/client-DjommMgI.cjs +1 -0
  10. package/dist/esm/api/index.cjs +1 -0
  11. package/dist/esm/api/index.d.cts +13 -0
  12. package/dist/esm/api/index.d.mts +13 -0
  13. package/dist/esm/api/index.mjs +1 -0
  14. package/dist/esm/index.cjs +2 -5
  15. package/dist/esm/index.mjs +2 -5
  16. package/dist/get-pipe-path-CmcG6VNd.mjs +1 -0
  17. package/dist/get-pipe-path-b8D5AZgV.cjs +1 -0
  18. package/dist/global-require-patch-BBjJAo_4.mjs +1 -0
  19. package/dist/global-require-patch-BIDBwysJ.cjs +1 -0
  20. package/dist/{index-NttFZkao.mjs → index-BUWCPB1Z.mjs} +1 -1
  21. package/dist/{index-D78kOPjy.cjs → index-CLWE53E9.cjs} +13 -13
  22. package/dist/is-relative-path-pattern-Cr3_Gkbv.cjs +2 -0
  23. package/dist/is-relative-path-pattern-DuKsZATx.mjs +2 -0
  24. package/dist/loader.cjs +1 -1
  25. package/dist/loader.mjs +1 -1
  26. package/dist/package-Be37_qMY.mjs +1 -0
  27. package/dist/package-DoNEAa2o.cjs +1 -0
  28. package/dist/preflight.cjs +1 -1
  29. package/dist/preflight.mjs +1 -1
  30. package/dist/register-DGMXNqQF.mjs +1 -0
  31. package/dist/register-DUq1clC8.cjs +1 -0
  32. package/dist/repl.cjs +1 -1
  33. package/dist/repl.mjs +1 -1
  34. package/dist/temporary-directory-B83uKxJF.cjs +1 -0
  35. package/dist/temporary-directory-CwHp0_NW.mjs +1 -0
  36. package/package.json +12 -3
  37. package/dist/client-SVJjVqAT.mjs +0 -1
  38. package/dist/client-SVUnbl6F.cjs +0 -1
  39. package/dist/get-pipe-path-BYPSsSrX.mjs +0 -1
  40. package/dist/get-pipe-path-d1K0T1_d.cjs +0 -1
  41. package/dist/global-require-patch-CDlRjmTW.cjs +0 -1
  42. package/dist/global-require-patch-DjUalNu1.mjs +0 -1
  43. package/dist/is-relative-path-pattern-B4sgw8uQ.mjs +0 -1
  44. package/dist/is-relative-path-pattern-D6NaPCaG.cjs +0 -1
  45. package/dist/package-D2hNxin-.mjs +0 -1
  46. package/dist/package-DTO70U7s.cjs +0 -1
  47. package/dist/source-map.cjs +0 -2
  48. package/dist/source-map.mjs +0 -2
  49. package/dist/temporary-directory-C5UVr6xa.mjs +0 -1
  50. package/dist/temporary-directory-CoGR4SrV.cjs +0 -1
  51. /package/dist/cjs/api/{index.d.ts → index.d.cts} +0 -0
@@ -1 +1 @@
1
- "use strict";var o=require("./pkgroll_create-require-B-Pljx_-.cjs"),u=require("os"),a=require("worker_threads"),l=require("./client-SVUnbl6F.cjs");require("./suppress-warnings.cjs"),require("module"),require("net"),require("./get-pipe-path-d1K0T1_d.cjs"),require("path"),require("./temporary-directory-CoGR4SrV.cjs");const f=(s,i)=>{for(const e of s)process.on(e,r=>{i(r),process.listenerCount(e)===0&&process.exit(128+u.constants.signals[e])});const{listenerCount:n,listeners:t}=process;process.listenerCount=function(e){let r=Reflect.apply(n,this,arguments);return s.includes(e)&&(r-=1),r},process.listeners=function(e){const r=Reflect.apply(t,this,arguments);return s.includes(e)?r.filter(c=>c!==i):r}};a.isMainThread&&(o.require("./cjs/index.cjs"),(async()=>{const s=await l.connectingToServer;s&&f(["SIGINT","SIGTERM"],i=>{s({type:"signal",signal:i})})})());
1
+ "use strict";var c=require("./pkgroll_create-require-B-Pljx_-.cjs"),u=require("node:os"),a=require("node:worker_threads"),l=require("./client-DjommMgI.cjs");require("./suppress-warnings.cjs"),require("module"),require("node:net"),require("./get-pipe-path-b8D5AZgV.cjs"),require("node:path"),require("./temporary-directory-B83uKxJF.cjs");const f=(s,n)=>{for(const e of s)process.on(e,r=>{n(r),process.listenerCount(e)===0&&process.exit(128+u.constants.signals[e])});const{listenerCount:i,listeners:t}=process;process.listenerCount=function(e){let r=Reflect.apply(i,this,arguments);return s.includes(e)&&(r-=1),r},process.listeners=function(e){const r=Reflect.apply(t,this,arguments);return s.includes(e)?r.filter(o=>o!==n):r}};a.isMainThread&&(c.require("./cjs/index.cjs"),(async()=>{const s=await l.connectingToServer;s&&f(["SIGINT","SIGTERM"],n=>{s({type:"signal",signal:n})})})());
@@ -1 +1 @@
1
- import{r as c}from"./pkgroll_create-require-CddX1PP_.mjs";import{constants as p}from"os";import{isMainThread as f}from"worker_threads";import{c as l}from"./client-SVJjVqAT.mjs";import"./suppress-warnings.mjs";import"module";import"net";import"./get-pipe-path-BYPSsSrX.mjs";import"path";import"./temporary-directory-C5UVr6xa.mjs";const m=(e,s)=>{for(const t of e)process.on(t,r=>{s(r),process.listenerCount(t)===0&&process.exit(128+p.signals[t])});const{listenerCount:n,listeners:i}=process;process.listenerCount=function(t){let r=Reflect.apply(n,this,arguments);return e.includes(t)&&(r-=1),r},process.listeners=function(t){const r=Reflect.apply(i,this,arguments);return e.includes(t)?r.filter(o=>o!==s):r}};f&&(c("./cjs/index.cjs"),(async()=>{const e=await l;e&&m(["SIGINT","SIGTERM"],s=>{e({type:"signal",signal:s})})})());
1
+ import{r as c}from"./pkgroll_create-require-CddX1PP_.mjs";import{constants as p}from"node:os";import{isMainThread as f}from"node:worker_threads";import{c as l}from"./client-Cg7nS93t.mjs";import"./suppress-warnings.mjs";import"module";import"node:net";import"./get-pipe-path-CmcG6VNd.mjs";import"node:path";import"./temporary-directory-CwHp0_NW.mjs";const m=(e,s)=>{for(const t of e)process.on(t,r=>{s(r),process.listenerCount(t)===0&&process.exit(128+p.signals[t])});const{listenerCount:n,listeners:i}=process;process.listenerCount=function(t){let r=Reflect.apply(n,this,arguments);return e.includes(t)&&(r-=1),r},process.listeners=function(t){const r=Reflect.apply(i,this,arguments);return e.includes(t)?r.filter(o=>o!==s):r}};f&&(c("./cjs/index.cjs"),(async()=>{const e=await l;e&&m(["SIGINT","SIGTERM"],s=>{e({type:"signal",signal:s})})})());
@@ -0,0 +1 @@
1
+ import m from"node:module";import{MessageChannel as i}from"node:worker_threads";const f=r=>{const{sourceMapsEnabled:p}=process;process.setSourceMapsEnabled(!0);const{port1:e,port2:o}=new i;m.register(`./esm/index.mjs?${Date.now()}`,{parentURL:import.meta.url,data:{namespace:r?.namespace,port:o},transferList:[o]});const a=r?.onImport,s=a&&(t=>{t.type==="load"&&a(t.url)});return s&&(e.on("message",s),e.unref()),()=>(p===!1&&process.setSourceMapsEnabled(!1),s&&e.off("message",s),e.postMessage("deactivate"),new Promise(t=>{const n=c=>{c.type==="deactivated"&&(t(),e.off("message",n))};e.on("message",n)}))};export{f as r};
@@ -0,0 +1 @@
1
+ "use strict";var u=require("node:module"),p=require("node:worker_threads"),c=typeof document<"u"?document.currentScript:null;const f=s=>{const{sourceMapsEnabled:i}=process;process.setSourceMapsEnabled(!0);const{port1:e,port2:n}=new p.MessageChannel;u.register(`./esm/index.mjs?${Date.now()}`,{parentURL:typeof document>"u"?require("url").pathToFileURL(__filename).href:c&&c.src||new URL("register-DUq1clC8.cjs",document.baseURI).href,data:{namespace:s?.namespace,port:n},transferList:[n]});const a=s?.onImport,r=a&&(t=>{t.type==="load"&&a(t.url)});return r&&(e.on("message",r),e.unref()),()=>(i===!1&&process.setSourceMapsEnabled(!1),r&&e.off("message",r),e.postMessage("deactivate"),new Promise(t=>{const o=d=>{d.type==="deactivated"&&(t(),e.off("message",o))};e.on("message",o)}))};exports.register=f;
package/dist/repl.cjs CHANGED
@@ -1,3 +1,3 @@
1
- "use strict";var n=require("repl"),c=require("./package-DTO70U7s.cjs"),l=require("./index-D78kOPjy.cjs");require("url"),require("esbuild"),require("crypto"),require("fs"),require("path"),require("os"),require("./temporary-directory-CoGR4SrV.cjs"),console.log(`Welcome to tsx v${c.version} (Node.js ${process.version}).
1
+ "use strict";var n=require("node:repl"),c=require("./package-DoNEAa2o.cjs"),l=require("./index-CLWE53E9.cjs");require("node:url"),require("esbuild"),require("node:crypto"),require("node:fs"),require("node:path"),require("node:os"),require("./temporary-directory-B83uKxJF.cjs"),console.log(`Welcome to tsx v${c.version} (Node.js ${process.version}).
2
2
  Type ".help" for more information.`);const r=n.start(),{eval:u}=r,q=async function(o,s,e,t){const i=await l.transform(o,e,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(a=>(console.log(a.message),{code:`
3
3
  `}));return u.call(this,i.code,s,e,t)};r.eval=q;
package/dist/repl.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import a from"repl";import{v as m}from"./package-D2hNxin-.mjs";import{b as p}from"./index-NttFZkao.mjs";import"url";import"esbuild";import"crypto";import"fs";import"path";import"os";import"./temporary-directory-C5UVr6xa.mjs";console.log(`Welcome to tsx v${m} (Node.js ${process.version}).
1
+ import a from"node:repl";import{v as m}from"./package-Be37_qMY.mjs";import{b as p}from"./index-BUWCPB1Z.mjs";import"node:url";import"esbuild";import"node:crypto";import"node:fs";import"node:path";import"node:os";import"./temporary-directory-CwHp0_NW.mjs";console.log(`Welcome to tsx v${m} (Node.js ${process.version}).
2
2
  Type ".help" for more information.`);const r=a.start(),{eval:l}=r,c=async function(e,t,o,s){const i=await p(e,o,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(n=>(console.log(n.message),{code:`
3
3
  `}));return l.call(this,i.code,t,o,s)};r.eval=c;
@@ -0,0 +1 @@
1
+ "use strict";var s=require("node:path"),r=require("node:os");const{geteuid:e}=process,t=e?e():r.userInfo().username,i=s.join(r.tmpdir(),`tsx-${t}`);exports.tmpdir=i;
@@ -0,0 +1 @@
1
+ import r from"node:path";import o from"node:os";const{geteuid:t}=process,s=t?t():o.userInfo().username,e=r.join(o.tmpdir(),`tsx-${s}`);export{e as t};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsx",
3
- "version": "4.8.1",
3
+ "version": "4.9.0",
4
4
  "description": "TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files",
5
5
  "keywords": [
6
6
  "esbuild",
@@ -27,12 +27,21 @@
27
27
  ".": "./dist/loader.mjs",
28
28
  "./cjs": "./dist/cjs/index.cjs",
29
29
  "./cjs/api": {
30
- "types": "./dist/cjs/api/index.d.ts",
30
+ "types": "./dist/cjs/api/index.d.cts",
31
31
  "default": "./dist/cjs/api/index.cjs"
32
32
  },
33
33
  "./esm": "./dist/esm/index.mjs",
34
+ "./esm/api": {
35
+ "import": {
36
+ "types": "./dist/esm/api/index.d.mts",
37
+ "default": "./dist/esm/api/index.mjs"
38
+ },
39
+ "require": {
40
+ "types": "./dist/esm/api/index.d.cts",
41
+ "default": "./dist/esm/api/index.cjs"
42
+ }
43
+ },
34
44
  "./cli": "./dist/cli.mjs",
35
- "./source-map": "./dist/source-map.cjs",
36
45
  "./suppress-warnings": "./dist/suppress-warnings.cjs",
37
46
  "./preflight": "./dist/preflight.cjs",
38
47
  "./repl": "./dist/repl.mjs"
@@ -1 +0,0 @@
1
- import i from"net";import{g as a}from"./get-pipe-path-BYPSsSrX.mjs";const p=()=>new Promise(e=>{const c=a(process.ppid),n=i.createConnection(c,()=>{e(f=>{const t=Buffer.from(JSON.stringify(f)),o=Buffer.alloc(4);o.writeInt32BE(t.length,0),n.write(Buffer.concat([o,t]))})});n.on("error",()=>{e()}),n.unref()}),r={send:void 0},s=p();s.then(e=>{r.send=e},()=>{});export{s as c,r as p};
@@ -1 +0,0 @@
1
- "use strict";var a=require("net"),f=require("./get-pipe-path-d1K0T1_d.cjs");const p=()=>new Promise(e=>{const s=f.getPipePath(process.ppid),n=a.createConnection(s,()=>{e(i=>{const t=Buffer.from(JSON.stringify(i)),r=Buffer.alloc(4);r.writeInt32BE(t.length,0),n.write(Buffer.concat([r,t]))})});n.on("error",()=>{e()}),n.unref()}),o={send:void 0},c=p();c.then(e=>{o.send=e},()=>{}),exports.connectingToServer=c,exports.parent=o;
@@ -1 +0,0 @@
1
- import o from"path";import{t as r}from"./temporary-directory-C5UVr6xa.mjs";const t=process.platform==="win32",s=i=>{const p=o.join(r,`${i}.pipe`);return t?`\\\\?\\pipe\\${p}`:p};export{s as g,t as i};
@@ -1 +0,0 @@
1
- "use strict";var t=require("path"),p=require("./temporary-directory-CoGR4SrV.cjs");const i=process.platform==="win32",s=r=>{const e=t.join(p.tmpdir,`${r}.pipe`);return i?`\\\\?\\pipe\\${e}`:e};exports.getPipePath=s,exports.isWindows=i;
@@ -1 +0,0 @@
1
- "use strict";var c=require("module"),E=require("fs"),d=require("get-tsconfig"),p=require("./index-D78kOPjy.cjs"),f=require("./source-map.cjs"),h=require("./client-SVUnbl6F.cjs"),_=require("path"),x=require("./is-relative-path-pattern-D6NaPCaG.cjs");const O=s=>{if(s.includes("import")||s.includes("export"))try{return p.parseEsm(s)[3]}catch{return!0}return!1},j=/\.[cm]?tsx?$/,u=process.env.TSX_TSCONFIG_PATH?{path:_.resolve(process.env.TSX_TSCONFIG_PATH),config:d.parseTsconfig(process.env.TSX_TSCONFIG_PATH)}:d.getTsconfig(),b=[".cts",".mts",".ts",".tsx",".jsx"],P=[".js",".cjs",".mjs"],S=u&&d.createFilesMatcher(u),v=Object.assign(Object.create(null),c._extensions),A=v[".js"],y=(s,e)=>{var t;(t=h.parent)!=null&&t.send&&h.parent.send({type:"dependency",path:e});const o=b.some(n=>e.endsWith(n)),a=P.some(n=>e.endsWith(n));if(!o&&!a)return A(s,e);let r=E.readFileSync(e,"utf8");if(e.endsWith(".cjs")){const n=p.transformDynamicImport(e,r);n&&(r=f.shouldApplySourceMap()?f.inlineSourceMap(n):n.code)}else if(o||O(r)){const n=p.transformSync(r,e,{tsconfigRaw:S==null?void 0:S(e)});r=f.shouldApplySourceMap()?f.inlineSourceMap(n):n.code}s._compile(r,e)};[".js",".ts",".tsx",".jsx"].forEach(s=>{v[s]=y}),Object.defineProperty(v,".mjs",{value:y,enumerable:!1});const R=`${_.sep}node_modules${_.sep}`,F=u&&d.createPathsMatcher(u),T=c._resolveFilename.bind(c),M=(s,e,t,o)=>{var a,r;const n=x.resolveTsPath(s);if(e!=null&&e.filename&&(j.test(e.filename)||(r=(a=u)==null?void 0:a.config.compilerOptions)!=null&&r.allowJs)&&n)for(const m of n)try{return T(m,e,t,o)}catch(i){const{code:l}=i;if(l!=="MODULE_NOT_FOUND"&&l!=="ERR_PACKAGE_PATH_NOT_EXPORTED")throw i}},g=(s,e,t,o)=>{var a;const r=s.indexOf("?");if(r!==-1&&(s=s.slice(0,r)),F&&!x.isRelativePathPattern.test(s)&&!((a=e==null?void 0:e.filename)!=null&&a.includes(R))){const m=F(s);for(const i of m){const l=M(i,e,t,o);if(l)return l;try{return T(i,e,t,o)}catch{}}}const n=M(s,e,t,o);return n||T(s,e,t,o)},N=()=>{const{sourceMapsEnabled:s}=process,{_extensions:e,_resolveFilename:t}=c;return process.setSourceMapsEnabled(!0),c._extensions=v,c._resolveFilename=g,()=>{s===!1&&process.setSourceMapsEnabled(!1),c._extensions=e,c._resolveFilename=t}};exports.register=N,exports.resolveFilename=g;
@@ -1 +0,0 @@
1
- import c from"module";import E from"fs";import{parseTsconfig as O,getTsconfig as j,createFilesMatcher as M,createPathsMatcher as b}from"get-tsconfig";import{p as g,t as P,a as A}from"./index-NttFZkao.mjs";import{shouldApplySourceMap as _,inlineSourceMap as v}from"./source-map.mjs";import{p as T}from"./client-SVJjVqAT.mjs";import p from"path";import{i as N,r as R}from"./is-relative-path-pattern-B4sgw8uQ.mjs";const I=e=>{if(e.includes("import")||e.includes("export"))try{return g(e)[3]}catch{return!0}return!1},C=/\.[cm]?tsx?$/,m=process.env.TSX_TSCONFIG_PATH?{path:p.resolve(process.env.TSX_TSCONFIG_PATH),config:O(process.env.TSX_TSCONFIG_PATH)}:j(),D=[".cts",".mts",".ts",".tsx",".jsx"],G=[".js",".cjs",".mjs"],h=m&&M(m),f=Object.assign(Object.create(null),c._extensions),H=f[".js"],x=(e,s)=>{var n;(n=T)!=null&&n.send&&T.send({type:"dependency",path:s});const r=D.some(o=>s.endsWith(o)),a=G.some(o=>s.endsWith(o));if(!r&&!a)return H(e,s);let t=E.readFileSync(s,"utf8");if(s.endsWith(".cjs")){const o=P(s,t);o&&(t=_()?v(o):o.code)}else if(r||I(t)){const o=A(t,s,{tsconfigRaw:h==null?void 0:h(s)});t=_()?v(o):o.code}e._compile(t,s)};[".js",".ts",".tsx",".jsx"].forEach(e=>{f[e]=x}),Object.defineProperty(f,".mjs",{value:x,enumerable:!1});const X=`${p.sep}node_modules${p.sep}`,y=m&&b(m),u=c._resolveFilename.bind(c),F=(e,s,n,r)=>{var a,t;const o=R(e);if(s!=null&&s.filename&&(C.test(s.filename)||(t=(a=m)==null?void 0:a.config.compilerOptions)!=null&&t.allowJs)&&o)for(const d of o)try{return u(d,s,n,r)}catch(i){const{code:l}=i;if(l!=="MODULE_NOT_FOUND"&&l!=="ERR_PACKAGE_PATH_NOT_EXPORTED")throw i}},S=(e,s,n,r)=>{var a;const t=e.indexOf("?");if(t!==-1&&(e=e.slice(0,t)),y&&!N.test(e)&&!((a=s==null?void 0:s.filename)!=null&&a.includes(X))){const d=y(e);for(const i of d){const l=F(i,s,n,r);if(l)return l;try{return u(i,s,n,r)}catch{}}}const o=F(e,s,n,r);return o||u(e,s,n,r)},w=()=>{const{sourceMapsEnabled:e}=process,{_extensions:s,_resolveFilename:n}=c;return process.setSourceMapsEnabled(!0),c._extensions=f,c._resolveFilename=S,()=>{e===!1&&process.setSourceMapsEnabled(!1),c._extensions=s,c._resolveFilename=n}};export{S as a,w as r};
@@ -1 +0,0 @@
1
- import o from"path";const s=Object.create(null);s[".js"]=[".ts",".tsx",".js",".jsx"],s[".jsx"]=[".tsx",".ts",".jsx",".js"],s[".cjs"]=[".cts"],s[".mjs"]=[".mts"];const a=t=>{const x=o.extname(t),[c,e]=o.extname(t).split("?"),n=s[c];if(n){const i=t.slice(0,-x.length);return n.map(r=>i+r+(e?`?${e}`:""))}},j=/^\.{1,2}\//;export{j as i,a as r};
@@ -1 +0,0 @@
1
- "use strict";var o=require("path");const s=Object.create(null);s[".js"]=[".ts",".tsx",".js",".jsx"],s[".jsx"]=[".tsx",".ts",".jsx",".js"],s[".cjs"]=[".cts"],s[".mjs"]=[".mts"];const x=t=>{const a=o.extname(t),[c,e]=o.extname(t).split("?"),n=s[c];if(n){const i=t.slice(0,-a.length);return n.map(r=>i+r+(e?`?${e}`:""))}},j=/^\.{1,2}\//;exports.isRelativePathPattern=j,exports.resolveTsPath=x;
@@ -1 +0,0 @@
1
- var r="4.8.1";export{r as v};
@@ -1 +0,0 @@
1
- "use strict";var r="4.8.1";exports.version=r;
@@ -1,2 +0,0 @@
1
- "use strict";const p=`
2
- //# sourceMappingURL=data:application/json;base64,`,a=()=>{var e;return(e=process.sourceMapsEnabled)!=null?e:!0},r=({code:e,map:o})=>e+p+Buffer.from(JSON.stringify(o),"utf8").toString("base64"),s=({code:e})=>e,n=()=>"setSourceMapsEnabled"in process?(process.setSourceMapsEnabled(!0),r):s;exports.inlineSourceMap=r,exports.installSourceMapSupport=n,exports.shouldApplySourceMap=a;
@@ -1,2 +0,0 @@
1
- const a=`
2
- //# sourceMappingURL=data:application/json;base64,`,s=()=>{var e;return(e=process.sourceMapsEnabled)!=null?e:!0},r=({code:e,map:o})=>e+a+Buffer.from(JSON.stringify(o),"utf8").toString("base64"),n=({code:e})=>e,p=()=>"setSourceMapsEnabled"in process?(process.setSourceMapsEnabled(!0),r):n;export{r as inlineSourceMap,p as installSourceMapSupport,s as shouldApplySourceMap};
@@ -1 +0,0 @@
1
- import r from"path";import o from"os";const{geteuid:t}=process,s=t?t():o.userInfo().username,e=r.join(o.tmpdir(),`tsx-${s}`);export{e as t};
@@ -1 +0,0 @@
1
- "use strict";var s=require("path"),r=require("os");const{geteuid:e}=process,t=e?e():r.userInfo().username,i=s.join(r.tmpdir(),`tsx-${t}`);exports.tmpdir=i;
File without changes