UglifyJS Webpack Plugin, a crucial tool for minimizing JavaScript code within webpack builds, saw a notable update from version 0.4.3 to 0.4.4. Both versions share a MIT license and aim to integrate UglifyJS, a popular JavaScript parser, minifier, compressor and beautifier toolkit, seamlessly into webpack workflows. Developers using older webpack versions (1.9 or 2 including release candidates) can leverage this plugin for optimized production builds.
The primary difference lies in the webpack-sources dependency. Version 0.4.4 requires "^1.0.1", while the previous version used "^0.2.3". This upgrade in webpack-sources, a library for manipulating webpack's module sources, signals internal improvements and potentially better compatibility or performance. Developers migrating from 0.4.3 should review the webpack-sources changelog for breaking changes that might affect their build process, although the plugin upgrade is mostly seamless.
Both versions list several development dependencies, including Babel for transpiling modern JavaScript, ESLint for code linting, and Jest for testing, ensuring the plugin's maintainability and code quality. Peer dependencies on uglify-js and webpack remain consistent, indicating no changes in the core supported versions of these underlying tools. The update seems to focus on improving internal workings by upgrading webpack-sources and potentially addressing bugs or performance tweaks rather than introducing new features for developers using the plugin.
The are not vulnerabilities for the version 0.4.4 of the package uglifyjs-webpack-plugin