Skip to content

Commit 9dbee94

Browse files
committed
chore(deps): downgrade vitest to v4.1.11
Downgrades vitest and @amiceli/vitest-cucumber in order to resolve incompatibilities with @cloudflare/vitest-pool-workers, which only officially supports vitest ^4.1.0. Upgrading to vitest 5.0.1 causes SyntaxError crashes during worker startup. Also updates prek.toml to exclude pnpm-lock.yaml from check-yaml because pnpm v9+ uses multiple YAML documents in lockfiles, which the hook parser does not support by default.
1 parent 4e7027f commit 9dbee94

4 files changed

Lines changed: 87 additions & 68 deletions

File tree

‎mcp/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@
4747
"tsup": "8.5.1",
4848
"tsx": "4.23.12",
4949
"typescript": "7.0.2",
50-
"vitest": "5.0.1"
50+
"vitest": "4.1.11"
5151
}
5252
}

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"zod": "4.4.3"
3434
},
3535
"devDependencies": {
36-
"@amiceli/vitest-cucumber": "8.0.0",
36+
"@amiceli/vitest-cucumber": "7.0.0",
3737
"@cloudflare/vite-plugin": "1.52.1",
3838
"@cloudflare/vitest-pool-workers": "0.21.3",
3939
"@fast-check/vitest": "0.4.1",
@@ -49,7 +49,7 @@
4949
"typescript": "7.0.2",
5050
"vite": "8.2.1",
5151
"vite-plugin-solid": "2.11.14",
52-
"vitest": "5.0.1",
52+
"vitest": "4.1.11",
5353
"wrangler": "4.123.0"
5454
}
5555
}

‎pnpm-lock.yaml‎

Lines changed: 83 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎prek.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repo = "builtin"
55
hooks = [
66
{ id = "check-json", priority = 0 },
77
{ id = "check-toml", priority = 0 },
8-
{ id = "check-yaml", priority = 0 },
8+
{ id = "check-yaml", priority = 0, args = ["--multi"] },
99
{ id = "end-of-file-fixer", priority = 0 },
1010
{ id = "trailing-whitespace", priority = 0 },
1111
]

0 commit comments

Comments
 (0)