Packages

mocha

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

Your version

Where each line stands

Plan an upgrade

Latest releases

All 213 releases
  1. 12.x · latest line
  2. 12.0.3

    1 Oct 2026
    • Keep watching when the last test file is removed

    • Show require() error on unsupported directory import

    • Support --X one-char aliases

  3. 12.0.2

    17 Sep 2026
    • Fail nested tests on beforeEach failure

    • Give CLI reporter-option precedence over config file

    • Propagate spec file path on parallel worker death

  4. 12.0.1

    11 Sep 2026
    • Keep unknown config values from becoming test specs

    • Only reject positional args that are entirely numeric

    • reporter: split err.stack at trailing frame block so embedded stacks render once

Dependency tracking

Know when your own dependencies move

mocha shipped a new major in the last 12 months, among 6 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 23 Nov 2026. Releases and advisories last read 23 Nov 2026.

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.