mocha
12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed
Upgrading mocha From 5.0.1 to 5.2.0
7 releases in betweennotes for 6
Reading releases, release notes and advisories…
Security
- 5.0.3
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
- 5.0.3
Bump
diffto v3.5.0 ([@anishkny])
Release by release
- New
Add support for comments in
mocha.opts([@plroebuck]) - Fixed
Exit correctly from
beforehooks when using--bail([@outsideris])
- New
- Fixed
Revert change which broke
--watch([@boneskull])
- Fixed
- New
Add
--excludeoption ([@metalex9]) - Fixed
Fix failures in circular objects in JSON reporter ([@jeversmann], [@boneskull])
- New
- Fixed
Fix
--bailfailing to bail within hooks ([@outsideris]) - Fixed
Don't skip too many suites (using
describe.skip()) ([@outsideris])
- Fixed
- Fixed
Fixes regression in "watch" functionality introduced in v5.0.2 ([@outsideris])
- Fixed
- Security
This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).
- Security
Bump
diffto v3.5.0 ([@anishkny]) - New
Expose
generateDiff()inBasereporter ([@harrysarson])
- Security
5.0.2no release note
6 other lines we could not sort, mostly version bumps
- 5.2.0
Mocha-flavored API docs! ([@Munter])
- 5.2.0
Use
Buffer.from()([@harrysarson]) - 5.1.0
Publish actual API documentation! ([@dfberry], [@Munter])
- 5.1.0
[#3302], [#3308], [#3310], [#3315], [#3316]: Build matrix improvements (more info) ([@outsideris], [@boneskull])
- 5.0.5
Improve docs regarding "pending" behavior ([@ematicipo])
- 5.0.5
[#3276], [#3274]: Fix broken stuff in
CHANGELOG.md([@tagoro9], [@honzajavorek])
7 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.