Packages

mocha

12.0.3 · 1 Oct 2026MIT14.6M / weekRepositoryHomepagenpmAtom feed

Upgrading mocha From 5.0.0 to 5.2.0

8 releases in betweennotes for 6

Reading releases, release notes and advisories…

Other targets from 5.0.0Latest12.0.3
?
changes to make
0
advisories fixed
3+
new
6+
fixes

Counted from 6 of 8 release notes. Advisories are counted from the advisory database, in full.

Security

  • 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 diff to v3.5.0 ([@anishkny])

    5.0.3

Release by release

  1. 5.2.0

    18 May 20181 new · 1 fix
    • New

      Add support for comments in mocha.opts ([@plroebuck])

    • Fixed

      Exit correctly from before hooks when using --bail ([@outsideris])

  2. 5.1.1

    18 Apr 20181 fix
    • Fixed

      Revert change which broke --watch ([@boneskull])

  3. 5.1.0

    12 Apr 20181 new · 1 fix
    • New

      Add --exclude option ([@metalex9])

    • Fixed

      Fix failures in circular objects in JSON reporter ([@jeversmann], [@boneskull])

  4. 5.0.5

    23 Mar 20182 fixes
    • Fixed

      Fix --bail failing to bail within hooks ([@outsideris])

    • Fixed

      Don't skip too many suites (using describe.skip()) ([@outsideris])

  5. 5.0.4

    7 Mar 20181 fix
    • Fixed

      Fixes regression in "watch" functionality introduced in v5.0.2 ([@outsideris])

  6. 5.0.3

    Security fix7 Mar 20181 new
    • Security

      This patch features a fix to address a potential "low severity" ReDoS vulnerability in the diff package (a dependency of Mocha).

    • Security

      Bump diff to v3.5.0 ([@anishkny])

    • New

      Expose generateDiff() in Base reporter ([@harrysarson])

  7. 5.0.1 – 5.0.22 releases, no release note

6 other lines we could not sort, mostly version bumps
  • Mocha-flavored API docs! ([@Munter])

    5.2.0
  • Use Buffer.from() ([@harrysarson])

    5.2.0
  • Publish actual API documentation! ([@dfberry], [@Munter])

    5.1.0
  • [#3302], [#3308], [#3310], [#3315], [#3316]: Build matrix improvements (more info) ([@outsideris], [@boneskull])

    5.1.0
  • Improve docs regarding "pending" behavior ([@ematicipo])

    5.0.5
  • [#3276], [#3274]: Fix broken stuff in CHANGELOG.md ([@tagoro9], [@honzajavorek])

    5.0.5

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.