sinon 19.0.3
JavaScript test spies, stubs and mocks.
sinon@19.0.3 was published on 2025-03-19. 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.
All sinon versions · Permanent reference to 19.0.3 · View npm registry JSON · Latest release
Package specifications
| Version | 19.0.3 |
|---|---|
| License declaration | BSD-3-Clause |
| Published | 2025-03-19T13:46:44.718Z |
| 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 | 5277.29 KiB |
| Published file count | 49 |
| Package type | module |
| ES module entry | ./pkg/sinon-esm.js |
| Default entry | ./lib/sinon.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 9752 |
| Repository forks | 815 |
Install sinon 19.0.3
npm install sinon@19.0.3 pnpm add sinon@19.0.3 yarn add sinon@19.0.3
Runtime dependencies
- diff ^7.0.0
- nise ^6.1.1
- supports-color ^7.2.0
- @sinonjs/samsam ^8.0.1
- @sinonjs/commons ^3.0.1
- @sinonjs/fake-timers ^13.0.5
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@3.0.1 — direct
- @sinonjs/fake-timers@13.0.5 — direct
- @sinonjs/fake-timers@15.4.0 — indirect
- @sinonjs/samsam@8.0.3 — direct
- diff@7.0.0 — direct
- has-flag@4.0.0 — indirect
- just-extend@6.2.0 — indirect
- nise@6.1.5 — direct
- path-to-regexp@8.4.2 — indirect
- supports-color@7.2.0 — direct
- type-detect@4.0.8 — indirect
- type-detect@4.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 — 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
- Readable npm registry JSON — retrieved 2026-11-03T11:06:06.952Z
- https://api.deps.dev/v3/systems/npm/packages/sinon/versions/19.0.3 — retrieved 2026-11-03T11:06:07.040Z
- https://api.deps.dev/v3/systems/npm/packages/sinon/versions/19.0.3:dependencies — retrieved 2026-11-03T11:06:07.062Z
- https://api.deps.dev/v3/projects/github.com%2Fsinonjs%2Fsinon — retrieved 2026-11-03T09:11:13.471Z