Update dependency mocha to v5 #64
Merged
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
v3.5.3tov5.1.1Release Notes
v4.0.0You might want to read this before filing a new bug! 😝
💥 Breaking Changes
For more info, please read this article.
Compatibility
Default Behavior
nodefrom exiting will do so when run in Mocha. Supply the--exitflag to revert to pre-v4.0.0 behavior ([@ScottFreeCode], [@boneskull])Reporter Output
stdout:prefix from browser reporter logs (@skeggse)--forbid-pendingor--forbid-onlyis specified ([@ScottFreeCode])👎 Deprecations
--compilerscommand-line option is now soft-deprecated and will emit a warning onSTDERR. Read this for more info and workarounds ([@ScottFreeCode], [@boneskull])🎉 Enhancements
📖 Documentation
README.mdandCONTRIBUTING.md(@skeggse)🔩 Other
v4.0.1🐛 Fixes
v4.1.0This is mainly a "housekeeping" release.
Welcome @Bamieh and @xxczaki to the team!
🐛 Fixes
progressreporter now accepts reporter options (@canoztokmak)xitinbddinterface now properly returns itsTestobject (@Bamieh)--helpwill now help you even if you have amocha.opts(@Zarel)🎉 Enhancements
--no-diffflag will completely disable diff output (@CapacitorSet)📖 Documentation
docs/([@boneskull])🔩 Other
v5.0.0Mocha 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
--filecommand line argument (documentation) (@hswolff)🐛 Fixes
😎 Developer Experience
📖 Documentation
--no-timeoutsdocs (@dfberry)done()callback docs (@maraisr)README.mdorganization (@xxczaki)🔩 Other
v5.0.1...your garden-variety patch release.
Special thanks to Wallaby.js for their continued support! ❤️
🐛 Fixes
--delaynow works with.only()(@silviom)📖 Documentation
--globdocs (@outsideris)🔩 Other
v5.0.2This 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
Runnerinstance will emit theendevent 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-stdoutto v1.3.1 (@honzajavorek)v5.0.3This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
🔒 Security Fixes
diffto v3.5.0 (@anishkny)🔩 Other
generateDiff()inBasereporter (@harrysarson)v5.0.4🐛 Fixes
v5.0.5Welcome @outsideris to the team!
🐛 Fixes
--bailfailing to bail within hooks (@outsideris)describe.skip()) (@outsideris)📖 Documentation
CHANGELOG.md(@tagoro9, @honzajavorek)🔩 Other
v5.1.0🎉 Enhancements
--excludeoption (@metalex9)🐛 Fixes
📖 Documentation
🔩 Other
v5.1.1🐛 Fixes
--watch([@boneskull])Commits
v5.0.0
a723b8flint Markdown; closes #3172b2697a7add --no-timeouts to docs; closes #3137 (#3176)cb09e8bdocument Error/undefined params to the 'done' callback; closes #3134e54370ereplace phantomjs with puppeteer for browser tests; closes #3128565726dAdded Netlify config filee8b5592Align netlify config with admin panelac1dd70attempt to get travis working again5c6e99bupdate ESM tests to run against headless chrome instead of saucelabs' chrome onlyc7730a6Drop TextMate integration inside mocha closes TextMate integration? mochajs/mocha#31180a3e32bRewrite Makefile using NPS Scripts. Closes #23527d8abe0fix id and class definition50aec7aAdd ability to pass in test files to be ran before positional files via --file (#3190)401997fupdate package-lock.jsonf8a1d2adocs(index): add missing doc link (#3203); closes #3135dc58252prep changelog for v5.0.0 [ci skip]a7267b4remove more references to make and Makefile9f61c04finalize v5.0.0 CHANGELOG [ci skip]cc4a818Release v5.0.0v5.0.1
c0ac1b9fix travis "before script" script2fe2d01Revert "fix travis "before script" script"bca57f4clarify docs on html, xunit and 3p reporters; closes #19062e7e4c0rename "common-mistake" label to "faq"14fc030Add all supported wallaby editorsf687d2bupdate docs for the globcd74322Slight copy update on docs for test directoryb57f623fix: When using --delay, .only() no longer works. Issue #18383509029update .gitignore to only ignore root mocha.js [ci skip]d975a6afix memory leak when run in v8; closes #3119b7377b3rename help-wanted to "help wanted" in stale.yml412cf27[Update] license year44aae9fadd working wallaby config70027b6update changelog for v5.0.1 [ci skip]09ce746Release v5.0.173d55acfix typos in changelog [ci skip]c4ef568fix PR urlv5.0.2
f71f347rename wallaby.js -> .wallaby.jsec8901aremove unused functionality in utils module3537061Update to correctly licensed browser-stdout version2c720a3do not eat exceptions thrown asynchronously from passed tests; closes #32265078fc5persist paths in stack trace which have cwd as infix3792befadd opencollective header image to assets/afcd08fadd MAINTAINERS.md to .fossaignore [ci skip]0542c40update README.md; closes #3191 [ci skip]6a796cbprepare CHANGELOG for v5.0.2 [ci skip]ff1bd9eupdate package-lock.jsonf2ee53cRelease v5.0.2v5.0.3
bdcb3c3exposes generateDiff function from base reporter660bcccadds unit tests covering Base.generateDiff8df5727Tidies up code after reviewaaaa5abfix: ReDoS vuln in [email protected] › [email protected] (#3266)70d9262update CHANGELOG.md for v5.0.3 [ci skip]da6e5c9Release v5.0.3v5.0.4
eb09421restore removed methods which still used868830aupdate CHANGELOG.md for v5.0.4 [ci skip]851ad29Release v5.0.4v5.0.5
aa592f4update package-lock.json85cb5c1add .vscode/ to .gitignore3d09381add Karma "ChromeDebug" custom launcher for VSCode [ci skip]e19e879ensure lib/mocha.js is not ignored by ESLint86af6bbfix my carelessness in e19e879d76f490chore(ci): Remove PHANTOMJS_CDNURL, nit27af2cffix(changelog): update links to some PRs39df783docs: Fix typo in an emoji0060884keep hierarchy for skipped suites w/o a callback6383916fix to bail option works properly with hooks (#3278)ab84f02chore(docs): rewording pending tests2c19503Fixed linting19b764dAddressed feedbackf4275b6extract checking AMD bundle as own test19104e3fix debug msg in Runnable#slow; closes #2952424ef84increase default timeout for browser unit tests3633fa0append filepath to "timeout exceeded" exception; closes #627- all `Runnable`s should now have a `file` property- filepath is appended to the `Error` message in parens- DRY-style refactorsc580294remove default js in "--watch-extensions" option; closes #3275v5.1.0
2b5d04aadd changes for v5.0.5 [ci skip]ffd760eRelease v5.0.58e740c5#1577 Add "--exclude" Option (#3210)9ba8ecaRefactor Reporter tests (#3272)d8522b4remove 0-byte file [ci skip]1701335use exact version of minimatch [ci skip]35dac3euse build stages for Travis CI (#3302)cd1c835upgrade eslint; lintf2560e7add update-contributors script; closes #3289 (#3290)ff9f3cfupdate stages and build matrices (#3308)4ae26b2improve caching performance in CI (#3310)88b9882update package-lock.json for v5.0.5 [ci skip]7544bd3further build improvements (#3315)d71b80aPATH workaround for Travis CI bug8b6c957optimize package-scripts.js94e7289doc precision for exclusive tests8010501fix wrong version in package.json! [ci skip]741b0bdfix circular objects in json reporter; closes #2433 (#3318)1acea30Tap reporter: report thrown error messages (#3317)2f48a23Implement API documentation using npm:documantation.v5.1.1
56e8452update CHANGELOG for v5.1.0 [ci skip]3ac8e55Release v5.1.058efe58update package-lock.json [ci skip]2d1b49cfix ESLint problems and consolidate configuration07e1ed2update outdated info in docs/README.md [ci skip]This PR has been generated by Renovate Bot.