NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #916 most downloaded on npm
TypeScript execution environment and REPL for node.js, with source map support
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 1.3 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
128 releases · first in 2015
Avoid detaching process in Windows
Changed
Changed * Move @types deps to dev deps
Changed
@types deps to dev depsAdd missing register/ directory to package
Fixed
register/ directory to packageOne column per quarter.
--fast is the default behaviour now, use --type-check for type checking behaviour
Changed
--fast is the default behaviour now, use --type-check for type checking behaviourAdded
@types packagesFixed
Validate cache file endings before using
Changed
Fixed inline source map replacement for large files
Fixed
Fix the source map output for .tsx files
Fixed
.tsx filesInherit boolean flags from environment
Changed
preferGlobal warning from package.jsonAdded
printError utilityCombine the source maps and content output in the cache
Changed
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
Fixed
version which lists the files used by TypeScript. TypeScript peruses this list occasionally and blows up when a non-.ts file is in the listAdd --inspect-brk to known flags
Added
--inspect-brk to known flagsexports to avoid TypeScript throwing an error in the REPL_ts-node bin fileAlways default TS_NODE_CACHE to true when unspecified
Fixed
TS_NODE_CACHE to true when unspecifiedDelete configuration options after TypeScript parses the file to handle extends
Fixed
extendsFixed a broken check when filtering diagnostics
Fixed
Explicitly specify node engine and remove unused pre-4.x dependencies
Fixed
Remove the lazy configuration option - will always load tsconfig.json file without waiting for first load to avoid issues with first-class (entry) .js
Changed
lazy configuration option - will always load tsconfig.json file without waiting for first load to avoid issues with first-class (entry) .js filesSet config defaults _after_ configuration file has been parsed so that they don't override "extended" compiler options
Fixed
Normalize slashes when interacting with TypeScript API
Fixed
Use the users homedir hashed for the temp directory output
Changed
Use new Script over the deprecated createScript method
Changed
module._preloadModules to handle --requirenew Script over the deprecated createScript methodPass through --preserve-symlinks flag to node.js
Added
--preserve-symlinks flag to node.jsUpdate the REPL using more TypeScript tricks to work with modules _and_ ASI
Fixed
Do not delete the error stack - some people use that, duh!
Fixed
Use v8flags to detect node v8 options
Changed
v8flags to detect node v8 optionsFixed
Ignore new TypeScript empty config file errors (TypeScript 2.1.0)
Changed
Fix the default --ignore option to be node_modules (this check was previous faulty, would also fallback to [] instead)
Fixed
--ignore option to be node_modules (this check was previous faulty, would also fallback to [] instead)Changed
After releasing https://github.com/TypeStrong/ts-node/releases/tag/v1.5.1, I remember the use-case of bash scripts in TypeScript. This patches it (sor
Changed
Try and avoid errors like https://github.com/TypeStrong/ts-node/issues/223 being logged
Changed
Throw recoverable errors in REPL when the diagnostic codes look recoverable
Changed
eval handling by using multiple TypeScript files auto-incremented and referenced at each execution step (fixes the ASI issue)Support the --inspect flag passed through
Added
--inspect flag passed throughFixed
jsx === 'preserve' optionSupport output using jsx: preserve
Fixed
jsx: preserveMerge the compiler options environment variable with the passed in options
Fixed
Enable an --ignore option, defaults to /node_modules/
Added
--ignore option, defaults to /node_modules/Fixed
Changed
TypeError when requiring .d.ts files directly, previously crashedOverride module._compile which works better with the ecosystem, and uses resolved contents over direct from filesystem
Changed
module._compile which works better with the ecosystem, and uses resolved contents over direct from filesystem (https://github.com/TypeStrong/ts-node/pull/180)--require CLI shorthand (https://github.com/TypeStrong/ts-node/pull/181)Remove declarationDir flag from tsc options
Changed
declarationDir flag from tsc optionsUse TS_NODE_COMPILER_OPTIONS from environment
Fixed
TS_NODE_COMPILER_OPTIONS from environmentBundle pinkie for zero configuration use with node 0.10
Added
pinkie for zero configuration use with node 0.10In the latest of this love-hate relationship with TypeScript's findConfigFile method, I've completely reverted back to a saner version of tsconfig whi
Changed
findConfigFile method, I've completely reverted back to a saner version of tsconfig which replicates the same tsc --project interface (including error messages)Enable support for getDirectories on compiler host
Added
getDirectories on compiler host (https://github.com/TypeStrong/ts-node/pull/150)Enabled the ability to cache the TypeScript emit output between runs
Added
Changed
ts-node when using ts-node/registernoProject option in favour of project=falseSplice Node.js CLI flags out of the ts-node flag list
Fixed
ts-node flag listPublish package with source map sources
Fixed
Fake the output directory for TypeScript compilation
Fixed
Changed the way diagnostics are checked for a major perf boost
Changed
--fast option to skip type checking and only use the transpiler (https://github.com/TypeStrong/ts-node/pull/130, 1.5x faster using --fast)--compilerOptions flag to specify options as JSON (https://github.com/TypeStrong/ts-node/pull/128)Switch back to tsconfig for resolving the tsconfig.json file - typescript@latest is still buggy
Changed
tsconfig for resolving the tsconfig.json file - typescript@latest is still buggyCorrect the usage of project environment variable
Fixed
Set source-map-support to node for environments that might look like window instead
Changed
source-map-support to node for environments that might look like window insteadEnable usage with absolute path to scripts
Fixed
Generating with inlined source maps, but can lack of sourceRoot means errors are relative
Changed
sourceRoot means errors are relativeCorrect start up when no tsconfig.json is present
Fixed
tsconfig.json is presentCorrect export of version from package.json, fixes erroneous releases with outdated versions
Fixed
package.json, fixes erroneous releases with outdated versionsPipe TypeScript into ts-node to execute
Added
ts-node to executets-nodeChanged
tsconfig module usage - use typescript compiler to read tsconfig.jsonmocha --watch, etc.Bump to latest minor of source-map-support which can register multiple handlers
Changed
source-map-support which can register multiple handlersMove source maps back inline ready for istanbul v1
Changed
Moved source maps to memory and out of being inlined
Changed
Remove the hack used to fix typescript@next compilation
Changed
typescript@next compilationPass through noProject from CLI properly
Fixed
noProject from CLI properlytypescript@next to passAdded
--noProject flag to ignore tsconfig.json
Added
--noProject flag to ignore tsconfig.jsonChanged
rootDir to the current working directoryMove typings install from postinstall into prepublish
Fixed
typings install from postinstall into prepublishReplaced TSD with typings support
Fixed
Changed
typings supportYour coding agent can read these notes before it upgrades. Set up the MCP server →