PostCSS Calc version 8.2.0 introduces several notable changes compared to its predecessor, version 8.1.0, impacting developers utilizing this PostCSS plugin to reduce calc() expressions in their CSS. The most significant shift lies in the testing framework. Version 8.2.0 replaces ava with uvu for running tests, alongside the inclusion of typescript and @babel/register as development dependencies. This signals a potential move towards embracing TypeScript for development or enhancing the testing pipeline with more modern tooling.
Although both versions share core dependencies like postcss-value-parser and postcss-selector-parser and maintain peer dependency on postcss (version 8.2.2 or higher), the change in testing infrastructure can influence contributions and internal development workflow. Furthermore, uvu is known for its speed and simplicity compared to ava.
Also, the package size increased slightly from 149482 to 155086 while the file count went from 9 to 14, what implies new files have been added to the package.
For developers considering upgrading, the update should be seamless if they are not contributing to PostCSS Calc or rely on its internal test suite. However, internal contributors might need to adapt to the new testing methodology based on uvu and typescript. The core functionality of PostCSS Calc, aimed at simplifying CSS calc() functions, remains consistent between both versions. Therefore, the update appears to be primarily focused on improving maintainability and development practices rather than introducing breaking API changes for end users.
The are not vulnerabilities for the version 8.2.0 of the package postcss-calc