📦 Update /api-routes dependencies

This commit is contained in:
pheralb 2024-09-27 13:32:45 +01:00
parent 8386d525be
commit bdd76af600
2 changed files with 111 additions and 69 deletions

View File

@ -10,11 +10,11 @@
"deploy": "wrangler deploy --minify src/index.ts"
},
"dependencies": {
"@upstash/ratelimit": "2.0.1",
"hono": "4.5.8"
"@upstash/ratelimit": "2.0.3",
"hono": "4.6.3"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20240529.0",
"wrangler": "3.58.0"
"@cloudflare/workers-types": "4.20240925.0",
"wrangler": "3.78.11"
}
}

View File

@ -9,57 +9,61 @@ importers:
.:
dependencies:
'@upstash/ratelimit':
specifier: 2.0.1
version: 2.0.1
specifier: 2.0.3
version: 2.0.3
hono:
specifier: 4.5.8
version: 4.5.8
specifier: 4.6.3
version: 4.6.3
devDependencies:
'@cloudflare/workers-types':
specifier: 4.20240529.0
version: 4.20240529.0
specifier: 4.20240925.0
version: 4.20240925.0
wrangler:
specifier: 3.58.0
version: 3.58.0(@cloudflare/workers-types@4.20240529.0)
specifier: 3.78.11
version: 3.78.11(@cloudflare/workers-types@4.20240925.0)
packages:
'@cloudflare/kv-asset-handler@0.3.2':
resolution: {integrity: sha512-EeEjMobfuJrwoctj7FA1y1KEbM0+Q1xSjobIEyie9k4haVEBB7vkDvsasw1pM3rO39mL2akxIAzLMUAtrMHZhA==}
'@cloudflare/kv-asset-handler@0.3.4':
resolution: {integrity: sha512-YLPHc8yASwjNkmcDMQMY35yiWjoKAKnhUbPRszBRS0YgH+IXtsMp61j+yTcnCE3oO2DgP0U3iejLC8FTtKDC8Q==}
engines: {node: '>=16.13'}
'@cloudflare/workerd-darwin-64@1.20240524.0':
resolution: {integrity: sha512-ATaXjefbTsrv4mpn4Fdua114RRDXcX5Ky+Mv+f4JTUllgalmqC4CYMN4jxRz9IpJU/fNMN8IEfvUyuJBAcl9Iw==}
'@cloudflare/workerd-darwin-64@1.20240925.0':
resolution: {integrity: sha512-KdLnSXuzB65CbqZPm+qYzk+zkQ1tUNPaaRGYVd/jPYAxwwtfTUQdQ+ahDPwVVs2tmQELKy7ZjQjf2apqSWUfjw==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
'@cloudflare/workerd-darwin-arm64@1.20240524.0':
resolution: {integrity: sha512-wnbsZI4CS0QPCd+wnBHQ40C28A/2Qo4ESi1YhE2735G3UNcc876MWksZhsubd+XH0XPIra6eNFqyw6wRMpQOXA==}
'@cloudflare/workerd-darwin-arm64@1.20240925.0':
resolution: {integrity: sha512-MiQ6uUmCXjsXgWNV+Ock2tp2/tYqNJGzjuaH6jFioeRF+//mz7Tv7J7EczOL4zq+TH8QFOh0/PUsLyazIWVGng==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
'@cloudflare/workerd-linux-64@1.20240524.0':
resolution: {integrity: sha512-E8mj+HPBryKwaJAiNsYzXtVjKCL0KvUBZbtxJxlWM4mLSQhT+uwGT3nydb/hFY59rZnQgZslw0oqEWht5TEYiQ==}
'@cloudflare/workerd-linux-64@1.20240925.0':
resolution: {integrity: sha512-Rjix8jsJMfsInmq3Hm3fmiRQ+rwzuWRPV1pg/OWhMSfNP7Qp2RCU+RGkhgeR9Z5eNAje0Sn2BMrFq4RvF9/yRA==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
'@cloudflare/workerd-linux-arm64@1.20240524.0':
resolution: {integrity: sha512-/Fr1W671t2triNCDCBWdStxngnbUfZunZ/2e4kaMLzJDJLYDtYdmvOUCBDzUD4ssqmIMbn9RCQQ0U+CLEoqBqw==}
'@cloudflare/workerd-linux-arm64@1.20240925.0':
resolution: {integrity: sha512-VYIPeMHQRtbwQoIjUwS/zULlywPxyDvo46XkTpIW5MScEChfqHvAYviQ7TzYGx6Q+gmZmN+DUB2KOMx+MEpCxA==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
'@cloudflare/workerd-windows-64@1.20240524.0':
resolution: {integrity: sha512-G+ThDEx57g9mAEKqhWnHaaJgpeGYtyhkmwM/BDpLqPks/rAY5YEfZbY4YL1pNk1kkcZDXGrwIsY8xe9Apf5JdA==}
'@cloudflare/workerd-windows-64@1.20240925.0':
resolution: {integrity: sha512-C8peGvaU5R51bIySi1VbyfRgwNSSRknqoFSnSbSBI3uTN3THTB3UnmRKy7GXJDmyjgXuT9Pcs1IgaWNubLtNtw==}
engines: {node: '>=16'}
cpu: [x64]
os: [win32]
'@cloudflare/workers-types@4.20240529.0':
resolution: {integrity: sha512-W5obfjAwCNdYk3feUHtDfUxtTU6WIq83k6gmrLLJv+HkgCkOTwwrDNs+3w1Qln0tMj+FQx/fbwxw3ZuHIoyzGg==}
'@cloudflare/workers-shared@0.5.4':
resolution: {integrity: sha512-PNL/0TjKRdUHa1kwgVdqUNJVZ9ez4kacsi8omz+gv859EvJmsVuGiMAClY2YfJnC9LVKhKCcjqmFgKNXG9/IXA==}
engines: {node: '>=16.7.0'}
'@cloudflare/workers-types@4.20240925.0':
resolution: {integrity: sha512-KpqyRWvanEuXgBTKYFzRp4NsWOEcswxjsPRSre1zYQcODmc8PUrraVHQUmgvkJgv3FzB+vI9xm7J6oE4MmZHCA==}
'@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
@ -231,8 +235,8 @@ packages:
resolution: {integrity: sha512-7qJHGxpQgQr9/vmeS1PktEwvNAF7TI4iJDi8Pu2CFZ9YUGHZH4fOP5TfYlZ4aVxfopnELiE4BS4FBjyK7V1/xQ==}
engines: {node: '>=16.0.0'}
'@upstash/ratelimit@2.0.1':
resolution: {integrity: sha512-J+0hlkvWUjlVrjcBQhWx7gbaUGsvFF59i+GAx7YQk8L0E0MQ93xzCPu02uaXhGDJGkxiar7nRRPqj3hs+CdAJg==}
'@upstash/ratelimit@2.0.3':
resolution: {integrity: sha512-BMUpZPZ9IMwrUwohw0HoVAwjBRo5SDb0riAxfCGrLbutuZTPiVagh017Cm3GfhMqwUWLOp0xJQxTCXp812UJVQ==}
'@upstash/redis@1.34.0':
resolution: {integrity: sha512-TrXNoJLkysIl8SBc4u9bNnyoFYoILpCcFJcLyWCccb/QSUmaVKdvY0m5diZqc3btExsapcMbaw/s/wh9Sf1pJw==}
@ -290,6 +294,9 @@ packages:
supports-color:
optional: true
defu@6.1.4:
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
esbuild@0.17.19:
resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==}
engines: {node: '>=12'}
@ -332,9 +339,9 @@ packages:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
hono@4.5.8:
resolution: {integrity: sha512-pqpSlcdqGkpTTRpLYU1PnCz52gVr0zVR9H5GzMyJWuKQLLEBQxh96q45QizJ2PPX8NATtz2mu31/PKW/Jt+90Q==}
engines: {node: '>=16.0.0'}
hono@4.6.3:
resolution: {integrity: sha512-0LeEuBNFeSHGqZ9sNVVgZjB1V5fmhkBSB0hZrpqStSMLOWgfLy0dHOvrjbJh0H2khsjet6rbHfWTHY0kpYThKQ==}
engines: {node: '>=16.9.0'}
is-binary-path@2.1.0:
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
@ -363,8 +370,8 @@ packages:
engines: {node: '>=10.0.0'}
hasBin: true
miniflare@3.20240524.1:
resolution: {integrity: sha512-5d3pRxvd5pT7lX1SsBH9+AjXuyHJnChSNOnYhubfi7pxMek4ZfULwhnUmNUp1R7b2xKuzqdFDZa0fsZuUoFxlw==}
miniflare@3.20240925.0:
resolution: {integrity: sha512-2LmQbKHf0n6ertUKhT+Iltixi53giqDH7P71+wCir3OnGyXIODqYwOECx1mSDNhYThpxM2dav8UdPn6SQiMoXw==}
engines: {node: '>=16.13'}
hasBin: true
@ -388,11 +395,17 @@ packages:
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
engines: {node: '>=0.10.0'}
ohash@1.1.4:
resolution: {integrity: sha512-FlDryZAahJmEF3VR3w1KogSEdWX3WhA5GPakFx4J81kEAiHyLMpdLLElS8n8dfNadMgAne/MywcvmogzscVt4g==}
path-parse@1.0.7:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
path-to-regexp@6.2.2:
resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==}
path-to-regexp@6.3.0:
resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==}
pathe@1.1.2:
resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
picomatch@2.3.1:
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
@ -453,6 +466,9 @@ packages:
tslib@2.6.2:
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
ufo@1.5.4:
resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==}
undici-types@5.26.5:
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
@ -460,23 +476,26 @@ packages:
resolution: {integrity: sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==}
engines: {node: '>=14.0'}
workerd@1.20240524.0:
resolution: {integrity: sha512-LWLe5D8PVHBcqturmBbwgI71r7YPpIMYZoVEH6S4G35EqIJ55cb0n3FipoSyraoIfpcCxCFxX1K6WsRHbP3pFA==}
unenv-nightly@2.0.0-20240919-125358-9a64854:
resolution: {integrity: sha512-XjsgUTrTHR7iw+k/SRTNjh6EQgwpC9voygnoCJo5kh4hKqsSDHUW84MhL9EsHTNfLctvVBHaSw8e2k3R2fKXsQ==}
workerd@1.20240925.0:
resolution: {integrity: sha512-/Jj6+yLwfieZGEt3Kx4+5MoufuC3g/8iFaIh4MPBNGJOGYmdSKXvgCqz09m2+tVCYnysRfbq2zcbVxJRBfOCqQ==}
engines: {node: '>=16'}
hasBin: true
wrangler@3.58.0:
resolution: {integrity: sha512-h9gWER7LXLnmHABDNP1p3aqXtchlvSBN8Dp22ZurnkxaLMZ3L3H1Ze1ftiFSs0VRWv0BUnz7AWIUqZmzuBY4Nw==}
wrangler@3.78.11:
resolution: {integrity: sha512-+dWXHgq2DVad03gETiT09cCp+sr7IFcnEquR4gesVdkC4/6E51qHcSC7zAG6S26JMZe+fCaUujhBXQnkWI/Q1g==}
engines: {node: '>=16.17.0'}
hasBin: true
peerDependencies:
'@cloudflare/workers-types': ^4.20240524.0
'@cloudflare/workers-types': ^4.20240925.0
peerDependenciesMeta:
'@cloudflare/workers-types':
optional: true
ws@8.17.0:
resolution: {integrity: sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==}
ws@8.18.0:
resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==}
engines: {node: '>=10.0.0'}
peerDependencies:
bufferutil: ^4.0.1
@ -498,26 +517,31 @@ packages:
snapshots:
'@cloudflare/kv-asset-handler@0.3.2':
'@cloudflare/kv-asset-handler@0.3.4':
dependencies:
mime: 3.0.0
'@cloudflare/workerd-darwin-64@1.20240524.0':
'@cloudflare/workerd-darwin-64@1.20240925.0':
optional: true
'@cloudflare/workerd-darwin-arm64@1.20240524.0':
'@cloudflare/workerd-darwin-arm64@1.20240925.0':
optional: true
'@cloudflare/workerd-linux-64@1.20240524.0':
'@cloudflare/workerd-linux-64@1.20240925.0':
optional: true
'@cloudflare/workerd-linux-arm64@1.20240524.0':
'@cloudflare/workerd-linux-arm64@1.20240925.0':
optional: true
'@cloudflare/workerd-windows-64@1.20240524.0':
'@cloudflare/workerd-windows-64@1.20240925.0':
optional: true
'@cloudflare/workers-types@4.20240529.0': {}
'@cloudflare/workers-shared@0.5.4':
dependencies:
mime: 3.0.0
zod: 3.23.4
'@cloudflare/workers-types@4.20240925.0': {}
'@cspotcode/source-map-support@0.8.1':
dependencies:
@ -622,7 +646,7 @@ snapshots:
dependencies:
'@upstash/redis': 1.34.0
'@upstash/ratelimit@2.0.1':
'@upstash/ratelimit@2.0.3':
dependencies:
'@upstash/core-analytics': 0.0.10
@ -680,6 +704,8 @@ snapshots:
dependencies:
ms: 2.1.2
defu@6.1.4: {}
esbuild@0.17.19:
optionalDependencies:
'@esbuild/android-arm': 0.17.19
@ -735,7 +761,7 @@ snapshots:
dependencies:
function-bind: 1.1.2
hono@4.5.8: {}
hono@4.6.3: {}
is-binary-path@2.1.0:
dependencies:
@ -759,7 +785,7 @@ snapshots:
mime@3.0.0: {}
miniflare@3.20240524.1:
miniflare@3.20240925.0:
dependencies:
'@cspotcode/source-map-support': 0.8.1
acorn: 8.11.3
@ -769,8 +795,8 @@ snapshots:
glob-to-regexp: 0.4.1
stoppable: 1.1.0
undici: 5.28.4
workerd: 1.20240524.0
ws: 8.17.0
workerd: 1.20240925.0
ws: 8.18.0
youch: 3.3.3
zod: 3.23.4
transitivePeerDependencies:
@ -788,9 +814,13 @@ snapshots:
normalize-path@3.0.0: {}
ohash@1.1.4: {}
path-parse@1.0.7: {}
path-to-regexp@6.2.2: {}
path-to-regexp@6.3.0: {}
pathe@1.1.2: {}
picomatch@2.3.1: {}
@ -846,45 +876,57 @@ snapshots:
tslib@2.6.2: {}
ufo@1.5.4: {}
undici-types@5.26.5: {}
undici@5.28.4:
dependencies:
'@fastify/busboy': 2.1.1
workerd@1.20240524.0:
optionalDependencies:
'@cloudflare/workerd-darwin-64': 1.20240524.0
'@cloudflare/workerd-darwin-arm64': 1.20240524.0
'@cloudflare/workerd-linux-64': 1.20240524.0
'@cloudflare/workerd-linux-arm64': 1.20240524.0
'@cloudflare/workerd-windows-64': 1.20240524.0
wrangler@3.58.0(@cloudflare/workers-types@4.20240529.0):
unenv-nightly@2.0.0-20240919-125358-9a64854:
dependencies:
'@cloudflare/kv-asset-handler': 0.3.2
defu: 6.1.4
ohash: 1.1.4
pathe: 1.1.2
ufo: 1.5.4
workerd@1.20240925.0:
optionalDependencies:
'@cloudflare/workerd-darwin-64': 1.20240925.0
'@cloudflare/workerd-darwin-arm64': 1.20240925.0
'@cloudflare/workerd-linux-64': 1.20240925.0
'@cloudflare/workerd-linux-arm64': 1.20240925.0
'@cloudflare/workerd-windows-64': 1.20240925.0
wrangler@3.78.11(@cloudflare/workers-types@4.20240925.0):
dependencies:
'@cloudflare/kv-asset-handler': 0.3.4
'@cloudflare/workers-shared': 0.5.4
'@esbuild-plugins/node-globals-polyfill': 0.2.3(esbuild@0.17.19)
'@esbuild-plugins/node-modules-polyfill': 0.2.2(esbuild@0.17.19)
blake3-wasm: 2.1.5
chokidar: 3.6.0
esbuild: 0.17.19
miniflare: 3.20240524.1
miniflare: 3.20240925.0
nanoid: 3.3.7
path-to-regexp: 6.2.2
path-to-regexp: 6.3.0
resolve: 1.22.8
resolve.exports: 2.0.2
selfsigned: 2.4.1
source-map: 0.6.1
unenv: unenv-nightly@2.0.0-20240919-125358-9a64854
workerd: 1.20240925.0
xxhash-wasm: 1.0.2
optionalDependencies:
'@cloudflare/workers-types': 4.20240529.0
'@cloudflare/workers-types': 4.20240925.0
fsevents: 2.3.3
transitivePeerDependencies:
- bufferutil
- supports-color
- utf-8-validate
ws@8.17.0: {}
ws@8.18.0: {}
xxhash-wasm@1.0.2: {}