Ts-node version 1.0.0 introduces notable changes compared to version 0.9.3, impacting developers using TypeScript in Node.js environments. Both versions share the same core functionality: providing a seamless TypeScript execution environment and REPL for Node. However, a key difference lies in their dependencies. Version 1.0.0 incorporates mkdirp which creates directory (folders) if they don't exist whereas version 0.9.3 uses a tsconfig dependency, which is related to handling TypeScript configuration files. This shift might reflect changes in how ts-node manages project structure during execution. Both versions maintain essential dependencies like 'diff' for code comparison, 'chalk' for terminal styling, and 'source-map-support' for debugging, ensuring a consistent development experience. They also both use the same development tools such as 'chai', 'mocha', 'tslint', and 'typescript'.
Developers upgrading from 0.9.3 to 1.0.0 will primarily notice the difference in dependency management. The removal of tsconfig and inclusion of mkdirp might indicate a change in recommended project setup or internal handling of TypeScript configurations. Version 1.0.0 was released around a month later than its predecessor, including the bug fixes and potentially feature enhancements that might have happened during that time. Both versions boast the same MIT license and maintain the same repository, author, and core development dependencies, signaling a stable and actively maintained project.
All the vulnerabilities related to the version 1.0.0 of the package
Regular Expression Denial of Service (ReDoS)
A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.