tsx 3.12.1 → 3.12.2

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.
@@ -0,0 +1 @@
1
+ "use strict";var r="3.12.2";exports.version=r;
@@ -0,0 +1 @@
1
+ import{r as n}from"./pkgroll_create-require-519ac149.js";import{constants as i}from"os";import"./suppress-warnings..js";import"module";if(n("@esbuild-kit/cjs-loader"),process.send){let t=function(s){process.send({type:"kill",signal:s}),process.listenerCount(s)===0&&process.exit(128+i.signals[s])};const e=["SIGINT","SIGTERM"];for(const s of e)process.on(s,t);const{listenerCount:r}=process;process.listenerCount=function(s){let o=Reflect.apply(r,this,arguments);return e.includes(s)&&(o-=1),o}}
@@ -1 +1 @@
1
- "use strict";var n=require("./pkgroll_create-require-a4bd47fc.cjs"),o=require("os");if(require("./suppress-warnings.cjs"),require("module"),n.require("@esbuild-kit/cjs-loader"),process.send){let t=function(e){process.send({type:"kill",signal:e}),process.listenerCount(e)===0&&process.exit(128+o.constants.signals[e])};const r=["SIGINT","SIGTERM"];for(const e of r)process.on(e,t);const{listenerCount:i}=process;process.listenerCount=function(e){let s=Reflect.apply(i,this,arguments);return r.includes(e)&&(s-=1),s}}
1
+ "use strict";var n=require("./pkgroll_create-require-b752e289.cjs"),o=require("os");if(require("./suppress-warnings.cjs"),require("module"),n.require("@esbuild-kit/cjs-loader"),process.send){let t=function(e){process.send({type:"kill",signal:e}),process.listenerCount(e)===0&&process.exit(128+o.constants.signals[e])};const r=["SIGINT","SIGTERM"];for(const e of r)process.on(e,t);const{listenerCount:i}=process;process.listenerCount=function(e){let s=Reflect.apply(i,this,arguments);return r.includes(e)&&(s-=1),s}}
@@ -1,3 +1,3 @@
1
- "use strict";var c=require("repl"),n=require("@esbuild-kit/core-utils"),i=require("./package-233933a1.cjs");function u(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var p=u(c);console.log(`Welcome to tsx v${i.version} (Node.js ${process.version}).
1
+ "use strict";var c=require("repl"),n=require("@esbuild-kit/core-utils"),i=require("./package-f6948147.cjs");function u(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var p=u(c);console.log(`Welcome to tsx v${i.version} (Node.js ${process.version}).
2
2
  Type ".help" for more information.`);const o=p.default.start(),{eval:f}=o,d=async function(e,t,r,a){const s=await n.transform(e,r,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(l=>(console.log(l.message),{code:`
3
3
  `}));return f.call(this,s.code,t,r,a)};o.eval=d;
package/dist/repl.js CHANGED
@@ -1,3 +1,3 @@
1
- import l from"repl";import{transform as c}from"@esbuild-kit/core-utils";import{v as i}from"./package-9965a5cf.js";console.log(`Welcome to tsx v${i} (Node.js ${process.version}).
1
+ import l from"repl";import{transform as c}from"@esbuild-kit/core-utils";import{v as i}from"./package-85e9a839.js";console.log(`Welcome to tsx v${i} (Node.js ${process.version}).
2
2
  Type ".help" for more information.`);const e=l.start(),{eval:m}=e,p=async function(r,t,o,s){const n=await c(r,o,{loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}}).catch(a=>(console.log(a.message),{code:`
3
3
  `}));return m.call(this,n.code,t,o,s)};e.eval=p;
@@ -0,0 +1 @@
1
+ const t=new Set(["--experimental-loader is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature and might change at any time"]),{emit:n}=process;process.emit=function(e,a){if(!(e==="warning"&&t.has(a.message)))return Reflect.apply(n,this,arguments)};
@@ -1 +1 @@
1
- "use strict";const a=new Set(["--experimental-loader is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature. This feature could change at any time"]),{emit:n}=process;process.emit=function(e,t){if(!(e==="warning"&&a.has(t.message)))return Reflect.apply(n,this,arguments)};
1
+ "use strict";const t=new Set(["--experimental-loader is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature and might change at any time"]),{emit:n}=process;process.emit=function(e,a){if(!(e==="warning"&&t.has(a.message)))return Reflect.apply(n,this,arguments)};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsx",
3
- "version": "3.12.1",
3
+ "version": "3.12.2",
4
4
  "description": "TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files",
5
5
  "keywords": [
6
6
  "esbuild",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bin": "./dist/cli.js",
33
33
  "dependencies": {
34
- "@esbuild-kit/cjs-loader": "^2.4.0",
34
+ "@esbuild-kit/cjs-loader": "^2.4.1",
35
35
  "@esbuild-kit/core-utils": "^3.0.0",
36
- "@esbuild-kit/esm-loader": "^2.5.0"
36
+ "@esbuild-kit/esm-loader": "^2.5.4"
37
37
  },
38
38
  "optionalDependencies": {
39
39
  "fsevents": "~2.3.2"
@@ -1 +0,0 @@
1
- "use strict";var r="3.12.1";exports.version=r;
@@ -1 +0,0 @@
1
- var r="3.12.1";export{r as v};
package/dist/preflight.js DELETED
@@ -1 +0,0 @@
1
- import{r as n}from"./pkgroll_create-require-a61d885d.js";import{constants as i}from"os";import"./suppress-warnings.js";import"module";if(n("@esbuild-kit/cjs-loader"),process.send){let t=function(s){process.send({type:"kill",signal:s}),process.listenerCount(s)===0&&process.exit(128+i.signals[s])};const e=["SIGINT","SIGTERM"];for(const s of e)process.on(s,t);const{listenerCount:r}=process;process.listenerCount=function(s){let o=Reflect.apply(r,this,arguments);return e.includes(s)&&(o-=1),o}}
@@ -1 +0,0 @@
1
- const t=new Set(["--experimental-loader is an experimental feature. This feature could change at any time","Custom ESM Loaders is an experimental feature. This feature could change at any time"]),{emit:n}=process;process.emit=function(e,a){if(!(e==="warning"&&t.has(a.message)))return Reflect.apply(n,this,arguments)};