@rollup/plugin-terser is a vital tool for developers using Rollup to generate minified bundles, optimizing code for production deployment. Comparing versions 0.4.3 and 0.4.4 reveals key updates impacting integration and compatibility. Both leverage dependencies like serialize-javascript, smob, and terser for efficient minification.
The primary difference lies in their peer dependencies and development dependencies concerning Rollup. Version 0.4.3 declares a peer dependency of rollup: ^2.x || ^3.x, indicating compatibility with Rollup versions 2 and 3, while its development dependency is rollup: ^3.0.0-7. Version 0.4.4 broadens compatibility by supporting Rollup versions 2, 3, and 4, as reflected in its peer dependency: rollup: ^2.0.0||^3.0.0||^4.0.0, furthermore uses rollup: ^4.0.0-24 as development dependency. This adjustment ensures seamless integration with the latest Rollup ecosystem. The increase in unpackedSize from 28603 to 28702 bytes, although small, potentially signifies minor code adjustments or dependency updates contributing to broader Rollup compatibility. Developers upgrading should prioritize version 0.4.4 for enhanced compatibility, particularly if utilizing Rollup 4 or are considering upgrading. This ensures a smoother build process and avoids potential conflicts arising from mismatched Rollup versions. Both versions are licensed under MIT, and the release dates indicate ongoing maintenance and updates to the plugin.
The are not vulnerabilities for the version 0.4.4 of the package @rollup/plugin-terser