Cssnano, a modular PostCSS-based minifier, offers developers a powerful tool to optimize CSS for production. The latest version, 5.1.4, follows closely behind version 5.1.3, with both built upon the PostCSS ecosystem to reduce CSS file sizes. Key dependencies like yaml and lilconfig remain consistent, ensuring stable configuration management. The postcss peer dependency also stays at ^8.2.15, removing compatibility concerns around PostCSS updates.
One notable change lies within the cssnano-preset-default dependency, where version 5.1.4 shifts to a caret ^* allowing any future version of the preset, whiles version 5.1.3 strictly uses ^5.2.3. This might introduce unforeseen compatibility issues with future changes to the default preset.
Developers should also be aware of subtle differences in development dependencies. cssnano-preset-advanced has moved from version 5.2.4 in 5.1.3 to 5.2.5 in 5.1.4. While seemingly minor, these updates could include bug fixes or minor feature enhancements that impact advanced minification processes. Developers using the "advanced" preset should be mindful of this point upgrade.
While both versions share a similar file count, the unpacked size varies slightly, suggesting minor adjustments in code or assets which might affect memory usage or performance. Overall, considering the dependency updates, developers should carefully inspect changes within cssnano-preset-advanced and assess the potential compatibility ramifications of the wider future support for the cssnano-preset-default when choosing between version 5.1.3 and version 5.1.4.
The are not vulnerabilities for the version 5.1.4 of the package cssnano