mocha
12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed
Upgrading mocha From 5.2.0 to 12.0.3
80 releases in betweennotes for 6
Reading releases, release notes and advisories…
Release by release
- Fixed
Keep watching when the last test file is removed
- Fixed
Show require() error on unsupported directory import
- Fixed
Support
--Xone-char aliases
- Fixed
- Fixed
Fail nested tests on beforeEach failure
- Fixed
Give CLI reporter-option precedence over config file
- Fixed
Propagate spec file path on parallel worker death
- Fixed
Use find-up-simple to workaround ERR_PACKAGE_PATH_NOT_EXPORTED
- Fixed
Watch existing dirs so first run starts armed
- Fixed
- Fixed
Bump serialize-javascript to ^7.1.1
- Fixed
Keep unknown config values from becoming test specs
- Fixed
Only reject positional args that are entirely numeric
- Fixed
reporter: split err.stack at trailing frame block so embedded stacks render once
- Fixed
- Fixed
Fixup parsing negative numbers and quoted strings
- Fixed
Preserve FIFO descriptors when respawning
- Fixed
8.4.0 – 11.8.047 releases, no release note
- New
Add build to GH actions run (@christian-bromann)
- Fixed
Fix regression in
requireinterface (@alexander-fenster)
- New
6.2.3 – 8.3.117 releases, no release note
5 other lines we could not sort, mostly version bumps
- 8.3.2
Filter active sponsors/backers (@juergba)
- 8.3.2
Update config file examples (@pkuczynski)
- 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)
57 internal lines (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.