@rollup/plugin-typescript offers seamless integration between Rollup and TypeScript, streamlining the process of incorporating TypeScript code into your Rollup builds. Version 4.0.0 represents a notable update from the previous stable version, 3.1.1, although the core functionality remains the same. The most significant difference lies in the development dependencies. While both versions share dependencies like @rollup/plugin-buble and @rollup/plugin-commonjs for broader build support, version 4.0.0 lists @rollup/plugin-typescript as a dev dependency with version ^3.0.0, while version 3.1.1 lists @rollup/plugin-typescript with version ^2.0.1.
Both versions share the same peer dependencies on tslib, rollup, and typescript, ensuring compatibility with a wide range of versions. Notably, the required typescript version remains at >=2.1.0, providing flexibility for developers using older TypeScript versions. The unpackedSize of the package also increased from 54120 to 61762. Both plugin versions maintain the MIT license and are authored by Oskar Segersvärd. Developers upgrading should primarily be aware of updated version ranges in devDependencies and any potential, albeit unlikely, breaking changes introduced within the version jumps on those development dependencies. The core plugin functionality and peer dependency expectations remain consistent, suggesting a relatively straightforward upgrade path focused on internal tooling updates.
The are not vulnerabilities for the version 4.0.0 of the package @rollup/plugin-typescript