Fix Dependabot alerts for undici

This commit is contained in:
xixu-me committed 2026-03-17 14:55:54 +08:00
1 parent 00c940633d
commit a92bf4ea22
4 files changed
+827 -1625

No files matched your search

+808 -1611
View File
File diff suppressed because it is too large. Load diff
+6 -3
View File
@@ -2,9 +2,9 @@
"author": "Xi Xu",
"description": "A Telegram bot built on Cloudflare Workers that automatically uploads files and photos sent to it directly to Google Drive",
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.12.5",
"vitest": "~3.2.0",
"wrangler": "^4.59.3"
"@cloudflare/vitest-pool-workers": "^0.13.1",
"vitest": "^4.1.0",
"wrangler": "^4.74.0"
},
"homepage": "https://github.com/xixu-me/gdrive-upload-robot",
"keywords": [
@@ -19,6 +19,9 @@
"license": "GPL-3.0",
"main": "src/index.js",
"name": "gdrive-upload-robot",
"overrides": {
"undici": "7.24.4"
},
"private": false,
"repository": {
"type": "git",
-11
View File
@@ -1,11 +0,0 @@
import { defineWorkersConfig } from '@cloudflare/vitest-pool-workers/config';
export default defineWorkersConfig({
test: {
poolOptions: {
workers: {
wrangler: { configPath: './wrangler.jsonc' },
},
},
},
});
+13
View File
@@ -0,0 +1,13 @@
import { cloudflareTest } from '@cloudflare/vitest-pool-workers';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [
cloudflareTest({
wrangler: { configPath: './wrangler.jsonc' },
}),
],
test: {
include: ['test/**/*.test.js'],
},
});