TypeStrong/ts-node
### [`v9.1.1`](https://togithub.com/TypeStrong/ts-node/releases/v9.1.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v9.1.0...v9.1.1)
No code changes. We re-packed and republished v9.1.1, because the v9.1.0 package was broken due to an npm v7 bug.
**Fixes**
- Published tarball had extra slashes in the paths of dist files. [#1172](https://togithub.com/TypeStrong/ts-node/issues/1172)
### [`v9.1.0`](https://togithub.com/TypeStrong/ts-node/releases/v9.1.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v9.0.0...v9.1.0)
**Added**
- Expose ts-node REPL via the API ([#1121](https://togithub.com/TypeStrong/ts-node/issues/1121)) [@MarcManiez](https://togithub.com/MarcManiez)
- Allow `--typeCheck` flag to override `--transpileOnly` flag specified in `tsconfig.json` ([#1142](https://togithub.com/TypeStrong/ts-node/issues/1142))
**Changed**
- Rename interface `Register` to `Service`. It is still aliased as `Register` for backwards compatibility ([#1158](https://togithub.com/TypeStrong/ts-node/issues/1158))
- Update code copied from node's ESM resolver to be the latest from node 15, to keep our ESM resolver's behavior as close as possible to vanilla node ([#1167](https://togithub.com/TypeStrong/ts-node/issues/1167))
**Fixed**
- ESM resolver will preserve search portion of URL, used for cache busting ([#1165](https://togithub.com/TypeStrong/ts-node/issues/1165)) [@frandiox](https://togithub.com/frandiox)
- Fix ESM resolution of builtin modules on node >=14.13.1 ([#1136](https://togithub.com/TypeStrong/ts-node/issues/1136))
- Recognize `--es-module-specifier-resolution` as an alias of `--experimental-specifier-resolution` for node 12 compatibility ([#1122](https://togithub.com/TypeStrong/ts-node/issues/1122)) [@nguyensomniac](https://togithub.com/nguyensomniac)
**Docs**
- Fix description of `ts-node-dev` in README ([#1131](https://togithub.com/TypeStrong/ts-node/issues/1131)) [@iamandrewluca](https://togithub.com/iamandrewluca)
- Update `transformers` description to clarify incompatibility with `transpileOnly` ([#1123](https://togithub.com/TypeStrong/ts-node/issues/1123))
**Misc**
- Changes to test matrix: Test against node 15; drop node 13 tests; remove 12.16 in favor of latest 12.x.x ([#1138](https://togithub.com/TypeStrong/ts-node/issues/1138), [#1148](https://togithub.com/TypeStrong/ts-node/issues/1148))
- Improve codecov rules to remove misleading test failures ([#1159](https://togithub.com/TypeStrong/ts-node/issues/1159))
### [`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))
### [`v8.10.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.10.2)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.10.1...v8.10.2)
**Fixed**
Fixes [#1037](https://togithub.com/TypeStrong/ts-node/issues/1037): source maps broken on Windows. ([#1038](https://togithub.com/TypeStrong/ts-node/issues/1038))
**Misc**
Fix failing tests on node 6 ([#1035](https://togithub.com/TypeStrong/ts-node/issues/1035))
Push coverage from Github Actions; remove TravisCI ([#1034](https://togithub.com/TypeStrong/ts-node/issues/1034))
Run tests e2e against an `npm pack && npm install`ed ts-node ([#1032](https://togithub.com/TypeStrong/ts-node/issues/1032))
Run CI tests on Windows ([#1041](https://togithub.com/TypeStrong/ts-node/issues/1041))
Run CI only once per commit on pull requests and master ([#1042](https://togithub.com/TypeStrong/ts-node/issues/1042))
### [`v8.10.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.10.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.10.0...v8.10.1)
**Fix**
Fixes [#1026](https://togithub.com/TypeStrong/ts-node/issues/1026): revert the addition of package.json "exports" because it blocked `require()`s that used to work, for example `require('ts-node/register')` ([#1027](https://togithub.com/TypeStrong/ts-node/issues/1027))
### [`v8.10.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.10.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.9.1...v8.10.0)
**Added**
Experimental support for native ECMAScript modules in node >=13 ([#1007](https://togithub.com/TypeStrong/ts-node/issues/1007), [#1010](https://togithub.com/TypeStrong/ts-node/issues/1010))
### [`v8.9.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.9.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.9.0...v8.9.1)
**Fixed**
Fix `--interactive` / `-i` flag so it forces REPL even when stdin is not a TTY ([#1019](https://togithub.com/TypeStrong/ts-node/issues/1019))
### [`v8.9.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.9.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.8.2...v8.9.0)
**Fixed**
Fix failing tests caused by recent changes to [@types/node](https://togithub.com/types/node) ([#1016](https://togithub.com/TypeStrong/ts-node/issues/1016))
Fix [#945](https://togithub.com/TypeStrong/ts-node/issues/945): Bump source-map-support dependency to include upstream fix for worker threads error handling ([#1015](https://togithub.com/TypeStrong/ts-node/issues/1015)) [@addaleax](https://togithub.com/addaleax)
Fix [#1004](https://togithub.com/TypeStrong/ts-node/issues/1004): in `--scriptMode`, resolve config file relative to realpath of entrypoint script ([#1009](https://togithub.com/TypeStrong/ts-node/issues/1009))
Normalized filenames in cache to fix performance issues on Windows ([#997](https://togithub.com/TypeStrong/ts-node/issues/997)) [@sylc](https://togithub.com/sylc)
**Added**
Add timestamps to debug logging ([#994](https://togithub.com/TypeStrong/ts-node/issues/994)) [@sylc](https://togithub.com/sylc)
**Docs**
Improve coverage of the README ([#1000](https://togithub.com/TypeStrong/ts-node/issues/1000)) [@KasparEtter](https://togithub.com/KasparEtter)
Change order of install commands in README ([#993](https://togithub.com/TypeStrong/ts-node/issues/993)) [@jacobdcastro](https://togithub.com/jacobdcastro)
Mention `ts-node -vv` flag in issue template ([#1001](https://togithub.com/TypeStrong/ts-node/issues/1001))
Run GHActions tests on pull requests ([#1017](https://togithub.com/TypeStrong/ts-node/issues/1017))
### [`v8.8.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.8.2)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.8.1...v8.8.2)
**Fixed**
- Avoid pushing to `rootFileNames` with version
### [`v8.8.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.8.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.8.0...v8.8.1)
**Fixed**
- Fix `--files` support [`be2c899`](https://togithub.com/TypeStrong/ts-node/commit/be2c899)
### [`v8.8.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.8.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.7.0...v8.8.0)
**Added**
- Add `sanitize=true` to README for SVGs to work on NPM
**Fixed**
- Simplify `projectVersion++` by incrementing on each file change
- List all files for `getScriptFileNames` ([#985](https://togithub.com/TypeStrong/ts-node/issues/985)) - revisits the change in [#884](https://togithub.com/TypeStrong/ts-node/issues/884)
### [`v8.7.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.7.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.6.2...v8.7.0)
**Fixed**
- Remove buggy caching of `ts.sys.readDirectory` ([#969](https://togithub.com/TypeStrong/ts-node/issues/969))
- Fix REPL ASI handling when user input starts with `-` ([#944](https://togithub.com/TypeStrong/ts-node/issues/944))
**Added**
- Implement `LanguageServiceHost::getProjectVersion` to workaround [microsoft/TypeScript#36748](https://togithub.com/microsoft/TypeScript/issues/36748) ([#906](https://togithub.com/TypeStrong/ts-node/issues/906)
- Add `ts-node-transpile-only` binary ([#939](https://togithub.com/TypeStrong/ts-node/issues/939)) [@G-Rath](https://togithub.com/G-Rath)
**Changed**
- Deprecate `ts-script` in favor of `ts-node-script` ([#948](https://togithub.com/TypeStrong/ts-node/issues/948)) [@G-Rath](https://togithub.com/G-Rath)
**Docs**
- Fix bash syntax error in README ([#943](https://togithub.com/TypeStrong/ts-node/issues/943)) [@abraj](https://togithub.com/abraj)
- Add Github issue templates ([#959](https://togithub.com/TypeStrong/ts-node/issues/959), [#965](https://togithub.com/TypeStrong/ts-node/issues/965), [#947](https://togithub.com/TypeStrong/ts-node/issues/947))
- Add IntelliJ debug instructions to README ([#958](https://togithub.com/TypeStrong/ts-node/issues/958))
- Add mocha 7 usage example to README ([#961](https://togithub.com/TypeStrong/ts-node/issues/961))
### [`v8.6.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.6.2)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.6.1...v8.6.2)
**Fixed**
- Downgrade `yn` due to node engine ([#942](https://togithub.com/TypeStrong/ts-node/issues/942))
### [`v8.6.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.6.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.6.0...v8.6.1)
**Fixed**
- Fix the resolution order of `TS_NODE_COMPILER_OPTIONS` - closes [#938](https://togithub.com/TypeStrong/ts-node/issues/938)
### [`v8.6.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.6.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.4...v8.6.0)
**Fixed**
- Remove normalize slashes from config file loading for Windows
**Added**
- Configure using `tsconfig.json` ([#921](https://togithub.com/TypeStrong/ts-node/issues/921)) [@cspotcode](https://togithub.com/cspotcode) 🎉
- Allow `dir` to be configurable
- Add `--build` flag for emitting compiled TypeScript (under `--compiler-host` mode)
- Incremental compiler support ([#895](https://togithub.com/TypeStrong/ts-node/issues/895))
### [`v8.5.4`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.4)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.3...v8.5.4)
- Fix relative `node_modules` ignore [`266eaa5`](https://togithub.com/TypeStrong/ts-node/commit/266eaa5)
### [`v8.5.3`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.3)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.2...v8.5.3)
**Fixed**
- Pass correct diagnostics list in transpile mode ([#917](https://togithub.com/TypeStrong/ts-node/issues/917)) [`907e3e1`](https://togithub.com/TypeStrong/ts-node/commit/907e3e1)
- Make `--ignore` relative [`ea6e1da`](https://togithub.com/TypeStrong/ts-node/commit/ea6e1da)
### [`v8.5.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.2)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.0...v8.5.2)
**Fixed**
- Revert `--require` module loading change
### [`v8.5.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.4.1...v8.5.0)
**Added**
- Expose `ts-script` for relative `tsconfig.json` files from ``
- Support `--interactive` CLI option
- Expose registered `ts-node` instance information on `process`
- Allow dynamic `enable` of registered `ts-node` instances
- Allow `--dir` to be configurable from CLI
- Add `--scope` flag for directory scoped compilation of TypeScript
- REPL history on node 11+
- Expose `create` function for programmatic compiler usage
**Fixed**
- Repeated RegExps in REPL will now compile
### [`v8.4.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.4.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.4.0...v8.4.1)
**Fixed**
- Revert "List all files in memory cache improves perf 1.4x" [`87a6e2c`](https://togithub.com/TypeStrong/ts-node/commit/87a6e2c)
### [`v8.4.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.4.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.3.0...v8.4.0)
**Added**
- Introduce transformers program support ([#879](https://togithub.com/TypeStrong/ts-node/issues/879)) [`12ff53d`](https://togithub.com/TypeStrong/ts-node/commit/12ff53d)
**Fixed**
- Fix prefer TS exts via env variables ([#867](https://togithub.com/TypeStrong/ts-node/issues/867)) [`b01b629`](https://togithub.com/TypeStrong/ts-node/commit/b01b629)
### [`v8.3.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.3.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.2.0...v8.3.0)
**Added**
- Support `--prefer-ts-exts` flag
### [`v8.2.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.2.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.1.1...v8.2.0)
**Added**
- Expand FS cache to all file system operations
**Changed**
- Pass all files to "root scripts" TypeScript compiler option to improve performance
### [`v8.1.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.1.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.1.0...v8.1.1)
**Fixed**
- Remove `realpath` from TypeScript compiler to support existing use-cases without `preserveSymlinks`
### [`v8.1.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.1.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.0.3...v8.1.0)
**Added**
- Expose `--log-error` option for logging on TypeScript compilation issues
- Cache file system lookup operations
**Changed**
- Remove `incremental` and `tsBuildInfoFile` compiler options
### [`v8.0.3`](https://togithub.com/TypeStrong/ts-node/releases/v8.0.3)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.0.2...v8.0.3)
**Added**
- 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)
### [`v8.0.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.0.2)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.0.1...v8.0.2)
**Fixed**
- Override `include` property, not `includes` 🤕
### [`v8.0.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.0.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.0.0...v8.0.1)
**Fixed**
- Add missing `arg` to `package.json` dependencies
### [`v8.0.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.0.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v7.0.1...v8.0.0)
**Changed**
- Remove JavaScript output cache
- Cleaned up CLI args
- The `-p` option must now be `-pe` since `arg` does not support optional flag and string at the same time
- Other CLI options support camel case must now be specified in `kebab-case`
- Preserve `ts-node` arguments in `execArgv` for forked processes to use
- Avoid loading files at the configuration level by default
- Avoids `ts-node` REPL taking a long time in a large user directory
### [`v7.0.1`](https://togithub.com/TypeStrong/ts-node/releases/v7.0.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v7.0.0...v7.0.1)
**Added**
- Strip TypeScript `composite` flag from configuration file
### [`v7.0.0`](https://togithub.com/TypeStrong/ts-node/releases/v7.0.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v6.2.0...v7.0.0)
**Changed**
- Skip loading `tsconfig.json` files configuration, by default, to improve startup (e.g. files included by `includes` or `files`)
- More info/solution:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
6.2.0
->9.1.1
7.0.1
->9.1.1
Release Notes
TypeStrong/ts-node
### [`v9.1.1`](https://togithub.com/TypeStrong/ts-node/releases/v9.1.1) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v9.1.0...v9.1.1) No code changes. We re-packed and republished v9.1.1, because the v9.1.0 package was broken due to an npm v7 bug. **Fixes** - Published tarball had extra slashes in the paths of dist files. [#1172](https://togithub.com/TypeStrong/ts-node/issues/1172) ### [`v9.1.0`](https://togithub.com/TypeStrong/ts-node/releases/v9.1.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v9.0.0...v9.1.0) **Added** - Expose ts-node REPL via the API ([#1121](https://togithub.com/TypeStrong/ts-node/issues/1121)) [@MarcManiez](https://togithub.com/MarcManiez) - Allow `--typeCheck` flag to override `--transpileOnly` flag specified in `tsconfig.json` ([#1142](https://togithub.com/TypeStrong/ts-node/issues/1142)) **Changed** - Rename interface `Register` to `Service`. It is still aliased as `Register` for backwards compatibility ([#1158](https://togithub.com/TypeStrong/ts-node/issues/1158)) - Update code copied from node's ESM resolver to be the latest from node 15, to keep our ESM resolver's behavior as close as possible to vanilla node ([#1167](https://togithub.com/TypeStrong/ts-node/issues/1167)) **Fixed** - ESM resolver will preserve search portion of URL, used for cache busting ([#1165](https://togithub.com/TypeStrong/ts-node/issues/1165)) [@frandiox](https://togithub.com/frandiox) - Fix ESM resolution of builtin modules on node >=14.13.1 ([#1136](https://togithub.com/TypeStrong/ts-node/issues/1136)) - Recognize `--es-module-specifier-resolution` as an alias of `--experimental-specifier-resolution` for node 12 compatibility ([#1122](https://togithub.com/TypeStrong/ts-node/issues/1122)) [@nguyensomniac](https://togithub.com/nguyensomniac) **Docs** - Fix description of `ts-node-dev` in README ([#1131](https://togithub.com/TypeStrong/ts-node/issues/1131)) [@iamandrewluca](https://togithub.com/iamandrewluca) - Update `transformers` description to clarify incompatibility with `transpileOnly` ([#1123](https://togithub.com/TypeStrong/ts-node/issues/1123)) **Misc** - Changes to test matrix: Test against node 15; drop node 13 tests; remove 12.16 in favor of latest 12.x.x ([#1138](https://togithub.com/TypeStrong/ts-node/issues/1138), [#1148](https://togithub.com/TypeStrong/ts-node/issues/1148)) - Improve codecov rules to remove misleading test failures ([#1159](https://togithub.com/TypeStrong/ts-node/issues/1159)) ### [`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)) ### [`v8.10.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.10.2) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.10.1...v8.10.2) **Fixed** Fixes [#1037](https://togithub.com/TypeStrong/ts-node/issues/1037): source maps broken on Windows. ([#1038](https://togithub.com/TypeStrong/ts-node/issues/1038)) **Misc** Fix failing tests on node 6 ([#1035](https://togithub.com/TypeStrong/ts-node/issues/1035)) Push coverage from Github Actions; remove TravisCI ([#1034](https://togithub.com/TypeStrong/ts-node/issues/1034)) Run tests e2e against an `npm pack && npm install`ed ts-node ([#1032](https://togithub.com/TypeStrong/ts-node/issues/1032)) Run CI tests on Windows ([#1041](https://togithub.com/TypeStrong/ts-node/issues/1041)) Run CI only once per commit on pull requests and master ([#1042](https://togithub.com/TypeStrong/ts-node/issues/1042)) ### [`v8.10.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.10.1) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.10.0...v8.10.1) **Fix** Fixes [#1026](https://togithub.com/TypeStrong/ts-node/issues/1026): revert the addition of package.json "exports" because it blocked `require()`s that used to work, for example `require('ts-node/register')` ([#1027](https://togithub.com/TypeStrong/ts-node/issues/1027)) ### [`v8.10.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.10.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.9.1...v8.10.0) **Added** Experimental support for native ECMAScript modules in node >=13 ([#1007](https://togithub.com/TypeStrong/ts-node/issues/1007), [#1010](https://togithub.com/TypeStrong/ts-node/issues/1010)) ### [`v8.9.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.9.1) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.9.0...v8.9.1) **Fixed** Fix `--interactive` / `-i` flag so it forces REPL even when stdin is not a TTY ([#1019](https://togithub.com/TypeStrong/ts-node/issues/1019)) ### [`v8.9.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.9.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.8.2...v8.9.0) **Fixed** Fix failing tests caused by recent changes to [@types/node](https://togithub.com/types/node) ([#1016](https://togithub.com/TypeStrong/ts-node/issues/1016)) Fix [#945](https://togithub.com/TypeStrong/ts-node/issues/945): Bump source-map-support dependency to include upstream fix for worker threads error handling ([#1015](https://togithub.com/TypeStrong/ts-node/issues/1015)) [@addaleax](https://togithub.com/addaleax) Fix [#1004](https://togithub.com/TypeStrong/ts-node/issues/1004): in `--scriptMode`, resolve config file relative to realpath of entrypoint script ([#1009](https://togithub.com/TypeStrong/ts-node/issues/1009)) Normalized filenames in cache to fix performance issues on Windows ([#997](https://togithub.com/TypeStrong/ts-node/issues/997)) [@sylc](https://togithub.com/sylc) **Added** Add timestamps to debug logging ([#994](https://togithub.com/TypeStrong/ts-node/issues/994)) [@sylc](https://togithub.com/sylc) **Docs** Improve coverage of the README ([#1000](https://togithub.com/TypeStrong/ts-node/issues/1000)) [@KasparEtter](https://togithub.com/KasparEtter) Change order of install commands in README ([#993](https://togithub.com/TypeStrong/ts-node/issues/993)) [@jacobdcastro](https://togithub.com/jacobdcastro) Mention `ts-node -vv` flag in issue template ([#1001](https://togithub.com/TypeStrong/ts-node/issues/1001)) Run GHActions tests on pull requests ([#1017](https://togithub.com/TypeStrong/ts-node/issues/1017)) ### [`v8.8.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.8.2) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.8.1...v8.8.2) **Fixed** - Avoid pushing to `rootFileNames` with version ### [`v8.8.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.8.1) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.8.0...v8.8.1) **Fixed** - Fix `--files` support [`be2c899`](https://togithub.com/TypeStrong/ts-node/commit/be2c899) ### [`v8.8.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.8.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.7.0...v8.8.0) **Added** - Add `sanitize=true` to README for SVGs to work on NPM **Fixed** - Simplify `projectVersion++` by incrementing on each file change - List all files for `getScriptFileNames` ([#985](https://togithub.com/TypeStrong/ts-node/issues/985)) - revisits the change in [#884](https://togithub.com/TypeStrong/ts-node/issues/884) ### [`v8.7.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.7.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.6.2...v8.7.0) **Fixed** - Remove buggy caching of `ts.sys.readDirectory` ([#969](https://togithub.com/TypeStrong/ts-node/issues/969)) - Fix REPL ASI handling when user input starts with `-` ([#944](https://togithub.com/TypeStrong/ts-node/issues/944)) **Added** - Implement `LanguageServiceHost::getProjectVersion` to workaround [microsoft/TypeScript#36748](https://togithub.com/microsoft/TypeScript/issues/36748) ([#906](https://togithub.com/TypeStrong/ts-node/issues/906) - Add `ts-node-transpile-only` binary ([#939](https://togithub.com/TypeStrong/ts-node/issues/939)) [@G-Rath](https://togithub.com/G-Rath) **Changed** - Deprecate `ts-script` in favor of `ts-node-script` ([#948](https://togithub.com/TypeStrong/ts-node/issues/948)) [@G-Rath](https://togithub.com/G-Rath) **Docs** - Fix bash syntax error in README ([#943](https://togithub.com/TypeStrong/ts-node/issues/943)) [@abraj](https://togithub.com/abraj) - Add Github issue templates ([#959](https://togithub.com/TypeStrong/ts-node/issues/959), [#965](https://togithub.com/TypeStrong/ts-node/issues/965), [#947](https://togithub.com/TypeStrong/ts-node/issues/947)) - Add IntelliJ debug instructions to README ([#958](https://togithub.com/TypeStrong/ts-node/issues/958)) - Add mocha 7 usage example to README ([#961](https://togithub.com/TypeStrong/ts-node/issues/961)) ### [`v8.6.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.6.2) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.6.1...v8.6.2) **Fixed** - Downgrade `yn` due to node engine ([#942](https://togithub.com/TypeStrong/ts-node/issues/942)) ### [`v8.6.1`](https://togithub.com/TypeStrong/ts-node/releases/v8.6.1) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.6.0...v8.6.1) **Fixed** - Fix the resolution order of `TS_NODE_COMPILER_OPTIONS` - closes [#938](https://togithub.com/TypeStrong/ts-node/issues/938) ### [`v8.6.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.6.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.4...v8.6.0) **Fixed** - Remove normalize slashes from config file loading for Windows **Added** - Configure using `tsconfig.json` ([#921](https://togithub.com/TypeStrong/ts-node/issues/921)) [@cspotcode](https://togithub.com/cspotcode) 🎉 - Allow `dir` to be configurable - Add `--build` flag for emitting compiled TypeScript (under `--compiler-host` mode) - Incremental compiler support ([#895](https://togithub.com/TypeStrong/ts-node/issues/895)) ### [`v8.5.4`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.4) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.3...v8.5.4) - Fix relative `node_modules` ignore [`266eaa5`](https://togithub.com/TypeStrong/ts-node/commit/266eaa5) ### [`v8.5.3`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.3) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.2...v8.5.3) **Fixed** - Pass correct diagnostics list in transpile mode ([#917](https://togithub.com/TypeStrong/ts-node/issues/917)) [`907e3e1`](https://togithub.com/TypeStrong/ts-node/commit/907e3e1) - Make `--ignore` relative [`ea6e1da`](https://togithub.com/TypeStrong/ts-node/commit/ea6e1da) ### [`v8.5.2`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.2) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.5.0...v8.5.2) **Fixed** - Revert `--require` module loading change ### [`v8.5.0`](https://togithub.com/TypeStrong/ts-node/releases/v8.5.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v8.4.1...v8.5.0) **Added** - Expose `ts-script` for relative `tsconfig.json` files from `Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.