PostCSS 8.4.9 is a minor version update to the popular JavaScript tool for transforming CSS with plugins. Comparing it to its predecessor, version 8.4.8, revealed some subtle differences, indicating a focus on incremental improvements behind the scenes. Both versions share the same core dependencies, including nanoid, picocolors, and source-map-js, signifying stability in the underlying architecture. The fundamental description remains consistent: a tool designed for style transformations powered by JavaScript plugins. Developers will find that the exposed API and core functionality are likely unchanged.
However, a crucial difference emerges when inspecting the dist section. While both versions maintain the same file count, the unpackedSize of version 8.4.9 is slightly larger at 186438 bytes, compared to 186320 bytes in version 8.4.8. This increase, although small, hints at potential bug fixes, performance enhancements, or minor feature tweaks incorporated into the newer iteration. Also, version 8.4.9 added proper type to funding links.
The release dates further contextualize these changes; version 8.4.9 was released on March 15, 2022, about a week after version 8.4.8. For developers already using PostCSS, upgrading to 8.4.9 is likely a low-risk endeavor, potentially yielding subtle improvements. To be absolutely sure about all the changes, developers should consult the changelog to see the specific updates.
All the vulnerabilities related to the version 8.4.9 of the package
PostCSS line return parsing error
An issue was discovered in PostCSS before 8.4.31. It affects linters using PostCSS to parse external Cascading Style Sheets (CSS). There may be \r
discrepancies, as demonstrated by @font-face{ font:(\r/*);}
in a rule.
This vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being originally included in a comment.