Html-loader versions 5.1.0 and 5.0.0, both MIT-licensed webpack loaders designed to import HTML as JavaScript strings, share core functionality but present some notable differences. The dependencies in both versions include parse5 and html-minifier-terser, essential for parsing and minifying HTML respectively. However, version 5.1.0 introduces some newer devDependencies, it uses more recent versions of tools important for development like eslint, prettier and babel.
A key area of focus for developers is the consistent peer dependency on webpack version 5 or higher, ensuring compatibility with modern webpack setups. The update to 5.1.0 brings improvements in the development environment. The addition of packages like @commitlint/cli, @commitlint/config-conventional, @webpack-contrib/eslint-config-webpack, and updated versions of related tools ensures better code quality, more standardized commits, and clearer contribution guidelines. These changes streamline the development workflow for contributors, which in turn may lead to a more stable and feature-rich loader in the future. Additionally, the file count increased slightly alongside a growth in unpacked size, this indicates that 5.1.0 includes some changes or additions beyond just dependency upgrades. The newer release date also signals ongoing maintenance and potential bug fixes.
The are not vulnerabilities for the version 5.1.0 of the package html-loader