mocha
12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 213 releases- 12.x · latest line
12.0.3
1 Oct 2026Keep watching when the last test file is removed
Show require() error on unsupported directory import
Support
--Xone-char aliases
Fixes
Keep watching when the last test file is removed
Show require() error on unsupported directory import
Support
--Xone-char aliases
12.0.2
17 Sep 2026Fail nested tests on beforeEach failure
Give CLI reporter-option precedence over config file
Propagate spec file path on parallel worker death
Fixes
Fail nested tests on beforeEach failure
Give CLI reporter-option precedence over config file
Propagate spec file path on parallel worker death
Use find-up-simple to workaround ERR_PACKAGE_PATH_NOT_EXPORTED
Watch existing dirs so first run starts armed
12.0.1
11 Sep 2026Keep unknown config values from becoming test specs
Only reject positional args that are entirely numeric
reporter: split err.stack at trailing frame block so embedded stacks render once
Fixes
Bump serialize-javascript to ^7.1.1
Keep unknown config values from becoming test specs
Only reject positional args that are entirely numeric
reporter: split err.stack at trailing frame block so embedded stacks render once
Dependency tracking
Know when your own dependencies move
mocha shipped a new major in the last 12 months, among 6 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 23 Nov 2026. Releases and advisories last read 23 Nov 2026.
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.