-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)
Description
Describe the bug
@vitest/mocker 2.1.3 has a peer-dependency on @vitest/spy@2.1.3, while it also has a dependency, and devDependency on it.
This yields peer-dependency warnings when installing @vitest/mocker, for example through @vitest/browser:
└─┬ @vitest/browser 2.1.3
└─┬ @vitest/mocker 2.1.3
└── ✕ missing peer @vitest/spy@2.1.3
Peer dependencies that should be installed:
@vitest/spy@2.1.3
Reproduction
pnpm i @vitest/browser
System Info
System:
OS: Windows 11 10.0.22000
CPU: (8) x64 12th Gen Intel(R) Core(TM) i9-12900H
Memory: 7.15 GB / 12.34 GB
Binaries:
Node: 18.20.2 - C:\Program Files\nodejs\node.EXE
npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.6.0 - C:\Program Files\nodejs\pnpm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (128.0.2739.54)
Internet Explorer: 11.0.22000.120
npmPackages:
vite: catalog:default => 5.4.8Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p3-minor-bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)