PostCSS 8.2.15 is a minor update to the popular PostCSS tool, designed for transforming styles with JavaScript plugins. Comparing it to the previous stable version, 8.2.14, the core functionality remains the same, focusing on providing a robust and extensible platform for CSS processing. Both versions are licensed under MIT and maintain the same author and funding details, ensuring continued community support and open-source accessibility.
The key difference lies in the update of a single dependency: nanoid. Version 8.2.15 upgrades from nanoid version 3.1.22 to 3.1.23. While seemingly small, this dependency update could incorporate bug fixes, performance improvements, or security patches within the nanoid library. Developers directly using nanoid indirectly through PostCSS might benefit from these refinements which are responsible for generating unique IDs, potentially impacting areas like plugin development or CSS Modules integration.
Other notable aspects, like colorette and source-map dependencies, remain consistent between the two versions, implying no significant changes in color handling or source map generation capabilities. Although both versions have 49 files, version 8.2.15 has a slightly bigger unpacked size of 181733 compared to version 8.2.14 with size 181321, which can reflect some code changes introduced by the update of nanoid. For developers deciding whether to update, consider the potential benefits of the nanoid update balanced against any compatibility concerns with their existing PostCSS plugin ecosystem, because this version was released 5 days later.
All the vulnerabilities related to the version 8.2.15 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.