Packages

ts-node

10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed

Upgrading ts-node From 10.3.1 to 10.9.2

10 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 10.3.1yours
  2. 9 releases
  3. 10.9.2target
0
changes to make
0
advisories fixed
17
new
21
fixes

Release by release

  1. 10.9.2

    8 Dec 20231 fix
    • fixed

      Fixed tsconfig.json file not found on latest TypeScript version (#2091)

  2. 10.9.1nothing new or fixed in the note

  3. 10.9.0

    13 Jul 20222 new · 3 fixes
    • new

      Added helpful error message when swc version is too old to support our configuration

    • new

      Added experimentalTsImportSpecifiers option which allows using voluntary .ts file 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)

  4. 10.8.2

    2 Jul 20221 new
    • new

      Allow JSON imports in node 16.15 and up

  5. 10.8.1

    3 Jun 20222 fixes
    • 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)

  6. 10.8.0

    21 May 20224 new · 4 fixes
    • new

      Added support for module=NodeNext, module=Node16, .mts, .cts, .mjs, and .cjs file extensions (#1414, #1694, #1744, #1745, #1727, #1717, #1753, #1757)

    • new

      Adds diagnostics property to TSError, 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

  7. 10.7.0

    6 Mar 20221 new
    • new

      Adds --esm flag, option, and ts-node-esm binary (#1258, #1655)

  8. 10.6.0

    1 Mar 20222 new · 3 fixes
    • new

      Adds workaround for extensionless entrypoints with ESM loader (#1649, #1654)

    • new

      Adds support for target "ES2022" in moduleTypes overrides

    • fixed

      Fixed bug where --swc and other third-party transpilers did not respect moduleTypes overrides (#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)

20 other lines we could not sort, mostly version bumps
  • Workaround nodejs bug introduced in 18.6.0

    10.9.1
  • --project accepts path to a directory containing a tsconfig.json (#1829, #1830)

    10.9.0
  • Revert "Use file URL for source map paths"

    10.8.2
  • Renames option experimentalResolverFeatures to experimentalResolver (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

    10.8.0

3 internal lines (docs, tests, tooling) left out.