Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@lokalise/tsconfig": "^3.0.0",
"@types/newrelic": "^9.14.8",
"@types/node": "^24.7.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/coverage-v8": "^4.1.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

What are the peerDependencies for @vitest/coverage-v8@4.1.0, and is vitest@3.2.4 supported with it?

💡 Result:

For @vitest/coverage-v8@4.1.0, the peerDependencies are:

  • vitest: 4.1.0
  • @vitest/browser: 4.1.0 (optional via peerDependenciesMeta) [1]

Is vitest@3.2.4 supported?
No. @vitest/coverage-v8@4.1.0 expects exactly vitest@4.1.0, so vitest@3.2.4 does not satisfy the peer dependency requirement (you’d get a peer-deps mismatch). [1][2]

Sources:
[1] https://app.unpkg.com/%40vitest/coverage-v8%404.1.0/files/package.json
[2] https://stackoverflow.com/questions/79020692/vitest-coverage-enabled-but-missing-html-reporter


Update vitest to 4.x to match @vitest/coverage-v8@^4.1.0 upgrade.

Line 74 upgrades @vitest/coverage-v8 to ^4.1.0, which requires vitest@4.1.0 as a peer dependency, but Line 86 keeps vitest at ^3.2.4. This mismatch will cause peer dependency resolution failures during install and break coverage functionality.

Proposed fix
     "@vitest/coverage-v8": "^4.1.0",
@@
-    "vitest": "^3.2.4",
+    "vitest": "^4.1.0",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 74, The package.json currently sets
"@vitest/coverage-v8": "^4.1.0" but keeps "vitest" at "^3.2.4", causing a peer
dependency mismatch; update the "vitest" dependency in package.json from
"^3.2.4" to a 4.x compatible version (e.g., "^4.1.0") so it matches
"@vitest/coverage-v8@^4.1.0", then run your package manager install and run the
test/coverage commands to verify compatibility.

"auto-changelog": "^2.4.0",
"bullmq": "^5.67.1",
"dd-trace": "^5.85.0",
Expand Down
Loading