Packages

ts-node

10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed

Your version

10.7.0

6 Mar 2022Where it was published

10.9.2 is the newest release of 10.x.

In short

1 new2 changed

Release note

Questions about this release? Ask in the official discussion thread

Added

  • Adds --esm flag, option, and ts-node-esm binary (#1258, #1655)

    • Enables full esm support; no need for --loader nor NODE_OPTIONS

    • Use shebang #!/usr/bin/env ts-node-esm, run ts-node --esm, or add to your tsconfig.json: "ts-node": {"esm": true}

Changed

  • Unflag ESM json modules on node >=17.5.0 (#1661, #1665)

    • no longer requires --experimental-json-modules

  • Lazy-load dependencies to improve startup responsiveness.

Fixed

  • Fixed bug where "compiler", "transpiler", and swc backend would not resolve relative to the tsconfig.json that declared them (#1662, #1655)

    • Enables reusable tsconfig.json shared via node module to include necessary dependencies

v10.6.0...v10.7.0
github.com/TypeStrong/ts-node/milestone/11