Cssnano 7.0.6 represents a recent update to this popular modular minifier for CSS, built upon the PostCSS ecosystem. Comparing it to the previous stable version, 7.0.5, reveals a few key changes that developers should be aware of.
First, the most noticeable difference lies in the updated dependencies. Cssnano 7.0.6 now relies on cssnano-preset-default version 7.0.6, updated from 7.0.5. In the devDependencies, postcss version has been bumped from 8.4.40 to 8.4.45, while cssnano-preset-lite remains outdated at version 4.0.3, compared to 4.0.2 in 7.0.5, and cssnano-preset-advanced has been upgraded from 7.0.5 to 7.0.6.
These dependency updates likely include bug fixes, performance improvements, and potentially new features within those respective packages. Furthermore, a newer release of PostCSS is brought in.
Developers using cssnano should particularly note is the peer dependency on PostCSS (^8.4.31), which remains consistent between both versions. This signifies the minimum compatible version of PostCSS required for cssnano to function correctly.
Finally, the releaseDate indicates that version 7.0.6 was published on September 4th, 2024, offering developers a more recent snapshot of the library and it’s minification capabilities. Both versions maintain the same file count and unpacked size, and remain under the MIT license with funding available via Open Collective.
The are not vulnerabilities for the version 7.0.6 of the package cssnano