PostCSS Modules Values provides a way to share values between CSS Modules files, enhancing maintainability and reusability of styles. Version 4.0.0 introduces notable updates compared to version 3.0.0. One significant change is the peer dependency. Version 4.0.0 mandates PostCSS version ^8.1.0, while 3.0.0 declared PostCSS as a direct dependency at version ^7.0.6. This shift indicates a move towards greater compatibility with recent PostCSS releases.
Another key update lies in internal dependencies. icss-utils upgrades from ^4.0.0 to ^5.0.0, likely bringing improvements and bug fixes from that package. The developer experience also sees enhancements through updated tooling. Version 4.0.0 bumps development dependencies to newer major versions, like eslint, prettier and jest. The addition of husky and lint-staged facilitates Git hooks for code quality. The file count goes from 4 to 5 and the unpacked size goes from 7053 to 9657 bytes, which may indicate feature enhancements or refactoring causing a bigger footprint. Developers should consider these changes when upgrading, especially the peer dependency on PostCSS. Version 4.0.0 offers a more modern development environment alongside compatibility with recent PostCSS versions.
The are not vulnerabilities for the version 4.0.0 of the package postcss-modules-values