☕️ Classic, reliable, trusted test framework for Node.js and the browser
Release v7.0.0
juergba69339a3e7710
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d2f1f52f..998c625f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,60 +2,60 @@## :boom: Breaking Changes-- #3885: **Drop Node.js v6.x support** (@mojosoeun)-- #3890: Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument (@juergba)-- #3962: Changes to command-line options (@ParkSB):+- [#3885](https://github.com/mochajs/mocha/issues/3885): **Drop Node.js v6.x support** ([**@mojosoeun**](https://github.com/mojosoeun))+- [#3890](https://github.com/mochajs/mocha/issues/3890): Remove Node.js debug-related flags `--debug`/`--debug-brk` and deprecate `debug` argument ([**@juergba**](https://github.com/juergba))+- [#3962](https://github.com/mochajs/mocha/issues/3962): Changes to command-line options ([**@ParkSB**](https://github.com/ParkSB)):- `--list-interfaces` replaces `--interfaces`- `--list-reporters` replaces `--reporters`-- Hook pattern of `this.skip()` (@juergba):- - #3859: When conditionally skipping in a `it` test, related `afterEach` hooks are now executed- - #3741: When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed- - #4136: Disallow `this.skip()` within `after` hooks-- #3967: Remove deprecated `getOptions()` and `lib/cli/options.js` (@juergba)-- #4083: Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code (@juergba)-- #4004: Align `Mocha` constructor's option names with command-line options (@juergba)+- Hook pattern of `this.skip()` ([**@juergba**](https://github.com/juergba)):+ - [#3859](https://github.com/mochajs/mocha/issues/3859): When conditionally skipping in a `it` test, related `afterEach` hooks are now executed+ - [#3741](https://github.com/mochajs/mocha/issues/3741): When conditionally skipping in a `beforeEach` hook, subsequent inner `beforeEach` hooks are now skipped and related `afterEach` hooks are executed+ - [#4136](https://github.com/mochajs/mocha/issues/4136): Disallow `this.skip()` within `after` hooks+- [#3967](https://github.com/mochajs/mocha/issues/3967): Remove deprecated `getOptions()` and `lib/cli/options.js` ([**@juergba**](https://github.com/juergba))+- [#4083](https://github.com/mochajs/mocha/issues/4083): Uncaught exception in `pending` test: don't swallow, but retrospectively fail the test for correct exit code ([**@juergba**](https://github.com/juergba))+- [#4004](https://github.com/mochajs/mocha/issues/4004): Align `Mocha` constructor's option names with command-line options ([**@juergba**](https://github.com/juergba))## :tada: Enhancements-- #3980: Refactor and improve `--watch` mode with chokidar (@geigerzaehler):+- [#3980](https://github.com/mochajs/mocha/issues/3980): Refactor and improve `--watch` mode with chokidar ([**@geigerzaehler**](https://github.com/geigerzaehler)):- adds command-line options `--watch-files` and `--watch-ignore`- removes `--watch-extensions`-- #3979: Type "rs\n" to restart tests (@broofa)+- [#3979](https://github.com/mochajs/mocha/issues/3979): Type "rs\\n" to restart tests ([**@broofa**](https://github.com/broofa))## :fax: DeprecationsThese are _soft_-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:-- #3968: Deprecate legacy configuration via `mocha.opts` (@juergba)+- [#3968](https://github.com/mochajs/mocha/issues/3968): Deprecate legacy configuration via `mocha.opts` ([**@juergba**](https://github.com/juergba))## :bug: Fixes-- #4125: Fix timeout handling with `--inspect-brk`/`--inspect` (@juergba)-- #4070: `Mocha` constructor: improve browser setup (@juergba)-- #4068: XUnit reporter should handle exceptions during diff generation (@rgroothuijsen)-- #4030: Fix `--allow-uncaught` with `this.skip()` (@juergba)+- [#4125](https://github.com/mochajs/mocha/issues/4125): Fix timeout handling with `--inspect-brk`/`--inspect` ([**@juergba**](https://github.com/juergba))+- [#4070](https://github.com/mochajs/mocha/issues/4070): `Mocha` constructor: improve browser setup ([**@juergba**](https://github.com/juergba))+- [#4068](https://github.com/mochajs/mocha/issues/4068): XUnit reporter should handle exceptions during diff generation ([**@rgroothuijsen**](https://github.com/rgroothuijsen))+- [#4030](https://github.com/mochajs/mocha/issues/4030): Fix `--allow-uncaught` with `this.skip()` ([**@juergba**](https://github.com/juergba))## :mag: Coverage-- #4109: Add Node.js v13.x to CI test matrix (@juergba)+- [#4109](https://github.com/mochajs/mocha/issues/4109): Add Node.js v13.x to CI test matrix ([**@juergba**](https://github.com/juergba))## :book: Documentation-- #4129: Fix broken links (@SaeromB)-- #4127: Add reporter alias names to docs (@khg0712)-- #4101: Clarify invalid usage of `done()` (@jgehrcke)-- #4092: Replace `:coffee:` with emoji ☕️ (@pzrq)-- #4088: Initial draft of project charter (@boneskull)-- #4066: Change `sh` to `bash` for code block in docs/index.md (@HyunSangHan)-- #4045: Update README.md concerning GraphicsMagick installation (@HyunSangHan)-- #3988: Fix sponsors background color for readability (@outsideris)+- [#4129](https://github.com/mochajs/mocha/issues/4129): Fix broken links ([**@SaeromB**](https://github.com/SaeromB))+- [#4127](https://github.com/mochajs/mocha/issues/4127): Add reporter alias names to docs ([**@khg0712**](https://github.com/khg0712))+- [#4101](https://github.com/mochajs/mocha/issues/4101): Clarify invalid usage of `done()` ([**@jgehrcke**](https://github.com/jgehrcke))+- [#4092](https://github.com/mochajs/mocha/issues/4092): Replace `:coffee:` with emoji ☕️ ([**@pzrq**](https://github.com/pzrq))+- [#4088](https://github.com/mochajs/mocha/issues/4088): Initial draft of project charter ([**@boneskull**](https://github.com/boneskull))+- [#4066](https://github.com/mochajs/mocha/issues/4066): Change `sh` to `bash` for code block in docs/index.md ([**@HyunSangHan**](https://github.com/HyunSangHan))+- [#4045](https://github.com/mochajs/mocha/issues/4045): Update README.md concerning GraphicsMagick installation ([**@HyunSangHan**](https://github.com/HyunSangHan))+- [#3988](https://github.com/mochajs/mocha/issues/3988): Fix sponsors background color for readability ([**@outsideris**](https://github.com/outsideris))## :nut_and_bolt: Other-- #4118: Update node-environment-flags to 1.0.6 (@kylef)-- #4097: Add GH Funding Metadata (@SheetJSDev)-- #4089: Add funding information to `package.json` (@Munter)-- #4077: Improve integration tests (@soobing)+- [#4118](https://github.com/mochajs/mocha/issues/4118): Update node-environment-flags to 1.0.6 ([**@kylef**](https://github.com/kylef))+- [#4097](https://github.com/mochajs/mocha/issues/4097): Add GH Funding Metadata ([**@SheetJSDev**](https://github.com/SheetJSDev))+- [#4089](https://github.com/mochajs/mocha/issues/4089): Add funding information to `package.json` ([**@Munter**](https://github.com/Munter))+- [#4077](https://github.com/mochajs/mocha/issues/4077): Improve integration tests ([**@soobing**](https://github.com/soobing))# 6.2.2 / 2019-10-18diff --git a/package-lock.json b/package-lock.jsonindex 83e21411..e66be18a 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,6 +1,6 @@{"name": "mocha",- "version": "6.2.2",+ "version": "7.0.0","lockfileVersion": 1,"requires": true,"dependencies": {diff --git a/package.json b/package.jsonindex 378a91a8..aa77237f 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "mocha",- "version": "6.2.2",+ "version": "7.0.0","description": "simple, flexible, fun test framework","keywords": ["mocha",@@ -197,6 +197,9 @@"hokaccha <[email protected]>","Honza Javorek <[email protected]>","Hugo Giraudel <[email protected]>",+ "Hugo Kim <[email protected]>",+ "HYUNSANG HAN <[email protected]>",+ "HyunSangHan <[email protected]>","Ian Storm Taylor <[email protected]>","Ian W. Remmel <[email protected]>","Ian Young <[email protected]>",@@ -220,6 +223,7 @@"Jan Kopriva <[email protected]>","Jan Krems <[email protected]>","Jan Lehnardt <[email protected]>",+ "Jan-Philip Gehrcke <[email protected]>","Jason Barry <[email protected]>","Jason Lai <[email protected]>","Jason Leyba <[email protected]>",@@ -285,6 +289,7 @@"Konstantin Käfer <[email protected]>","Kris Rasmussen <[email protected]>","Kunal Nagpal <[email protected]>",+ "Kyle Fuller <[email protected]>","Kyle Mitchell <[email protected]>","lakmeer <[email protected]>","Lane Kelly <[email protected]>",@@ -355,6 +360,7 @@"oveddan <[email protected]>","P. Roebuck <[email protected]>","Panu Horsmalahti <[email protected]>",+ "Park Seong-beom <[email protected]>","Parker Moore <[email protected]>","Pascal <[email protected]>","Pat Finnigan <[email protected]>",@@ -365,6 +371,7 @@"Pete Hawkins <[email protected]>","Peter Müller <[email protected]>","Peter Rust <[email protected]>",+ "Peter Schmidt <[email protected]>","Phil Sung <[email protected]>","Philip M. White <[email protected]>","Piotr Kuczynski <[email protected]>",@@ -377,6 +384,7 @@"R56 <[email protected]>","Raynos <[email protected]>","Refael Ackermann <[email protected]>",+ "Rens Groothuijsen <[email protected]>","Rich Trott <[email protected]>","Richard Dingwall <[email protected]>","Richard Knop <[email protected]>",@@ -385,6 +393,7 @@"Rob Loach <[email protected]>","Rob Raux <[email protected]>","Rob Wu <[email protected]>",+ "Robert Kieffer <[email protected]>","Robert Rossmann <[email protected]>","Romain Prieto <[email protected]>","Roman Neuhauser <[email protected]>",@@ -399,6 +408,7 @@"Ryan Tablada <[email protected]>","Ryunosuke SATO <[email protected]>","ryym <[email protected]>",+ "Saerom Bang <[email protected]>","Salehen Shovon Rahman <[email protected]>","Sam Mussell <[email protected]>","samuel goldszmidt <[email protected]>",@@ -415,6 +425,7 @@"Sergio Santoro <[email protected]>","Shaine Hatch <[email protected]>","Shawn Krisman <telaviv@github>",+ "SheetJSDev <[email protected]>","Shinnosuke Watanabe <[email protected]>","silentcloud <[email protected]>","Silvio Massari <[email protected]>",@@ -426,6 +437,8 @@"slyg <[email protected]>","Soel <[email protected]>","solodynamo <[email protected]>",+ "Sona Lee <[email protected]>",+ "Soobin Bak <[email protected]>","Sorin Iclanzan <[email protected]>","Standa Opichal <[email protected]>","startswithaj <[email protected]>",