Cssnano version 7.0.0 represents an update to the popular CSS minification tool, building upon the PostCSS ecosystem. Comparing it to the previous stable version, 6.1.2, several changes become apparent for developers considering an upgrade. While both versions share core dependencies like lilconfig and postcss as peer dependencies, significant differences exist in the included presets and their versions. Version 7.0.0 features cssnano-preset-default version 7.0.0 and cssnano-preset-advanced version 7.0.0, while version 6.1.2 uses respective older versions: 6.1.2 for the 'default' and 6.1.2 for the 'advanced' preset. This indicates potential updates to default minification rules and enhancements in advanced optimization techniques. Critically, the "lite" preset is upgraded from version 3.1.0 to version 4.0.0, perhaps reflecting changes in the lighter weight minification approach. This is important because many websites use the minified, lightweight version. The updated version was released almost exactly a month after the previous version. The unpacked size increased marginally from 7323 to 7328 potentially caused by new features of bugfixes in the new version. Developers should carefully review the changelogs for both cssnano-preset-default and 'cssnano-preset-lite' because the version upgrades may introduce breaking changes regarding CSS syntax compatibility or minification behavior. Upgrading offers access to the latest optimizations and bug fixes, potentially leading to improved minification, smaller CSS files, and faster page load times.
The are not vulnerabilities for the version 7.0.0 of the package cssnano