sinon 7.1.0
JavaScript test spies, stubs and mocks.
sinon@7.1.0 was published on 2018-10-25. Its manifest declares 9 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
Deprecated: 16.1.1
All sinon versions · Permanent reference to 7.1.0 · Latest release
Package specifications
| Version | 7.1.0 |
|---|---|
| License declaration | BSD-3-Clause |
| Published | 2018-10-25T10:14:32.026Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 4596.15 KiB |
| Published file count | 55 |
| Package type | Not declared |
| ES module entry | ./pkg/sinon-esm.js |
| Default entry | ./lib/sinon.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 19 |
| Repository stars | 9753 |
| Repository forks | 811 |
Install sinon 7.1.0
npm install sinon@7.1.0 pnpm add sinon@7.1.0 yarn add sinon@7.1.0
Runtime dependencies
- diff ^3.5.0
- nise ^1.4.6
- lolex ^3.0.0
- lodash.get ^4.4.2
- type-detect ^4.0.8
- supports-color ^5.5.0
- @sinonjs/samsam ^2.1.2
- @sinonjs/commons ^1.0.2
- @sinonjs/formatio ^3.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.
- @sinonjs/commons@1.8.6 — direct
- @sinonjs/formatio@3.2.2 — direct
- @sinonjs/samsam@2.1.3 — direct
- @sinonjs/samsam@3.3.3 — indirect
- @sinonjs/text-encoding@0.7.3 — indirect
- array-from@2.1.1 — indirect
- diff@3.5.1 — direct
- has-flag@3.0.0 — indirect
- isarray@0.0.1 — indirect
- just-extend@4.2.1 — indirect
- lodash@4.18.1 — indirect
- lodash.get@4.4.2 — direct
- lolex@3.1.0 — direct
- lolex@5.1.2 — indirect
- nise@1.5.3 — direct
- path-to-regexp@1.9.0 — indirect
- supports-color@5.5.0 — direct
- type-detect@4.0.8 — indirect
- type-detect@4.1.0 — direct
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 — 27 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 6/10 — Found 12/18 approved changesets -- score normalized to 6 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 9/10 — dependency not pinned by hash detected -- score normalized to 9 |
| Security-Policy | 0/10 — security policy file not detected |
| License | 9/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/sinon/7.1.0 — retrieved 2026-10-29T11:50:14.901Z
- https://api.deps.dev/v3/projects/github.com%2Fsinonjs%2Fsinon — retrieved 2026-10-29T08:26:21.336Z
- https://api.deps.dev/v3/systems/npm/packages/sinon/versions/7.1.0 — retrieved 2026-10-29T11:50:15.429Z
- https://api.deps.dev/v3/systems/npm/packages/sinon/versions/7.1.0:dependencies — retrieved 2026-10-29T11:50:15.457Z