⬆️ (API) Upgrade upstash & hono dependencies & types

This commit is contained in:
pheralb
2025-09-08 11:42:13 +01:00
parent 074e9231d1
commit 6f7d3c51f9
2 changed files with 78 additions and 74 deletions
+4 -3
View File
@@ -11,10 +11,11 @@
}, },
"dependencies": { "dependencies": {
"@upstash/ratelimit": "2.0.6", "@upstash/ratelimit": "2.0.6",
"hono": "4.8.12" "@upstash/redis": "1.35.3",
"hono": "4.9.6"
}, },
"devDependencies": { "devDependencies": {
"@cloudflare/workers-types": "4.20250805.0", "@cloudflare/workers-types": "4.20250906.0",
"wrangler": "4.28.0" "wrangler": "4.34.0"
} }
} }
+74 -71
View File
@@ -10,17 +10,20 @@ importers:
dependencies: dependencies:
'@upstash/ratelimit': '@upstash/ratelimit':
specifier: 2.0.6 specifier: 2.0.6
version: 2.0.6(@upstash/redis@1.34.0) version: 2.0.6(@upstash/redis@1.35.3)
'@upstash/redis':
specifier: 1.35.3
version: 1.35.3
hono: hono:
specifier: 4.8.12 specifier: 4.9.6
version: 4.8.12 version: 4.9.6
devDependencies: devDependencies:
'@cloudflare/workers-types': '@cloudflare/workers-types':
specifier: 4.20250805.0 specifier: 4.20250906.0
version: 4.20250805.0 version: 4.20250906.0
wrangler: wrangler:
specifier: 4.28.0 specifier: 4.34.0
version: 4.28.0(@cloudflare/workers-types@4.20250805.0) version: 4.34.0(@cloudflare/workers-types@4.20250906.0)
packages: packages:
@@ -28,47 +31,47 @@ packages:
resolution: {integrity: sha512-+tv3z+SPp+gqTIcImN9o0hqE9xyfQjI1XD9pL6NuKjua9B1y7mNYv0S9cP+QEbA4ppVgGZEmKOvHX5G5Ei1CVA==} resolution: {integrity: sha512-+tv3z+SPp+gqTIcImN9o0hqE9xyfQjI1XD9pL6NuKjua9B1y7mNYv0S9cP+QEbA4ppVgGZEmKOvHX5G5Ei1CVA==}
engines: {node: '>=18.0.0'} engines: {node: '>=18.0.0'}
'@cloudflare/unenv-preset@2.6.0': '@cloudflare/unenv-preset@2.7.2':
resolution: {integrity: sha512-h7Txw0WbDuUbrvZwky6+x7ft+U/Gppfn/rWx6IdR+e9gjygozRJnV26Y2TOr3yrIFa6OsZqqR2lN+jWTrakHXg==} resolution: {integrity: sha512-JY7Uf8GhWcbOMDZX8ke2czp9f9TijvJN4CpRBs3+WYN9U7jHpj3XaV+HHm78iHkAwTm/JeBHqyQNhq/PizynRA==}
peerDependencies: peerDependencies:
unenv: 2.0.0-rc.19 unenv: 2.0.0-rc.20
workerd: ^1.20250802.0 workerd: ^1.20250828.1
peerDependenciesMeta: peerDependenciesMeta:
workerd: workerd:
optional: true optional: true
'@cloudflare/workerd-darwin-64@1.20250803.0': '@cloudflare/workerd-darwin-64@1.20250902.0':
resolution: {integrity: sha512-6QciMnJp1p3F1qUiN0LaLfmw7SuZA/gfUBOe8Ft81pw16JYZ3CyiqIKPJvc1SV8jgDx8r+gz/PRi1NwOMt329A==} resolution: {integrity: sha512-mwC/YEtDUGfnjXdbW5Lya+bgODrpJ5RxxqpaTjtMJycqnjR0RZgVpOqISwGfBHIhseykU3ahPugM5t91XkBKTg==}
engines: {node: '>=16'} engines: {node: '>=16'}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
'@cloudflare/workerd-darwin-arm64@1.20250803.0': '@cloudflare/workerd-darwin-arm64@1.20250902.0':
resolution: {integrity: sha512-DoIgghDowtqoNhL6OoN/F92SKtrk7mRQKc4YSs/Dst8IwFZq+pCShOlWfB0MXqHKPSoiz5xLSrUKR9H6gQMPvw==} resolution: {integrity: sha512-5Wr6a5/ixoXuMPOvbprN8k9HhAHDBh8f7H5V4DN/Xb4ORoGkI9AbC5QPpYV0wa3Ncf+CRSGobdmZNyO24hRccA==}
engines: {node: '>=16'} engines: {node: '>=16'}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
'@cloudflare/workerd-linux-64@1.20250803.0': '@cloudflare/workerd-linux-64@1.20250902.0':
resolution: {integrity: sha512-mYdz4vNWX3+PoqRjssepVQqgh42IBiSrl+wb7vbh7VVWUVzBnQKtW3G+UFiBF62hohCLexGIEi7L0cFfRlcKSQ==} resolution: {integrity: sha512-1yJGt56VQBuG01nrhkRGoa1FGz7xQwJTrgewxt/MRRtigZTf84qJQiPQxyM7PQWCLREKa+JS7G8HFqvOwK7kZA==}
engines: {node: '>=16'} engines: {node: '>=16'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
'@cloudflare/workerd-linux-arm64@1.20250803.0': '@cloudflare/workerd-linux-arm64@1.20250902.0':
resolution: {integrity: sha512-RmrtUYLRUg6djKU7Z6yebS6YGJVnaDVY6bbXca+2s26vw4ibJDOTPLuBHFQF62Grw3fAfsNbjQh5i14vG2mqUg==} resolution: {integrity: sha512-ArDodWzfo0BVqMQGUgaOGV5Mzf8wEMUX8TJonExpGbYavoVXVDbp2rTLFRJg1vkFGpmw1teCtSoOjSDisFZQMg==}
engines: {node: '>=16'} engines: {node: '>=16'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
'@cloudflare/workerd-windows-64@1.20250803.0': '@cloudflare/workerd-windows-64@1.20250902.0':
resolution: {integrity: sha512-uLV8gdudz36o9sUaAKbBxxTwZwLFz1KyW7QpBvOo4+r3Ib8yVKXGiySIMWGD7A0urSMrjf3e5LlLcJKgZUOjMA==} resolution: {integrity: sha512-DT/o8ZSkmze1YGI7vgVt4ST+VYGb3tNChiFnOM9Z8YOejqKqbVvATB4gi/xMSnNR9CsKFqH4hHWDDtz+wf4uZg==}
engines: {node: '>=16'} engines: {node: '>=16'}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
'@cloudflare/workers-types@4.20250805.0': '@cloudflare/workers-types@4.20250906.0':
resolution: {integrity: sha512-HOt0lqFiw5WzhvxH/IViMAWI/zwzokCSx33DlRnJqECT9khskK9X4Jrw/+IiAprJ5YloiFxK8Xn1oGbsabdUWg==} resolution: {integrity: sha512-CMRTupQpAdNZJrxRGaM2JzxmpWOnzgxcyTGmjAOcosRfi1ZsNUTAZ0kj1dzY+4bPDIdFwvvJL3t91DEpqitOJg==}
'@cspotcode/source-map-support@0.8.1': '@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
@@ -367,8 +370,8 @@ packages:
peerDependencies: peerDependencies:
'@upstash/redis': ^1.34.3 '@upstash/redis': ^1.34.3
'@upstash/redis@1.34.0': '@upstash/redis@1.35.3':
resolution: {integrity: sha512-TrXNoJLkysIl8SBc4u9bNnyoFYoILpCcFJcLyWCccb/QSUmaVKdvY0m5diZqc3btExsapcMbaw/s/wh9Sf1pJw==} resolution: {integrity: sha512-hSjv66NOuahW3MisRGlSgoszU2uONAY2l5Qo3Sae8OT3/Tng9K+2/cBRuyPBX8egwEGcNNCF9+r0V6grNnhL+w==}
acorn-walk@8.3.2: acorn-walk@8.3.2:
resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==}
@@ -400,9 +403,6 @@ packages:
resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==} resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}
engines: {node: '>=18'} engines: {node: '>=18'}
crypto-js@4.2.0:
resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==}
defu@6.1.4: defu@6.1.4:
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
@@ -433,8 +433,8 @@ packages:
glob-to-regexp@0.4.1: glob-to-regexp@0.4.1:
resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}
hono@4.8.12: hono@4.9.6:
resolution: {integrity: sha512-MQSKk1Mg7b74k8l+A025LfysnLtXDKkE4pLaSsYRQC5iy85lgZnuyeQ1Wynair9mmECzoLu+FtJtqNZSoogBDQ==} resolution: {integrity: sha512-doVjXhSFvYZ7y0dNokjwwSahcrAfdz+/BCLvAMa/vHLzjj8+CFyV5xteThGUsKdkaasgN+gF2mUxao+SGLpUeA==}
engines: {node: '>=16.9.0'} engines: {node: '>=16.9.0'}
is-arrayish@0.3.2: is-arrayish@0.3.2:
@@ -449,8 +449,8 @@ packages:
engines: {node: '>=10.0.0'} engines: {node: '>=10.0.0'}
hasBin: true hasBin: true
miniflare@4.20250803.0: miniflare@4.20250902.0:
resolution: {integrity: sha512-1tmCLfmMw0SqRBF9PPII9CVLQRzOrO7uIBmSng8BMSmtgs2kos7OeoM0sg6KbR9FrvP/zAniLyZuCAMAjuu4fQ==} resolution: {integrity: sha512-QHjI17yVDxDXsjDvX6GNRySx2uYsQJyiZ2MRBAsA0CFpAI2BcHd4oz0FIjbqgpZK+4Fhm7OKht/AfBNCd234Zg==}
engines: {node: '>=18.0.0'} engines: {node: '>=18.0.0'}
hasBin: true hasBin: true
@@ -489,24 +489,27 @@ packages:
ufo@1.6.1: ufo@1.6.1:
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==} resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
uncrypto@0.1.3:
resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==}
undici@7.13.0: undici@7.13.0:
resolution: {integrity: sha512-l+zSMssRqrzDcb3fjMkjjLGmuiiK2pMIcV++mJaAc9vhjSGpvM7h43QgP+OAMb1GImHmbPyG2tBXeuyG5iY4gA==} resolution: {integrity: sha512-l+zSMssRqrzDcb3fjMkjjLGmuiiK2pMIcV++mJaAc9vhjSGpvM7h43QgP+OAMb1GImHmbPyG2tBXeuyG5iY4gA==}
engines: {node: '>=20.18.1'} engines: {node: '>=20.18.1'}
unenv@2.0.0-rc.19: unenv@2.0.0-rc.20:
resolution: {integrity: sha512-t/OMHBNAkknVCI7bVB9OWjUUAwhVv9vsPIAGnNUxnu3FxPQN11rjh0sksLMzc3g7IlTgvHmOTl4JM7JHpcv5wA==} resolution: {integrity: sha512-8tn4tAl9vD5nWoggAAPz28vf0FY8+pQAayhU94qD+ZkIbVKCBAH/E1MWEEmhb9Whn5EgouYVfBJB20RsTLRDdg==}
workerd@1.20250803.0: workerd@1.20250902.0:
resolution: {integrity: sha512-oYH29mE/wNolPc32NHHQbySaNorj6+KASUtOvQHySxB5mO1NWdGuNv49woxNCF5971UYceGQndY+OLT+24C3wQ==} resolution: {integrity: sha512-rM+8ARYoy9gWJNPW89ERWyjbp7+m1hu6PFbehiP8FW9Hm5kNVo71lXFrkCP2HSsTP1OLfIU/IwanYOijJ0mQDw==}
engines: {node: '>=16'} engines: {node: '>=16'}
hasBin: true hasBin: true
wrangler@4.28.0: wrangler@4.34.0:
resolution: {integrity: sha512-y0yHIuScpok9oSErLqDbxkBChC2+/jZpvqMg2NxOto1JCyUtDUuKljOfcVMaI48d9GuhOCSoWSumYxLAHNxaLA==} resolution: {integrity: sha512-iU+T8klWX6M/oN9y2PG8HrekoHwlBs/7wNMouyRToCJGn5EFtVl98a1fxxPCgkuUNZ2sKLrCyx/TlhgilIlqpQ==}
engines: {node: '>=18.0.0'} engines: {node: '>=18.0.0'}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@cloudflare/workers-types': ^4.20250803.0 '@cloudflare/workers-types': ^4.20250902.0
peerDependenciesMeta: peerDependenciesMeta:
'@cloudflare/workers-types': '@cloudflare/workers-types':
optional: true optional: true
@@ -538,28 +541,28 @@ snapshots:
dependencies: dependencies:
mime: 3.0.0 mime: 3.0.0
'@cloudflare/unenv-preset@2.6.0(unenv@2.0.0-rc.19)(workerd@1.20250803.0)': '@cloudflare/unenv-preset@2.7.2(unenv@2.0.0-rc.20)(workerd@1.20250902.0)':
dependencies: dependencies:
unenv: 2.0.0-rc.19 unenv: 2.0.0-rc.20
optionalDependencies: optionalDependencies:
workerd: 1.20250803.0 workerd: 1.20250902.0
'@cloudflare/workerd-darwin-64@1.20250803.0': '@cloudflare/workerd-darwin-64@1.20250902.0':
optional: true optional: true
'@cloudflare/workerd-darwin-arm64@1.20250803.0': '@cloudflare/workerd-darwin-arm64@1.20250902.0':
optional: true optional: true
'@cloudflare/workerd-linux-64@1.20250803.0': '@cloudflare/workerd-linux-64@1.20250902.0':
optional: true optional: true
'@cloudflare/workerd-linux-arm64@1.20250803.0': '@cloudflare/workerd-linux-arm64@1.20250902.0':
optional: true optional: true
'@cloudflare/workerd-windows-64@1.20250803.0': '@cloudflare/workerd-windows-64@1.20250902.0':
optional: true optional: true
'@cloudflare/workers-types@4.20250805.0': {} '@cloudflare/workers-types@4.20250906.0': {}
'@cspotcode/source-map-support@0.8.1': '@cspotcode/source-map-support@0.8.1':
dependencies: dependencies:
@@ -747,16 +750,16 @@ snapshots:
'@upstash/core-analytics@0.0.10': '@upstash/core-analytics@0.0.10':
dependencies: dependencies:
'@upstash/redis': 1.34.0 '@upstash/redis': 1.35.3
'@upstash/ratelimit@2.0.6(@upstash/redis@1.34.0)': '@upstash/ratelimit@2.0.6(@upstash/redis@1.35.3)':
dependencies: dependencies:
'@upstash/core-analytics': 0.0.10 '@upstash/core-analytics': 0.0.10
'@upstash/redis': 1.34.0 '@upstash/redis': 1.35.3
'@upstash/redis@1.34.0': '@upstash/redis@1.35.3':
dependencies: dependencies:
crypto-js: 4.2.0 uncrypto: 0.1.3
acorn-walk@8.3.2: {} acorn-walk@8.3.2: {}
@@ -782,8 +785,6 @@ snapshots:
cookie@1.0.2: {} cookie@1.0.2: {}
crypto-js@4.2.0: {}
defu@6.1.4: {} defu@6.1.4: {}
detect-libc@2.0.3: {} detect-libc@2.0.3: {}
@@ -827,7 +828,7 @@ snapshots:
glob-to-regexp@0.4.1: {} glob-to-regexp@0.4.1: {}
hono@4.8.12: {} hono@4.9.6: {}
is-arrayish@0.3.2: {} is-arrayish@0.3.2: {}
@@ -835,7 +836,7 @@ snapshots:
mime@3.0.0: {} mime@3.0.0: {}
miniflare@4.20250803.0: miniflare@4.20250902.0:
dependencies: dependencies:
'@cspotcode/source-map-support': 0.8.1 '@cspotcode/source-map-support': 0.8.1
acorn: 8.14.0 acorn: 8.14.0
@@ -845,7 +846,7 @@ snapshots:
sharp: 0.33.5 sharp: 0.33.5
stoppable: 1.1.0 stoppable: 1.1.0
undici: 7.13.0 undici: 7.13.0
workerd: 1.20250803.0 workerd: 1.20250902.0
ws: 8.18.0 ws: 8.18.0
youch: 4.1.0-beta.10 youch: 4.1.0-beta.10
zod: 3.22.3 zod: 3.22.3
@@ -900,9 +901,11 @@ snapshots:
ufo@1.6.1: {} ufo@1.6.1: {}
uncrypto@0.1.3: {}
undici@7.13.0: {} undici@7.13.0: {}
unenv@2.0.0-rc.19: unenv@2.0.0-rc.20:
dependencies: dependencies:
defu: 6.1.4 defu: 6.1.4
exsolve: 1.0.7 exsolve: 1.0.7
@@ -910,26 +913,26 @@ snapshots:
pathe: 2.0.3 pathe: 2.0.3
ufo: 1.6.1 ufo: 1.6.1
workerd@1.20250803.0: workerd@1.20250902.0:
optionalDependencies: optionalDependencies:
'@cloudflare/workerd-darwin-64': 1.20250803.0 '@cloudflare/workerd-darwin-64': 1.20250902.0
'@cloudflare/workerd-darwin-arm64': 1.20250803.0 '@cloudflare/workerd-darwin-arm64': 1.20250902.0
'@cloudflare/workerd-linux-64': 1.20250803.0 '@cloudflare/workerd-linux-64': 1.20250902.0
'@cloudflare/workerd-linux-arm64': 1.20250803.0 '@cloudflare/workerd-linux-arm64': 1.20250902.0
'@cloudflare/workerd-windows-64': 1.20250803.0 '@cloudflare/workerd-windows-64': 1.20250902.0
wrangler@4.28.0(@cloudflare/workers-types@4.20250805.0): wrangler@4.34.0(@cloudflare/workers-types@4.20250906.0):
dependencies: dependencies:
'@cloudflare/kv-asset-handler': 0.4.0 '@cloudflare/kv-asset-handler': 0.4.0
'@cloudflare/unenv-preset': 2.6.0(unenv@2.0.0-rc.19)(workerd@1.20250803.0) '@cloudflare/unenv-preset': 2.7.2(unenv@2.0.0-rc.20)(workerd@1.20250902.0)
blake3-wasm: 2.1.5 blake3-wasm: 2.1.5
esbuild: 0.25.4 esbuild: 0.25.4
miniflare: 4.20250803.0 miniflare: 4.20250902.0
path-to-regexp: 6.3.0 path-to-regexp: 6.3.0
unenv: 2.0.0-rc.19 unenv: 2.0.0-rc.20
workerd: 1.20250803.0 workerd: 1.20250902.0
optionalDependencies: optionalDependencies:
'@cloudflare/workers-types': 4.20250805.0 '@cloudflare/workers-types': 4.20250906.0
fsevents: 2.3.3 fsevents: 2.3.3
transitivePeerDependencies: transitivePeerDependencies:
- bufferutil - bufferutil