Cssnano version 5.0.13 introduces several notable changes compared to its predecessor, version 5.0.12, offering developers enhanced CSS minification capabilities. The core functionality remains consistent – a modular PostCSS-based CSS minifier designed to optimize stylesheets for production. However, key differences lie in the updated dependencies and added development utilities.
A crucial update is the upgrade of cssnano-preset-default from version 5.1.8 to 5.1.9 within the dependencies. This preset dictates the default minification rules applied by cssnano, indicating potential improvements and bug fixes in the standard minification process.
Furthermore, version 5.0.13 incorporates cssnano-preset-lite (version 2.0.1) and cssnano-preset-advanced (version 5.1.9) as development dependencies. While these presets existed previously, their explicit definition here suggests that developers now have easier access to these alternative minification strategies during development or testing. The lite preset offers a faster, less aggressive minification, while advanced employs more complex techniques for maximum compression.
The difference in unpacked size from 7956 to 8042 demonstrates underlying code changes or additions, reflecting the introduced refinements. The later release date shows that version 5.0.13 introduces not only bug fixes but feature enhancements. Developers should upgrade to version 5.0.13 for potentially improved default minification, and easier use of different optimization strategies during development with the different presets.
The are not vulnerabilities for the version 5.0.13 of the package cssnano