Ts-node version 9.0.0 introduces notable updates over its predecessor, version 8.10.2. Both versions, designed as TypeScript execution environments for Node.js, share core functionalities like source map support and key dependencies, including yn, arg, diff, make-error, and source-map-support. However, examining the devDependencies reveals significant changes relevant for developers.
A key difference lies in the supported TypeScript version. Version 9.0.0 upgrades to typescript@4.0.2 from typescript@3.8.3 in the previous version,enabling developers to leverage the latest TypeScript features and improvements. Additionally, version 9.0.0 includes lodash and @types/lodash, dependencies that support utilities for working with Javascript data structures and can improve development efficiency. Version 9.0.0 also adds the package nyc which is a command-line interface to Istanbul - a Javascript instrumentation library that computes code coverage.
Furthermore, the dist object indicates an increase in the fileCount (from 35 to 40) and unpackedSize (from 303760 to 376683), suggesting potential additions to the package's codebase, perhaps due to the upgraded TypeScript version and new functionalities. Developers upgrading should consider these size changes during deployment and be aware of potential performance implications. Notably, both versions maintain peer dependency on typescript >=2.7, ensuring compatibility as long as a suitable TypeScript version is installed. The release dates confirm that 9.0.0 is a more recent version, incorporating newer features and potentially bug fixes.
The are not vulnerabilities for the version 9.0.0 of the package ts-node