Packages

mocha

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

Upgrading mocha From 0.3.1 to 12.0.3

201 releases in betweennotes for 90

Reading releases, release notes and advisories…

Other targets from 0.3.1Newest 0.x0.14.1
3.0.0, 2.0.0, 1.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 0.3.1yours
  2. 4 releases
  3. 0.4.0major
  4. 0.5.0major
  5. 0.6.0major
  6. 0.7.0major
  7. 1 release
  8. 0.8.0major
  9. 1 release
  10. 0.9.0major
  11. 0.10.0major
  12. 2 releases
  13. 0.11.0major
  14. 0.12.0major
  15. 1 release
  16. 0.13.0major
  17. 0.14.0major
  18. 1 release
  19. 1.0.0major
  20. 50 releases
  21. 2.0.0major
  22. 21 releases
  23. 3.0.0major
  24. 10 releases
  25. 3.5.0security
  26. 3 releases
  27. 4.0.0major
  28. 2 releases
  29. 5.0.0major
  30. 2 releases
  31. 5.0.3security
  32. 5 releases
  33. 6.0.0security
  34. 2 releases
  35. 6.1.0security
  36. 8 releases
  37. 7.0.0major
  38. 5 releases
  39. 8.0.0major
  40. 1 release
  41. 8.1.0security
  42. 1 release
  43. 8.1.2security
  44. 7 releases
  45. 9.0.0major
  46. 11 releases
  47. 10.0.0major
  48. 2 releases
  49. 10.3.0security
  50. 11 releases
  51. 11.0.0major
  52. 18 releases
  53. 12.0.0major
  54. 2 releases
  55. 12.0.3target
  56. 32 pre
63+
changes to make
0
advisories fixed
113+
new
162+
fixes

Counted from 90 of 201 release notes, and the breaking changes of 6 pre-releases on the way to a major. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking11.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking10.0.0
  • Breaking9.0.0
  • Breaking9.0.0

Security

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.8.0

    2 Aug 20261 new
    • New

      Add --fail-hook-affected-tests option to report skipped tests as failed

  6. 11.7.6

    21 May 20261 fix
    • Fixed

      Make describe().timeout() work

  7. 11.7.5

    5 Nov 20251 fix
    • Fixed

      Swallow more require errors from *ts files

  8. 11.7.4

    1 Oct 20251 fix
    • Fixed

      Watch mode using chokidar v4

130 other lines we could not sort, mostly version bumps
  • deps: bump actions/setup-node in the github-actions group

    11.7.3
  • deps: bump actions/checkout in the github-actions group

    11.7.2
  • deps: bump the github-actions group with 1 update

    10.8.2
  • Update can-i-use

    10.3.0
  • Remove duplicated header (@PauloGoncalvesBH)

    10.2.0
  • Browser: Increase contrast for replay buttons (@JoshuaKGoldberg)

    10.1.0
  • Use standard Promise.allSettled instead of polyfill (@outsideris)

    10.1.0
  • Upgrade official GitHub actions to latest (@ddzz)

    10.1.0
  • Update production dependencies (@juergba)

    10.0.0
  • Replace deprecated String.prototype.substr() (@CommanderRoot)

    10.0.0

201 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.