This repository was archived by the owner on Feb 22, 2022. It is now read-only.
chore(deps): update dependency ts-node to v10 #19
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:
9.1.1->10.4.0Release Notes
TypeStrong/ts-node
v10.4.0Compare Source
Added
Changed
creatEsmHooks(API docs) (#1506, #1529)Fixed
https://github.com/TypeStrong/ts-node/milestone/8
v10.3.1Compare Source
Fixed
https://github.com/TypeStrong/ts-node/milestone/7
v10.3.0Compare Source
Questions about this release? Ask in the official discussion thread: #1507
Added
util.promisify(setTimeout)(1000)orfs.readFileSync('example.txt')createEsmHooks()function to create ESM loader hooks (API docs) (#1439) @nonararegister()accepts a ts-nodeService(API docs) (#1474)register(options)is still supported; no breaking changes--emitto--helpoutput (#1400, #1484) @markbradley27Changed
require('source-map-support'), they will be redirected to@cspotcode/source-map-supportFixed
source-map-supportinstead of@cspotcode/source-map-support(#1440, #1441, #1438, #1495, cspotcode/node-source-map-support#23, #1496, #1497) @ejose19require('source-map-support'), they will be redirected to@cspotcode/source-map-support@cspotcode/source-map-supportfor the fixes and enhancements listed here:@cspotcode/source-map-supportchangelog100on first line and* 2on second line would erronously be interpreted as100 * 2allowJs(#1488, #1489)TS_NODE_IGNOREandTS_NODE_IGNORE_DIAGNOSTICS; treat empty environment variable as empty array (#1301, #1483) @ValeriaVGTS_NODE_IGNORE= ts-node ./example.tswill disable default ignore rules; will compile files in./node_modulesDocs
https://github.com/TypeStrong/ts-node/milestone/5
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
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.
This PR has been generated by WhiteSource Renovate. View repository job log here.