Packages

mocha

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

Upgrading mocha From 0.0.3 to 12.0.3

210 releases in betweennotes for 90

Reading releases, release notes and advisories…

Other targets from 0.0.3Newest 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.0.3yours
  2. 5 releases
  3. 0.1.0major
  4. 0.2.0major
  5. 0.3.0major
  6. 5 releases
  7. 0.4.0major
  8. 0.5.0major
  9. 0.6.0major
  10. 0.7.0major
  11. 1 release
  12. 0.8.0major
  13. 1 release
  14. 0.9.0major
  15. 0.10.0major
  16. 2 releases
  17. 0.11.0major
  18. 0.12.0major
  19. 1 release
  20. 0.13.0major
  21. 0.14.0major
  22. 1 release
  23. 1.0.0major
  24. 50 releases
  25. 2.0.0major
  26. 21 releases
  27. 3.0.0major
  28. 10 releases
  29. 3.5.0security
  30. 3 releases
  31. 4.0.0major
  32. 2 releases
  33. 5.0.0major
  34. 2 releases
  35. 5.0.3security
  36. 5 releases
  37. 6.0.0security
  38. 2 releases
  39. 6.1.0security
  40. 8 releases
  41. 7.0.0major
  42. 5 releases
  43. 8.0.0major
  44. 1 release
  45. 8.1.0security
  46. 1 release
  47. 8.1.2security
  48. 7 releases
  49. 9.0.0major
  50. 11 releases
  51. 10.0.0major
  52. 2 releases
  53. 10.3.0security
  54. 11 releases
  55. 11.0.0major
  56. 18 releases
  57. 12.0.0major
  58. 2 releases
  59. 12.0.3target
  60. 32 pre
63+
changes to make
0
advisories fixed
113+
new
162+
fixes

Counted from 90 of 210 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.