Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ts-node to v9 #232

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-node (source) 5.0.1 -> 9.1.1 age adoption passing confidence

Release Notes

TypeStrong/ts-node (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: Fix breaking change for require('ts-node/*')

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: Experimental native ESM support

Compare Source

Added

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

v8.9.1: Fix --interactive / -i flag so it forces REPL even when stdin is not a TTY

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: Avoid Extra rootFileNames Changes

Compare Source

Fixed

  • Avoid pushing to rootFileNames with version

v8.8.1: Fix Files Support

Compare Source

Fixed

v8.8.0: [Perf] List File Names

Compare Source

Added

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

Fixed

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: FIx yn Dependency

Compare Source

Fixed

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

v8.6.1: Fix compiler options from environment

Compare Source

Fixed

v8.6.0: Compiler Host API

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: Fix relative node_modules ignore

Compare Source

  • Fix relative node_modules ignore 266eaa5

v8.5.3: Fix transpile diagnostics

Compare Source

Fixed

v8.5.2: Revert --require module loading

Compare Source

Fixed

  • Revert --require module loading change

v8.5.0: TS Script

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: Fix 8.20 dependency regression

Compare Source

Fixed

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

v8.4.0: Program Transformers

Compare Source

Added

Fixed

v8.3.0: Prefer TS Extensions

Compare Source

Added

  • Support --prefer-ts-exts flag

v8.2.0: Cache FS Operations

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: Remove Realpath

Compare Source

Fixed

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

v8.1.0: Log Errors Option

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: Relative TypeScript

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: Override Includes

Compare Source

Fixed

  • Override include property, not includes 🤕

v8.0.1: Missing Arg

Compare Source

Fixed

  • Add missing arg to package.json dependencies

v8.0.0: Remove Cache

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: Strip TypeScript "composite" flag

Compare Source

Added

  • Strip TypeScript composite flag from configuration file

v7.0.0: Skip files by default

Compare Source

Changed

v6.2.0: Files Config Flag

Compare Source

Added

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

v6.1.2: CLI Flags

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: Remove emitDeclarationOnly

Compare Source

Fixed

  • Delete emitDeclarationOnly from configuration to ensure config is valid

v6.1.0: TypeScript Error Formatting

Compare Source

Changed

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

v6.0.5: Normalize More Places For Windows

Compare Source

Fixed

  • More places to normalize for Windows to work

v6.0.4: Windows Project Resolution

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: REPL Context

Compare Source

Fixed

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

v6.0.2: Allow Empty Files

Compare Source

Fixed

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

v6.0.1: Short transpile only flag

Compare Source

Changed

  • Add -T short flag for transpile only mode

v6.0.0: Type Check By Default

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

Configuration

📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants