Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 17, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-node ^5.0.0 -> ^9.0.0 age adoption passing confidence

Release Notes

TypeStrong/ts-node

v9.1.1

Compare Source

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

v9.1.0

Compare Source

Added

  • Expose ts-node REPL via the API (#​1121) @​MarcManiez
  • Allow --typeCheck flag to override --transpileOnly flag specified in tsconfig.json (#​1142)

Changed

  • Rename interface Register to Service. It is still aliased as Register for backwards compatibility (#​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)

Fixed

  • ESM resolver will preserve search portion of URL, used for cache busting (#​1165) @​frandiox
  • Fix ESM resolution of builtin modules on node >=14.13.1 (#​1136)
  • Recognize --es-module-specifier-resolution as an alias of --experimental-specifier-resolution for node 12 compatibility (#​1122) @​nguyensomniac

Docs

Misc

  • Changes to test matrix: Test against node 15; drop node 13 tests; remove 12.16 in favor of latest 12.x.x (#​1138, #​1148)
  • Improve codecov rules to remove misleading test failures (#​1159)

v9.0.0

Compare Source

Breaking changes are labelled [BREAKING] below.

Added

  • Throw ERR_REQUIRE_ESM when a file is require()d which should be loaded as ESM (#​1031)
  • Re-add "exports" declaration to package.json in backwards-compatible way, enabling node --loader ts-node/esm without file extension (#​1028)
  • Allow specifying "require" option via tsconfig (#​925)
  • REPL respects node's NODE_NO_READLINE environment variable (#​1090)
  • Add a transpile-only entrypoint for ESM loader: node --loader ts-node/esm/transpile-only (#​1102) @​concision

Changed

  • [BREAKING] Drops support for node versions < 10 (#​1036)

Fixed

  • [BREAKING] Re-add realpath, which should fix workflows that use symlinks, such as pnpm, Lerna workspaces, or other mono-repo configurations (#​970)
  • Compile files within node_modules when --skip-ignore or --ignore options are configured to allow it (#​970)
  • Fix #​884 by not adding all referenced files to getSourceFileNames/rootNames (#​999)
  • Fix #​996: bump projectVersion every time getSourceFileNames changes, avoiding accidentally outdated typechecking (#​998)
  • Fix #​1051: pass transformers object to ts.transpileModule (#​1054) @​thetutlage
  • Fix #​1060: use source maps for stack traces in ESM modules (#​1087)
  • Fix #​1072: Respect --experimental-specifier-resolution coming from NODE_OPTIONS in ESM loader (#​1085) @​evg656e
  • Fix #​1098: ESM loader should skip .cjs, .mjs, and any unexpected file extensions (#​1103) @​concision

Docs

  • Better explain how to compile imports, either CommonJS or using experimental ESM loader. Resolves #​1075 (#​1086)

Misc

v8.10.2

Compare Source

Fixed

Fixes #​1037: source maps broken on Windows. (#​1038)

Misc

Fix failing tests on node 6 (#​1035)
Push coverage from Github Actions; remove TravisCI (#​1034)
Run tests e2e against an npm pack && npm installed ts-node (#​1032)
Run CI tests on Windows (#​1041)
Run CI only once per commit on pull requests and master (#​1042)

v8.10.1

Compare Source

Fix

Fixes #​1026: revert the addition of package.json "exports" because it blocked require()s that used to work, for example require('ts-node/register') (#​1027)

v8.10.0

Compare Source

Added

Experimental support for native ECMAScript modules in node >=13 (#​1007, #​1010)

v8.9.1

Compare Source

Fixed

Fix --interactive / -i flag so it forces REPL even when stdin is not a TTY (#​1019)

v8.9.0

Compare Source

Fixed

Fix failing tests caused by recent changes to @​types/node (#​1016)
Fix #​945: Bump source-map-support dependency to include upstream fix for worker threads error handling (#​1015) @​addaleax
Fix #​1004: in --scriptMode, resolve config file relative to realpath of entrypoint script (#​1009)
Normalized filenames in cache to fix performance issues on Windows (#​997) @​sylc

Added

Add timestamps to debug logging (#​994) @​sylc

Docs

Improve coverage of the README (#​1000) @​KasparEtter
Change order of install commands in README (#​993) @​jacobdcastro
Mention ts-node -vv flag in issue template (#​1001)
Run GHActions tests on pull requests (#​1017)

v8.8.2

Compare Source

Fixed

  • Avoid pushing to rootFileNames with version

v8.8.1

Compare Source

Fixed

v8.8.0

Compare Source

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) - revisits the change in #​884

v8.7.0

Compare Source

Fixed

  • Remove buggy caching of ts.sys.readDirectory (#​969)
  • Fix REPL ASI handling when user input starts with - (#​944)

Added

Changed

Docs

v8.6.2

Compare Source

Fixed

  • Downgrade yn due to node engine (#​942)

v8.6.1

Compare Source

Fixed

  • Fix the resolution order of TS_NODE_COMPILER_OPTIONS - closes #​938

v8.6.0

Compare Source

Fixed

  • Remove normalize slashes from config file loading for Windows

Added

  • Configure using tsconfig.json (#​921) @​cspotcode 🎉
  • Allow dir to be configurable
  • Add --build flag for emitting compiled TypeScript (under --compiler-host mode)
  • Incremental compiler support (#​895)

v8.5.4

Compare Source

  • Fix relative node_modules ignore 266eaa5

v8.5.3

Compare Source

Fixed

v8.5.2

Compare Source

Fixed

  • Revert --require module loading change

v8.5.0

Compare Source

Added

  • Expose ts-script for relative tsconfig.json files from <script.ts>
  • 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

Compare Source

Fixed

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

v8.4.0

Compare Source

Added

Fixed

v8.3.0

Compare Source

Added

  • Support --prefer-ts-exts flag

v8.2.0

Compare Source

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

Compare Source

Fixed

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

v8.1.0

Compare Source

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

Compare Source

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

Compare Source

Fixed

  • Override include property, not includes 🤕

v8.0.1

Compare Source

Fixed

  • Add missing arg to package.json dependencies

v8.0.0

Compare Source

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

Compare Source

Added

  • Strip TypeScript composite flag from configuration file

v7.0.0

Compare Source

Changed

v6.2.0

Compare Source

Added

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

v6.1.2

Compare Source

Fixed

  • Correct CLI default flags using environment variables
  • Use buffer-from module for old-node.js compatibility

Added

  • Awesome new logo to README!

v6.1.1

Compare Source

Fixed

  • Delete emitDeclarationOnly from configuration to ensure config is valid

v6.1.0

Compare Source

Changed

  • Use TypeScript error formatting for diagnostic ouput
  • Delete declarationMap option from input configuration under ts-node

v6.0.5

Compare Source

Fixed

  • More places to normalize for Windows to work

v6.0.4

Compare Source

Fixed

  • Normalize paths for Windows before trying to resolve the project path
  • Use Buffer.from instead of deprecated new Buffer

v6.0.3

Compare Source

Fixed

  • Use Script#runInThisContext via REPL to ensure objects all exist in the same context

v6.0.2

Compare Source

Fixed

  • Fixed an issue where empty files were not returned to TypeScript, resulting in "not found" compiler issues

v6.0.1

Compare Source

Changed

  • Add -T short flag for transpile only mode

v6.0.0

Compare Source

Many people were having issues with "fast" transpilation being the default over full project type checking like tsc. Type checking the full project upfront is slower but expected behaviour, so it's the default once again. You can still enable transpileOnly or ts-node/register/transpile-only for the faster transpiler without type checking.

Changed

  • Default behaviour is typeCheck == true || transpileOnly == false

Renovate configuration

📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release labels Feb 17, 2021
@google-cla google-cla bot added the cla: yes label Feb 17, 2021
@alan-agius4 alan-agius4 reopened this Feb 17, 2021
@alan-agius4 alan-agius4 merged commit 5e2c45c into master Feb 22, 2021
@renovate renovate bot deleted the renovate/ts-node-9.x branch February 22, 2021 11:48
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants