ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
10.9.2 is the newest release of 10.x.
In short
2 new3 fixed1 changed
Release note
Added
--projectaccepts path to a directory containing atsconfig.json(#1829, #1830)previously it required an explicit filename
Added helpful error message when swc version is too old to support our configuration
Added
experimentalTsImportSpecifiersoption which allows using voluntary.tsfile 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)