summaryrefslogtreecommitdiff
path: root/workers/package.json
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-07-12 16:42:11 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-07-12 16:42:11 +0300
commitd353f306c7fb85b76221b2f953abe6b0680e7df3 (patch)
treeba469f67865775f8c660e33fb16a44298d76ce1b /workers/package.json
parentd7a182d7ce038c4ffa86500372b519e2d92069e8 (diff)
downloadvyos-documentation-d353f306c7fb85b76221b2f953abe6b0680e7df3.tar.gz
vyos-documentation-d353f306c7fb85b76221b2f953abe6b0680e7df3.zip
docs-infra: align vitest with pool-workers 0.18 peer (dependabot ERESOLVE)
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)
Diffstat (limited to 'workers/package.json')
-rw-r--r--workers/package.json2
1 files changed, 1 insertions, 1 deletions
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"
}
}