Packages

ts-node

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

Upgrading ts-node From 8.10.2 to 9.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.10.2Latest10.9.2
  1. 8.10.2yours
  2. 9.0.0target

Before you upgrade

Tick each one off as you go
  • breaking9.0.0
  • breaking9.0.0
  • breaking9.0.0

Release by release

  1. 9.0.0

    Migration needed21 Aug 20202 new · 7 fixes
    • breaking

      Breaking changes are labelled [BREAKING] below.

    • 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

    • new

      Allow specifying "require" option via tsconfig

5 other lines we could not sort, mostly version bumps
  • Throw ERR_REQUIRE_ESM when a file is require()d which should be loaded as ESM

    9.0.0
  • Re-add "exports" declaration to package.json in backwards-compatible way, enabling node --loader ts-node/esm without file extension

    9.0.0
  • REPL respects node's NODE_NO_READLINE environment variable

    9.0.0
  • Compile files within node_modules when --skip-ignore or --ignore options are configured to allow it

    9.0.0
  • Better explain how to compile imports, either CommonJS or using experimental ESM loader. Resolves #1075

    9.0.0