Skip to content

Update dependency ts-node to v9 - autoclosed #14

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

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 6, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-node ^0.9.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

v5.0.1

Compare Source

Fixed

  • Ignore TypeScript rootDir errors

v5.0.0

Compare Source

Changed

  • Remove the sub-process spawning behaviour that introduced issues with 4.x
    • Use node -r ts-node/register for advanced node.js flags such as --inspect
  • Drop support for pre-2.0 TypeScript releases
  • Use TypeScript to parse tsconfig.json to mirror tsc behaviours
    • Caveat: Must specify full path when using project in 5.x

Fixed

  • Fixed issues with CLI and environment variable defaults

v4.1.0

Compare Source

Changed

  • Avoid detaching process in Windows

v4.0.2

Compare Source

Changed

  • Move @types deps to dev deps

v4.0.1

Compare Source

Fixed

  • Add missing register/ directory to package

v4.0.0

Compare Source

Changed

  • --fast is the default behaviour now, use --type-check for type checking behaviour

Added

  • Support for custom transformers
  • @types packages

Fixed

  • Improved forwarding of signals
  • Don't force exit from REPL
  • Improved performance when type checking large projects

v3.3.0

Compare Source

Changed

  • Validate cache file endings before using

v3.2.2

Compare Source

Fixed

  • Fixed inline source map replacement for large files

v3.2.1

Compare Source

Fixed

  • Fix the source map output for .tsx files

v3.2.0

Compare Source

Changed

  • Inherit boolean flags from environment
  • Remove preferGlobal warning from package.json

Added

  • Export printError utility
  • Enable debug flag for hacking

v3.1.0

Compare Source

Changed

  • Combine the source maps and content output in the cache (#​368)
  • Add missing FS implementations to service host for TypeScript 2.5 (#​366)

v3.0.6

Compare Source

Fixed

  • When TypeScript was requesting a file, it was added to the cache - unfortunately a change resulted in it setting a version which lists the files used by TypeScript. TypeScript peruses this list occasionally and blows up when a non-.ts file is in the list

v3.0.5

Compare Source

Added

  • Add --inspect-brk to known flags
  • Pre-define exports to avoid TypeScript throwing an error in the REPL
  • Expose _ts-node bin file

v3.0.4

Compare Source

Fixed

  • Always default TS_NODE_CACHE to true when unspecified

v3.0.3

Compare Source

Fixed

  • Delete configuration options after TypeScript parses the file to handle extends

v3.0.2

Compare Source

Fixed

  • Fixed a broken check when filtering diagnostics

v3.0.1

Compare Source

Fixed

  • Explicitly specify node engine and remove unused pre-4.x dependencies

v3.0.0

Compare Source

Changed

  • Remove the lazy configuration option - will always load tsconfig.json file without waiting for first load to avoid issues with first-class (entry) .js files

v2.1.2

Compare Source

Fixed

  • Set config defaults after configuration file has been parsed so that they don't override "extended" compiler options (ec00796)

v2.1.1

Compare Source

Fixed

  • Normalize slashes when interacting with TypeScript API

v2.1.0

Compare Source

Changed

  • Use the users homedir hashed for the temp directory output

v2.0.0

Compare Source

Changed

  • Requires node.js v4 or greater
  • Use module._preloadModules to handle --require
  • Use new Script over the deprecated createScript method

v1.7.3

Compare Source

Added

  • Pass through --preserve-symlinks flag to node.js

v1.7.2

Compare Source

Fixed

  • Update the REPL using more TypeScript tricks to work with modules and ASI

v1.7.1

Compare Source

Fixed

  • Do not delete the error stack - some people use that, duh!

v1.7.0

Compare Source

Changed

  • Use v8flags to detect node v8 options

Fixed

  • Correct argv parsing into node opts and script opts

v1.6.1

Compare Source

Changed

  • Ignore new TypeScript empty config file errors (TypeScript 2.1.0)

v1.6.0

Compare Source

Fixed

  • Fix the default --ignore option to be node_modules (this check was previous faulty, would also fallback to [] instead)

Changed

v1.5.2

Compare Source

Changed

v1.5.1

Compare Source

Changed

v1.5.0

Compare Source

Changed

  • Throw recoverable errors in REPL when the diagnostic codes look recoverable
  • Improve line offset handling by manually passing the line offset for debugging to node and re-use for TypeScript diagnostic formatting
  • Improve eval handling by using multiple TypeScript files auto-incremented and referenced at each execution step (fixes the ASI issue)

v1.4.3

Compare Source

Added

  • Support the --inspect flag passed through

Fixed

  • Properly handle jsx === 'preserve' option

v1.4.2

Compare Source

Fixed

  • Support output using jsx: preserve

v1.4.1

Compare Source

Fixed

  • Merge the compiler options environment variable with the passed in options

v1.4.0

Compare Source

Added

  • Enable an --ignore option, defaults to /node_modules/

Fixed

  • Fix parsing of boolean environment variables

Changed

  • Throw a TypeError when requiring .d.ts files directly, previously crashed

v1.3.0

Compare Source

Changed

v1.2.3

Compare Source

Changed

  • Remove declarationDir flag from tsc options

v1.2.2

Compare Source

Fixed

  • Use TS_NODE_COMPILER_OPTIONS from environment

v1.2.1

Compare Source

Added

  • Bundle pinkie for zero configuration use with node 0.10

v1.2.0

Compare Source

Changed

  • In the latest of this love-hate relationship with TypeScript's findConfigFile method, I've completely reverted back to a saner version of tsconfig which replicates the same tsc --project interface (including error messages)

v1.1.0

Compare Source

Added

  • Enable support for getDirectories on compiler host (#​150)
  • Enable configuration of the cache directory (#​154)

v1.0.0

Compare Source

Added

  • Enabled the ability to cache the TypeScript emit output between runs

Changed

  • Enabled lazy loading ts-node when using ts-node/register
  • Remove noProject option in favour of project=false
  • Convert source map sources to absolute paths

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 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 force-pushed the renovate/ts-node-9.x branch from de258bc to d8cd29a Compare April 6, 2021 20:15
@renovate renovate bot changed the title Update dependency ts-node to v9 Update dependency ts-node to v9 - autoclosed May 23, 2021
@renovate renovate bot closed this May 23, 2021
@renovate renovate bot deleted the renovate/ts-node-9.x branch May 23, 2021 20:42
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.

1 participant