Autoprefixer 10.4.7 represents a subtle but important update over its predecessor, version 10.4.6 focusing on enriching the ecosystem of supported web technologies. Both versions share the core functionality of parsing CSS and automatically adding vendor prefixes, a task crucial for cross-browser compatibility and streamlined web development. They use libraries like picocolors for console styling, fraction.js for number handling, browserslist for browser targeting, normalize-range for value normalization, and postcss-value-parser for CSS value parsing. A key peer dependency remains postcss at version 8.1.0 or higher, essential for integrating Autoprefixer into PostCSS-based workflows.
The most significant difference lies in the updated caniuse-lite dependency. Version 10.4.7 utilizes caniuse-lite version 1.0.30001335, a newer dataset compared to version 10.4.6's 1.0.30001334. This seemingly small change translates to enhanced support for the latest web standards and browser implementations. Developers can expect more accurate and comprehensive prefixing, ensuring their websites remain compatible with a broader range of browsers and leveraging cutting-edge CSS features. The updated caniuse-lite dataset reflects the continuous evolution of the web, and incorporating it into Autoprefixer guarantees that developers are using the most up-to-date information when targeting browser compatibility. The unpacked size also increased slightly, suggesting minor modifications or additions to the core logic or data structures, likely related to the caniuse-lite update.
The are not vulnerabilities for the version 10.4.7 of the package autoprefixer