ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
128 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x
6.1.1
12 Jun 2018Delete
emitDeclarationOnlyfrom configuration to ensure config is valid
Fixed
Delete
emitDeclarationOnlyfrom configuration to ensure config is valid
6.1.0
3 Jun 2018Use TypeScript error formatting for diagnostic ouput
Delete
declarationMapoption from input configuration underts-node
Changed
Use TypeScript error formatting for diagnostic ouput
Delete
declarationMapoption from input configuration underts-node
6.0.5
24 May 2018More places to
normalizefor Windows to work
Fixed
More places to
normalizefor Windows to work
6.0.4
24 May 2018Normalize paths for Windows before trying to resolve the project path
Use
Buffer.frominstead of deprecatednew Buffer
Fixed
Normalize paths for Windows before trying to resolve the project path
Use
Buffer.frominstead of deprecatednew Buffer
6.0.3
6 May 2018Use
Script#runInThisContextvia REPL to ensure objects all exist in the same context
Fixed
Use
Script#runInThisContextvia REPL to ensure objects all exist in the same context
6.0.2
29 Apr 2018Fixed an issue where empty files were not returned to TypeScript, resulting in "not found" compiler issues
Fixed
Fixed an issue where empty files were not returned to TypeScript, resulting in "not found" compiler issues
6.0.1
26 Apr 2018Add
-Tshort flag for transpile only mode
Changed
Add
-Tshort flag for transpile only mode
6.0.0
17 Apr 2018Default behaviour is
typeCheck == true || transpileOnly == false
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 enabletranspileOnlyorts-node/register/transpile-onlyfor the faster transpiler without type checking.Changed
Default behaviour is
typeCheck == true || transpileOnly == false
- 5.x
5.0.1
1 Mar 2018Ignore TypeScript
rootDirerrors
Fixed
Ignore TypeScript
rootDirerrors
5.0.0
19 Feb 2018- removed
Drop support for pre-2.0 TypeScript releases
Remove the sub-process spawning behaviour that introduced issues with 4.x
Use TypeScript to parse
tsconfig.jsonto mirrortscbehaviours
Changed
Remove the sub-process spawning behaviour that introduced issues with 4.x
Use
node -r ts-node/registerfor advanced node.js flags such as--inspect
- removed
Drop support for pre-2.0 TypeScript releases
Use TypeScript to parse
tsconfig.jsonto mirrortscbehavioursCaveat: Must specify full path when using
projectin 5.x
Fixed
Fixed issues with CLI and environment variable defaults
- 4.x
4.1.0
23 Dec 2017Avoid detaching process in Windows
Changed
Avoid detaching process in Windows
4.0.2
15 Dec 2017Move
@typesdeps to dev deps
Changed
Move
@typesdeps to dev deps
4.0.1
10 Dec 2017Add missing
register/directory to package
Fixed
Add missing
register/directory to package
4.0.0
10 Dec 2017--fastis the default behaviour now, use--type-checkfor type checking behaviourSupport for custom transformers
@typespackages
Changed
--fastis the default behaviour now, use--type-checkfor type checking behaviour
Added
Support for custom transformers
@typespackages
Fixed
Improved forwarding of signals
Don't force exit from REPL
Improved performance when type checking large projects
- 3.x
3.3.0
24 Jul 2017Validate cache file endings before using
Changed
Validate cache file endings before using
3.2.2
24 Jul 2017Fixed inline source map replacement for large files
Fixed
Fixed inline source map replacement for large files
3.2.1
20 Jul 2017Fix the source map output for
.tsxfiles
Fixed
Fix the source map output for
.tsxfiles
3.2.0
5 Jul 2017Inherit boolean flags from environment
Remove
preferGlobalwarning frompackage.jsonExport
printErrorutility
Changed
Inherit boolean flags from environment
Remove
preferGlobalwarning frompackage.json
Added
Export
printErrorutilityEnable debug flag for hacking
3.0.6
6 Jun 2017When TypeScript was requesting a file, it was added to the cache - unfortunately a change resulted in it setting a
versionwhich lists the files used by TypeScript. TypeScript peruses this list occasionally and blows up when a non-.tsfile is in the list
Fixed
When TypeScript was requesting a file, it was added to the cache - unfortunately a change resulted in it setting a
versionwhich lists the files used by TypeScript. TypeScript peruses this list occasionally and blows up when a non-.tsfile is in the list
3.0.5
6 Jun 2017Add
--inspect-brkto known flagsPre-define
exportsto avoid TypeScript throwing an error in the REPLExpose
_ts-nodebin file
Added
Add
--inspect-brkto known flagsPre-define
exportsto avoid TypeScript throwing an error in the REPLExpose
_ts-nodebin file
3.0.4
4 May 2017Always default
TS_NODE_CACHEtotruewhen unspecified
Fixed
Always default
TS_NODE_CACHEtotruewhen unspecified
3.0.3
3 May 2017Delete configuration options after TypeScript parses the file to handle
extends
Fixed
Delete configuration options after TypeScript parses the file to handle
extends
3.0.2
21 Mar 2017Fixed a broken check when filtering diagnostics
Fixed
Fixed a broken check when filtering diagnostics
3.0.1
21 Mar 2017Explicitly specify node engine and remove unused pre-4.x dependencies
Fixed
Explicitly specify node engine and remove unused pre-4.x dependencies
3.0.0
21 Mar 2017- removed
Remove the
lazyconfiguration option - will always loadtsconfig.jsonfile without waiting for first load to avoid issues with first-class (entry).jsfiles
Changed
- removed
Remove the
lazyconfiguration option - will always loadtsconfig.jsonfile without waiting for first load to avoid issues with first-class (entry).jsfiles
- 2.x
2.1.1
21 Mar 2017Normalize slashes when interacting with TypeScript API
Fixed
Normalize slashes when interacting with TypeScript API
2.1.0
9 Feb 2017Use the users homedir hashed for the temp directory output
Changed
Use the users homedir hashed for the temp directory output
2.0.0
29 Dec 2016- breaking
Requires node.js v4 or greater
Use
module._preloadModulesto handle--requireUse
new Scriptover the deprecatedcreateScriptmethod
Changed
- breaking
Requires node.js v4 or greater
Use
module._preloadModulesto handle--requireUse
new Scriptover the deprecatedcreateScriptmethod
- 1.x
1.7.3
27 Dec 2016Pass through
--preserve-symlinksflag to node.js
Added
Pass through
--preserve-symlinksflag to node.js
1.7.2
9 Dec 2016Update the REPL using more TypeScript tricks to work with modules and ASI
Fixed
Update the REPL using more TypeScript tricks to work with modules and ASI
1.7.1
9 Dec 2016Do not delete the error stack - some people use that, duh!
Fixed
Do not delete the error stack - some people use that, duh!
1.7.0
7 Nov 2016Use
v8flagsto detect node v8 optionsCorrect argv parsing into node opts and script opts
Changed
Use
v8flagsto detect node v8 options
Fixed
Correct argv parsing into node opts and script opts
1.6.1
27 Oct 2016Ignore new TypeScript empty config file errors (TypeScript 2.1.0)
Changed
Ignore new TypeScript empty config file errors (TypeScript 2.1.0)
1.6.0
16 Oct 2016Fix the default
--ignoreoption to benode_modules(this check was previous faulty, would also fallback to `` instead)Revert the extensions ignoring behaviour introduced in 380ab99, add documentation on the subject instead
Fixed
Fix the default
--ignoreoption to benode_modules(this check was previous faulty, would also fallback to `` instead)
Changed
Revert the extensions ignoring behaviour introduced in 380ab99, add documentation on the subject instead
1.5.2
15 Oct 2016After releasing github.com/TypeStrong/ts-node/releases/tag/v1.5…, I remember the use-case of bash scripts in TypeScript. This patches it (sort of) by continuing to compile files without any extension.
Changed
After releasing github.com/TypeStrong/ts-node/releases/tag/v1.5…, I remember the use-case of bash scripts in TypeScript. This patches it (sort of) by continuing to compile files without any extension.
1.5.0
15 Oct 2016Throw 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
evalhandling by using multiple TypeScript files auto-incremented and referenced at each execution step (fixes the ASI issue)
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
evalhandling by using multiple TypeScript files auto-incremented and referenced at each execution step (fixes the ASI issue)
1.4.3
11 Oct 2016Support the
--inspectflag passed throughProperly handle
jsx === 'preserve'option
Added
Support the
--inspectflag passed through
Fixed
Properly handle
jsx === 'preserve'option
1.4.2
10 Oct 2016Support output using
jsx: preserve
Fixed
Support output using
jsx: preserve
1.4.1
7 Oct 2016Merge the compiler options environment variable with the passed in options
Fixed
Merge the compiler options environment variable with the passed in options
1.4.0
7 Oct 2016Enable an
--ignoreoption, defaults to/node_modules/Fix parsing of boolean environment variables
Throw a
TypeErrorwhen requiring.d.tsfiles directly, previously crashed
Added
Enable an
--ignoreoption, defaults to/node_modules/
Fixed
Fix parsing of boolean environment variables
Changed
Throw a
TypeErrorwhen requiring.d.tsfiles directly, previously crashed
1.3.0
20 Aug 20161.2.3
18 Aug 2016Remove
declarationDirflag fromtscoptions
Changed
Remove
declarationDirflag fromtscoptions
1.2.2
30 Jul 2016Use
TS_NODE_COMPILER_OPTIONSfrom environment
Fixed
Use
TS_NODE_COMPILER_OPTIONSfrom environment
1.2.1
22 Jul 2016Bundle
pinkiefor zero configuration use with node 0.10
Added
Bundle
pinkiefor zero configuration use with node 0.10
1.2.0
22 Jul 2016In the latest of this love-hate relationship with TypeScript's
findConfigFilemethod, I've completely reverted back to a saner version oftsconfigwhich replicates the sametsc --projectinterface (including error messages)
Changed
In the latest of this love-hate relationship with TypeScript's
findConfigFilemethod, I've completely reverted back to a saner version oftsconfigwhich replicates the sametsc --projectinterface (including error messages)
1.0.0
20 Jul 2016- removed
Remove
noProjectoption in favour ofproject=false Enabled the ability to cache the TypeScript emit output between runs
Enabled lazy loading
ts-nodewhen usingts-node/register
Added
Enabled the ability to cache the TypeScript emit output between runs
Changed
Enabled lazy loading
ts-nodewhen usingts-node/register- removed
Remove
noProjectoption in favour ofproject=false Convert source map sources to absolute paths