---
title: "@vitest/spy 5.0.5"
description: "Latest published version of @vitest/spy is 5.0.5, licensed MIT. Current as of our last registry check."
url: https://inlinr.com/packages/@vitest/spy
lang: en
---

[Packages](https://inlinr.com/packages)

# @vitest/spy

5.0.5 · 15 Oct 2026 MIT 202.7M / week [Repository](https://github.com/vitest-dev/vitest) [Homepage](https://vitest.dev/api/mock) [npm](https://www.npmjs.com/package/@vitest/spy) [Atom feed](https://inlinr.com/packages/feed/@vitest/spy)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@vitest/spy/upgrade)

LineNewestSecurity

- 5.x 5.0.5 No known advisory Latest line
- 4.x 4.1.12 No known advisory [To 5.0.5](https://inlinr.com/packages/@vitest/spy/upgrade/4.1.12-5.0.5)
- 3.x 3.2.7 No known advisory [To 5.0.5](https://inlinr.com/packages/@vitest/spy/upgrade/3.2.7-5.0.5)
- 2.x 2.1.9 No known advisory [To 5.0.5](https://inlinr.com/packages/@vitest/spy/upgrade/2.1.9-5.0.5)
- 1.x 1.6.1 No known advisory [To 5.0.5](https://inlinr.com/packages/@vitest/spy/upgrade/1.6.1-5.0.5)
- 0.x 0.34.7 No known advisory [To 5.0.5](https://inlinr.com/packages/@vitest/spy/upgrade/0.34.7-5.0.5)

## Latest releases

[All 138 releases](https://inlinr.com/packages/@vitest/spy/releases)

1. 5.x · latest line
2. ### [5.0.5](https://inlinr.com/packages/@vitest/spy/releases/5.0.5 "Open this release") [](https://github.com/vitest-dev/vitest/releases/tag/v5.0.5 "Read this release where it was published")  
15 Oct 2026

  - Keep vite default `fs.deny` with api token file
  - Handle quoted file names in `--changed`
  - Add `data` to the `import.meta.hot` stub
3. ### [5.0.4](https://inlinr.com/packages/@vitest/spy/releases/5.0.4 "Open this release") [](https://github.com/vitest-dev/vitest/releases/tag/v5.0.4 "Read this release where it was published")  
12 Oct 2026

  - **experimental:** Tag cache directories with CACHEDIR.TAG
  - **experimental:** Support `test.ui.theme` option
  - **experimental:** Highlight selector multiple matches in trace view
4. ### [5.0.3](https://inlinr.com/packages/@vitest/spy/releases/5.0.3 "Open this release") [](https://github.com/vitest-dev/vitest/releases/tag/v5.0.3 "Read this release where it was published")  
30 Sep 2026

  - Isolate `result.status` between `repeats` runs
  - Don't print an interceptor warning in browser mode
  - Don't retry when `test.fails` expectedly failed

Dependency tracking · free for 3 projects

## Know when your own dependencies move

@vitest/spy shipped a new major in the last 12 months, among 35 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/@vitest/spy/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Same family

- [@vitest/mocker 168.3M/wk](https://inlinr.com/packages/@vitest/mocker)
- [vitest 141.7M/wk](https://inlinr.com/packages/vitest)
- [@vitest/snapshot 105.6M/wk](https://inlinr.com/packages/@vitest/snapshot)
- [@vitest/runner 102.5M/wk](https://inlinr.com/packages/@vitest/runner)
- [@vitest/coverage-v8 59.2M/wk](https://inlinr.com/packages/@vitest/coverage-v8)
- [@vitest/ui 24.5M/wk](https://inlinr.com/packages/@vitest/ui)
- [@vitest/browser 19.9M/wk](https://inlinr.com/packages/@vitest/browser)
- [@vitest/browser-playwright 13.6M/wk](https://inlinr.com/packages/@vitest/browser-playwright)

Registry facts last checked 30 Oct 2026\. Releases and advisories last read 30 Oct 2026.
