mocha
12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed
Upgrading mocha From 6.0.1 to 6.2.3
10 releases in betweennotes for 3
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 7+
- new
- 20+
- fixes
Counted from 3 of 10 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated6.1.0
Security
- 6.1.0
Update devDependencies to fix many npm vulnerabilities (@XhmikosR)
Release by release
6.2.3no release note
6.2.1no release note
- New
Do not fork child-process if no Node flags are present (@boneskull)
- New
Base reporter store ref to console.log, see mocha/wiki (@craigtaub)
- New
Adds doc links for mocha-examples (@craigtaub)
- New
Add
mocha.min.jsfile to stacktrace filter (@brian-lagerman)
- New
6.1.1 – 6.1.44 releases, no release note
- Security
Update devDependencies to fix many npm vulnerabilities (@XhmikosR)
- Deprecated
Deprecate
this.skip()for "after all" hooks (@juergba) - New
Make reporter constructor support optional
optionsparameter (@plroebuck) - New
Add support for config files with
.jsoncextension (@sstephant)
- Security
6.0.2no release note
19 other lines we could not sort, mostly version bumps
- 6.2.2
Site accessibility fixes (@Mia-jeong)
- 6.2.2
Update docs for custom reporters in browser (@Lindsay-Needs-Sleep)
- 6.2.2
Adopt new OpenJS Foundation Code of Conduct (@craigtaub)
- 6.2.0
Document option to define custom report name for XUnit reporter (@pkuczynski)
- 6.2.0
#3915, #3929: Increase tests coverage for
--watchoptions (@geigerzaehler) - 6.2.0
Collect test files later, prepares improvements to the
--watchmode behavior (@geigerzaehler) - 6.2.0
Upgrade for npm audit (@boneskull)
- 6.2.0
Extract
runWatchinto separate module (@geigerzaehler) - 6.2.0
Update CI config files to use Node-12.x (@plroebuck)
- 6.2.0
Rework reporter tests (@plroebuck)
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.