Packages

ts-node

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

Your version

10.9.0

13 Jul 2022Where it was published

10.9.2 is the newest release of 10.x.

In short

2 new3 fixed1 changed

Release note

Added

  • --project accepts path to a directory containing a tsconfig.json (#1829, #1830)

    • previously it required an explicit filename

  • Added helpful error message when swc version is too old to support our configuration

  • Added experimentalTsImportSpecifiers option which allows using voluntary .ts file extensions in import specifiers (undocumented except for API docs)

Fixed

  • Fixed bug where child_process.fork() would erroneously execute the parent's entrypoint script, not the intended child script (#1812, #1814)

  • Fixed support for jsx modes "react-jsx" and "react-jsxdev" in swc transpiler (#1800, #1802)

  • Fixed support for import assertions in swc transpiler (#1817, #1802)

  • Fixed bug where calling repl.evalCode() with code not ending in a newline would not update the typechecker accordingly (#1764, #1824)

v10.8.2...v10.9.0
github.com/TypeStrong/ts-node/milestone/16