Update dependency ts-node to v10#126
Open
mend-for-github-com[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
9ec0f4f to
0601ae5
Compare
0601ae5 to
5a1850b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~7.0.0->~10.2.0Release Notes
TypeStrong/ts-node
v10.2.1Compare Source
Fixed
https://github.com/TypeStrong/ts-node/milestone/6
v10.2.0Compare Source
Questions about this release? Ask in the official discussion thread: #1423
Added
--no-experimental-repl-await,experimentalReplAwait, orTS_NODE_EXPERIMENTAL_REPL_AWAIT(CLI docs, API docs)"pretty": falsedisables pretty formatting of diagnostics even when stdout is a TTY (#1418, #1420) @elevatebartprettyoption, not to be confused with TypeScript'sprettyoptionconst foo = 1in the REPL,foois unused. We ignore the resulting diagnosticfoo is declared but its value is never readFixed
--loaderasyncannotations (#1405, #1410)require.resolveerror when@types/nodepeerDependency is missing (#1419, #1422)https://github.com/TypeStrong/ts-node/milestone/2
v10.1.0Compare Source
Questions about this release? Ask in the official discussion thread: #1390
Added
"moduleType"option to override module type -- CommonJS or ECMAScript -- on select files. (docs) (#1342, #1371, #1376)webpack.config.ts, must execute as CommonJS but the rest of the project is ESMpackage.json"type"andtsconfig.json"module".cjsand.mjsextensions, but for.tsand.tsxfiles"extends"support for"ts-node"options intsconfig.json(#1328, #1356)"ts-node": {}options will be parsed from extended tsconfigsscopeandscopeDir; add both to CLI andtsconfig.jsonoptions; un-deprecateTS_NODE_SCOPEenv var; addTS_NODE_SCOPE_DIRenv var (docs) (#1346, #1367)Changed
"ts-node"object at the top of--showConfigoutput instead of the bottom (#1355)Fixed
[stdin],[eval], and<repl>contexts (#1333)ts-node -e__filename,__dirname,moduleand sub-fields ofmodule,exports, and builtin module aliasesfs, etckeepClassNamestotrue(#1344)Docs
node --loader ts-node/esm(docs) (#1379)https://github.com/TypeStrong/ts-node/milestone/3
v10.0.0Compare Source
Questions about this release? Ask in the official discussion thread: #1337
Breaking changes are prefixed with [BREAKING]
Added
--show-configto log the resolved configuration (docs) (#1100, #1243)swcintegration and new--transpileroption to use third-party transpilers for a massive speed boost on large codebases (docs) (#779, #1160)scopeDirAPI option (docs) (#1155)projectSearchDirAPI option (docs) (#1155)--cwd-modeandts-node-cwdto resolve config file relative to cwd, not entrypoint script (#1155)Changed
--script-modedefault behavior; resolve tsconfig relative to entrypoint script instead of cwd (#949, #1197, #1155)$PATH, becausets-nodewill respect the script's localtsconfig.json--cwd-modeorts-node-cwdif you need legacy behaviorignorerules evaluate relative totsconfig.jsondirectory, otherwisecwd(#1155)--dirto--cwd; renameTS_NODE_DIRtoTS_NODE_CWD(#1155)--dirandTS_NODE_DIRare deprecated but still parsed for backwards-compatibility--direffectively changed the working directory ofts-node; renaming makes this behavior more obviousDeprecated
TS_NODE_SCOPE(#1155)--dirandTS_NODE_DIR(#1155)Removed
DEFAULTS,normalizeSlashes,parse,splitts-node's programmatic APIFixed
ERR_REQUIRE_ESMwhen attempting to execute ESM as CJS, even when not using--loader ts-node/esm(#1232)nodecompileris loaded relative totsconfig.jsoninstead of entrypoint script (#1155)ts-node ./indexmay execute the wrong file extension because tsconfig search poisons therequire.resolvecache (#1155)Docs
CONTRIBUTING.mdto document the codebase and our development workflowhttps://github.com/TypeStrong/ts-node/milestone/1
v9.1.1Compare 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
v9.1.0Compare Source
Added
--typeCheckflag to override--transpileOnlyflag specified intsconfig.json(#1142)Changed
RegistertoService. It is still aliased asRegisterfor backwards compatibility (#1158)Fixed
--es-module-specifier-resolutionas an alias of--experimental-specifier-resolutionfor node 12 compatibility (#1122) @nguyensomniacDocs
ts-node-devin README (#1131) @iamandrewlucatransformersdescription to clarify incompatibility withtranspileOnly(#1123)Misc
v9.0.0Compare Source
Breaking changes are labelled [BREAKING] below.
Added
ERR_REQUIRE_ESMwhen a file isrequire()d which should be loaded as ESM (#1031)"exports"declaration to package.json in backwards-compatible way, enablingnode --loader ts-node/esmwithout file extension (#1028)"require"option via tsconfig (#925)NODE_NO_READLINEenvironment variable (#1090)node --loader ts-node/esm/transpile-only(#1102) @concisionChanged
Fixed
realpath, which should fix workflows that use symlinks, such aspnpm, Lerna workspaces, or other mono-repo configurations (#970)node_moduleswhen--skip-ignoreor--ignoreoptions are configured to allow it (#970)getSourceFileNames/rootNames(#999)projectVersionevery timegetSourceFileNameschanges, avoiding accidentally outdated typechecking (#998)ts.transpileModule(#1054) @thetutlage--experimental-specifier-resolutioncoming fromNODE_OPTIONSin ESM loader (#1085) @evg656e.cjs,.mjs, and any unexpected file extensions (#1103) @concisionDocs
Misc
v8.10.2Compare 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.1Compare Source
Fix
Fixes #1026: revert the addition of package.json "exports" because it blocked
require()s that used to work, for examplerequire('ts-node/register')(#1027)v8.10.0Compare Source
Added
Experimental support for native ECMAScript modules in node >=13 (#1007, #1010)
v8.9.1Compare Source
Fixed
Fix
--interactive/-iflag so it forces REPL even when stdin is not a TTY (#1019)v8.9.0Compare 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 -vvflag in issue template (#1001)Run GHActions tests on pull requests (#1017)
v8.8.2Compare Source
Fixed
rootFileNameswith versionv8.8.1Compare Source
Fixed
--filessupportbe2c899v8.8.0Compare Source
Added
sanitize=trueto README for SVGs to work on NPMFixed
projectVersion++by incrementing on each file changegetScriptFileNames(#985) - revisits the change in 8.2.0 regression TypeStrong/ts-node#884v8.7.0Compare Source
Fixed
ts.sys.readDirectory(#969)-(#944)Added
LanguageServiceHost::getProjectVersionto workaround microsoft/TypeScript#36748 (#906ts-node-transpile-onlybinary (#939) @G-RathChanged
ts-scriptin favor ofts-node-script(#948) @G-RathDocs
v8.6.2Compare Source
Fixed
yndue to node engine (#942)v8.6.1Compare Source
Fixed
TS_NODE_COMPILER_OPTIONS- closes v8.6.0 breaks TS_NODE_COMPILER_OPTIONS environment variable TypeStrong/ts-node#938v8.6.0Compare Source
Fixed
Added
tsconfig.json(#921) @cspotcode 🎉dirto be configurable--buildflag for emitting compiled TypeScript (under--compiler-hostmode)v8.5.4Compare Source
node_modulesignore266eaa5v8.5.3Compare Source
Fixed
907e3e1--ignorerelativeea6e1dav8.5.2Compare Source
Fixed
--requiremodule loading changev8.5.0Compare Source
Added
ts-scriptfor relativetsconfig.jsonfiles from<script.ts>--interactiveCLI optionts-nodeinstance information onprocessenableof registeredts-nodeinstances--dirto be configurable from CLI--scopeflag for directory scoped compilation of TypeScriptcreatefunction for programmatic compiler usageFixed
v8.4.1Compare Source
Fixed
87a6e2cv8.4.0Compare Source
Added
12ff53dFixed
b01b629v8.3.0Compare Source
Added
--prefer-ts-extsflagv8.2.0Compare Source
Added
Changed
v8.1.1Compare Source
Fixed
realpathfrom TypeScript compiler to support existing use-cases withoutpreserveSymlinksv8.1.0Compare Source
Added
--log-erroroption for logging on TypeScript compilation issuesChanged
incrementalandtsBuildInfoFilecompiler optionsv8.0.3Compare Source
Added
v8.0.2Compare Source
Fixed
includeproperty, notincludes🤕v8.0.1Compare Source
Fixed
argtopackage.jsondependenciesv8.0.0Compare Source
Changed
-poption must now be-pesinceargdoes not support optional flag and string at the same timekebab-casets-nodearguments inexecArgvfor forked processes to usets-nodeREPL taking a long time in a large user directoryConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 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.