Packages

ts-node

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

Your version

128 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 10.x · latest line
  2. 10.9.2

    8 Dec 2023
    • Fixed tsconfig.json file not found on latest TypeScript version (#2091)

  3. 10.9.1

    14 Jul 2022
    • Workaround nodejs bug introduced in 18.6.0

  4. 10.9.0

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

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

    • Added experimentalTsImportSpecifiers option which allows using voluntary .ts file extensions in import specifiers (undocumented except for API docs)

  5. 10.8.2

    2 Jul 2022
    • Revert "Use file URL for source map paths"

    • Allow JSON imports in node 16.15 and up

  6. 10.8.1

    3 Jun 2022
    • Fixed #1769: source URLs in source map cache were malformed on Windows, affecting code coverage reports (#1769, #1771)

    • Fixed #1778: typechecker was erronously resolving imports from ESM files as if they were from CJS files (#1778, #1782)

  7. 10.8.0

    21 May 2022
  8. 10.7.0

    6 Mar 2022
    • Adds --esm flag, option, and ts-node-esm binary (#1258, #1655)

    • Unflag ESM json modules on node >=17.5.0 (#1661, #1665)

    • Lazy-load dependencies to improve startup responsiveness.

  9. 10.6.0

    1 Mar 2022
    • Adds workaround for extensionless entrypoints with ESM loader (#1649, #1654)

    • Adds support for target "ES2022" in moduleTypes overrides

    • Fixed bug where --swc and other third-party transpilers did not respect moduleTypes overrides (#1651, #1652, #1660)

  10. 10.5.0

    7 Feb 2022
  11. 10.4.0

    22 Oct 2021
    • Adds support for targets "es2020" and "es2021" to swc transpiler

    • Adds automatic target downgrade when using older versions of swc

    • Improves types and API docs for creatEsmHooks (API docs) (#1506, #1529)

  12. 10.3.1

    21 Oct 2021
    • Add version check to use new loader hooks API for node >=16.12.0

  13. 10.3.0

    11 Oct 2021
    • Declare types for node builtin modules within REPL so you do not need to import them (#1424, #1500)

    • Add createEsmHooks() function to create ESM loader hooks (API docs)

    • register() accepts a ts-node Service (API docs)

  14. 10.2.1

    18 Aug 2021
    • Fixes #1426: Do not import typescript outside of configuration/project loading (#1433, #1426)

  15. 10.2.0

    8 Aug 2021
    • Adds top-level await support to REPL (#1383, #245)

    • Setting "pretty": false disables pretty formatting of diagnostics even when stdout is a TTY (#1418, #1420)

    • Ignores diagnostics which are annoying in an interactive REPL (#1396, #1120, #729, #850, #469)

  16. 10.1.0

    9 Jul 2021
    • Add "moduleType" option to override module type -- CommonJS or ECMAScript -- on select files. (docs) (#1342, #1371, #1376)

    • Implement "extends" support for "ts-node" options in tsconfig.json (#1328, #1356)

    • Un-deprecate scope and scopeDir; add both to CLI and tsconfig.json options; un-deprecate TS_NODE_SCOPE env var; add TS_NODE_SCOPE_DIR env var (docs) (#1346, #1367)

  17. 10.0.0

    23 May 2021
    • breaking

      **** Make --script-mode default behavior; resolve tsconfig relative to entrypoint script instead of cwd (#949, #1197, #1155)

    • breaking

      **** ignore rules evaluate relative to tsconfig.json directory, otherwise cwd

    • breaking

      **** Remove support for node 10. Minimum supported version is node 12

  18. 9.x
  19. 9.1.1

    7 Dec 2020
    • Published tarball had extra slashes in the paths of dist files. #1172

  20. 9.1.0

    3 Dec 2020
    • Expose ts-node REPL via the API

    • Allow --typeCheck flag to override --transpileOnly flag specified in tsconfig.json

    • Rename interface Register to Service. It is still aliased as Register for backwards compatibility

  21. 9.0.0

    21 Aug 2020
    • breaking

      Drops support for node versions < 10

    • breaking

      Re-add realpath, which should fix workflows that use symlinks, such as pnpm, Lerna workspaces, or other mono-repo configurations

    • Throw ERR_REQUIRE_ESM when a file is require()d which should be loaded as ESM

  22. 8.x
  23. 8.10.2

    28 May 2020

    Fixed

  24. 8.10.1

    3 May 2020

    Fix

  25. 8.10.0

    3 May 2020

    Added

  26. 8.9.1

    26 Apr 2020

    Fixed

  27. 8.9.0

    20 Apr 2020

    Fixed

  28. 8.8.2

    5 Apr 2020
    • Avoid pushing to rootFileNames with version

  29. 8.8.1

    22 Mar 2020
  30. 8.8.0

    21 Mar 2020
    • Add sanitize=true to README for SVGs to work on NPM

    • Simplify projectVersion++ by incrementing on each file change

    • List all files for getScriptFileNames (#985) - revisits the change in #884

  31. 8.7.0

    2 Mar 2020
    • deprecated

      Deprecate ts-script in favor of ts-node-script

    • Remove buggy caching of ts.sys.readDirectory

    • Fix REPL ASI handling when user input starts with -

  32. 8.6.2

    13 Jan 2020
    • Downgrade yn due to node engine

  33. 8.6.1

    10 Jan 2020
    • Fix the resolution order of TS_NODE_COMPILER_OPTIONS - closes #938

  34. 8.6.0

    10 Jan 2020
    • Remove normalize slashes from config file loading for Windows

    • Configure using tsconfig.json (#921) @cspotcode 🎉

    • Allow dir to be configurable

  35. 8.5.4

    28 Nov 2019
    • Fix relative node_modules ignore 266eaa5

  36. 8.5.3

    28 Nov 2019
    • Pass correct diagnostics list in transpile mode (#917) 907e3e1

    • Make --ignore relative ea6e1da

  37. 8.5.2

    15 Nov 2019
    • Revert --require module loading change

  38. 8.5.1

    15 Nov 2019
  39. 8.5.0

    11 Nov 2019
    • Expose ts-script for relative tsconfig.json files from <script.ts>

    • Support --interactive CLI option

    • Expose registered ts-node instance information on process

  40. 8.4.1

    16 Sep 2019
    • Revert "List all files in memory cache improves perf 1.4x" 87a6e2c

  41. 8.4.0

    15 Sep 2019
  42. 8.3.0

    15 Jun 2019
    • Support --prefer-ts-exts flag

  43. 8.2.0

    26 May 2019
    • Expand FS cache to all file system operations

    • Pass all files to "root scripts" TypeScript compiler option to improve performance

  44. 8.1.1

    25 May 2019
    • Remove realpath from TypeScript compiler to support existing use-cases without preserveSymlinks

  45. 8.1.0

    15 Apr 2019
    • removed

      Remove incremental and tsBuildInfoFile compiler options

    • Expose --log-error option for logging on TypeScript compilation issues

    • Cache file system lookup operations

  46. 8.0.3

    7 Mar 2019
    • Fall back on resolving relative TypeScript packages (normal resolution is from working directory, these two things can be the same in the case of locally installed packages)

  47. 8.0.2

    26 Jan 2019
    • Override include property, not includes 🤕

  48. 8.0.1

    22 Jan 2019
    • Add missing arg to package.json dependencies

  49. 8.0.0

    22 Jan 2019
    • Remove JavaScript output cache

    • Cleaned up CLI args

    • Preserve ts-node arguments in execArgv for forked processes to use

  50. 7.x
  51. 7.0.1

    11 Aug 2018
    • Strip TypeScript composite flag from configuration file

  52. 7.0.0

    22 Jun 2018
    • Skip loading tsconfig.json files configuration, by default, to improve startup (e.g. files included by includes or files)

  53. 6.x
  54. 6.2.0

    22 Jun 2018
    • New flag (--files) can be used to disable loading files from tsconfig.json by default

  55. 6.1.2

    20 Jun 2018
    • Correct CLI default flags using environment variables

    • Use buffer-from module for old-node.js compatibility

    • Awesome new logo to README!