Tailwind CSS released version 1.5.1 shortly after version 1.5.0, both minor releases in the 1.x series of this utility-first CSS framework. Examining the package data reveals subtle differences between these versions, vital for developers to consider. While both versions share identical dependencies like postcss, lodash, autoprefixer, and development dependencies such as jest, eslint, @babel/core, these core dependencies ensures features and functionalities remains mostly unnafected between versions.
The most noticeable difference lies in the dist section. The unpackedSize of version 1.5.1 is slightly larger at 6323464 bytes compared to 6323234 bytes in version 1.5.0, a delta of 230 bytes, which suggest that minor bug fixes or very small updates may have been the changes implemented between the two versions. Both versions contain 168 files. Crucially, the releases are only a few hours appart (less than 3 hours). This suggests that 1.5.1 is a patch release addressing an immediate issue discovered post-1.5.0 release.
For developers, upgrading from 1.5.0 to 1.5.1 is advisable, especially if experiencing any unexpected behavior. This difference in size, coupled with the short release window, implies a quick bug fix, ensuring a smoother development experience with the utility-first CSS approach that Tailwind CSS champions.
All the vulnerabilities related to the version 1.5.1 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.