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 @@ -49,7 +49,7 @@
"@lokalise/biome-config": "^2.0.0",
"@types/node": "^25.0.2",
"@types/tmp": "^0.2.6",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/coverage-v8": "^4.1.7",

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 | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Local package.json versions:"
python - <<'PY'
import json
p=json.load(open("package.json"))
d=p.get("devDependencies",{})
print("`@vitest/coverage-v8` =", d.get("`@vitest/coverage-v8`"))
print("vitest =", d.get("vitest"))
PY

echo
echo "Registry peerDependencies for `@vitest/coverage-v8`@4.1.7:"
npm view `@vitest/coverage-v8`@4.1.7 peerDependencies --json

Repository: lokalise/node-core

Length of output: 248


Fix Vitest version alignment for @vitest/coverage-v8 (package.json devDependencies, Line 52).

@vitest/coverage-v8@4.1.7 declares peerDependencies on vitest: "4.1.7" (and @vitest/browser: "4.1.7"), but this repo keeps vitest at ^3.2.4 (Line 58). Align vitest to 4.1.7 (and @vitest/browser to 4.1.7 if present) to avoid install/CI and coverage incompatibilities.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 52, Update package.json devDependencies so Vitest and
related `@vitest` packages use matching 4.1.7 versions: change the vitest entry
(currently ^3.2.4) to 4.1.7 and, if present, change `@vitest/browser` to 4.1.7 to
match `@vitest/coverage-v8`@4.1.7; ensure the devDependencies block consistently
references vitest 4.1.7 and run install to verify no peerDependency warnings.

"auto-changelog": "^2.4.0",
"pino-test": "^2.0.0",
"tmp": "^0.2.4",
Expand Down
Loading