Cssnano, a modular PostCSS-based minifier, has released version 6.0.1, a minor update following the 6.0.0 release. Both versions share a common goal: to optimize and reduce the size of your CSS stylesheets. The core functionality remains consistent, as indicated by the identical descriptions and overall structure. Developers familiar with cssnano 6.0.0 will find 6.0.1 immediately familiar.
The key difference lies in the updated dependency on cssnano-preset-default. Version 6.0.1 now depends on cssnano-preset-default@^6.0.1, while 6.0.0 used cssnano-preset-default@^6.0.0. This likely includes bug fixes or minor enhancements within the default preset configuration. Similarly, cssnano-preset-advanced also sees a version bump from 6.0.0 to 6.0.1, implying improvements to the advanced minification preset.
Other dependencies and devDependencies such as lilconfig, postcss, autoprefixer, and cssnano-preset-lite remain unchanged. This indicates that the update is focused on refinements within the cssnano presets rather than larger architectural changes or support for newer PostCSS/Autoprefixer features. Developers should review the changelog for cssnano-preset-default and cssnano-preset-advanced to understand the specific improvements included in these point releases. Migrating from 6.0.0 to 6.0.1 should be seamless, offering potentially refined minification rules through the updated presets.
The are not vulnerabilities for the version 6.0.1 of the package cssnano