Cssnano, a modular CSS minifier built upon the PostCSS ecosystem, has released a new version, 5.1.11, succeeding the previous stable release, 5.1.10. Both versions share the same core purpose of optimizing CSS files for production, but subtle differences exist that may impact developers.
The key updates lie within the dependency and devDependency sections. Version 5.1.11 includes an updated version of cssnano-preset-default, specifically version 5.2.11, whereas version 5.1.10 used 5.2.10. Also, cssnano-preset-advanced moves from version 5.3.6 to 5.3.7. These presets bundle various CSS optimization plugins, and their updates often contain bug fixes and new features, improving the overall minification process. Developers should consult the changelogs for cssnano-preset-default and cssnano-preset-advanced to understand the specific changes included in these updates.
Both versions maintain the same peer dependency on PostCSS (version ^8.2.15), so no immediate action is required regarding PostCSS upgrades. Likewise, dependencies like yaml and lilconfig remain consistent. The small version bump suggests incremental improvements rather than a major overhaul, so the upgrade should be relatively seamless for most users. Developers leveraging cssnano for optimizing their CSS workflows should consider upgrading to version 5.1.11 to benefit from the latest enhancements and bug fixes delivered within the updated cssnano presets, ensuring optimal CSS performance in their web applications.
The are not vulnerabilities for the version 5.1.11 of the package cssnano