Cssnano is a modular minifier for CSS, built upon the PostCSS ecosystem, streamlining CSS optimization within modern web development workflows. Version 6.0.3 represents the latest stable release, succeeding version 6.0.2. Both versions share a common goal: efficient CSS minification achieved through a collection of focused PostCSS plugins. Key dependencies like lilconfig for configuration management remain consistent, along with cssnano-preset-default, which contains the standard minification ruleset. Developers using cssnano will see similar core functionality in both versions.
However, examining the dependencies reveals subtle yet important differences. The update to version 6.0.3 includes an upgrade of the cssnano-preset-default dependency to version 6.0.3. And cssnano-preset-advanced has been upgraded from version 6.0.2 to 6.0.3 which suggests improvements or fixes within the default and advanced minification presets. While autoprefixer remains compatible, it's worth noting that autoprefixer stays at version 10.4.12 on 6.0.2 and upgrades to 10.4.16 on the newer version. The newer version was published almost a month later. Developers should prioritize using the latest version (6.0.3) to benefit from the latest optimizations, bug fixes, and potential performance enhancements incorporated into the default & advanced presets and the automatic addition of vendor prefixes.
The are not vulnerabilities for the version 6.0.3 of the package cssnano