Packages

mocha

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

Upgrading mocha From 4.0.0 to 4.1.0

2 releases in betweennotes for 1

Reading releases, release notes and advisories…

Other targets from 4.0.0Latest12.0.3
  1. 4.0.0yours
  2. 4.0.1
  3. 4.1.0target
?
changes to make
0
advisories fixed
3+
new
4+
fixes

Counted from 1 of 2 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 4.1.0

    29 Dec 20173 new · 4 fixes
    • New

      The --no-diff flag will completely disable diff output ([@CapacitorSet])

    • New

      All "setters" in Mocha's API are now also "getters" if called without arguments ([@makepanic])

    • New

      Add maintainer guide ([@boneskull])

    • Fixed

      progress reporter now accepts reporter options ([@canoztokmak])

    • Fixed

      xit in bdd interface now properly returns its Test object ([@Bamieh])

    • Fixed

      Diffs now computed eagerly to avoid misinformation when reported ([@abrady0])

    • Fixed

      --help will now help you even if you have a mocha.opts ([@Zarel])

  2. 4.0.1no release note

4 other lines we could not sort, mostly version bumps
  • Moved the old site repo into the main repo under docs/ ([@boneskull])

    4.1.0
  • Various fixes and updates ([@xxczaki], [@maty21], [@leedm777])

    4.1.0
  • Test improvements and fixes ([@eugenet8k], [@ngeor], [@38elements], [@Gerhut], [@ScottFreeCode], [@boneskull])

    4.1.0
  • Refactoring and cruft excision ([@38elements], [@Bamieh], [@finnigantime], [@boneskull])

    4.1.0

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.