TypeStrong/ts-node
### [`v9.0.0`](https://togithub.com/TypeStrong/ts-node/releases/v9.0.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
\*Breaking changes are labelled [BREAKING] below.
**Added**
- Throw `ERR_REQUIRE_ESM` when a file is `require()`d which should be loaded as ESM ([#1031](https://togithub.com/TypeStrong/ts-node/issues/1031))
- Re-add `"exports"` declaration to package.json in backwards-compatible way, enabling `node --loader ts-node/esm` without file extension ([#1028](https://togithub.com/TypeStrong/ts-node/issues/1028))
- Allow specifying `"require"` option via tsconfig ([#925](https://togithub.com/TypeStrong/ts-node/issues/925))
- REPL respects node's `NODE_NO_READLINE` environment variable ([#1090](https://togithub.com/TypeStrong/ts-node/issues/1090))
- Add a transpile-only entrypoint for ESM loader: `node --loader ts-node/esm/transpile-only` ([#1102](https://togithub.com/TypeStrong/ts-node/issues/1102)) [@concision](https://togithub.com/concision)
**Changed**
- [BREAKING] Drops support for node versions < 10 ([#1036](https://togithub.com/TypeStrong/ts-node/issues/1036))
**Fixed**
- [BREAKING] Re-add `realpath`, which should fix workflows that use symlinks, such as `pnpm`, Lerna workspaces, or other mono-repo configurations ([#970](https://togithub.com/TypeStrong/ts-node/issues/970))
- Compile files within `node_modules` when `--skip-ignore` or `--ignore` options are configured to allow it ([#970](https://togithub.com/TypeStrong/ts-node/issues/970))
- Fix [#884](https://togithub.com/TypeStrong/ts-node/issues/884) by not adding all referenced files to `getSourceFileNames`/`rootNames` ([#999](https://togithub.com/TypeStrong/ts-node/issues/999))
- Fix [#996](https://togithub.com/TypeStrong/ts-node/issues/996): bump `projectVersion` every time `getSourceFileNames` changes, avoiding accidentally outdated typechecking ([#998](https://togithub.com/TypeStrong/ts-node/issues/998))
- Fix [#1051](https://togithub.com/TypeStrong/ts-node/issues/1051): pass transformers object to `ts.transpileModule` ([#1054](https://togithub.com/TypeStrong/ts-node/issues/1054)) [@thetutlage](https://togithub.com/thetutlage)
- Fix [#1060](https://togithub.com/TypeStrong/ts-node/issues/1060): use source maps for stack traces in ESM modules ([#1087](https://togithub.com/TypeStrong/ts-node/issues/1087))
- Fix [#1072](https://togithub.com/TypeStrong/ts-node/issues/1072): Respect `--experimental-specifier-resolution` coming from `NODE_OPTIONS` in ESM loader ([#1085](https://togithub.com/TypeStrong/ts-node/issues/1085)) [@evg656e](https://togithub.com/evg656e)
- Fix [#1098](https://togithub.com/TypeStrong/ts-node/issues/1098): ESM loader should skip `.cjs`, `.mjs`, and any unexpected file extensions ([#1103](https://togithub.com/TypeStrong/ts-node/issues/1103)) [@concision](https://togithub.com/concision)
**Docs**
- Better explain how to compile imports, either CommonJS or using experimental ESM loader. Resolves [#1075](https://togithub.com/TypeStrong/ts-node/issues/1075) ([#1086](https://togithub.com/TypeStrong/ts-node/issues/1086))
**Misc**
- Fix, re-enable, and add various tests ([#1044](https://togithub.com/TypeStrong/ts-node/issues/1044), [#1088](https://togithub.com/TypeStrong/ts-node/issues/1088), [#1108](https://togithub.com/TypeStrong/ts-node/issues/1108), [#1110](https://togithub.com/TypeStrong/ts-node/issues/1110), [#1109](https://togithub.com/TypeStrong/ts-node/issues/1109), [#1115](https://togithub.com/TypeStrong/ts-node/issues/1115), [#1043](https://togithub.com/TypeStrong/ts-node/issues/1043), [#999](https://togithub.com/TypeStrong/ts-node/issues/999))
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
8.10.2
->9.0.0
Release Notes
TypeStrong/ts-node
### [`v9.0.0`](https://togithub.com/TypeStrong/ts-node/releases/v9.0.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0) \*Breaking changes are labelled [BREAKING] below. **Added** - Throw `ERR_REQUIRE_ESM` when a file is `require()`d which should be loaded as ESM ([#1031](https://togithub.com/TypeStrong/ts-node/issues/1031)) - Re-add `"exports"` declaration to package.json in backwards-compatible way, enabling `node --loader ts-node/esm` without file extension ([#1028](https://togithub.com/TypeStrong/ts-node/issues/1028)) - Allow specifying `"require"` option via tsconfig ([#925](https://togithub.com/TypeStrong/ts-node/issues/925)) - REPL respects node's `NODE_NO_READLINE` environment variable ([#1090](https://togithub.com/TypeStrong/ts-node/issues/1090)) - Add a transpile-only entrypoint for ESM loader: `node --loader ts-node/esm/transpile-only` ([#1102](https://togithub.com/TypeStrong/ts-node/issues/1102)) [@concision](https://togithub.com/concision) **Changed** - [BREAKING] Drops support for node versions < 10 ([#1036](https://togithub.com/TypeStrong/ts-node/issues/1036)) **Fixed** - [BREAKING] Re-add `realpath`, which should fix workflows that use symlinks, such as `pnpm`, Lerna workspaces, or other mono-repo configurations ([#970](https://togithub.com/TypeStrong/ts-node/issues/970)) - Compile files within `node_modules` when `--skip-ignore` or `--ignore` options are configured to allow it ([#970](https://togithub.com/TypeStrong/ts-node/issues/970)) - Fix [#884](https://togithub.com/TypeStrong/ts-node/issues/884) by not adding all referenced files to `getSourceFileNames`/`rootNames` ([#999](https://togithub.com/TypeStrong/ts-node/issues/999)) - Fix [#996](https://togithub.com/TypeStrong/ts-node/issues/996): bump `projectVersion` every time `getSourceFileNames` changes, avoiding accidentally outdated typechecking ([#998](https://togithub.com/TypeStrong/ts-node/issues/998)) - Fix [#1051](https://togithub.com/TypeStrong/ts-node/issues/1051): pass transformers object to `ts.transpileModule` ([#1054](https://togithub.com/TypeStrong/ts-node/issues/1054)) [@thetutlage](https://togithub.com/thetutlage) - Fix [#1060](https://togithub.com/TypeStrong/ts-node/issues/1060): use source maps for stack traces in ESM modules ([#1087](https://togithub.com/TypeStrong/ts-node/issues/1087)) - Fix [#1072](https://togithub.com/TypeStrong/ts-node/issues/1072): Respect `--experimental-specifier-resolution` coming from `NODE_OPTIONS` in ESM loader ([#1085](https://togithub.com/TypeStrong/ts-node/issues/1085)) [@evg656e](https://togithub.com/evg656e) - Fix [#1098](https://togithub.com/TypeStrong/ts-node/issues/1098): ESM loader should skip `.cjs`, `.mjs`, and any unexpected file extensions ([#1103](https://togithub.com/TypeStrong/ts-node/issues/1103)) [@concision](https://togithub.com/concision) **Docs** - Better explain how to compile imports, either CommonJS or using experimental ESM loader. Resolves [#1075](https://togithub.com/TypeStrong/ts-node/issues/1075) ([#1086](https://togithub.com/TypeStrong/ts-node/issues/1086)) **Misc** - Fix, re-enable, and add various tests ([#1044](https://togithub.com/TypeStrong/ts-node/issues/1044), [#1088](https://togithub.com/TypeStrong/ts-node/issues/1088), [#1108](https://togithub.com/TypeStrong/ts-node/issues/1108), [#1110](https://togithub.com/TypeStrong/ts-node/issues/1110), [#1109](https://togithub.com/TypeStrong/ts-node/issues/1109), [#1115](https://togithub.com/TypeStrong/ts-node/issues/1115), [#1043](https://togithub.com/TypeStrong/ts-node/issues/1043), [#999](https://togithub.com/TypeStrong/ts-node/issues/999))Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.