Cssnano, a popular modular CSS minifier built on the PostCSS ecosystem, released version 5.0.6 following its previous stable version 5.0.5. Both versions share the same core functionality of minimizing CSS code for improved performance and resource optimization. They also have a shared foundation, depending on packages like cosmiconfig and is-resolvable for configuration and module resolution. Developers utilizing PostCSS and Autoprefixer will find cssnano integrates seamlessly, as evidenced by their inclusion as development dependencies and PostCSS specified as a peer dependency. The library is licensed under MIT, encouraging open-source contribution and usage, and is actively supported through an Open Collective funding initiative.
The key difference between the two versions lies in the cssnano-preset-default dependency, which has been updated from version 5.1.2 in 5.0.5 to version 5.1.3 in 5.0.6. This update likely includes bug fixes, performance improvements, or new features within the default preset configuration, impacting the specific minification rules applied. Developers should investigate the changes within cssnano-preset-default 5.1.3 to understand the precise impact on their CSS output. There is also a slight change in unpackedSize, from 7671 bytes in 5.0.5 to 7667 bytes in 5.0.6. and a difference in release dates, with version 5.0.6 released roughly two weeks after 5.0.5.
The are not vulnerabilities for the version 5.0.6 of the package cssnano