Rollup-plugin-ts, a TypeScript Rollup plugin designed for seamless bundling of declarations and respecting Browserslist configurations, released version 2.0.4 shortly after 2.0.3. Both versions maintain the core functionalities of integrating with transpilers like Babel and SWC, ensuring compatibility with a broad range of JavaScript environments. The dependency structure remains largely consistent, relying on packages like chalk, tslib, crosspath, and browserslist for essential operations. Similarly, the devDependencies for development and testing, continue to include tools like rollup, typescript, @swc/core, eslint, and prettier, guaranteeing a robust and maintainable codebase. Peer dependencies remain identical, requiring specific versions of rollup, @swc/core, typescript, @babel/core, and related Babel plugins, offering flexibility for developers integrating with existing projects.
The key change between the releases appears to be minor, with potentially bug fixes and small improvements. The unpacked size changed from 2728773 in v2.0.3 to 2729247 in v2.0.4, which, with a difference of less than 500 bytes of a total of nearly 3MB it's a negligible value, so not relevant. So, the most important change to consider is the release date, indicating a quick follow-up release. This fast turnaround time might indicate a critical fix or addressing a recently discovered issue, which may bring more stability. Developers should prioritize upgrading to v2.0.4 for latest improvements and bugixes if they experienced something strange with the previous version.
The are not vulnerabilities for the version 2.0.4 of the package rollup-plugin-ts