Packages

mocha

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

Upgrading mocha From 6.1.2 to 12.0.3

74 releases in betweennotes for 6

Reading releases, release notes and advisories…

Other targets from 6.1.2Newest 6.x6.2.3
11.0.0, 10.0.0, 9.0.0, 8.0.0, 7.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below. The note of 12.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 6.1.2yours
  2. 6 releases
  3. 7.0.0major
  4. 5 releases
  5. 8.0.0major
  6. 11 releases
  7. 9.0.0major
  8. 11 releases
  9. 10.0.0major
  10. 14 releases
  11. 11.0.0major
  12. 18 releases
  13. 12.0.0major
  14. 2 releases
  15. 12.0.3target
  16. 27 pre
?
changes to make
0
advisories fixed
1+
new
19+
fixes

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

Release by release

  1. 12.0.3

    1 Oct 20263 fixes
    • Fixed

      Keep watching when the last test file is removed

    • Fixed

      Show require() error on unsupported directory import

    • Fixed

      Support --X one-char aliases

  2. 12.0.2

    17 Sep 20265 fixes
    • 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

  3. 12.0.1

    11 Sep 20264 fixes
    • 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

  4. 12.0.0

    31 Aug 20262 fixes
    • Fixed

      Fixup parsing negative numbers and quoted strings

    • Fixed

      Preserve FIFO descriptors when respawning

  5. 8.4.0 – 11.8.047 releases, no release note

  6. 8.3.2

    12 Mar 20211 new · 1 fix
  7. 6.2.3 – 8.3.117 releases, no release note

  8. 6.2.2

    18 Oct 20194 fixes
    • Fixed

      Fix duplicate EVENT_RUN_END events upon uncaught exception (@juergba)

    • Fixed

      Fix "unhide" function in html reporter (browser) (@pec9399)

    • Fixed

      Fix use of esm in Node.js v8.x (@boneskull)

    • Fixed

      Fix output when multiple async exceptions are thrown (@juergba)

5 other lines we could not sort, mostly version bumps

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.