ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
Upgrading ts-node From 10.2.1 to 10.3.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- new
Add
createEsmHooks()function to create ESM loader hooks (API docs) - new
Add support for Node.js's new loader hooks API (#1372, #1457, #1007)
- new
Add
--emitto--helpoutput (#1400, #1484) - fixed
Fix #1440, #1441, #1438, #1495: Incorrect stack traces when third-party libraries use
source-map-supportinstead of@cspotcode/source-map-support(#1440, #1441, #1438, #1495, cspotcode/node-source-map-support#23, #1496, #1497) - fixed
Fix #1363: REPL may erroneously combine previous input with next input, eval both as a single statement (#1363, #1480)
- fixed
Fix #1488: Node may log "circular dependency" warning when using
allowJs(#1488, #1489) - fixed
Fix #1301: Filter empty strings from
TS_NODE_IGNOREandTS_NODE_IGNORE_DIAGNOSTICS; treat empty environment variable as empty array (#1301, #1483)
- new
6 other lines we could not sort, mostly version bumps
- 10.3.0
Declare types for node builtin modules within REPL so you do not need to import them (#1424, #1500)
- 10.3.0
register()accepts a ts-nodeService(API docs) - 10.3.0
When ts-node is registered and other libraries
require('source-map-support'), they will be redirected to@cspotcode/source-map-support - 10.3.0
Update VSCode debug configuration (Docs)
- 10.3.0
Update ESM-related messaging to clarify that experimental status is due to Node.js, not ts-node
- 10.3.0
Refer to ts-node consistently