chore: (api-routes) upgrade hono & @upstash/redis dependencies

This commit is contained in:
pheralb
2025-11-11 00:35:53 +00:00
parent 5e0d933bdc
commit 6b53786f25
2 changed files with 75 additions and 99 deletions
+5 -5
View File
@@ -10,12 +10,12 @@
"deploy": "wrangler deploy --minify src/index.ts"
},
"dependencies": {
"@upstash/ratelimit": "2.0.6",
"@upstash/redis": "1.35.4",
"hono": "4.9.8"
"@upstash/ratelimit": "2.0.7",
"@upstash/redis": "1.35.6",
"hono": "4.10.4"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20250924.0",
"wrangler": "4.40.0"
"@cloudflare/workers-types": "4.20251109.0",
"wrangler": "4.46.0"
}
}
+70 -94
View File
@@ -9,21 +9,21 @@ importers:
.:
dependencies:
'@upstash/ratelimit':
specifier: 2.0.6
version: 2.0.6(@upstash/redis@1.35.4)
specifier: 2.0.7
version: 2.0.7(@upstash/redis@1.35.6)
'@upstash/redis':
specifier: 1.35.4
version: 1.35.4
specifier: 1.35.6
version: 1.35.6
hono:
specifier: 4.9.8
version: 4.9.8
specifier: 4.10.4
version: 4.10.4
devDependencies:
'@cloudflare/workers-types':
specifier: 4.20250924.0
version: 4.20250924.0
specifier: 4.20251109.0
version: 4.20251109.0
wrangler:
specifier: 4.40.0
version: 4.40.0(@cloudflare/workers-types@4.20250924.0)
specifier: 4.46.0
version: 4.46.0(@cloudflare/workers-types@4.20251109.0)
packages:
@@ -31,47 +31,47 @@ packages:
resolution: {integrity: sha512-+tv3z+SPp+gqTIcImN9o0hqE9xyfQjI1XD9pL6NuKjua9B1y7mNYv0S9cP+QEbA4ppVgGZEmKOvHX5G5Ei1CVA==}
engines: {node: '>=18.0.0'}
'@cloudflare/unenv-preset@2.7.4':
resolution: {integrity: sha512-KIjbu/Dt50zseJIoOOK5y4eYpSojD9+xxkePYVK1Rg9k/p/st4YyMtz1Clju/zrenJHrOH+AAcjNArOPMwH4Bw==}
'@cloudflare/unenv-preset@2.7.9':
resolution: {integrity: sha512-Drm7qlTKnvncEv+DANiQNEonq0H0LyIsoFZYJ6tJ8OhAoy5udIE8yp6BsVDYcIjcYLIybp4M7c/P7ly/56SoHg==}
peerDependencies:
unenv: 2.0.0-rc.21
workerd: ^1.20250912.0
unenv: 2.0.0-rc.24
workerd: ^1.20250927.0
peerDependenciesMeta:
workerd:
optional: true
'@cloudflare/workerd-darwin-64@1.20250924.0':
resolution: {integrity: sha512-/+nWoNDIzdQaQib7MrWYEfeDt1vA40Ah68nXlZGXHonkIqJvkjaTP8dzdKZLuwnQokiV/SpnAXNMH0WGH31XMw==}
'@cloudflare/workerd-darwin-64@1.20251105.0':
resolution: {integrity: sha512-nztUP35wTtUKM+681dBWtUNSySNWELTV+LY43oWy7ZhK19/iBJPQoFY7xpvF7zy4qOOShtise259B65DS4/71Q==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
'@cloudflare/workerd-darwin-arm64@1.20250924.0':
resolution: {integrity: sha512-UAjC5mra+WNWy6jMbIDe9orsFmYvvMlfvZdUyn5p3NlQhhU6cc4FkFuXJ/bV+6oVw5hIhlLlFCTnsGatki/uHg==}
'@cloudflare/workerd-darwin-arm64@1.20251105.0':
resolution: {integrity: sha512-WS/dvPYTW/+gs8s0UvDqDY7wcuIAg/hUpjrMNGepr+Mo38vMU39FYhJQOly99oJCXxMluQqAnRKg09b/9Gr+Rg==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
'@cloudflare/workerd-linux-64@1.20250924.0':
resolution: {integrity: sha512-IcwaoZFXGHq+yOBEj91QZH4qU61ws5upE7T43wVcrUAk8VXgxL12IGUVkMCEqfFXTO40PjKZBmK16B2q1HoFow==}
'@cloudflare/workerd-linux-64@1.20251105.0':
resolution: {integrity: sha512-RdHRHo/hpjR6sNw529FkmslVSz/K3Pb1+i3fIoqUrHCrZOUYzFyz3nLeZh4EYaAhcztLWiSTwBv54bcl4sG3wA==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
'@cloudflare/workerd-linux-arm64@1.20250924.0':
resolution: {integrity: sha512-NgKG/cJiRNoJFa8QqweG0/bpkrUYKpR9mA9/qLJcGiwfvJrfK9b+ucw0lCru1BVMlyuS3kWDjagjMWqfujdBkA==}
'@cloudflare/workerd-linux-arm64@1.20251105.0':
resolution: {integrity: sha512-5zkxQCqLjwrqZVVJh92J2Drv6xifkP8kN2ltjHdwZQlVzfDW48d7tAtCm1ZooUv204ixvZFarusCfL+IRjExZg==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
'@cloudflare/workerd-windows-64@1.20250924.0':
resolution: {integrity: sha512-PntewemtjgLO2+8Gjw3G/NowDjpWZNKpKk/n4KmOQaWS9jIRq3IG1LkTqxj/BbMXqa4Oyrywk2kdqspj6QllOw==}
'@cloudflare/workerd-windows-64@1.20251105.0':
resolution: {integrity: sha512-6BpkfjBIbGR+4FBOcZGcWDLM0XQuoI6R9Dublj/BKf4pv0/xJ4zHdnaYUb5NIlC75L55Ouqw0CEJasoKlMjgnw==}
engines: {node: '>=16'}
cpu: [x64]
os: [win32]
'@cloudflare/workers-types@4.20250924.0':
resolution: {integrity: sha512-pi/OYCroYdwjFWbkciC5oYzlyimDF4ymNotDK0zpLNq91Ogz1IXnVBAYV7fCFAJ/zIxU0RiIBrJIOll/C0pR9Q==}
'@cloudflare/workers-types@4.20251109.0':
resolution: {integrity: sha512-/wMfoS6NmoY0GgKVoRUp4x0yiZM0eNXwXTTzM7gFJKcm+0NtZmzUzgXj6xpShkfWSrmug0mX7BbyaFMAMHFlPA==}
'@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
@@ -365,13 +365,13 @@ packages:
resolution: {integrity: sha512-7qJHGxpQgQr9/vmeS1PktEwvNAF7TI4iJDi8Pu2CFZ9YUGHZH4fOP5TfYlZ4aVxfopnELiE4BS4FBjyK7V1/xQ==}
engines: {node: '>=16.0.0'}
'@upstash/ratelimit@2.0.6':
resolution: {integrity: sha512-Uak5qklMfzFN5RXltxY6IXRENu+Hgmo9iEgMPOlUs2etSQas2N+hJfbHw37OUy4vldLRXeD0OzL+YRvO2l5acg==}
'@upstash/ratelimit@2.0.7':
resolution: {integrity: sha512-qNQW4uBPKVk8c4wFGj2S/vfKKQxXx1taSJoSGBN36FeiVBBKHQgsjPbKUijZ9Xu5FyVK+pfiXWKIsQGyoje8Fw==}
peerDependencies:
'@upstash/redis': ^1.34.3
'@upstash/redis@1.35.4':
resolution: {integrity: sha512-WE1ZnhFyBiIjTDW13GbO6JjkiMVVjw5VsvS8ENmvvJsze/caMQ5paxVD44+U68IUVmkXcbsLSoE+VIYsHtbQEw==}
'@upstash/redis@1.35.6':
resolution: {integrity: sha512-aSEIGJgJ7XUfTYvhQcQbq835re7e/BXjs8Janq6Pvr6LlmTZnyqwT97RziZLO/8AVUL037RLXqqiQC6kCt+5pA==}
acorn-walk@8.3.2:
resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
@@ -403,9 +403,6 @@ packages:
resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}
engines: {node: '>=18'}
defu@6.1.4:
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
detect-libc@2.0.3:
resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==}
engines: {node: '>=8'}
@@ -422,9 +419,6 @@ packages:
resolution: {integrity: sha512-eNTPlAD67BmP31LDINZ3U7HSF8l57TxOY2PmBJ1shpCvpnxBF93mWCE8YHBnXs8qiUZJc9WDcWIeC3a2HIAMfw==}
engines: {node: '>=6'}
exsolve@1.0.7:
resolution: {integrity: sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==}
fsevents@2.3.3:
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
@@ -433,8 +427,8 @@ packages:
glob-to-regexp@0.4.1:
resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
hono@4.9.8:
resolution: {integrity: sha512-JW8Bb4RFWD9iOKxg5PbUarBYGM99IcxFl2FPBo2gSJO11jjUDqlP1Bmfyqt8Z/dGhIQ63PMA9LdcLefXyIasyg==}
hono@4.10.4:
resolution: {integrity: sha512-YG/fo7zlU3KwrBL5vDpWKisLYiM+nVstBQqfr7gCPbSYURnNEP9BDxEMz8KfsDR9JX0lJWDRNc6nXX31v7ZEyg==}
engines: {node: '>=16.9.0'}
is-arrayish@0.3.2:
@@ -449,14 +443,11 @@ packages:
engines: {node: '>=10.0.0'}
hasBin: true
miniflare@4.20250924.0:
resolution: {integrity: sha512-eQuWHklTeYYOil7sPPWo7Wrw86I4oac1kGAYfYcjg5dqMgMAiPUHvUWXMlTvW8ON6q33Ew23AsGDirm+Bea9ig==}
miniflare@4.20251105.0:
resolution: {integrity: sha512-n+lCQbGLPjHFm5EKMohxCl+hLIki9rIlJSU9FkYKdJ62cGacetmTH5IgWUZhUFFM+NqhqZLOuWXTAsoZTm0hog==}
engines: {node: '>=18.0.0'}
hasBin: true
ohash@2.0.11:
resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==}
path-to-regexp@6.3.0:
resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==}
@@ -486,9 +477,6 @@ packages:
tslib@2.6.2:
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
ufo@1.6.1:
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
uncrypto@0.1.3:
resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==}
@@ -496,20 +484,20 @@ packages:
resolution: {integrity: sha512-Vqs8HTzjpQXZeXdpsfChQTlafcMQaaIwnGwLam1wudSSjlJeQ3bw1j+TLPePgrCnCpUXx7Ba5Pdpf5OBih62NQ==}
engines: {node: '>=20.18.1'}
unenv@2.0.0-rc.21:
resolution: {integrity: sha512-Wj7/AMtE9MRnAXa6Su3Lk0LNCfqDYgfwVjwRFVum9U7wsto1imuHqk4kTm7Jni+5A0Hn7dttL6O/zjvUvoo+8A==}
unenv@2.0.0-rc.24:
resolution: {integrity: sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==}
workerd@1.20250924.0:
resolution: {integrity: sha512-ovO2vwRCcMOlOm3bNwQQrVb8KDcewE/3rjfbZAYSF535BQQDUZ9dE1kyGBYlGx4W5udH3kqmOr+0YqTBLlycyA==}
workerd@1.20251105.0:
resolution: {integrity: sha512-8D1UmsxrRr3Go7enbYCsYoiWeGn66u1WFNojPSgtjp7z8pV2cXskjr05vQ1OOzl7+rg1hDDofnCJqVwChMym8g==}
engines: {node: '>=16'}
hasBin: true
wrangler@4.40.0:
resolution: {integrity: sha512-HCPNUz599h9emi6qjppn92kxS6E12QvD0A3K087CZFEysw6lO1saZUdJ8azk0LsYGYDnrkBs5TzUOEfpuccwWA==}
wrangler@4.46.0:
resolution: {integrity: sha512-WRROO7CL+MW/E44RMT4X7w32qPjufiPpGdey5D6H7iKzzVqfUkTRULxYBfWANiU1yGnsiCXQtu3Ap0G2TmohtA==}
engines: {node: '>=18.0.0'}
hasBin: true
peerDependencies:
'@cloudflare/workers-types': ^4.20250924.0
'@cloudflare/workers-types': ^4.20251014.0
peerDependenciesMeta:
'@cloudflare/workers-types':
optional: true
@@ -541,28 +529,28 @@ snapshots:
dependencies:
mime: 3.0.0
'@cloudflare/unenv-preset@2.7.4(unenv@2.0.0-rc.21)(workerd@1.20250924.0)':
'@cloudflare/unenv-preset@2.7.9(unenv@2.0.0-rc.24)(workerd@1.20251105.0)':
dependencies:
unenv: 2.0.0-rc.21
unenv: 2.0.0-rc.24
optionalDependencies:
workerd: 1.20250924.0
workerd: 1.20251105.0
'@cloudflare/workerd-darwin-64@1.20250924.0':
'@cloudflare/workerd-darwin-64@1.20251105.0':
optional: true
'@cloudflare/workerd-darwin-arm64@1.20250924.0':
'@cloudflare/workerd-darwin-arm64@1.20251105.0':
optional: true
'@cloudflare/workerd-linux-64@1.20250924.0':
'@cloudflare/workerd-linux-64@1.20251105.0':
optional: true
'@cloudflare/workerd-linux-arm64@1.20250924.0':
'@cloudflare/workerd-linux-arm64@1.20251105.0':
optional: true
'@cloudflare/workerd-windows-64@1.20250924.0':
'@cloudflare/workerd-windows-64@1.20251105.0':
optional: true
'@cloudflare/workers-types@4.20250924.0': {}
'@cloudflare/workers-types@4.20251109.0': {}
'@cspotcode/source-map-support@0.8.1':
dependencies:
@@ -750,14 +738,14 @@ snapshots:
'@upstash/core-analytics@0.0.10':
dependencies:
'@upstash/redis': 1.35.4
'@upstash/redis': 1.35.6
'@upstash/ratelimit@2.0.6(@upstash/redis@1.35.4)':
'@upstash/ratelimit@2.0.7(@upstash/redis@1.35.6)':
dependencies:
'@upstash/core-analytics': 0.0.10
'@upstash/redis': 1.35.4
'@upstash/redis': 1.35.6
'@upstash/redis@1.35.4':
'@upstash/redis@1.35.6':
dependencies:
uncrypto: 0.1.3
@@ -785,8 +773,6 @@ snapshots:
cookie@1.0.2: {}
defu@6.1.4: {}
detect-libc@2.0.3: {}
error-stack-parser-es@1.0.5: {}
@@ -821,14 +807,12 @@ snapshots:
exit-hook@2.2.1: {}
exsolve@1.0.7: {}
fsevents@2.3.3:
optional: true
glob-to-regexp@0.4.1: {}
hono@4.9.8: {}
hono@4.10.4: {}
is-arrayish@0.3.2: {}
@@ -836,7 +820,7 @@ snapshots:
mime@3.0.0: {}
miniflare@4.20250924.0:
miniflare@4.20251105.0:
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.14.0
@@ -846,7 +830,7 @@ snapshots:
sharp: 0.33.5
stoppable: 1.1.0
undici: 7.14.0
workerd: 1.20250924.0
workerd: 1.20251105.0
ws: 8.18.0
youch: 4.1.0-beta.10
zod: 3.22.3
@@ -854,8 +838,6 @@ snapshots:
- bufferutil
- utf-8-validate
ohash@2.0.11: {}
path-to-regexp@6.3.0: {}
pathe@2.0.3: {}
@@ -899,40 +881,34 @@ snapshots:
tslib@2.6.2:
optional: true
ufo@1.6.1: {}
uncrypto@0.1.3: {}
undici@7.14.0: {}
unenv@2.0.0-rc.21:
unenv@2.0.0-rc.24:
dependencies:
defu: 6.1.4
exsolve: 1.0.7
ohash: 2.0.11
pathe: 2.0.3
ufo: 1.6.1
workerd@1.20250924.0:
workerd@1.20251105.0:
optionalDependencies:
'@cloudflare/workerd-darwin-64': 1.20250924.0
'@cloudflare/workerd-darwin-arm64': 1.20250924.0
'@cloudflare/workerd-linux-64': 1.20250924.0
'@cloudflare/workerd-linux-arm64': 1.20250924.0
'@cloudflare/workerd-windows-64': 1.20250924.0
'@cloudflare/workerd-darwin-64': 1.20251105.0
'@cloudflare/workerd-darwin-arm64': 1.20251105.0
'@cloudflare/workerd-linux-64': 1.20251105.0
'@cloudflare/workerd-linux-arm64': 1.20251105.0
'@cloudflare/workerd-windows-64': 1.20251105.0
wrangler@4.40.0(@cloudflare/workers-types@4.20250924.0):
wrangler@4.46.0(@cloudflare/workers-types@4.20251109.0):
dependencies:
'@cloudflare/kv-asset-handler': 0.4.0
'@cloudflare/unenv-preset': 2.7.4(unenv@2.0.0-rc.21)(workerd@1.20250924.0)
'@cloudflare/unenv-preset': 2.7.9(unenv@2.0.0-rc.24)(workerd@1.20251105.0)
blake3-wasm: 2.1.5
esbuild: 0.25.4
miniflare: 4.20250924.0
miniflare: 4.20251105.0
path-to-regexp: 6.3.0
unenv: 2.0.0-rc.21
workerd: 1.20250924.0
unenv: 2.0.0-rc.24
workerd: 1.20251105.0
optionalDependencies:
'@cloudflare/workers-types': 4.20250924.0
'@cloudflare/workers-types': 4.20251109.0
fsevents: 2.3.3
transitivePeerDependencies:
- bufferutil