Packages

mocha

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

Upgrading mocha From 3.2.0 to 3.5.3

8 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.2.0Latest12.0.3
1
change to make
0
advisories fixed
9
new
6
fixes

Before you upgrade

Tick each one off as you go
  • Breaking3.4.0

Security

Release by release

  1. 3.5.3

    11 Sep 20171 fix
    • Fixed

      Fix invalid entities in xUnit reporter first appearing in v3.5.1 ([@jkrems])

  2. 3.5.2

    10 Sep 20171 fix
    • Fixed

      Fix AMD-related failures first appearing in v3.5.1 ([@boneskull])

  3. 3.5.1

    10 Sep 20171 fix
    • Fixed

      Fix missing xit export for "require" interface ([@solodynamo])

  4. 3.5.0

    Security fix31 Jul 20173 new
    • Security

      Address CVE-2015-8315 via upgrade of debug ([@boneskull])

    • New

      WARNING: Support for non-ES5-compliant environments will be dropped starting with version 4.0.0 of Mocha!

    • New

      Add --forbid-only and --forbid-pending flags. Use these in CI or hooks to ensure tests aren't accidentally being skipped! ([@charlierudolph])

    • New

      Support Node.js 8's --napi-modules flag ([@jupp0r])

  5. 3.4.1 – 3.4.22 releases, nothing new or fixed in the notes

  6. 3.4.0

    Migration needed14 May 20172 new
    • Breaking

      Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.

    • New

      [#2793], [#2697]: add --allowUncaught to Node.js ([@lrowe])

    • New

      Add --no-warnings and --trace-warnings flags ([@sonicdoe])

  7. 3.3.0

    24 Apr 20174 new · 3 fixes
    • New

      Adds support for loading reporter from an absolute or relative path ([@sul4bh])

    • New

      Support --inspect-brk on command-line ([@igwejk])

    • New

      Add coverage for node tests ([@c089], [@Munter])

    • New

      Add tests for loading reporters w/ relative/absolute paths ([@sul4bh])

    • Fixed

      Replace unicode chars w/ hex codes in HTML reporter ([@rotemdan])

    • Fixed

      Avoid test flake in "delay" test ([@boneskull])

    • Fixed

      Fix "projects" link in README.md ([@boneskull])

20 other lines we could not sort, mostly version bumps
  • :mega: Mocha is now sponsoring PDXNode! If you're in the Portland area, come check out the monthly talks and hack nights!

    3.5.1
  • Improve --compilers coverage ([@ScottFreeCode])

    3.5.1
  • Mocha now has a code of conduct (thanks [@kungapal]!).

    3.5.0
  • Old issues and PRs are now being marked "stale" by Probot's "Stale" plugin. If an issue is marked as such, and you would like to see it remain open, simply add a new comment to the ticket or PR.

    3.5.0
  • Various CI-and-test-related fixes and improvements ([@boneskull], [@dasilvacontin], [@PopradiArpad], [@Munter], [@ScottFreeCode])

    3.5.0
  • "Officially" support Node.js 8 ([@elergy])

    3.5.0
  • allowUncaught added to commandline as --allow-uncaught (and bugfixed)

    3.4.0
  • warning-related Node flags

    3.4.0
  • Reverts use of semistandard directly ([#2648]) ([@boneskull])

    3.4.0
  • We've got coverage now!

    3.3.0

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