Packages

mocha

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

Upgrading mocha From 11.3.0 to 12.0.3

15 releases in betweennotes for 4

Reading releases, release notes and advisories…

Other targets from 11.3.0Newest 11.x11.8.0
The note of 12.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 11.3.0yours
  2. 11 releases
  3. 12.0.0major
  4. 2 releases
  5. 12.0.3target
  6. 25 pre
?
changes to make
0
advisories fixed
?
new
14+
fixes

Counted from 4 of 15 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. 11.4.0 – 11.8.011 releases, no release note

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.