Cssnano version 5.0.3 is a patch release following 5.0.2, offering subtle but important updates for developers utilizing this modular CSS minifier built on the PostCSS ecosystem. This release, dated May 19, 2021, builds upon the foundation of 5.0.2, which was released a few weeks prior on April 28, 2021.
A primary difference lies in the updated dependency on cssnano-preset-default, moving from version 5.0.1 to 5.1.0. This suggests that the newer version incorporates refinements and potentially bug fixes within the default CSSnano preset, influencing default minification behaviors. Furthermore, cssnano-preset-default includes many plugins that perform most of the CSS optimizations that cssnano does.
The peer dependency and dev dependency on postcss are also updated, bumping from version 8.2.1 to 8.2.15. This indicates a closer alignment with the latest PostCSS updates, which may offer improved compatibility and potential access to new PostCSS features within the cssnano workflow. Importantly, the unpacked size of version 5.0.3 has increased slightly to 34270 bytes compared to 33928 in the 5.0.2 release, likely due to the changes from the updated dependencies.
Developers should consider upgrading to 5.0.3 to benefit from refined default presets and updated PostCSS compatibility, ensuring they leverage the most current and efficient CSS minification capabilities. Examining the changes within cssnano-preset-default 5.1.0 will provide a detailed understanding of the specific enhancements included in this patch version.
The are not vulnerabilities for the version 5.0.3 of the package cssnano