Mini-css-extract-plugin is a valuable tool for web developers using webpack. It extracts CSS into separate files, optimizing website loading and performance. Comparing versions 2.4.3 and 2.4.2 reveals subtle but potentially impactful differences for developers. Both versions share the same core functionality, description, dependencies like schema-utils, and most devDependencies for testing and linting (e.g., Jest, Sass, ESLint). They both peer depend on webpack v5, so a compatible version is required to use both plugins.
The primary difference lies in the updated version of webpack, which changed between versions. Version 2.4.3 bumps the devDependency on webpack from 5.57.0 to 5.58.1. Another subtle difference is in jsdom which goes from version 17.0.0 to 18.0.0.
Beyond these dependency shifts, mini-css-extract-plugin@2.4.3 includes internal improvements and resolves minor bugs found, which is reflected by a later release date (2021-10-21) compared to 2.4.2 (2021-10-07) and slight changes in the unpacked size of the packages from ~90.4KB to ~90.7KB. Developers looking for the most stable and up-to-date experience should opt for version 2.4.3, as it benefits from these refinements and dependency upgrades. Always consult the plugin's changelog or repository for detailed release notes.
The are not vulnerabilities for the version 2.4.3 of the package mini-css-extract-plugin