Bump mocha from 5.2.0 to 6.0.1
Bumps mocha from 5.2.0 to 6.0.1.
Release notes
Sourced from mocha's releases.
v6.0.1
6.0.1 / 2019-02-21
The obligatory round of post-major-release bugfixes.
:bug: Fixes
These issues were regressions.
- #3754 - Mocha again finds
test.jswhen run without arguments ([@plroebuck](https://github.com/plroebuck))- #3756 - Mocha again supports third-party interfaces via
--ui([@boneskull](https://github.com/boneskull))- #3755 - Fix broken
--watch([@boneskull](https://github.com/boneskull))- #3759 - Fix unwelcome deprecation notice when Mocha run against languages (CoffeeScript) with implicit return statements; returning a non-
undefinedvalue from adescribecallback is no longer considered deprecated ([@boneskull](https://github.com/boneskull)):book: Documentation
- #3738 - Upgrade to
@mocha/docdash@2([@tendonstrength](https://github.com/tendonstrength))- #3751 - Use preferred names for example config files ([@Szauka](https://github.com/Szauka))
v6.0.0
6.0.0 / 2019-02-18
:boom: Breaking Changes
- #3149: Drop Node.js v4.x support ([@outsideris](https://github.com/outsideris))
- #3556: Changes to command-line options ([@boneskull](https://github.com/boneskull)):
--grepand--fgrepare now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring--grep--compilersis no longer supported; attempting to use will cause Mocha to fail with a link to more information-dis no longer an alias for--debug;-dis currently ignored- #3275:
--watch-extensionsno longer impliesjs; it must be explicitly added ([@TheDancingCode](https://github.com/TheDancingCode))- #2908:
tapreporter emits error messages ([@chrmod](https://github.com/chrmod))- #2819: When conditionally skipping in a
beforehook, subsequentbeforehooks and tests in nested suites are now skipped ([@bannmoore](https://github.com/bannmoore))- #627: Emit filepath in "timeout exceeded" exceptions where applicable ([@boneskull](https://github.com/boneskull))
- #3556:
lib/template.htmlhas moved tolib/browser/template.html([@boneskull](https://github.com/boneskull))- #2576: An exception is now thrown if Mocha fails to parse or find a
mocha.optsat a user-specified path ([@plroebuck](https://github.com/plroebuck))- #3458: Instantiating a
Base-extending reporter without aRunnerparameter will throw an exception ([@craigtaub](https://github.com/craigtaub))- #3125: For consumers of Mocha's programmatic API, all exceptions thrown from Mocha now have a
codeproperty (and some will have additional metadata). SomeErrormessages have changed. Please use thecodeproperty to checkErrortypes instead of themessageproperty; these descriptions will be localized in the future. ([@craigtaub](https://github.com/craigtaub)):fax: Deprecations
These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
-gcusers should use--gc-globalinstead- Consumers of the function exported by
bin/optionsshould now use theloadMochaOptsorloadOptions(preferred) functions exported by thelib/cli/optionsmoduleRegarding the
Mochaclass constructor (fromlib/mocha):... (truncated)
- Use property
color: falseinstead ofuseColors: false- Use property
timeout: falseinstead ofenableTimeouts: false
Changelog
Sourced from mocha's changelog.
6.0.1 / 2019-02-21
The obligatory round of post-major-release bugfixes.
:bug: Fixes
These issues were regressions.
- #3754 - Mocha again finds
test.jswhen run without arguments ([@plroebuck](https://github.com/plroebuck))- #3756 - Mocha again supports third-party interfaces via
--ui([@boneskull](https://github.com/boneskull))- #3755 - Fix broken
--watch([@boneskull](https://github.com/boneskull))- #3759 - Fix unwelcome deprecation notice when Mocha run against languages (CoffeeScript) with implicit return statements; returning a non-
undefinedvalue from adescribecallback is no longer considered deprecated ([@boneskull](https://github.com/boneskull)):book: Documentation
- #3738 - Upgrade to
@mocha/docdash@2([@tendonstrength](https://github.com/tendonstrength))- #3751 - Use preferred names for example config files ([@Szauka](https://github.com/Szauka))
6.0.0 / 2019-02-18
:tada: Enhancements
- #3726: Add ability to unload files from
requirecache ([@plroebuck](https://github.com/plroebuck)):bug: Fixes
- #3737: Fix falsy values from options globals ([@plroebuck](https://github.com/plroebuck))
- #3707: Fix encapsulation issues for
Suite#_onlyTestsandSuite#_onlySuites([@vkarpov15](https://github.com/vkarpov15))- #3711: Fix diagnostic messages dealing with plurality and markup of output ([@plroebuck](https://github.com/plroebuck))
- #3723: Fix "reporter-option" to allow comma-separated options ([@boneskull](https://github.com/boneskull))
- #3722: Fix code quality and performance of
lookupFilesandfiles([@plroebuck](https://github.com/plroebuck))- #3650, #3654: Fix noisy error message when no files found ([@craigtaub](https://github.com/craigtaub))
- #3632: Tests having an empty title are no longer confused with the "root" suite ([@juergba](https://github.com/juergba))
- #3666: Fix missing error codes ([@vkarpov15](https://github.com/vkarpov15))
- #3684: Fix exiting problem in Node.js v11.7.0+ ([@addaleax](https://github.com/addaleax))
- #3691: Fix
--delay(and other boolean options) not working in all cases ([@boneskull](https://github.com/boneskull))- #3692: Fix invalid command-line argument usage not causing actual errors ([@boneskull](https://github.com/boneskull))
- #3698, #3699: Fix debug-related Node.js options not working in all cases ([@boneskull](https://github.com/boneskull))
- #3700: Growl notifications now show the correct number of tests run ([@outsideris](https://github.com/outsideris))
- #3686: Avoid potential ReDoS when diffing large objects ([@cyjake](https://github.com/cyjake))
- #3715: Fix incorrect order of emitted events when used programmatically ([@boneskull](https://github.com/boneskull))
- #3706: Fix regression wherein
--reporter-option/--reporter-optionsdid not support comma-separated key/value pairs ([@boneskull](https://github.com/boneskull)):book: Documentation
:nut_and_bolt: Other
... (truncated)
- #3677: Add error objects for createUnsupportedError and createInvalidExceptionError ([@boneskull](https://github.com/boneskull))
Commits
-
6d3d6b4Release v6.0.1 -
2146eceupdate CHANGELOG.md for v6.0.1 -
7c9221dbackout deprecation of value returned from suite; closes #3744 -
b7cfcebfix --watch not finding any files to execute; closes #3748 -
b836d73Upgrade docdash version - issue #3663 -
7926f47fix --ui issues, closes #3746 -
00f2ed9dev dep upgrades from "npm audit" and "npm upgrade" -
34afb1afix(cli/run.js): Revert default glob to match Mocha-5.2 -
6d5a0dbBring the example congfiguration file in line with the documentation. (#3751) -
42303e2Release v6.0.0 - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.