npm · npm:sinon
sinon active
JavaScript test spies, stubs and mocks.
The latest stable version of sinon is 22.1.0, published on 2026-07-20. Verified by Vigia on 2026-11-12.
| Latest stable version | 22.1.0 |
|---|---|
| Published | 2026-07-20 17:59:28 UTC |
| Install | npm install sinon@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 22.1.0 |
| License | BSD-3-Clause |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 14:39:46 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "sinon", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/sinon . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-20 17:59:28 UTC · 115 days ago |
| Stable releases in the last 12 months | 8 |
| Published versions | 221 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
22.1.0 | 2026-07-20 17:59:28 UTC |
22.0.0 | 2026-05-05 22:11:55 UTC |
21.1.2 | 2026-04-11 17:31:25 UTC |
21.1.1 | 2026-04-10 20:56:03 UTC |
21.1.0 | 2026-04-09 15:21:28 UTC |
21.0.3 | 2026-03-16 12:03:15 UTC |
21.0.2 | 2026-03-04 09:40:10 UTC |
21.0.1 | 2025-12-19 14:18:41 UTC |
21.0.0 | 2025-06-13 05:12:31 UTC |
20.0.0 | 2025-03-24 18:22:37 UTC |
19.0.5 | 2025-03-24 17:54:03 UTC |
19.0.4 | 2025-03-19 14:10:43 UTC |
19.0.3 | 2025-03-19 13:46:44 UTC |
19.0.2 | 2024-09-13 14:05:06 UTC |
19.0.1 | 2024-09-13 11:16:49 UTC |
19.0.0 | 2024-09-13 00:10:27 UTC |
18.0.1 | 2024-09-10 20:14:17 UTC |
18.0.0 | 2024-05-15 12:10:46 UTC |
17.0.2 withdrawn | 2024-05-07 14:52:05 UTC |
17.0.1 | 2023-11-01 10:14:55 UTC |
Showing the 20 most recent of 211 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of sinon?
The latest stable version of sinon is 22.1.0, published on 2026-07-20. Verified by Vigia on 2026-11-12.
How do I install the latest version of sinon?
Run npm install sinon@latest. The latest stable version is 22.1.0 (verified 2026-11-12).
Is sinon deprecated?
No. sinon is not marked as deprecated in the registry.
Which Node.js version does sinon require?
sinon 22.1.0 does not declare a Node.js version requirement.
Does sinon 22.1.0 have known vulnerabilities?
No known advisories affect sinon 22.1.0 according to the data Vigia checks.
Is sinon still maintained?
sinon published 8 stable releases in the last 12 months; the most recent was 115 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- less
- os-browserify
- dargs
- react-i18next
- fast-wrap-ansi
- index-to-position
- @pnpm/config.env-replace
- @esbuild/android-arm
- stackblur-canvas
- tty-browserify
- @tiptap/extension-link
- @babel/plugin-proposal-private-methods
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/sinon) [](https://vigia.coredls.cloud/npm/sinon) [](https://vigia.coredls.cloud/npm/sinon)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/sinon
GET https://vigia.coredls.cloud/v1/packages/npm/sinon/versions/{version}