sinon 11.0.0
JavaScript test spies, stubs and mocks.
sinon@11.0.0 was published on 2021-05-24. Its manifest declares 6 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 11.0.0 · Latest release
Package specifications
| Version | 11.0.0 |
|---|---|
| License declaration | BSD-3-Clause |
| Published | 2021-05-24T21:06:44.355Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 6 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 4705.65 KiB |
| Published file count | 51 |
| 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 | 14 |
| Repository stars | 9753 |
| Repository forks | 811 |
Install sinon 11.0.0
npm install sinon@11.0.0 pnpm add sinon@11.0.0 yarn add sinon@11.0.0
Runtime dependencies
- diff ^5.0.0
- nise ^5.0.4
- supports-color ^8.1.1
- @sinonjs/samsam ^6.0.2
- @sinonjs/commons ^1.8.3
- @sinonjs/fake-timers ^7.1.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/commons@3.0.1 — indirect
- @sinonjs/fake-timers@11.3.1 — indirect
- @sinonjs/fake-timers@7.1.2 — direct
- @sinonjs/samsam@6.1.3 — direct
- @sinonjs/text-encoding@0.7.3 — indirect
- diff@5.2.2 — direct
- has-flag@4.0.0 — indirect
- just-extend@6.2.0 — indirect
- lodash.get@4.4.2 — indirect
- nise@5.1.9 — direct
- path-to-regexp@6.3.0 — indirect
- supports-color@8.1.1 — direct
- type-detect@4.0.8 — 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 — 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/11.0.0 — retrieved 2026-10-29T10:59:10.967Z
- 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/11.0.0 — retrieved 2026-10-29T10:59:11.574Z
- https://api.deps.dev/v3/systems/npm/packages/sinon/versions/11.0.0:dependencies — retrieved 2026-10-29T10:59:11.654Z