From d353f306c7fb85b76221b2f953abe6b0680e7df3 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sun, 12 Jul 2026 16:42:11 +0300 Subject: docs-infra: align vitest with pool-workers 0.18 peer (dependabot ERESOLVE) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dependabot bumped @cloudflare/vitest-pool-workers to 0.18.4 (peer: vitest ^4.1.0) while workers/package.json still pinned vitest ~3.2.0, so npm ci ERESOLVEs in workers/ on rolling (docs-build run 29153221240; apex-deploy affected too). Bump vitest to ~4.1.0 to match the peer. 0.18.4 also removed the `@cloudflare/vitest-pool-workers/config` subpath export in favor of a `cloudflareTest()` Vite plugin — vitest.config.ts updated to the new shape (defineConfig from vitest/config + plugins: [cloudflareTest(...)]), matching the package's own vitest-v3-to-v4 codemod. No other files reference the old API. Verified: clean `npm ci` from a deleted node_modules resolves without --force/--legacy-peer-deps, `npm audit` reports 0 vulnerabilities (ws/wrangler bumps stay in place), and the full suite (`npx vitest run`) passes 84/84 across all 9 test files. 🤖 Generated by [robots](https://vyos.io) --- workers/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'workers/package.json') diff --git a/workers/package.json b/workers/package.json index 9e358aab..4697c947 100644 --- a/workers/package.json +++ b/workers/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.18.4", "typescript": "^5.5.0", - "vitest": "~3.2.0", + "vitest": "~4.1.0", "wrangler": "^4.34.0" } } -- cgit v1.2.3