This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
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.
This Pull Request updates dependency mocha from
^4.0.0
to^5.0.0
Release Notes
v5.0.0
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
v5.0.1
...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
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!
🐛 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)
🔩 Other
browser-stdout
to v1.3.1 (@honzajavorek)v5.0.3
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)v5.0.4
🐛 Fixes
Commits
v5.0.0
c1da848
Update README.md5161639
Fix typosef981a2
Link to unexpected.js on http. Cert errors on https3e85f89
Ensure consistent calculation of durationa554adb
Update .travis.yml3f314b6
drop support for ie9 and ie10; closeshttps://github.com/mochajs/mocha/issues/3148
95d2fe7
Update karma.conf.jsdc12bd5
test setup for ESM supporta723b8f
lint Markdown; closes #3172b2697a7
add --no-timeouts to docs; closes #3137 (#3176)cb09e8b
document Error/undefined params to the 'done' callback; closes #3134e54370e
replace phantomjs with puppeteer for browser tests; closes #3128565726d
Added Netlify config filee8b5592
Align netlify config with admin panelac1dd70
attempt to get travis working again5c6e99b
update ESM tests to run against headless chrome instead of saucelabs' chrome onlyc7730a6
Drop TextMate integration inside mocha closeshttps://github.com/mochajs/mocha/issues/3118
0a3e32b
Rewrite Makefile using NPS Scripts. Closes #23527d8abe0
fix id and class definition50aec7a
Add ability to pass in test files to be ran before positional files via --file (#3190)401997f
update package-lock.jsonf8a1d2a
docs(index): add missing doc link (#3203); closes #3135dc58252
prep changelog for v5.0.0 [ci skip]a7267b4
remove more references to make and Makefile9f61c04
finalize v5.0.0 CHANGELOG [ci skip]cc4a818
Release v5.0.0v5.0.1
c0ac1b9
fix travis "before script" script2fe2d01
Revert "fix travis "before script" script"bca57f4
clarify docs on html, xunit and 3p reporters; closes #19062e7e4c0
rename "common-mistake" label to "faq"14fc030
Add all supported wallaby editorsf687d2b
update docs for the globcd74322
Slight copy update on docs for test directoryb57f623
fix: When using --delay, .only() no longer works. Issue #18383509029
update .gitignore to only ignore root mocha.js [ci skip]d975a6a
fix memory leak when run in v8; closes #3119b7377b3
rename help-wanted to "help wanted" in stale.yml412cf27
[Update] license year44aae9f
add working wallaby config70027b6
update changelog for v5.0.1 [ci skip]09ce746
Release v5.0.173d55ac
fix typos in changelog [ci skip]c4ef568
fix PR urlv5.0.2
f71f347
rename wallaby.js -> .wallaby.jsec8901a
remove unused functionality in utils module3537061
Update to correctly licensed browser-stdout version2c720a3
do not eat exceptions thrown asynchronously from passed tests; closes #32265078fc5
persist paths in stack trace which have cwd as infix3792bef
add opencollective header image to assets/afcd08f
add MAINTAINERS.md to .fossaignore [ci skip]0542c40
update README.md; closes #3191 [ci skip]6a796cb
prepare CHANGELOG for v5.0.2 [ci skip]ff1bd9e
update package-lock.jsonf2ee53c
Release v5.0.2v5.0.3
bdcb3c3
exposes generateDiff function from base reporter660bccc
adds unit tests covering Base.generateDiff8df5727
Tidies up code after reviewaaaa5ab
fix: ReDoS vuln in mocha@5.0.2 › diff@3.3.1 (#3266)70d9262
update CHANGELOG.md for v5.0.3 [ci skip]da6e5c9
Release v5.0.3v5.0.4
eb09421
restore removed methods which still used868830a
update CHANGELOG.md for v5.0.4 [ci skip]851ad29
Release v5.0.4This PR has been generated by Renovate Bot.