Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We've upgraded a dependency and all tests pass. \o/
You should probably take a good look at this before merging this pull request, of course.
What changed?
✳️ mocha ( → 5.2.0) · Repo · Changelog
Release Notes
5.2.0
5.2.0 / 2018-05-18
🎉 Enhancements
mocha.opts
(@plroebuck)🐛 Fixes
before
hooks when using--bail
(@outsideris)📖 Documentation
🔩 Other
Buffer.from()
(@harrysarson)5.1.1
5.1.1 / 2018-04-18
🐛 Fixes
--watch
(@boneskull)5.1.0
5.1.0 / 2018-04-12
🎉 Enhancements
--exclude
option (@metalex9)🐛 Fixes
📖 Documentation
🔩 Other
5.0.5
5.0.5 / 2018-03-22
Welcome @outsideris to the team!
🐛 Fixes
--bail
failing to bail within hooks (@outsideris)describe.skip()
) (@outsideris)📖 Documentation
CHANGELOG.md
(@tagoro9, @honzajavorek)🔩 Other
5.0.4
5.0.4 / 2018-03-07
🐛 Fixes
5.0.3
5.0.3 / 2018-03-06
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
🔒 Security Fixes
diff
to v3.5.0 (@anishkny)🔩 Other
generateDiff()
inBase
reporter (@harrysarson)5.0.2
5.0.2 / 2018-03-05
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:
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 theend
event 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
browser-stdout
to v1.3.1 (@honzajavorek)5.0.1
5.0.1 / 2018-02-07
...your garden-variety patch release.
Special thanks to Wallaby.js for their continued support! ❤️
🐛 Fixes
--delay
now works with.only()
(@silviom)📖 Documentation
--glob
docs (@outsideris)🔩 Other
5.0.0
5.0.0 / 2018-01-17
Mocha starts off 2018 right by again dropping support for unmaintained rubbish.
Welcome @vkarpov15 to the team!
💥 Breaking Changes
Practically speaking, only code which consumes (through bundling or otherwise) the userland buffer module should be affected. However, Mocha will no longer test against these browsers, nor apply fixes for them.
🎉 Enhancements
--file
command line argument (documentation) (@hswolff)🐛 Fixes
😎 Developer Experience
📖 Documentation
--no-timeouts
docs (@dfberry)done()
callback docs (@maraisr)README.md
organization (@xxczaki)🔩 Other
4.1.0
4.1.0 / 2017-12-28
This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
🐛: Fixes
progress
reporter now accepts reporter options (@canoztokmak)xit
inbdd
interface now properly returns itsTest
object (@Bamieh)--help
will now help you even if you have amocha.opts
(@Zarel)🎉 Enhancements
--no-diff
flag will completely disable diff output (@CapacitorSet)📖 Documentation
docs/
(@boneskull)🔩 Other
Not all release notes shown. View the full release notes
Commits
See the full diff on Github. The new version differs by 30 commits:
Release v5.2.0
reformat missed files
ensure scripts/*.js gets prettiered
update CHANGELOG.md for v5.2.0 [ci skip]
update all dependencies
migrate Mocha's tests to Unexpected assertion library (#3343)
docs(docs/index.md): Update "mocha.opts" documentation
feat(bin/options.js): Add support for comment lines in "mocha.opts"
fix busted lint-staged config
Annotate when exceptions are caught but ignored; closes #3354 (#3356)
remove dead code in bin/_mocha
fix(ocd): re-order Node.js tests in .travis.yml (descending)
fix to exit correctly when using bail flag
add Node.js v10 to build; fix win32 issues (#3350)
update package-lock.json for npm@6 [ci skip]
fix(bin/_mocha): Make `--watch-extensions` default to 'js'
reformat everything with Prettier
add Prettier, ESLint and githook integrations
use custom docs/API.md instead of broken README.md
use renamed @mocha/docdash
Remove a bunch of jsdoc comments that introduced wrong output
Fix dual class + module exposition of Mocha
Fix missing LICENSE
Replace documentation with jsdoc and use mocha-docdash pretty layout
remove old svg logo
fix growl asset paths
update contributors [ci skip]
fixed redundant images folders
remove Node.js v7 from AppVeyor build; add Node.js v9
replace deprecated New Buffer() with Buffer.from()
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands