Fix Regular Expression Denial of Service (ReDoS) #458
We also see this issue in our projects. We depend on debug via a bunch of other packages. It will take some time until all of them are updated.
var ms = curr - (prevTime || curr); self.diff = ms;
exports.humanize = require('ms');
args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m');