Mocha 10.1.0
simple, flexible, fun test framework
mocha@10.1.0 was published on 2022-10-15. 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 >= 14.0.0.
All Mocha versions · Permanent reference to 10.1.0 · Latest release
Package specifications
| Version | 10.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2022-10-15T20:58:49.031Z |
| Node.js requirement | >= 14.0.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 | 2036.98 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 | 77 |
| Repository stars | 22905 |
| Repository forks | 3140 |
Install Mocha 10.1.0
npm install mocha@10.1.0 pnpm add mocha@10.1.0 yarn add mocha@10.1.0
Runtime dependencies
- he 1.2.0
- ms 2.1.3
- diff 5.0.0
- glob 7.2.0
- debug 4.3.4
- yargs 16.2.0
- nanoid 3.3.3
- find-up 5.0.0
- js-yaml 4.1.0
- chokidar 3.5.3
- minimatch 5.0.1
- workerpool 6.2.1
- ansi-colors 4.1.1
- log-symbols 4.1.0
- yargs-parser 20.2.4
- browser-stdout 1.3.1
- 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.0
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.
- ansi-colors@4.1.1 — direct
- ansi-regex@5.0.1 — indirect
- ansi-styles@4.3.0 — indirect
- anymatch@3.1.3 — indirect
- argparse@2.0.1 — indirect
- balanced-match@1.0.2 — indirect
- binary-extensions@2.3.0 — indirect
- brace-expansion@1.1.21 — indirect
- brace-expansion@2.1.7 — indirect
- braces@3.0.3 — indirect
- browser-stdout@1.3.1 — direct
- camelcase@6.3.0 — indirect
- chalk@4.1.2 — indirect
- chokidar@3.5.3 — direct
- cliui@7.0.4 — indirect
- color-convert@2.0.1 — indirect
- color-name@1.1.4 — indirect
- concat-map@0.0.1 — indirect
- debug@4.3.4 — direct
- decamelize@4.0.0 — indirect
- diff@5.0.0 — direct
- emoji-regex@8.0.0 — indirect
- escalade@3.2.0 — indirect
- escape-string-regexp@4.0.0 — direct
- fill-range@7.1.1 — indirect
- find-up@5.0.0 — direct
- flat@5.0.2 — indirect
- fs.realpath@1.0.0 — indirect
- fsevents@2.3.3 — indirect
- get-caller-file@2.0.5 — indirect
- glob@7.2.0 — direct
- glob-parent@5.1.2 — indirect
- has-flag@4.0.0 — indirect
- he@1.2.0 — direct
- inflight@1.0.6 — indirect
- inherits@2.0.4 — indirect
- is-binary-path@2.1.0 — indirect
- is-extglob@2.1.1 — indirect
- is-fullwidth-code-point@3.0.0 — indirect
- is-glob@4.0.3 — indirect
- is-number@7.0.0 — indirect
- is-plain-obj@2.1.0 — indirect
- is-unicode-supported@0.1.0 — indirect
- js-yaml@4.1.0 — direct
- locate-path@6.0.0 — indirect
- log-symbols@4.1.0 — direct
- minimatch@3.1.5 — indirect
- minimatch@5.0.1 — direct
- ms@2.1.2 — indirect
- ms@2.1.3 — direct
- nanoid@3.3.3 — direct
- normalize-path@3.0.0 — indirect
- once@1.4.0 — indirect
- p-limit@3.1.0 — indirect
- p-locate@5.0.0 — indirect
- path-exists@4.0.0 — indirect
- path-is-absolute@1.0.1 — indirect
- picomatch@2.3.2 — indirect
- randombytes@2.1.0 — indirect
- readdirp@3.6.0 — indirect
- require-directory@2.1.1 — indirect
- safe-buffer@5.2.1 — indirect
- serialize-javascript@6.0.0 — direct
- string-width@4.2.3 — indirect
- strip-ansi@6.0.1 — indirect
- strip-json-comments@3.1.1 — direct
- supports-color@7.2.0 — indirect
- supports-color@8.1.1 — direct
- to-regex-range@5.0.1 — indirect
- workerpool@6.2.1 — direct
- wrap-ansi@7.0.0 — indirect
- wrappy@1.0.2 — indirect
- y18n@5.0.8 — indirect
- yargs@16.2.0 — direct
- yargs-parser@20.2.4 — direct
- yargs-unparser@2.0.0 — direct
- yocto-queue@0.1.0 — 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/10.1.0 — retrieved 2026-10-29T08:45:44.159Z
- 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/10.1.0 — retrieved 2026-10-29T08:45:44.674Z
- https://api.deps.dev/v3/systems/npm/packages/mocha/versions/10.1.0:dependencies — retrieved 2026-10-29T08:45:44.732Z