chore(deps): update dependency mocha to ^5.2.0
This PR contains the following updates:
| Package | Type | Update | New value | References | Sourcegraph |
|---|---|---|---|---|---|
| mocha (source) | devDependencies | minor | ^5.2.0 | homepage, source |
Release Notes
mochajs/mocha
v5.2.0
:tada: Enhancements
-
#3375: Add support for comments in
mocha.opts(@plroebuck)
:bug: Fixes
-
#3346: Exit correctly from
beforehooks when using--bail(@outsideris)
:book: Documentation
:nut_and_bolt: Other
-
#3330: Use
Buffer.from()(@harrysarson) - #3295: Remove redundant folder (@DavNej)
- #3356: Refactoring (@plroebuck)
v5.1.1
:bug: Fixes
-
#3325: Revert change which broke
--watch(@boneskull)
v5.1.0
:tada: Enhancements
-
#3210: Add
--excludeoption (@metalex9)
:bug: Fixes
- #3318: Fix failures in circular objects in JSON reporter (@jeversmann, @boneskull)
:book: Documentation
- #3323: Publish actual API documentation! (@dfberry, @Munter)
- #3299: Improve docs around exclusive tests (@nicgirault)
:nut_and_bolt: Other
- #3302, #3308, #3310, #3315, #3316: Build matrix improvements (more info) (@outsideris, @boneskull)
- #3272: Refactor reporter tests (@jMuzsik)
v5.0.5
Welcome @outsideris to the team!
:bug: Fixes
-
#3096: Fix
--bailfailing to bail within hooks (@outsideris) -
#3184: Don't skip too many suites (using
describe.skip()) (@outsideris)
:book: Documentation
- #3133: Improve docs regarding "pending" behavior (@ematicipo)
-
#3276, #3274: Fix broken stuff in
CHANGELOG.md(@tagoro9, @honzajavorek)
:nut_and_bolt: Other
- #3208: Improve test coverage for AMD users (@outsideris)
- #3267: Remove vestiges of PhantomJS from CI (@anishkny)
- #2952: Fix a debug message (@boneskull)
v5.0.4
:bug: Fixes
- #3265: Fixes regression in "watch" functionality introduced in v5.0.2 (@outsideris)
v5.0.3
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
:lock: Security Fixes
-
#3266: Bump
diffto v3.5.0 (@anishkny)
:nut_and_bolt: Other
-
#3011: Expose
generateDiff()inBasereporter (@harrysarson)
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!
:bug: Fixes
-
#3226: Do not swallow errors that are thrown asynchronously from passing tests (@boneskull). Example:
```js 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
Runnerinstance will emit theendevent twice; you may need to change your reporter to userunner.once('end')intead ofrunner.on('end'). -
#3093: Fix stack trace reformatting problem (@outsideris)
:nut_and_bolt: Other
-
#3248: Update
browser-stdoutto v1.3.1 (@honzajavorek)
v5.0.1
...your garden-variety patch release.
Special thanks to Wallaby.js for their continued support! :heart:
:bug: Fixes
-
#1838:
--delaynow works with.only()(@silviom) - #3119: Plug memory leak present in v8 (@boneskull)
:book: Documentation
-
#3132, #3098: Update
--globdocs (@outsideris) - #3212: Update Wallaby.js-related docs (@ArtemGovorov)
- #3205: Remove outdated cruft (@boneskull)
:nut_and_bolt: Other
- #3224: Add proper Wallaby.js config (@ArtemGovorov)
- #3230: Update copyright year (@josephlin55555)
Renovate configuration
:date: Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.
Codecov Report
Merging #577 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #577 +/- ##
=======================================
Coverage 83.09% 83.09%
=======================================
Files 15 15
Lines 2058 2058
Branches 423 423
=======================================
Hits 1710 1710
Misses 346 346
Partials 2 2
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update ec6a991...6aca0da. Read the comment docs.
Codecov Report
Merging #577 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #577 +/- ##
======================================
Coverage 82.4% 82.4%
======================================
Files 15 15
Lines 2126 2126
Branches 448 448
======================================
Hits 1752 1752
Misses 364 364
Partials 10 10
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 4e9cabb...1539813. Read the comment docs.