Socket
Socket
Sign inDemoInstall

tsx

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsx - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

dist/package-1162f6d5.js

2

dist/repl.js

@@ -1,3 +0,3 @@

import c from"repl";import{transform as l}from"@esbuild-kit/core-utils";import{v as m}from"./package-2e359948.js";console.log(`Welcome to tsx v${m} (Node.js ${process.version}).
import c from"repl";import{transform as l}from"@esbuild-kit/core-utils";import{v as m}from"./package-1162f6d5.js";console.log(`Welcome to tsx v${m} (Node.js ${process.version}).
Type ".help" for more information.`);const o=c.start(),{eval:i}=o,f=async function(e,r,t,s){const n=await l(e,".ts").catch(a=>(console.log(a.message),{code:`
`}));return i.call(this,n.code,r,t,s)};o.eval=f;
{
"name": "tsx",
"version": "3.3.0",
"version": "3.3.1",
"description": "Node.js runtime enhanced with esbuild for loading TypeScript & ESM",

@@ -38,3 +38,3 @@ "keywords": [

"@esbuild-kit/cjs-loader": "^2.0.0",
"@esbuild-kit/core-utils": "^1.1.0",
"@esbuild-kit/core-utils": "^1.1.1",
"@esbuild-kit/esm-loader": "^2.1.0"

@@ -48,3 +48,3 @@ },

"@types/cross-spawn": "^6.0.2",
"@types/node": "^17.0.31",
"@types/node": "^17.0.34",
"@types/semver": "^7.3.9",

@@ -58,3 +58,3 @@ "chokidar": "^3.5.3",

"manten": "^0.1.0",
"pkgroll": "^1.2.2",
"pkgroll": "^1.3.1",
"semver": "^7.3.7",

@@ -61,0 +61,0 @@ "typescript": "^4.6.4"

@@ -6,8 +6,9 @@ # tsx

### Features
- Transforms TypeScript & ESM → to CJS or ESM (depending on [package type](https://nodejs.org/api/packages.html#type))
- Supports TS extensions `.cjs` & `.mjs` (`.cts` & `.mts`)
- Blazing fast on-demand TypeScript & ESM compilation
- Works in both [CommonJS and ESM packages](https://nodejs.org/api/packages.html#type)
- Supports next-gen TypeScript extensions (`.cts` & `.mts`)
- Supports `node:` import prefixes
- Hides experimental feature warnings
- TypeScript REPL
- Supports Node.js v12.20+
- Handles `node:` import prefixes
- Hides experimental feature warnings
- Tested on Linux & Windows with Node.js v12~18

@@ -14,0 +15,0 @@ ## Install

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc