Rollup Plugin TS version 1.2.8 brings several updates compared to version 1.2.0, enhancing the developer experience and build process for TypeScript projects using Rollup. A notable change is the updated dependency versions, particularly within the Babel ecosystem. Version 1.2.8 upgrades @babel/core, @babel/runtime, @babel/preset-env, @babel/plugin-transform-runtime, and various Babel plugins related to experimental JavaScript features, ensuring compatibility with the latest language features and offering improved performance.
Furthermore, core peer dependencies have been bumped to the newer version to ensure compatibility. The update also involves a shift in internal dependencies. Notably, version 1.2.0 relied on mkdirp, find-up, resolve, rollup-pluginutils and merge-source-map, which are no longer directly listed in 1.2.8's dependencies. Instead, version 1.2.8 uses @rollup/pluginutils. These changes could indicate a refactoring of how the plugin handles file system operations and Rollup utilities. The upgrade of @wessberg/ts-clone-node from version 0.1.3 to 0.3.1 might suggest improvements in TypeScript node cloning, potentially leading to more accurate and efficient code transformation.
For developers, these updates translate to better support for modern JavaScript syntax, potentially faster build times thanks to optimized dependencies, and improved reliability when working with complex TypeScript projects. Always ensure your project is compatible with the peer dependency requirements of Rollup and Typescript.
The are not vulnerabilities for the version 1.2.8 of the package rollup-plugin-ts