HtmlWebpackPlugin is a popular webpack plugin that simplifies the creation of HTML files to serve webpack bundles. Comparing versions 4.0.4 and 4.0.3 reveals subtle changes that, while not groundbreaking, contribute to the overall stability and refinement of the plugin. Both versions share the same core dependencies, including lodash, tapable, loader-utils, pretty-error, @types/tapable, @types/webpack, util.promisify, html-minifier-terser, and @types/html-minifier-terser. They also utilize the same suite of devDependencies for testing, linting, and building such as jest, webpack, typescript, and standard-version suggesting a consistent development workflow.
The peer dependency on webpack remains at ^4.0.0 for both versions, indicating compatibility with webpack 4. The key difference lies in the dist object, where the unpackedSize differs: 125838 for 4.0.4 and 124060 for 4.0.3. This suggests that version 4.0.4 introduces some additional code or assets, possibly bug fixes, optimizations, or minor feature enhancements that did not warrant a major or minor version bump. The release date is also a key factor, version 4.0.4 was released on 2020-04-01, while version 4.0.3 was released on 2020-03-28, that is 4 days after, so it could contain some bug fixes. For developers, this means that upgrading from 4.0.3 to 4.0.4 is likely a safe and recommended update, potentially resolving minor issues and benefiting from the latest improvements without introducing breaking changes.
The are not vulnerabilities for the version 4.0.4 of the package html-webpack-plugin