Webpack version 0.4.23 represents a minor update over its predecessor, version 0.4.21, within the early stages of the project's development. Both versions share the same core functionality: packing CommonJS modules for browser deployment, enabling code splitting into bundles for on-demand loading, and offering built-in support for various file types like JavaScript, JSON, Jade, CoffeeScript, and CSS, with extensibility through custom loaders. The dependency lists remain identical, including crucial tools like esprima for JavaScript parsing, uglify-js for code minification, and loaders for handling different file formats such as css-loader, json-loader, and coffee-loader. Development dependencies like mocha and should also remain unchanged, indicating a focus on maintaining existing testing practices.
The key difference lies in the release date; version 0.4.23 was published on July 30, 2012, approximately two weeks after version 0.4.21, released on July 17, 2012. This suggests that version 0.4.23 likely incorporates bug fixes, performance improvements, or minor feature enhancements discovered or implemented in that short period. While the specific nature of these changes is not explicitly detailed, developers considering these older versions should opt for 0.4.23 to benefit from the incremental improvements and potentially avoid identified issues present in the earlier 0.4.21 release. The MIT license continues to apply, and Tobias Koppers remains the acknowledged author for both versions. If you need to support legacy systems or reproduce historical builds, these versions provide a foundational module bundling solution.
All the vulnerabilities related to the version 0.4.23 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.