npm · npm:@vitest/spy
@vitest/spy active
Lightweight Jest compatible spy implementation
The latest stable version of @vitest/spy is 5.1.0, published on 2026-11-02. Verified by Vigia on 2026-11-12.
| Latest stable version | 5.1.0 |
|---|---|
| Published | 2026-11-02 16:12:19 UTC |
| Install | npm install @vitest/spy@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | V3: 3.2.7 V4: 4.1.12 rc: 5.0.0-rc.4 beta: 5.1.0-beta.1 latest: 5.1.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:37:19 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 "@vitest/spy", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@vitest/spy . 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-10-15 14:41:54 UTC · 28 days ago |
| Stable releases in the last 12 months | 32 |
| Published versions | 213 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.1.12 | 2026-10-15 14:41:54 UTC |
5.0.5 | 2026-10-15 14:28:29 UTC |
5.0.4 | 2026-10-12 09:46:55 UTC |
5.0.3 | 2026-09-30 11:30:17 UTC |
5.0.2 | 2026-09-25 08:59:58 UTC |
5.0.1 | 2026-09-15 08:50:53 UTC |
5.0.0 | 2026-09-03 12:24:07 UTC |
4.1.11 | 2026-08-18 14:23:47 UTC |
4.1.10 | 2026-07-06 06:45:32 UTC |
3.2.7 | 2026-07-06 06:37:09 UTC |
4.1.9 | 2026-06-15 07:22:46 UTC |
3.2.6 | 2026-06-01 09:38:39 UTC |
3.2.5 | 2026-06-01 08:24:58 UTC |
4.1.8 | 2026-06-01 08:14:17 UTC |
4.1.7 | 2026-05-20 07:19:11 UTC |
4.1.6 | 2026-05-11 14:37:16 UTC |
4.1.5 | 2026-04-21 11:03:27 UTC |
4.1.4 | 2026-04-09 07:36:25 UTC |
4.1.3 | 2026-04-07 09:55:21 UTC |
4.1.2 | 2026-03-26 14:36:22 UTC |
Showing the 20 most recent of 138 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 @vitest/spy?
The latest stable version of @vitest/spy is 5.1.0, published on 2026-11-02. Verified by Vigia on 2026-11-12.
How do I install the latest version of @vitest/spy?
Run npm install @vitest/spy@latest. The latest stable version is 5.1.0 (verified 2026-11-12).
Is @vitest/spy deprecated?
No. @vitest/spy is not marked as deprecated in the registry.
Which Node.js version does @vitest/spy require?
@vitest/spy 5.1.0 does not declare a Node.js version requirement.
Does @vitest/spy 5.1.0 have known vulnerabilities?
No known advisories affect @vitest/spy 5.1.0 according to the data Vigia checks.
Is @vitest/spy still maintained?
@vitest/spy published 32 stable releases in the last 12 months; the most recent was 28 days ago. Activity: active.
Observed changes
- ue Nov 03 2026 12:11:54 GMT+0000 (Coordinated Universal Time) — released 5.1.0 → 5.1.0
- Mon Nov 02 2026 16:24:47 GM +0000 (Coordinated Universal Time) — released 5.0.5 → 5.1.0
- Fri Oct 16 2026 10:31:12 GM +0000 (Coordinated Universal Time) — released 5.0.5 → 5.0.5
- hu Oct 15 2026 14:40:38 GMT+0000 (Coordinated Universal Time) — released 5.0.4 → 5.0.5
- Mon Oct 12 2026 10:01:47 GM +0000 (Coordinated Universal Time) — released 5.0.3 → 5.0.4
- Wed Sep 30 2026 11:42:24 GM +0000 (Coordinated Universal Time) — released 5.0.2 → 5.0.3
Related packages
- css-select
- set-function-length
- get-tsconfig
- @types/babel__core
- deepmerge
- forwarded
- jose
- react
- @typescript-eslint/parser
- @floating-ui/core
- tar-stream
- ajv-keywords
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@vitest/spy) [](https://vigia.coredls.cloud/npm/@vitest/spy) [](https://vigia.coredls.cloud/npm/@vitest/spy)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@vitest/spy
GET https://vigia.coredls.cloud/v1/packages/npm/@vitest/spy/versions/{version}