From fcf3413634aa60dbf0876197fda12e77955a01c0 Mon Sep 17 00:00:00 2001 From: RhenCloud Date: Sun, 2 Aug 2026 07:06:23 +0800 Subject: [PATCH] fix(deps): bump @cloudflare/workers-types to v5 to match wrangler peer wrangler@4.118 requires @cloudflare/workers-types@^5, so a fresh `npm install` (Cloudflare Workers Build CI) failed with ERESOLVE against the old ^4 pin. Align to ^5; typecheck, lint and tests still pass. --- bun.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index 153f629..9b93a84 100644 --- a/bun.lock +++ b/bun.lock @@ -11,7 +11,7 @@ "yaml": "^2.7.0", }, "devDependencies": { - "@cloudflare/workers-types": "^4.20250115.0", + "@cloudflare/workers-types": "^5.20260801.1", "@typescript-eslint/eslint-plugin": "^8.21.0", "@typescript-eslint/parser": "^8.21.0", "eslint": "^9.18.0", @@ -82,7 +82,7 @@ "@cloudflare/workerd-windows-64": ["@cloudflare/workerd-windows-64@1.20260730.1", "", { "os": "win32", "cpu": "x64" }, "sha512-27fAN+vUECW1oYVc1KOcHYpkL8COM2Uxtxql7TL595kxbjoqS5yckw7NLz7bTf2pALFCZWjqXDjZGJ/xbG4ZKQ=="], - "@cloudflare/workers-types": ["@cloudflare/workers-types@4.20260702.1", "", {}, "sha512-mOhf5TUEB1m2vPrxtqoIGfz0fUC9xyxRDx5gWHy5s+OCo6dcV+g7wI1R7gYCMFohhqF/2y2xeKVwMwCJjfn/WA=="], + "@cloudflare/workers-types": ["@cloudflare/workers-types@5.20260801.1", "", {}, "sha512-XCv5xWi47WQOK0LpLa6997Mrpz8Ct+nZmp/M5Xp8Z4BFsarf7nYjkznGOcOoYK5m1GfbMFEEuQ2OIZnbIWoe9A=="], "@cspotcode/source-map-support": ["@cspotcode/source-map-support@0.8.1", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="], diff --git a/package.json b/package.json index 9efabb7..37f43fe 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "yaml": "^2.7.0" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20250115.0", + "@cloudflare/workers-types": "^5.20260801.1", "@typescript-eslint/eslint-plugin": "^8.21.0", "@typescript-eslint/parser": "^8.21.0", "eslint": "^9.18.0",