Browserify, a tool enabling require() in browsers for JavaScript directories and npm modules, saw a minor version update from 1.7.5 to 1.7.6 in late October 2011. Examining the manifests, the core functionality, expressed through the description, remains consistent: Browserify continues to provide server-side module compatibility to client-side JavaScript. The dependencies, listing essential packages like nub, resolve, optimist, commondir, detective, and coffee-script, are identical between the two versions, indicating no fundamental changes to the underlying module resolution or core processing mechanisms. Similarly, devDependencies, including testing and development utilities such as seq, tap, jade, dnode, jsdom, connect, hashish, backbone, traverse, and jquery-browserify, are unchanged. This suggests that the internal testing and development workflows remained stable during this update.
Crucially, the only apparent difference lies in the version number and consequently the releaseDate and the dist.tarball URL, which points to the specific tarball for each version on the npm registry. Version 1.7.6 was released on October 29, 2011, a couple of days after 1.7.5 which was released on October 27, 2011. For developers, upgrading from 1.7.5 to 1.7.6 likely involves minimal risk, as the dependency tree and functionality appear to be preserved. While the changelog would provide further details, the manifest difference suggests a patch or minor update, potentially addressing bug fixes or small performance improvements without introducing breaking changes. Developers should still consult the official changelog for complete details on the specific adjustments between these versions before upgrading in production applications.
All the vulnerabilities related to the version 1.7.6 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.