ts-loader version 8.4.0 represents an incremental upgrade over its predecessor, version 8.3.0, primarily focusing on dependency updates. Both versions maintain the same core functionality: serving as a TypeScript loader for webpack, enabling developers to seamlessly integrate TypeScript code into their webpack-based projects. The consistent dependency list in dependencies (chalk, semver, micromatch, loader-utils, and enhanced-resolve) suggests that the fundamental tooling and core TypeScript transformation process remain largely unchanged.
The most notable difference lies in the updated TypeScript version listed in devDependencies. Version 8.4.0 specifies TypeScript version ^4.6.3, while version 8.3.0 depends on ^4.0.0. This signifies that the development and testing of ts-loader 8.4.0 incorporated the features and functionalities introduced in TypeScript 4.6.3 and potentially earlier versions such as 4.1, 4.2, 4.3, 4.4, 4.5. Developers using ts-loader alongside TypeScript 4.6.3 or later should benefit from tighter integration and potentially improved performance, aligning with the latest TypeScript compiler enhancements. It is worth noting that because of the semantic versioning (^), both versions can run with newer versions of typescript but the newer ts-loader (8.4.0) was build with a more recent version of typescript.
For developers considering upgrading, the peer dependencies of webpack and typescript remain unchanged. This means that existing webpack configurations should generally remain compatible. The upgrade to 8.4.0 is most valuable for developers targeting recent Typescript features that were not supported in older versions.
The are not vulnerabilities for the version 8.4.0 of the package ts-loader