Packages

mocha

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

Upgrading mocha From 8.1.0 to 8.4.0

9 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.1.0Latest12.0.3
  1. 8.1.0yours
  2. 1 release
  3. 8.1.2security
  4. 6 releases
  5. 8.4.0target
0
changes to make
0
advisories fixed
17
new
14
fixes

Security

  • Update many dependencies (@GChuf)

    8.1.2

Release by release

  1. 8.4.0

    7 May 20212 new · 1 fix
    • New

      CLI file parsing errors now have error codes (@evaline-ju)

    • New

      Add options.require to Mocha constructor for root hook plugins on parallel runs (@juergba)

    • Fixed

      Watch: Fix crash when reloading files (@outsideris)

  2. 8.3.2

    12 Mar 20211 new · 1 fix
  3. 8.3.1

    6 Mar 20212 fixes
    • Fixed

      Browser: Fix EvalError caused by regenerator-runtime (@snoack)

    • Fixed

      ESM: Allow import from mocha in parallel mode (@nicojs)

  4. 8.3.0

    11 Feb 20216 new · 1 fix
    • New

      Add error code for test timeout errors (@boneskull)

    • New

      Add BigInt support to stringify util function (@JosejeSinohui)

    • New

      Add file location when SyntaxError happens in ESM (@giltayar)

    • New

      Add support for typescript-style docstrings (@boneskull)

    • New

      Add GH Actions workflow status badge (@outsideris)

    • New

      Add example of generating tests dynamically with a closure (@maxwellgerber)

    • Fixed

      Fix require error when bundling Mocha with Webpack (@devhazem)

  5. 8.2.1

    2 Nov 20202 fixes
    • Fixed

      Fix problematic handling of otherwise-unhandled Promise rejections and erroneous "done() called twice" errors (@boneskull)

    • Fixed

      Avoid MaxListenersExceededWarning in watch mode (@boneskull)

  6. 8.2.0

    16 Oct 20208 new · 3 fixes
  7. 8.1.3

    28 Aug 20201 fix
    • Fixed

      Restore Mocha.utils.lookupFiles() and Webpack compatibility (both broken since v8.1.0); Mocha.utils.lookupFiles() is now deprecated and will be removed in the next major revision of Mocha; use require('mocha/lib/cli').lookupFiles instead (@boneskull)

  8. 8.1.2

    Security fix25 Aug 20202 fixes
    • Security

      Update many dependencies (@GChuf)

    • Fixed

      Fix command-line flag incompatibility in forthcoming Node.js v14.9.0 (@boneskull)

    • Fixed

      Fix missing global variable in browser (@irrationnelle)

6 other lines we could not sort, mostly version bumps

1 internal line (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.