Releases: TypeStrong/ts-node
Releases · TypeStrong/ts-node
REPL Update
Fixed
- Update the REPL using more TypeScript tricks to work with modules and ASI
Keep TSError Stack
Fixed
- Do not delete the error stack - some people use that, duh!
V8 flags
Changed
- Use
v8flags
to detect node v8 options
Fixed
- Correct argv parsing into node opts and script opts
Ignore TypeScript Empty Config File Errors
Changed
- Ignore new TypeScript empty config file errors (TypeScript 2.1.0)
Ignore flag
Fixed
- Fix the default
--ignore
option 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
Compile Files With No Extension
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 (sort of) by continuing to compile files without any extension.
Forward Unknown Extensions to `.js` handler
Changed
- Try and avoid errors like #223 being logged
Recoverable Errors
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)
Support `--inspect`
Added
- Support the
--inspect
flag passed through
Fixed
- Properly handle
jsx === 'preserve'
option
JSX Preserve Source Maps
Fixed
- Support output using
jsx: preserve