tsx@4.21.0

TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files

Upgrade Path

You are on 4.21.0, latest is 4.22.3 (5 versions behind). View full diff on GitHub

Version History (5 versions)
Version
Released
Links
4.22.3 (latest)
2026-05-19
Release notes

4.22.3 (2026-05-19)

Bug Fixes

  • decode typed loader source (dce02fc)
  • preserve entrypoint with TypeScript preload hooks (68f72f3)

This release is also available on:

4.22.2
2026-05-18
Release notes

4.22.2 (2026-05-18)

Bug Fixes

  • preserve CJS JSON require in ESM hooks (35b700b)
  • preserve named exports from CommonJS TypeScript (11de737)
  • support module.exports require(esm) interop (cf8f199)

This release is also available on:

4.22.1
2026-05-17
Release notes

4.22.1 (2026-05-17)

Bug Fixes

  • resolve tsconfig path aliases containing a colon (#780) (6979f28)

This release is also available on:

4.22.0
2026-05-14
Release notes

4.22.0 (2026-05-14)

Features


This release is also available on:

4.21.1
2026-05-14
Release notes

4.21.1 (2026-05-14)

Bug Fixes

  • support Node 20.11/21.2 import.meta paths (acf3d8f)
  • support Node.js 24.15.0 (c1d2d45)
  • support Node.js 26.1.0 and 25.9.0 (1d7e528)

This release is also available on: