Packages

ts-node

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

Your version

9.1.0

3 Dec 2020Where it was published

9.1.1 is the newest release of 9.x.

In short

2 new2 fixed7 changed

Release note

Added

  • Expose ts-node REPL via the API

  • Allow --typeCheck flag to override --transpileOnly flag specified in tsconfig.json

Changed

  • Rename interface Register to Service. It is still aliased as Register for backwards compatibility

  • Update code copied from node's ESM resolver to be the latest from node 15, to keep our ESM resolver's behavior as close as possible to vanilla node

Fixed

  • ESM resolver will preserve search portion of URL, used for cache busting

  • Fix ESM resolution of builtin modules on node >=14.13.1

  • Recognize --es-module-specifier-resolution as an alias of --experimental-specifier-resolution for node 12 compatibility

Docs

  • Fix description of ts-node-dev in README

  • Update transformers description to clarify incompatibility with transpileOnly

Misc

  • Changes to test matrix: Test against node 15; drop node 13 tests; remove 12.16 in favor of latest 12.x.x (#1138, #1148)

  • Improve codecov rules to remove misleading test failures

v9.0.0...v9.1.0