[Snyk] Upgrade mocha from 2.4.5 to 6.2.2 #12
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.
Snyk has created this PR to upgrade mocha from 2.4.5 to 6.2.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
Release notes
6.2.2 / 2019-10-18
🐛 Fixes
EVENT_RUN_END
events upon uncaught exception (@juergba)html
reporter (browser) (@pec9399)📖 Documentation
6.2.1 / 2019-09-29
🐛 Fixes
📖 Documentation
6.2.0 / 2019-07-18
🎉 Enhancements
🐛 Fixes
--file
(@gabegorelick)global
orglobals
(@pascalpp)_mocha
binary (@juergba)--timeout
/--slow
string values and duplicate arguments (@boneskull, @juergba)📖 Documentation
🔍 Coverage
--watch
options (@geigerzaehler)🔩 Other
--watch
mode behavior (@geigerzaehler)runWatch
into separate module (@geigerzaehler)mocha.min.js
file to stacktrace filter (@brian-lagerman)--exclude
to--ignore
and create alias (@boneskull)mocha.css
(@DanielRuf)6.1.4 / 2019-04-18
🔒 Security Fixes
6.1.3 / 2019-04-11
🐛 Fixes
yargs
-related global scope pollution (@inukshuk)pnpm
(@boneskull)6.1.2 / 2019-04-08
🐛 Fixes
6.1.1 / 2019-04-07
🐛 Fixes
6.1.0 / 2019-04-07
🔒 Security Fixes
🎉 Enhancements
options
parameter (@plroebuck).jsonc
extension (@sstephant)📠 Deprecations
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()
for "after all" hooks (@juergba)🐛 Fixes
this.skip()
in "before each" hooks (@juergba)--allow-uncaught
for uncaught exceptions thrown inside hooks (@givanse)and some regressions:
Suite
cloning by copyingroot
property (@fatso83)📖 Documentation
🔩 Other
6.0.2 / 2019-02-25
🐛 Fixes
Two more regressions fixed:
mocha.opts
(@boneskull)--require
does not break on module names that look like certainnode
flags (@boneskull)6.0.1 / 2019-02-21
The obligatory round of post-major-release bugfixes.
🐛 Fixes
These issues were regressions.
test.js
when run without arguments (@plroebuck)--ui
(@boneskull)--watch
(@boneskull)undefined
value from adescribe
callback is no longer considered deprecated (@boneskull)📖 Documentation
@mocha/docdash@2
(@tendonstrength)Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs