Open greenkeeper[bot] opened 5 years ago
dependency
mocha was updated from 4.1.0
to 6.0.0
.Update to this version instead π
--grep
and --fgrep
are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring --grep
--compilers
is no longer supported; attempting to use will cause Mocha to fail with a link to more information-d
is no longer an alias for --debug
; -d
is currently ignored--watch-extensions
no longer implies js
; it must be explicitly added (@TheDancingCode)tap
reporter emits error messages (@chrmod)before
hook, subsequent before
hooks and tests in nested suites are now skipped (@bannmoore)lib/template.html
has moved to lib/browser/template.html
(@boneskull)mocha.opts
at a user-specified path (@plroebuck)Base
-extending reporter without a Runner
parameter will throw an exception (@craigtaub)code
property (and some will have additional metadata). Some Error
messages have changed. Please use the code
property to check Error
types instead of the message
property; these descriptions will be localized in the future. (@craigtaub)These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
-gc
users should use --gc-global
insteadbin/options
should now use the loadMochaOpts
or loadOptions
(preferred) functions exported by the lib/cli/options
moduleRegarding the Mocha
class constructor (from lib/mocha
):
color: false
instead of useColors: false
timeout: false
instead of enableTimeouts: false
All of the above deprecations were introduced by #3556.
mocha.opts
is now considered "legacy"; please prefer RC file or package.json
over mocha.opts
.
require
cache (@plroebuck)Enhancements introduced in #3556:
Mocha now supports "RC" files in JS, JSON, YAML, or package.json
-based (using mocha
property) format
.mocharc.js
, .mocharc.json
, .mocharc.yaml
or .mocharc.yml
are valid "rc" file names and will be automatically loaded--config /path/to/rc/file
to specify an explicit path--package /path/to/package.json
to specify an explicit package.json
to read the mocha
prop from--no-config
or --no-package
to completely disable loading of configuration via RC file and package.json
, respectivelypackage.json
mocha.opts
Node/V8 flag support in mocha
executable:
node
flags as supported by the running version of node
(also thanks to @demurgos)--v8-
to the flag namepackage.json
properties, or mocha.opts
--inspect
) now imply --no-timeouts
--debug
will automatically invoke --inspect
if supported by running version of node
Support negation of any Mocha-specific command-line flag by prepending --no-
to the flag name
Interfaces now have descriptions when listed using --interfaces
flag
Mocha
constructor supports all options
--extension
is now an alias for --watch-extensions
and affects non-watch-mode test runs as well. For example, to run only test/*.coffee
(not test/*.js
), you can do mocha --require coffee-script/register --extensions coffee
.
#3552: tap
reporter is now TAP13-capable (@plroebuck & @mollstam)
#3535: Mocha's version can now be queried programmatically via public property Mocha.prototype.version
(@plroebuck)
#2529: Runner
now emits a retry
event when tests are retried (reporters can listen for this) (@catdad)
#2962, #3111: In-browser notification support; warn about missing prereqs when --growl
supplied (@plroebuck)
Suite#_onlyTests
and Suite#_onlySuites
(@vkarpov15)lookupFiles
and files
(@plroebuck)--delay
(and other boolean options) not working in all cases (@boneskull)--reporter-option
/--reporter-options
did not support comma-separated key/value pairs (@boneskull)mocharc.json
in published package (@boneskull)--no-timeouts
and --timeout 0
now does what you'd expect (@boneskull)--no-exit
option (@boneskull)SIGINT
(@boneskull)--forbid-only
and --forbid-pending
now "fail fast" when encountered on a suite (@outsideris)start
and end
events now emitted properly from Runner
instance when using Mocha programmatically (@outsideris)stdout:
prefix in browser console (@Bamieh)utils.isPromise()
(@fabiosantoscode)--bail
would not execute "after" nor "after each" hooks (@juergba)TERM=dumb
(@plroebuck).github/CONTRIBUTING.md
(@markowsiak)slow
option (@finfin)--watch
docs (@benglass)ms
userland module instead of hand-rolled solution (@gizemkeser)dependency
mocha was updated from 4.1.0
to 6.0.1
.Update to this version instead π
The obligatory round of post-major-release bugfixes.
These issues were regressions.
test.js
when run without arguments (@plroebuck)--ui
(@boneskull)--watch
(@boneskull)undefined
value from a describe
callback is no longer considered deprecated (@boneskull)@mocha/docdash@2
(@tendonstrength)The new version differs by 9 commits.
6d3d6b4
Release v6.0.1
2146ece
update CHANGELOG.md for v6.0.1
7c9221d
backout deprecation of value returned from suite; closes #3744
b7cfceb
fix --watch not finding any files to execute; closes #3748
b836d73
Upgrade docdash version - issue #3663
7926f47
fix --ui issues, closes #3746
00f2ed9
dev dep upgrades from "npm audit" and "npm upgrade"
34afb1a
fix(cli/run.js): Revert default glob to match Mocha-5.2
6d5a0db
Bring the example congfiguration file in line with the documentation. (#3751)
See the full diff
dependency
mocha was updated from 4.1.0
to 6.0.1
.Update to this version instead π
The obligatory round of post-major-release bugfixes.
These issues were regressions.
test.js
when run without arguments (@plroebuck)--ui
(@boneskull)--watch
(@boneskull)undefined
value from a describe
callback is no longer considered deprecated (@boneskull)@mocha/docdash@2
(@tendonstrength)dependency
mocha was updated from 4.1.0
to 6.0.2
.Update to this version instead π
Two more regressions fixed:
mocha.opts
(@boneskull)--require
does not break on module names that look like certain node
flags (@boneskull)The new version differs by 6 commits.
00a895f
Release v6.0.2
1edce76
update CHANGELOG for v6.0.2 [ci skip]
347e9db
fix broken positional arguments in config; ensure positional args are unique; closes #3763
9e31e9d
fix handling of bareword args matching node flags; closes #3761
6535965
Update "karma-browserify" to eliminate Karma middleware warning (#3762)
37febb6
improve issue template. (#3411)
See the full diff
dependency
mocha was updated from 4.1.0
to 6.0.2
.Update to this version instead π
Two more regressions fixed:
mocha.opts
(@boneskull)--require
does not break on module names that look like certain node
flags (@boneskull)dependency
mocha was updated from 4.1.0
to 6.1.0
.Update to this version instead π
options
parameter (@plroebuck).jsonc
extension (@sstephant)These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
this.skip()
in "before each" hooks (@juergba)--allow-uncaught
for uncaught exceptions thrown inside hooks (@givanse)and some regressions:
Suite
cloning by copying root
property (@fatso83)The new version differs by 28 commits.
f4fc95a
Release v6.1.0
bd29dbd
update CHANGELOG for v6.1.0 [ci skip]
aaf2b72
Use cwd-relative pathname to load config file (#3829)
b079d24
upgrade deps as per npm audit fix; closes #3854
e87c689
Deprecate this.skip() for "after all" hooks (#3719)
81cfa90
Copy Suite property "root" when cloning; closes #3847 (#3848)
8aa2fc4
Fix issue 3714, hide pound icon showing on hover header on docs page (#3850)
586bf78
Update JS-YAML to address security issue (#3845)
d1024a3
Update doc examples "tests.html" (#3811)
1d570e0
Delete "/docs/example/chai.js"
ade8b90
runner.js: "self.test" undefined in Browser (#3835)
0098147
Replace findup-sync with find-up for faster startup (#3830)
d5ba121
Remove "package" flag from sample config file because it can only be passes as CLI arg (#3793)
a3089ad
update package-lock
75430ec
Upgrade yargs-parser dependency to avoid loading 2 copies of yargs
There are 28 commits in total.
See the full diff
dependency
mocha was updated from 4.1.0
to 6.1.1
.dependency
mocha was updated from 4.1.0
to 6.1.2
.dependency
mocha was updated from 4.1.0
to 6.1.3
.dependency
mocha was updated from 4.1.0
to 6.1.4
.dependency
mocha was updated from 4.1.0
to 6.2.0
.dependency
mocha was updated from 4.1.0
to 6.2.1
.dependency
mocha was updated from 4.1.0
to 6.2.2
.dependency
mocha was updated from 4.1.0
to 7.0.1
.dependency
mocha was updated from 4.1.0
to 7.1.0
.dependency
mocha was updated from 4.1.0
to 7.1.1
.dependency
mocha was updated from 4.1.0
to 7.1.2
.π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
dependency
mocha was updated from 4.1.0
to 7.2.0
.
The dependency mocha was updated from
4.1.0
to6.0.0
.This version is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v6.0.0
6.0.0 / 2019-02-18
--grep
and--fgrep
are now mutually exclusive; attempting to use both will cause Mocha to fail instead of simply ignoring--grep
--compilers
is no longer supported; attempting to use will cause Mocha to fail with a link to more information-d
is no longer an alias for--debug
;-d
is currently ignored--watch-extensions
no longer impliesjs
; it must be explicitly added (@TheDancingCode)tap
reporter emits error messages (@chrmod)before
hook, subsequentbefore
hooks and tests in nested suites are now skipped (@bannmoore)lib/template.html
has moved tolib/browser/template.html
(@boneskull)mocha.opts
at a user-specified path (@plroebuck)Base
-extending reporter without aRunner
parameter will throw an exception (@craigtaub)code
property (and some will have additional metadata). SomeError
messages have changed. Please use thecode
property to checkError
types instead of themessage
property; these descriptions will be localized in the future. (@craigtaub)These are soft-deprecated, and will emit a warning upon use. Support will be removed in (likely) the next major version of Mocha:
-gc
users should use--gc-global
insteadbin/options
should now use theloadMochaOpts
orloadOptions
(preferred) functions exported by thelib/cli/options
moduleRegarding the
Mocha
class constructor (fromlib/mocha
):color: false
instead ofuseColors: false
timeout: false
instead ofenableTimeouts: false
All of the above deprecations were introduced by #3556.
mocha.opts
is now considered "legacy"; please prefer RC file orpackage.json
overmocha.opts
.require
cache (@plroebuck)Enhancements introduced in #3556:
Mocha now supports "RC" files in JS, JSON, YAML, or
package.json
-based (usingmocha
property) format.mocharc.js
,.mocharc.json
,.mocharc.yaml
or.mocharc.yml
are valid "rc" file names and will be automatically loaded--config /path/to/rc/file
to specify an explicit path--package /path/to/package.json
to specify an explicitpackage.json
to read themocha
prop from--no-config
or--no-package
to completely disable loading of configuration via RC file andpackage.json
, respectivelypackage.json
mocha.opts
Node/V8 flag support in
mocha
executable:node
flags as supported by the running version ofnode
(also thanks to @demurgos)--v8-
to the flag namepackage.json
properties, ormocha.opts
--inspect
) now imply--no-timeouts
--debug
will automatically invoke--inspect
if supported by running version ofnode
Support negation of any Mocha-specific command-line flag by prepending
--no-
to the flag nameInterfaces now have descriptions when listed using
--interfaces
flagMocha
constructor supports all options--extension
is now an alias for--watch-extensions
and affects non-watch-mode test runs as well. For example, to run onlytest/*.coffee
(nottest/*.js
), you can domocha --require coffee-script/register --extensions coffee
.#3552:
tap
reporter is now TAP13-capable (@plroebuck & @mollstam)#3535: Mocha's version can now be queried programmatically via public property
Mocha.prototype.version
(@plroebuck)#3428:
xunit
reporter shows diffs (@mlucool)#2529:
Runner
now emits aretry
event when tests are retried (reporters can listen for this) (@catdad)#2962, #3111: In-browser notification support; warn about missing prereqs when
--growl
supplied (@plroebuck)Suite#_onlyTests
andSuite#_onlySuites
(@vkarpov15)lookupFiles
andfiles
(@plroebuck)--delay
(and other boolean options) not working in all cases (@boneskull)--reporter-option
/--reporter-options
did not support comma-separated key/value pairs (@boneskull)mocharc.json
in published package (@boneskull)--no-timeouts
and--timeout 0
now does what you'd expect (@boneskull)--no-exit
option (@boneskull)SIGINT
(@boneskull)--forbid-only
and--forbid-pending
now "fail fast" when encountered on a suite (@outsideris)start
andend
events now emitted properly fromRunner
instance when using Mocha programmatically (@outsideris)stdout:
prefix in browser console (@Bamieh)utils.isPromise()
(@fabiosantoscode)--bail
would not execute "after" nor "after each" hooks (@juergba)TERM=dumb
(@plroebuck).github/CONTRIBUTING.md
(@markowsiak)slow
option (@finfin)--watch
docs (@benglass)ms
userland module instead of hand-rolled solution (@gizemkeser)Commits
The new version differs by 308 commits.
42303e2
Release v6.0.0
a553ca7
punctuation updates for changelog v6.0.0
c710792
grammar updates for changelog v6.0.0
9f9293a
update changelog for v6.0.0
a540eb0
remove "projects" section from MAINTAINERS.md [ci skip]
52b5c42
Uppercased JSON reporter name in
describe
title (#3739)82307fb
Fix
.globals
to remove falsy values (#3737)56dc28e
Remove unnecessary post-processing code having no effect; closes #3708 (#3733)
16b4281
Documentation updates (#3728)
5d9d3eb
Update nyc
118c9ae
Refactor out usages of Suite#_onlyTests and Suite#_onlyTests (#3689) (#3707)
0dacd1f
Add ability to unload files from
require
cache (redux) (#3726)66a52f2
update release steps [ci skip]
45ae014
Refactor
lookupFiles
andfiles
(#3722)94c9320
fix --reporter-option to allow comma-separated options; closes #3706
There are 250 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: