Autoprefixer versions 10.4.6 and 10.4.5 are minor releases of a crucial tool for web developers, designed to automatically add vendor prefixes to CSS rules, ensuring compatibility across various browsers. Both versions share the same core functionality: parsing CSS and utilizing data from Can I Use to determine which prefixes are necessary. They include dependencies like picocolors, fraction.js, normalize-range, and postcss-value-parser to aid in this process. Notably, they both require postcss as a peer dependency, emphasizing Autoprefixer's role as a PostCSS plugin.
The key differences between these versions primarily lie in their dependency updates and release dates. Version 10.4.6 was published on May 1, 2022, whereas version 10.4.5 came out on April 23, 2022. The crucial update resides in the browserslist and caniuse-lite dependencies. Version 10.4.6 updates browserslist from 4.20.2 to 4.20.3 and caniuse-lite from 1.0.30001332 to 1.0.30001334. These updates are important because browserslist dictates which browsers are targeted, and caniuse-lite is Autoprefixer's source of browser compatibility data. The newer versions will ensure a more accurate application of vendor prefixes based on the most up-to-date browser support information. Furthermore, the unpacked size of version 10.4.6 is slightly larger (196961 bytes) than 10.4.5 (196746 bytes), likely due to updated datasets. For developers, upgrading to 10.4.6 is advisable to benefit from enhanced browser compatibility data and more precise prefixing.
The are not vulnerabilities for the version 10.4.6 of the package autoprefixer