Vigia

npm · npm:mocha

mocha active

Classic, reliable, trusted test framework for Node.js and the browser

The latest stable version of mocha is 12.0.3, published on 2026-10-01. Verified by Vigia on 2026-11-12.

Latest stable version12.0.3
Published2026-10-01 04:37:57 UTC
Installnpm install mocha@latest
Requires (engines){"node":"^20.19.0 || >=22.12.0"}
Peer dependencies—
Dist-tagsnext: 12.0.0-rc.6 latest: 12.0.3
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 10:01:08 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activityactive
Last stable release2026-10-01 04:37:57 UTC · 42 days ago
Stable releases in the last 12 months6
Published versions251

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
12.0.32026-10-01 04:37:57 UTC
12.0.22026-09-17 14:24:05 UTC
12.0.12026-09-11 14:57:07 UTC
12.0.02026-08-31 15:02:47 UTC
11.8.02026-08-02 19:20:36 UTC
11.7.62026-05-21 11:11:59 UTC
11.7.52025-11-05 02:14:05 UTC
11.7.42025-10-01 22:30:33 UTC
11.7.32025-09-30 12:08:49 UTC
11.7.22025-09-01 16:20:43 UTC
11.7.12025-06-24 13:35:20 UTC
11.7.02025-06-18 01:38:34 UTC
11.6.02025-06-09 10:38:02 UTC
11.5.02025-05-23 22:15:31 UTC
11.4.02025-05-19 14:14:11 UTC
11.3.02025-05-16 14:01:41 UTC
11.2.22025-04-10 14:59:36 UTC
11.2.12025-04-10 11:57:19 UTC
11.2.02025-03-17 18:53:55 UTC
11.1.02025-01-02 06:36:37 UTC

Showing the 20 most recent of 212 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
node 1610.8.2
node 1811.8.0
node 2012.0.3
node 2212.0.3
node 2412.0.3

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of mocha?

The latest stable version of mocha is 12.0.3, published on 2026-10-01. Verified by Vigia on 2026-11-12.

How do I install the latest version of mocha?

Run npm install mocha@latest. The latest stable version is 12.0.3 (verified 2026-11-12).

Is mocha deprecated?

No. mocha is not marked as deprecated in the registry.

Which Node.js version does mocha require?

mocha 12.0.3 declares this requirement: {"node":"^20.19.0 || >=22.12.0"}.

Does mocha 12.0.3 have known vulnerabilities?

No known advisories affect mocha 12.0.3 according to the data Vigia checks.

Is mocha still maintained?

mocha published 6 stable releases in the last 12 months; the most recent was 42 days ago. Activity: active.

Observed changes

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/mocha/version.svg)](https://vigia.coredls.cloud/npm/mocha)
[![maintained](https://vigia.coredls.cloud/badge/npm/mocha/maintained.svg)](https://vigia.coredls.cloud/npm/mocha)
[![status](https://vigia.coredls.cloud/badge/npm/mocha/status.svg)](https://vigia.coredls.cloud/npm/mocha)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/mocha
GET https://vigia.coredls.cloud/v1/packages/npm/mocha/versions/{version}