Autoprefixer version 10.4.18 represents an incremental update over its predecessor, 10.4.17, offering developers the latest refinements in CSS prefixing. Both versions share the core functionality of parsing CSS and automatically adding vendor prefixes to ensure cross-browser compatibility based on data from the "Can I Use" website. Key dependencies like picocolors, fraction.js, normalize-range, and postcss-value-parser remain consistent, indicating stability in core parsing and color handling.
The notable differences reside primarily in dependency updates. Version 10.4.18 upgrades browserslist from version 4.22.2 to 4.23.0 and caniuse-lite from 1.0.30001578 to 1.0.30001591. These updates are crucial, as browserslist dictates the target browsers for prefixing, ensuring prefixes are applied only where necessary, reducing CSS bloat and unnecessary code. The caniuse-lite update ensures Autoprefixer uses the most current browser compatibility data. This leads to more accurate prefixing decisions, targeting only the browsers where prefixes are indeed required for specific CSS features. This means better compatibility with modern browsers and more efficient CSS code.
The release date disparity, with version 10.4.18 released in March 2024 compared to January 2024 for 10.4.17, reflects the ongoing effort to keep Autoprefixer aligned with the ever-evolving browser landscape. Further, version 10.4.18 has a slightly larger unpacked size, 199401 bytes versus 199134, likely due to the updated data in caniuse-lite. Developers should update to version 10.4.18 to benefit from these enhanced prefixing rules and improved browser support detection, leading to more robust and future-proof CSS.
The are not vulnerabilities for the version 10.4.18 of the package autoprefixer