@rollup/plugin-typescript offers seamless integration between Rollup and TypeScript, streamlining the process of incorporating TypeScript code into your Rollup-based projects. Version 9.0.2 arrived shortly after 9.0.1, offering subtle but potentially impactful changes for developers.
A key difference lies in the dependency updates. While both versions share peer dependencies of tslib, rollup, and typescript, and share a dependency on resolve, they deviate in specific versions of development and standard dependencies. Specifically, version 9.0.2 upgrades @rollup/pluginutils from 4.2.1 to 5.0.1 and @rollup/plugin-commonjs from 22.0.2 to 23.0.0, along with rollup itself being bumped from version 2.67.3 to 3.2.3. These updates likely incorporate bug fixes, performance improvements, or new features from the respective dependencies that may affect the Typescript compilation or processing.
Developers should particularly note the updated @rollup/pluginutils version, as this plugin provides utility functions heavily used within Rollup plugins. The @rollup/plugin-commonjs also has been updated, which helps Rollup understand and bundle CommonJS modules within the Typescript compiled package. Rollup 3.2.3 may also introduce new features or breaking changes that will affect functionality. Depending on the complexity of your project, you may want to test the upgrade to version 9.0.2 thoroughly to ensure compatibility. The packed size of the package also slightly decreased from 92170 to 91547 . Finally, always consult the individual changelogs of each upgraded dependency.
The are not vulnerabilities for the version 9.0.2 of the package @rollup/plugin-typescript