Ts-jest version 23.1.0 introduces updated dependencies and peer dependencies, impacting developers using Jest with TypeScript. Notably, it now depends on closest-file-data, a new dependency not present in version 23.0.1, while the dependencies section of the previous version had babel-plugin-istanbul. The newer version also bumps some existing dependency versions, such as lodash and fs-extra, potentially bringing performance improvements or bug fixes.
In the devDependencies, version 23.1.0 upgrades several crucial packages like jest, tslint, @types/jest, @types/node, @babel/core, babel-jest, typescript and @types/react. This signifies an effort to stay current with the latest testing and TypeScript tooling. The update of @babel/preset-env is also important for developers using modern JavaScript features. The @types/babel-core is specified with a specific version in 23.1.0 rather than latest from 23.0.1.
Peer dependencies are critical for compatibility, and version 23.1.0 now explicitly supports TypeScript version 3.x, broadening compatibility for users on newer TypeScript versions. Furthermore, this version specifies Babel 7 dependencies with a version range which is important because it is a breaking change from major version 6. Developers should carefully review these peer dependency changes to ensure compatibility with their existing project setup before upgrading. The updated fileCount and unpackedSize in the dist section may suggest changes in the package’s internal structure and potentially impact installation or runtime performance. The release date indicates more recent fixes and features.
The are not vulnerabilities for the version 23.1.0 of the package ts-jest