Skip to content

chore(deps): update dependency mocha to ^5.0.4

Distopico requested to merge renovate/mocha-5.x into master

This Merge Request updates dependency mocha from ^5.0.1 to ^5.0.4

Release Notes

v5.0.2

This release fixes a class of tests which report as false positives. Certain tests will now break, though they would have previously been reported as passing. Details below. Sorry for the inconvenience!

**🐛 Fixes**
  • #3226: Do not swallow errors that are thrown asynchronously from passing tests ([@boneskull]). Example:

    it('should actually fail, sorry!', function (done) {
    // passing assertion
    assert(true === true);
    // test complete & is marked as passing
    done();
    // ...but something evil lurks within
    setTimeout(() => {
    throw new Error('chaos!');
    }, 100);
    });

    Previously to this version, Mocha would have silently swallowed the chaos! exception, and you wouldn't know. Well, now you know. Mocha cannot recover from this gracefully, so it will exit with a nonzero code.

    Maintainers of external reporters: If a test of this class is encountered, the Runner instance will emit the end event twice; you may need to change your reporter to use runner.once('end') intead of runner.on('end').

  • #3093: Fix stack trace reformatting problem ([@outsideris])

**🔩 Other**

v5.0.3

This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).

**🔒 Security Fixes** **🔩 Other**

v5.0.4

**🐛 Fixes**
  • #3265: Fixes regression in "watch" functionality introduced in v5.0.2 ([@outsideris])

Commits

**v5.0.2**
  • f71f347 rename wallaby.js -> .wallaby.js
  • ec8901a remove unused functionality in utils module
  • 3537061 Update to correctly licensed browser-stdout version
  • 2c720a3 do not eat exceptions thrown asynchronously from passed tests; closes #3226
  • 5078fc5 persist paths in stack trace which have cwd as infix
  • 3792bef add opencollective header image to assets/
  • afcd08f add MAINTAINERS.md to .fossaignore [ci skip]
  • 0542c40 update README.md; closes #3191 [ci skip]
  • 6a796cb prepare CHANGELOG for v5.0.2 [ci skip]
  • ff1bd9e update package-lock.json
  • f2ee53c Release v5.0.2
**v5.0.3**
  • bdcb3c3 exposes generateDiff function from base reporter
  • 660bccc adds unit tests covering Base.generateDiff
  • 8df5727 Tidies up code after review
  • aaaa5ab fix: ReDoS vuln in mocha@5.0.2 › diff@3.3.1 (#3266)
  • 70d9262 update CHANGELOG.md for v5.0.3 [ci skip]
  • da6e5c9 Release v5.0.3
**v5.0.4**
  • eb09421 restore removed methods which still used
  • 868830a update CHANGELOG.md for v5.0.4 [ci skip]
  • 851ad29 Release v5.0.4

This MR has been generated by Renovate Bot.

Merge request reports