Packages

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…

Other targets from 10.2.1Newest 10.x, Latest10.9.2
  1. 10.2.1yours
  2. 10.3.0target
0
changes to make
0
advisories fixed
3
new
4
fixes

Release by release

  1. 10.3.0

    11 Oct 20213 new · 4 fixes
    • 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 --emit to --help output (#1400, #1484)

    • fixed

      Fix #1440, #1441, #1438, #1495: Incorrect stack traces when third-party libraries use source-map-support instead 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_IGNORE and TS_NODE_IGNORE_DIAGNOSTICS; treat empty environment variable as empty array (#1301, #1483)

6 other lines we could not sort, mostly version bumps
  • 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-node Service (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

    10.3.0