Cssnano, a modular CSS minifier built upon the PostCSS ecosystem, recently released version 7.0.3, succeeding version 7.0.2. Both versions share the same core functionality and project metadata, aiming to optimize CSS stylesheets for production environments. Developers will find cssnano valuable for reducing file sizes and improving website performance.
Key differences between the versions lie in updated dependency versions. Version 7.0.3 upgrades lilconfig from ^3.1.1 to ^3.1.2 and cssnano-preset-default from ^7.0.2 to ^7.0.3. The preset-default package is a crucial dependency, offering a sensible configuration for common CSS minification tasks. While the postcss, autoprefixer, and cssnano-preset-advanced devDependencies remain consistent, cssnano-preset-lite moves from ^4.0.0 to ^4.0.1. The peer dependency postcss still requires version ^8.4.31.
These dependency updates suggest bug fixes, performance improvements, or new features within those respective packages and ensures better compatibility. Developers upgrading should review the changelogs of lilconfig, cssnano-preset-default and cssnano-preset-lite for detailed information on the specific changes impacting their CSS minification process. Version 7.0.3 was released on June 19, 2024, offering a more recent set of dependency resolutions compared to 7.0.2, released on June 5, 2024.
The are not vulnerabilities for the version 7.0.3 of the package cssnano