CSSnano version 5.1.2 is a minor release over 5.1.1 of this popular PostCSS-based CSS minifier, primarily affecting its internal dependencies. Developers upgrading to 5.1.2 will find that the core functionality remains consistent. The key change lies in the updated cssnano-preset-default dependency, moving from version 5.2.1 to 5.2.2. This preset encapsulates the default set of optimizations applied by cssnano. While the specific changes within cssnano-preset-default@5.2.2 aren't detailed here, developers should check its release notes for a comprehensive understanding of any new features, bug fixes, or performance improvements within the default minification process.
Other dependencies show only slight version changes. Given the peer dependency of PostCSS remaining at version ^8.2.15, current projects using recent PostCSS versions should experience relatively seamless compatibility. The file count and unpacked size remain the same, indicating no significant changes to the overall size of the package. The update was released on March 10th, 2022, two days after the previous version.
For developers, this incremental update suggests a focus on refining the default minification rules and improvements instead of introducing new functionalities or new features. Before upgrading, it's worth taking a look at the cssnano-preset-default changes since that's the only functional difference.
The are not vulnerabilities for the version 5.1.2 of the package cssnano