Webpack version 0.4.4 represents a minor update from its predecessor, version 0.4.3. Both versions serve as powerful CommonJs module bundlers, enabling developers to package JavaScript applications for browsers. The core functionality remains consistent, providing capabilities for splitting codebases into manageable bundles that load on demand. Crucially, both versions offer out-of-the-box support for various file types including JavaScript, JSON, Jade, CoffeeScript, and CSS, while extending functionality through custom loaders.
The dependency lists are identical between the two versions with shared requirements like esprima (0.9.x), sprintf (0.1.x), optimist (0.2.x), and uglify-js (1.2.x). The selection of loaders such as css-loader, raw-loader, and json-loader reflect the comprehensive support offered for various asset types. Both versions also use vows for development purposes.
The primary distinction lies in the release date, with version 0.4.4 launching shortly after 0.4.3. The timestamp data shows a time difference of less than 2 hours between releases. Given the close proximity of release times and identical dependency lists, it's probable that version 0.4.4 addresses minor bug fixes or includes very specific refinements not reflected in the package metadata. Developers are advised to check the commit logs for the period between the release dates if specific details are needed. From a practical perspective, upgrading from 0.4.3 to 0.4.4 is expected to be seamless, ensuring a smooth continuation of the project's build process.
All the vulnerabilities related to the version 0.4.4 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.