Vigia

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 version5.1.0
Published2026-11-02 16:12:19 UTC
Installnpm install @vitest/spy@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagsV3: 3.2.7 V4: 4.1.12 rc: 5.0.0-rc.4 beta: 5.1.0-beta.1 latest: 5.1.0
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 12:37:19 UTC
Sourcesapi.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

Check my whole package.json

Using an AI coding agent every day? Connect Vigia once and it checks this by itself.

Maintenance

Activityactive
Last stable release2026-10-15 14:41:54 UTC · 28 days ago
Stable releases in the last 12 months32
Published versions213

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
4.1.122026-10-15 14:41:54 UTC
5.0.52026-10-15 14:28:29 UTC
5.0.42026-10-12 09:46:55 UTC
5.0.32026-09-30 11:30:17 UTC
5.0.22026-09-25 08:59:58 UTC
5.0.12026-09-15 08:50:53 UTC
5.0.02026-09-03 12:24:07 UTC
4.1.112026-08-18 14:23:47 UTC
4.1.102026-07-06 06:45:32 UTC
3.2.72026-07-06 06:37:09 UTC
4.1.92026-06-15 07:22:46 UTC
3.2.62026-06-01 09:38:39 UTC
3.2.52026-06-01 08:24:58 UTC
4.1.82026-06-01 08:14:17 UTC
4.1.72026-05-20 07:19:11 UTC
4.1.62026-05-11 14:37:16 UTC
4.1.52026-04-21 11:03:27 UTC
4.1.42026-04-09 07:36:25 UTC
4.1.32026-04-07 09:55:21 UTC
4.1.22026-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

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/@vitest/spy/version.svg)](https://vigia.coredls.cloud/npm/@vitest/spy)
[![maintained](https://vigia.coredls.cloud/badge/npm/@vitest/spy/maintained.svg)](https://vigia.coredls.cloud/npm/@vitest/spy)
[![status](https://vigia.coredls.cloud/badge/npm/@vitest/spy/status.svg)](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}