ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
Upgrading ts-node From 0.9.0 to 10.9.2
103 releases in betweennotes for 102
Reading releases, release notes and advisories…
- 19+
- changes to make
- 0
- advisories fixed
- 67+
- new
- 64+
- fixes
Counted from 102 of 103 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking10.0.0
- breaking10.0.0
- breaking10.0.0
- breaking10.0.0
- breaking10.0.0
- breaking10.0.0
- breaking10.0.0
- breaking9.0.0
- breaking9.0.0
- breaking9.0.0
Release by release
10.9.1nothing new or fixed in the note
- new
Added helpful error message when swc version is too old to support our configuration
- new
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
Fixed support for jsx modes
"react-jsx"and"react-jsxdev"in swc transpiler (#1800, #1802) - fixed
Fixed bug where calling
repl.evalCode()with code not ending in a newline would not update the typechecker accordingly (#1764, #1824)
- new
- new
Allow JSON imports in node 16.15 and up
- new
- fixed
Fixed #1769: source URLs in source map cache were malformed on Windows, affecting code coverage reports (#1769, #1771)
- fixed
Fixed #1778: typechecker was erronously resolving imports from ESM files as if they were from CJS files (#1778, #1782)
- fixed
- new
Added support for
module=NodeNext,module=Node16,.mts,.cts,.mjs, and.cjsfile extensions (#1414, #1694, #1744, #1745, #1727, #1717, #1753, #1757) - new
Adds
diagnosticsproperty toTSError, with array of TypeScript diagnostic objects from the compiler (API docs) (#1705, #1706) - new
Performance: Optimize filesystem stat calls in ESM loader and new CommonJS resolver (#1758, #1759)
- new
Add common ESM errors to Troubleshooting page
- new
- new
Adds
--esmflag, option, andts-node-esmbinary (#1258, #1655)
- new
- new
Adds workaround for extensionless entrypoints with ESM loader (#1649, #1654)
- new
Adds support for target "ES2022" in
moduleTypesoverrides - fixed
Fixed bug where
--swcand other third-party transpilers did not respectmoduleTypesoverrides (#1651, #1652, #1660) - fixed
Fixed bug where node flags were not preserved correctly in
process.execArgv(#1657, #1658) - fixed
Fixed compatibility TypeScript 4.7's API changes (#1647, #1648)
- new
130 other lines we could not sort, mostly version bumps
- 10.9.1
Workaround nodejs bug introduced in 18.6.0
- 10.9.0
--projectaccepts path to a directory containing atsconfig.json(#1829, #1830) - 10.8.2
Revert "Use file URL for source map paths"
- 10.8.0
Renames option
experimentalResolverFeaturestoexperimentalResolver(docs) - 10.8.0
Internal change to ESM loader for compatibility with forthcoming node versions: returns
shortCircuit: true(#1714, #1715) - 10.8.0
Performance, maintenance: Upgrade source-mapper dependency "@cspotcode/source-map-support"
- 10.8.0
Correctly suppress "Custom ESM Loaders" warning on newer node versions where the warning's prose changed
- 10.8.0
REPL treats unparenthesized object literals as objects, instead of as block scopes (#1697, #1699)
- 10.8.0
Many docs improvements
- 10.8.0
Options page: each option its own linkable header w/usage example
3 internal lines (docs, tests, tooling) left out.