---
title: "mocha 12.0.3: release notes, upgrades and advisories"
description: "mocha 12.0.3: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/mocha
lang: en
---

[Packages](https://inlinr.com/packages)

# mocha

12.0.3 · 1 Oct 2026 MIT 14.6M / week [Repository](https://github.com/mochajs/mocha) [Homepage](https://mochajs.org/) [npm](https://www.npmjs.com/package/mocha) [Atom feed](https://inlinr.com/packages/feed/mocha)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/mocha/upgrade)

LineNewestSecurity

- 12.x 12.0.3 No known advisory Latest line
- 11.x 11.8.0 No known advisory [To 12.0.3](https://inlinr.com/packages/mocha/upgrade/11.8.0-12.0.3)
- 10.x 10.8.2 No known advisory [To 12.0.3](https://inlinr.com/packages/mocha/upgrade/10.8.2-12.0.3)
- 9.x 9.2.2 No known advisory [To 12.0.3](https://inlinr.com/packages/mocha/upgrade/9.2.2-12.0.3)
- 8.x 8.4.0 No known advisory [To 12.0.3](https://inlinr.com/packages/mocha/upgrade/8.4.0-12.0.3)
- 7.x 7.2.0 No known advisory [To 12.0.3](https://inlinr.com/packages/mocha/upgrade/7.2.0-12.0.3)

## Latest releases

[All 213 releases](https://inlinr.com/packages/mocha/releases)

1. 12.x · latest line
2. ### [12.0.3](https://inlinr.com/packages/mocha/releases/12.0.3 "Open this release") [](https://github.com/mochajs/mocha/releases/tag/v12.0.3 "Read this release where it was published")  
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](https://inlinr.com/packages/mocha/releases/12.0.2 "Open this release") [](https://github.com/mochajs/mocha/releases/tag/v12.0.2 "Read this release where it was published")  
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](https://inlinr.com/packages/mocha/releases/12.0.1 "Open this release") [](https://github.com/mochajs/mocha/releases/tag/v12.0.1 "Read this release where it was published")  
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](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/mocha/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

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](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
