ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
Upgrading ts-node From 10.0.0 to 10.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- new
Add
"moduleType"option to override module type -- CommonJS or ECMAScript -- on select files. (docs) (#1342, #1371, #1376) - new
Implement
"extends"support for"ts-node"options intsconfig.json(#1328, #1356) - fixed
Fix #1282: Set correct globals in
[stdin],[eval], and<repl>contexts - fixed
Fix #1343: Set swc option
keepClassNamestotrue - fixed
#1387: REPL outputs 'use strict' after first empty line of input
- new
4 other lines we could not sort, mostly version bumps
- 10.1.0
Un-deprecate
scopeandscopeDir; add both to CLI andtsconfig.jsonoptions; un-deprecateTS_NODE_SCOPEenv var; addTS_NODE_SCOPE_DIRenv var (docs) (#1346, #1367) - 10.1.0
Improve error messages thrown by native ESM loader hooks (#1357, #1373)
- 10.1.0
Emit
"ts-node"object at the top of--showConfigoutput instead of the bottom - 10.1.0
Update ESM docs to say that env vars are supported with
node --loader ts-node/esm(docs)