Webpack version 0.4.15 is a minor release following 0.4.14, both focusing on packing CommonJs modules for browser use. These versions empower developers to efficiently split their codebase into smaller, on-demand loaded bundles, optimizing initial load times and overall application performance. A key feature is the extensive loader support, covering common file types like JavaScript, JSON, Jade (now Pug), CoffeeScript, and CSS, offering immediate compatibility with diverse project setups. Developers can easily extend this functionality using custom loaders to handle specialized file formats or pre-processing steps specific to their workflow.
Examining the package data, the core functionalities and declared dependencies remain consistent between the two releases, with both versions relying on tools like Esprima for JavaScript parsing, Uglify-js for minification, and a suite of loaders that includes css-loader, raw-loader, and more, reflecting the focus on broad compatibility and ease of integration within different development environments. They both uses Mocha and should libraries as dev dependencies.
The primary difference lies in the release date. Version 0.4.15 came out a few hours after version 0.4.14. From a development perspective, this suggests that version 0.4.15 likely contains bug fixes or minor enhancements addressing issues discovered shortly after the release of 0.4.14. Given the extremely close release dates, users of 0.4.14 are encouraged to upgrade to 0.4.15 to guarantee they are using the most up-to-date and stable build within the 0.4.x branch, capitalizing on those quick improvements. Both versions were authored by Tobias Koppers reflecting continuity and reliability during development.
All the vulnerabilities related to the version 0.4.15 of the package
Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js
Versions of uglify-js
prior to 2.4.24 are affected by a vulnerability which may cause crafted JavaScript to have altered functionality after minification.
Upgrade UglifyJS to version >= 2.4.24.
Regular Expression Denial of Service in uglify-js
Versions of uglify-js
prior to 2.6.0 are affected by a regular expression denial of service vulnerability when malicious inputs are passed into the parse()
method.
var u = require('uglify-js');
var genstr = function (len, chr) {
var result = "";
for (i=0; i<=len; i++) {
result = result + chr;
}
return result;
}
u.parse("var a = " + genstr(process.argv[2], "1") + ".1ee7;");
$ time node test.js 10000
real 0m1.091s
user 0m1.047s
sys 0m0.039s
$ time node test.js 80000
real 0m6.486s
user 0m6.229s
sys 0m0.094s
Update to version 2.6.0 or later.
Regular Expression Denial of Service in clean-css
Version of clean-css
prior to 4.1.11 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.
Upgrade to version 4.1.11 or higher.
Sandbox Bypass Leading to Arbitrary Code Execution in constantinople
Versions of constantinople
prior to 3.1.1 are vulnerable to a sandbox bypass which can lead to arbitrary code execution.
Update to version 3.1.1 or later.