Mini CSS Extract Plugin is a Webpack plugin that extracts CSS into separate files, creating a .css file per JS file containing CSS. This is beneficial for performance, as it allows browsers to cache CSS files separately. Version 2.7.0 and 2.6.1 both serve this core function, but several dependency updates mark improvements and potentially bug fixes relevant to developers.
In version 2.7.0, key development dependencies have been updated including: @babel/core to ^7.19.6, @babel/preset-env to ^7.19.4, @babel/cli to ^7.19.3, @babel/eslint-parser to ^7.19.1 and typescript to ^4.9.3. These updates integrate newer features and optimisations from the Babel ecosystem, benefitting projects that heavily transpile JavaScript. Webpack has also been updated to 5.74.0 from 5.70.0. Jest has been updated to ^28.1.3 from ^28.1.1. ESLint was updated to ^8.26.0 from ^8.10.0. @commitlint/cli and @commitlint/config-conventional also received updates.
While the public API of the plugin might not drastically change between these versions, these upgrades usually bring indirect improvements like better compatibility with recent tooling, enhanced security, and performance tweaks inherited from the updated dependencies. Developers might consider upgrading to 2.7.0 for a more modern development environment and to benefit from the latest patches in underlying build tools. Carefully review your project's dependencies and test after upgrading.
The are not vulnerabilities for the version 2.7.0 of the package mini-css-extract-plugin