mocha
simple, flexible, fun test framework
100
Versions
MIT
License
No
Install Scripts
Verified
Provenance
Supply chain provenance
Status for the latest visible version.
SLSA provenance attestation
npm registry signatures
gitHead linked
Maintainers
voxpellijoshuakgoldbergmark-wiemer
Keywords
mochatestbddtddtaptestingchaiassertionavajesttapejasminekarma
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| provenance | publisher-changed | AI (provenance): joshuakgoldberg is a known mocha maintainer; legitimate transition within the mochajs org. | ai | |
| semgrep | semgrep:child-process-import | AI (semgrep): Mocha's CLI spawns child processes to run tests with node options — core functionality. | ai | |
| provenance | no-provenance | AI (provenance): Informational only; mocha is a well-established package with verified maintainers. | ai | |
| semgrep | semgrep:env-spread | AI (semgrep): Standard pattern for passing env to child worker processes in mocha's parallel execution; present since parallel support was added. | ai | |
| semgrep | semgrep:dynamic-require | AI (semgrep): Mocha is a test runner that dynamically loads configs, test files, reporters, and interfaces by design. | ai | |
| semgrep | semgrep:eval-usage | AI (semgrep): Deserializes options from mocha's own serialize-javascript output in worker IPC; not user-controlled input. | ai |
Versions (showing 100 of 207)
| Version | Deps | Published |
|---|---|---|
| 3.0.0 | 11 / 16 | |
| 2.5.3 | 10 / 16 | |
| 2.5.2 | 10 / 16 | |
| 2.5.1 | 10 / 16 | |
| 2.5.0 | 9 / 17 | |
| 2.4.5 | 9 / 6 | |
| 2.4.4 | 10 / 6 | |
| 2.4.3 | 10 / 6 | |
| 2.4.2 | 10 / 6 | |
| 2.4.1 | 10 / 6 | |
| 2.3.4 | 9 / 6 | |
| 2.3.3 | 9 / 6 | |
| 2.3.2 | 9 / 6 | |
| 2.3.1 | 10 / 6 | |
| 2.3.0 | 10 / 6 | |
| 2.2.5 | 9 / 2 | |
| 2.2.4 | 9 / 2 | |
| 2.2.3 | 9 / 2 | |
| 2.2.1 | 9 / 2 | |
| 2.2.0 | 9 / 2 | |
| 2.1.0 | 8 / 2 | |
| 2.0.1 | 8 / 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