Mocha 12.0.0-beta-1
simple, flexible, fun test framework
mocha@12.0.0-beta-1 was published on 2025-11-27. Its manifest declares 21 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^20.19.0 || >=22.12.0.
All Mocha versions · Permanent reference to 12.0.0-beta-1 · Latest release
Package specifications
| Version | 12.0.0-beta-1 |
|---|---|
| License declaration | MIT |
| Published | 2025-11-27T14:56:43.175Z |
| Node.js requirement | ^20.19.0 || >=22.12.0 |
| Type declarations | Not declared |
| Runtime dependency count | 21 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2256.44 KiB |
| Published file count | 70 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 93 |
| Repository stars | 22905 |
| Repository forks | 3140 |
Install Mocha 12.0.0-beta-1
npm install mocha@12.0.0-beta-1 pnpm add mocha@12.0.0-beta-1 yarn add mocha@12.0.0-beta-1
Runtime dependencies
- he ^1.2.0
- ms ^2.1.3
- diff ^7.0.0
- glob ^10.4.5
- debug ^4.3.5
- yargs ^17.7.2
- find-up ^5.0.0
- js-yaml ^4.1.0
- chokidar ^4.0.1
- minimatch ^9.0.5
- picocolors ^1.1.1
- workerpool ^9.2.0
- log-symbols ^4.1.0
- yargs-parser ^21.1.1
- browser-stdout ^1.3.1
- is-path-inside ^3.0.3
- supports-color ^8.1.1
- yargs-unparser ^2.0.0
- strip-json-comments ^3.1.1
- escape-string-regexp ^4.0.0
- serialize-javascript ^6.0.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- browser-stdout@1.3.1 — direct
- chokidar@4.0.3 — direct
- debug@4.4.3 — direct
- diff@7.0.0 — direct
- escape-string-regexp@4.0.0 — direct
- find-up@5.0.0 — direct
- glob@10.5.0 — direct
- he@1.2.0 — direct
- is-path-inside@3.0.3 — direct
- js-yaml@4.3.2 — direct
- log-symbols@4.1.0 — direct
- minimatch@9.0.9 — direct
- ms@2.1.3 — direct
- picocolors@1.1.1 — direct
- serialize-javascript@6.0.2 — direct
- strip-json-comments@3.1.1 — direct
- supports-color@8.1.1 — direct
- workerpool@9.3.4 — direct
- yargs@17.7.3 — direct
- yargs-parser@21.1.1 — direct
- yargs-unparser@2.0.0 — direct
- readdirp@4.1.2 — indirect
- locate-path@6.0.0 — indirect
- path-exists@4.0.0 — indirect
- foreground-child@3.3.1 — indirect
- jackspeak@3.4.3 — indirect
- minipass@7.1.3 — indirect
- package-json-from-dist@1.0.1 — indirect
- path-scurry@1.11.1 — indirect
- argparse@2.0.1 — indirect
- chalk@4.1.2 — indirect
- is-unicode-supported@0.1.0 — indirect
- brace-expansion@2.1.7 — indirect
- randombytes@2.1.0 — indirect
- has-flag@4.0.0 — indirect
- cliui@8.0.1 — indirect
- escalade@3.2.0 — indirect
- get-caller-file@2.0.5 — indirect
- require-directory@2.1.1 — indirect
- string-width@4.2.3 — indirect
- y18n@5.0.8 — indirect
- camelcase@6.3.0 — indirect
- decamelize@4.0.0 — indirect
- flat@5.0.2 — indirect
- is-plain-obj@2.1.0 — indirect
- p-locate@5.0.0 — indirect
- cross-spawn@7.0.6 — indirect
- signal-exit@4.1.0 — indirect
- @isaacs/cliui@8.0.2 — indirect
- @pkgjs/parseargs@0.11.0 — indirect
- lru-cache@10.4.3 — indirect
- ansi-styles@4.3.0 — indirect
- supports-color@7.2.0 — indirect
- balanced-match@1.0.2 — indirect
- safe-buffer@5.2.1 — indirect
- string-width@4.2.3 — indirect
- strip-ansi@6.0.1 — indirect
- wrap-ansi@7.0.0 — indirect
- emoji-regex@8.0.0 — indirect
- is-fullwidth-code-point@3.0.0 — indirect
- strip-ansi@6.0.1 — indirect
- p-limit@3.1.0 — indirect
- path-key@3.1.1 — indirect
- shebang-command@2.0.0 — indirect
- which@2.0.2 — indirect
- string-width@4.2.3 — indirect
- string-width@5.1.2 — indirect
- strip-ansi@6.0.1 — indirect
- strip-ansi@7.2.0 — indirect
- wrap-ansi@7.0.0 — indirect
- wrap-ansi@8.1.0 — indirect
- color-convert@2.0.1 — indirect
- emoji-regex@8.0.0 — indirect
- ansi-regex@5.0.1 — indirect
- ansi-styles@4.3.0 — indirect
- ansi-regex@5.0.1 — indirect
- yocto-queue@0.1.0 — indirect
- shebang-regex@3.0.0 — indirect
- isexe@2.0.0 — indirect
- emoji-regex@8.0.0 — indirect
- strip-ansi@6.0.1 — indirect
- eastasianwidth@0.2.0 — indirect
- emoji-regex@9.2.2 — indirect
- ansi-regex@5.0.1 — indirect
- ansi-regex@6.4.0 — indirect
- ansi-styles@4.3.0 — indirect
- string-width@4.2.3 — indirect
- strip-ansi@6.0.1 — indirect
- ansi-styles@6.2.3 — indirect
- color-name@1.1.4 — indirect
- ansi-regex@5.0.1 — indirect
- emoji-regex@8.0.0 — indirect
- ansi-regex@5.0.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 6/10 — Found 12/18 approved changesets -- score normalized to 6 |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 5/10 — branch protection is not maximal on development and all release branches |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 4/10 — SAST tool is not run on all commits -- score normalized to 4 |
Compare Mocha
Evidence and freshness
- https://registry.npmjs.org/mocha/12.0.0-beta-1 — retrieved 2026-10-29T08:54:27.141Z
- https://api.deps.dev/v3/projects/github.com%2Fmochajs%2Fmocha — retrieved 2026-10-29T05:09:30.162Z
- https://api.deps.dev/v3/systems/npm/packages/mocha/versions/12.0.0-beta-1:dependencies — retrieved 2026-10-29T08:54:27.746Z
- https://api.deps.dev/v3/systems/npm/packages/mocha/versions/12.0.0-beta-1 — retrieved 2026-10-29T08:54:27.714Z