Rollup Plugin Cleanup is a valuable tool for developers using Rollup, designed to automatically format and standardize code during the bundling process. It primarily focuses on maintaining code hygiene by trimming trailing whitespace, compacting empty lines, and ensuring consistent line endings across different operating systems. Examining versions 3.2.0 and 3.2.1 highlights a very incremental update, suggesting a focus on bug fixes or minor improvements rather than substantial new features.
Both versions share identical dependencies, including js-cleanup for the core cleanup functionalities and rollup-pluginutils for seamless integration with Rollup. Similarly, the developer dependencies – encompassing testing frameworks like Mocha, linting tools like ESLint, and other build-related utilities – are consistent, indicating a stable development environment. The peer dependency on Rollup remains at ">=2.0", ensuring compatibility with a wide range of Rollup versions.
The key difference lies in the dist object, where version 3.2.1 has a slightly larger unpacked size, 36682 bytes compared to 36678 bytes in the previous version. This marginal size increase, coupled with the very close release dates (less than 10 minutes apart), suggests a hotfix or a very minor adjustment to the code. While the exact nature of this fix is not immediately apparent from the metadata, developers should consider upgrading to version 3.2.1 to benefit from any potential stability improvements or minor bug resolutions and it would likely be a non breaking change and a safe update.
The are not vulnerabilities for the version 3.2.1 of the package rollup-plugin-cleanup