diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99d6a27..3d3138f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,13 +17,13 @@ jobs: timeout-minutes: 60 steps: - name: Checkout repository - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Install Node 22 - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: node-version: 22 cache: 'pnpm' @@ -48,7 +48,7 @@ jobs: run: echo "version=$(jq -r .devDependencies.wrangler package.json | cut -c2-)" >> "$GITHUB_OUTPUT" - name: Build & Deploy Worker - uses: cloudflare/wrangler-action@9681c2997648301493e78cacbfb790a9f19c833f # v3.9.0 + uses: cloudflare/wrangler-action@b2a0191ce60d21388e1a8dcc968b4e9966f938e1 # v3.11.0 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d449df..b180d61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Biome uses: biomejs/setup-biome@1cbe33ead22c7a2fded3b52fa2893611c815c9b5 # v2.2.1 @@ -23,13 +23,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install pnpm uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - name: Install Node 22 - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: node-version: 22 cache: 'pnpm' diff --git a/package.json b/package.json index 7dfe33c..73c3c9a 100644 --- a/package.json +++ b/package.json @@ -16,20 +16,20 @@ }, "devDependencies": { "@biomejs/biome": "^1.9.4", - "@cloudflare/workers-types": "^4.20241018.0", - "tsx": "^4.19.1", + "@cloudflare/workers-types": "^4.20241022.0", + "tsx": "^4.19.2", "typescript": "^5.6.3", - "wrangler": "^3.81.0" + "wrangler": "^3.84.1" }, "dependencies": { "@discordjs/builders": "^1.9.0", "@discordjs/rest": "^2.4.0", "dedent": "^1.5.3", - "discord-api-types": "^0.37.102", + "discord-api-types": "^0.37.103", "discord-verify": "^1.2.0" }, "engines": { "node": ">=22.0.0" }, - "packageManager": "pnpm@9.12.2" + "packageManager": "pnpm@9.12.3" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed1bf1e..165c467 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: ^1.5.3 version: 1.5.3 discord-api-types: - specifier: ^0.37.102 - version: 0.37.102 + specifier: ^0.37.103 + version: 0.37.103 discord-verify: specifier: ^1.2.0 version: 1.2.0 @@ -28,17 +28,17 @@ importers: specifier: ^1.9.4 version: 1.9.4 '@cloudflare/workers-types': - specifier: ^4.20241018.0 - version: 4.20241018.0 + specifier: ^4.20241022.0 + version: 4.20241022.0 tsx: - specifier: ^4.19.1 - version: 4.19.1 + specifier: ^4.19.2 + version: 4.19.2 typescript: specifier: ^5.6.3 version: 5.6.3 wrangler: - specifier: ^3.81.0 - version: 3.81.0(@cloudflare/workers-types@4.20241018.0) + specifier: ^3.84.1 + version: 3.84.1(@cloudflare/workers-types@4.20241022.0) packages: @@ -99,42 +99,42 @@ packages: resolution: {integrity: sha512-YLPHc8yASwjNkmcDMQMY35yiWjoKAKnhUbPRszBRS0YgH+IXtsMp61j+yTcnCE3oO2DgP0U3iejLC8FTtKDC8Q==} engines: {node: '>=16.13'} - '@cloudflare/workerd-darwin-64@1.20241011.1': - resolution: {integrity: sha512-gZ2PrMCQ4WdDCB+V6vsB2U2SyYcmgaGMEa3GGjcUfC79L/8so3Vp/bO0eCoLmvttRs39wascZ+JiWL0HpcZUgA==} + '@cloudflare/workerd-darwin-64@1.20241022.0': + resolution: {integrity: sha512-1NNYun37myMTgCUiPQEJ0cMal4mKZVTpkD0b2tx9hV70xji+frVJcSK8YVLeUm1P+Rw1d/ct8DMgQuCpsz3Fsw==} engines: {node: '>=16'} cpu: [x64] os: [darwin] - '@cloudflare/workerd-darwin-arm64@1.20241011.1': - resolution: {integrity: sha512-c26TYtS0e3WZ09nL/a8YaEqveCsTlgDm12ehPMNua9u68sh1KzETMl2G45O934m8UrI3Rhpv2TTecO0S5b9exA==} + '@cloudflare/workerd-darwin-arm64@1.20241022.0': + resolution: {integrity: sha512-FOO/0P0U82EsTLTdweNVgw+4VOk5nghExLPLSppdOziq6IR5HVgP44Kmq5LdsUeHUhwUmfOh9hzaTpkNzUqKvw==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] - '@cloudflare/workerd-linux-64@1.20241011.1': - resolution: {integrity: sha512-pl4xvHNXnm3cYh5GwHadOTQRWt4Ih/gzCOb6RW4n78oNQQydFvpwqYAjbYk32y485feLhdTKXut/MgZAyWnKyQ==} + '@cloudflare/workerd-linux-64@1.20241022.0': + resolution: {integrity: sha512-RsNc19BQJG9yd+ngnjuDeG9ywZG+7t1L4JeglgceyY5ViMNMKVO7Zpbsu69kXslU9h6xyQG+lrmclg3cBpnhYA==} engines: {node: '>=16'} cpu: [x64] os: [linux] - '@cloudflare/workerd-linux-arm64@1.20241011.1': - resolution: {integrity: sha512-I4HAF2Qe8xgIjAdE53viT2fDdHXkrb3Be0L3eWeeP5SEkOtQ4cHLqsOV7yhUWOJpHiI1XCDcf+wdfn0PB/EngQ==} + '@cloudflare/workerd-linux-arm64@1.20241022.0': + resolution: {integrity: sha512-x5mUXpKxfsosxcFmcq5DaqLs37PejHYVRsNz1cWI59ma7aC4y4Qn6Tf3i0r9MwQTF/MccP4SjVslMU6m4W7IaA==} engines: {node: '>=16'} cpu: [arm64] os: [linux] - '@cloudflare/workerd-windows-64@1.20241011.1': - resolution: {integrity: sha512-oVr1Cb7NkDpukd7v68FdxOH8vaHRSzHkX9uE/IttHd2yPK6mwOS220nIxK9UMcx5CwZmrgphRwtZwSYVk/lREQ==} + '@cloudflare/workerd-windows-64@1.20241022.0': + resolution: {integrity: sha512-eBCClx4szCOgKqOlxxbdNszMqQf3MRG1B9BRIqEM/diDfdR9IrZ8l3FaEm+l9gXgPmS6m1NBn40aWuGBl8UTSw==} engines: {node: '>=16'} cpu: [x64] os: [win32] - '@cloudflare/workers-shared@0.6.0': - resolution: {integrity: sha512-rfUCvb3hx4AsvdUZsxgk9lmgEnQehqV3jdtXLP/Xr0+P56n11T/0nXNMzmn7Nnv+IJFOV6X9NmFhuMz4sBPw7w==} + '@cloudflare/workers-shared@0.7.0': + resolution: {integrity: sha512-LLQRTqx7lKC7o2eCYMpyc5FXV8d0pUX6r3A+agzhqS9aoR5A6zCPefwQGcvbKx83ozX22ATZcemwxQXn12UofQ==} engines: {node: '>=16.7.0'} - '@cloudflare/workers-types@4.20241018.0': - resolution: {integrity: sha512-gGWumpaaqnjN/G6SI7CZQ13G4SpIUV+EM8QqvuN2D3cGDF6mKIm+ov7H4x7V/c+AdY90v0FCc8B5nmEEt90MvQ==} + '@cloudflare/workers-types@4.20241022.0': + resolution: {integrity: sha512-1zOAw5QIDKItzGatzCrEpfLOB1AuMTwVqKmbw9B9eBfCUGRFNfJYMrJxIwcse9EmKahsQt2GruqU00pY/GyXgg==} '@cspotcode/source-map-support@0.8.1': resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} @@ -553,6 +553,9 @@ packages: data-uri-to-buffer@2.0.2: resolution: {integrity: sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA==} + date-fns@4.1.0: + resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==} + debug@4.3.7: resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} engines: {node: '>=6.0'} @@ -573,8 +576,8 @@ packages: defu@6.1.4: resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} - discord-api-types@0.37.102: - resolution: {integrity: sha512-5+m5twqG8n77rLhKuh2c/971UWszEL/c3KbdvVLUBTPXuS8PbYC/7W7NYhwP02qowjj6CHoKYZbD0ppOUCsT6g==} + discord-api-types@0.37.103: + resolution: {integrity: sha512-r+qitxXKe2l6KFw5odPdZSSqdEou+7eNC7BfbZ7mny5Me/K06wCTeKUMVeH/YsI9+4QQudskeQ307kr/7ppQ1A==} discord-api-types@0.37.97: resolution: {integrity: sha512-No1BXPcVkyVD4ZVmbNgDKaBoqgeQ+FJpzZ8wqHkfmBnTZig1FcH3iPPersiK1TUIAzgClh2IvOuVUYfcWLQAOA==} @@ -656,6 +659,9 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} + itty-time@1.0.6: + resolution: {integrity: sha512-+P8IZaLLBtFv8hCkIjcymZOp4UJ+xW6bSlQsXGqrkmJh7vSiMFSlNne0mCYagEE0N7HDNR5jJBRxwN0oYv61Rw==} + lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -670,8 +676,8 @@ packages: engines: {node: '>=10.0.0'} hasBin: true - miniflare@3.20241011.0: - resolution: {integrity: sha512-Mb3U9+QvKgIUl9LgHwBxEz8WajMRYqO5mMHRtO8yHjNCLGh24I6Ts9z13zRAYGPDd1xBQ1o983fHT9S+tn6r+A==} + miniflare@3.20241022.0: + resolution: {integrity: sha512-x9Fbq1Hmz1f0osIT9Qmj78iX4UpCP2EqlZnA/tzj/3+I49vc3Kq0fNqSSKplcdf6HlCHdL3fOBicmreQF4BUUQ==} engines: {node: '>=16.13'} hasBin: true @@ -772,8 +778,8 @@ packages: tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} - tsx@4.19.1: - resolution: {integrity: sha512-0flMz1lh74BR4wOvBjuh9olbnwqCPc35OOlfyzHba0Dc+QNUeWX/Gq2YTbnwcWPO3BMd8fkzRVrHcsR+a7z7rA==} + tsx@4.19.2: + resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==} engines: {node: '>=18.0.0'} hasBin: true @@ -796,20 +802,20 @@ packages: resolution: {integrity: sha512-U8uCCl2x9TK3WANvmBavymRzxbfFYG+tAu+fgx3zxQy3qdagQqBLwJVrdyO1TBfUXvfKveMKJZhpvUYoOjM+4g==} engines: {node: '>=18.17'} - unenv-nightly@2.0.0-20241009-125958-e8ea22f: - resolution: {integrity: sha512-hRxmKz1iSVRmuFx/vBdPsx7rX4o7Cas9vdjDNeUeWpQTK2LzU3Xy3Jz0zbo7MJX0bpqo/LEFCA+GPwsbl6zKEQ==} + unenv-nightly@2.0.0-20241024-111401-d4156ac: + resolution: {integrity: sha512-xJO1hfY+Te+/XnfCYrCbFbRcgu6XEODND1s5wnVbaBCkuQX7JXF7fHEXPrukFE2j8EOH848P8QN19VO47XN8hw==} - workerd@1.20241011.1: - resolution: {integrity: sha512-ORobT1XDkE+p+36yk6Szyw68bWuGSmuwIlDnAeUOfnYunb/Txt0jg7ydzfwr4UIsof7AH5F1nqZms5PWLu05yw==} + workerd@1.20241022.0: + resolution: {integrity: sha512-jyGXsgO9DRcJyx6Ovv7gUyDPc3UYC2i/E0p9GFUg6GUzpldw4Y93y9kOmdfsOnKZ3+lY53veSiUniiBPE6Q2NQ==} engines: {node: '>=16'} hasBin: true - wrangler@3.81.0: - resolution: {integrity: sha512-sa5dhLJAMmYtl/dJWDJ92sdnKj0VUC0DYBfGqbhd5xn7CDdn1oGhICDXtx2E6BNhQ1L+4d9oAcP/oQvOs5gKLA==} + wrangler@3.84.1: + resolution: {integrity: sha512-w27/QpIk2qz6aMIVi9T8cDcXMvh/RXjcL+vf4o5J2GpQAE4U7wTCNHyaY9H3oTJWRN97KqCAEbiHBNtTKoUJEw==} engines: {node: '>=16.17.0'} hasBin: true peerDependencies: - '@cloudflare/workers-types': ^4.20241011.0 + '@cloudflare/workers-types': ^4.20241022.0 peerDependenciesMeta: '@cloudflare/workers-types': optional: true @@ -876,27 +882,27 @@ snapshots: dependencies: mime: 3.0.0 - '@cloudflare/workerd-darwin-64@1.20241011.1': + '@cloudflare/workerd-darwin-64@1.20241022.0': optional: true - '@cloudflare/workerd-darwin-arm64@1.20241011.1': + '@cloudflare/workerd-darwin-arm64@1.20241022.0': optional: true - '@cloudflare/workerd-linux-64@1.20241011.1': + '@cloudflare/workerd-linux-64@1.20241022.0': optional: true - '@cloudflare/workerd-linux-arm64@1.20241011.1': + '@cloudflare/workerd-linux-arm64@1.20241022.0': optional: true - '@cloudflare/workerd-windows-64@1.20241011.1': + '@cloudflare/workerd-windows-64@1.20241022.0': optional: true - '@cloudflare/workers-shared@0.6.0': + '@cloudflare/workers-shared@0.7.0': dependencies: mime: 3.0.0 zod: 3.23.8 - '@cloudflare/workers-types@4.20241018.0': {} + '@cloudflare/workers-types@4.20241022.0': {} '@cspotcode/source-map-support@0.8.1': dependencies: @@ -1198,6 +1204,8 @@ snapshots: data-uri-to-buffer@2.0.2: {} + date-fns@4.1.0: {} + debug@4.3.7: dependencies: ms: 2.1.3 @@ -1206,7 +1214,7 @@ snapshots: defu@6.1.4: {} - discord-api-types@0.37.102: {} + discord-api-types@0.37.103: {} discord-api-types@0.37.97: {} @@ -1318,6 +1326,8 @@ snapshots: is-number@7.0.0: {} + itty-time@1.0.6: {} + lodash@4.17.21: {} magic-bytes.js@1.10.0: {} @@ -1328,7 +1338,7 @@ snapshots: mime@3.0.0: {} - miniflare@3.20241011.0: + miniflare@3.20241022.0: dependencies: '@cspotcode/source-map-support': 0.8.1 acorn: 8.12.1 @@ -1338,7 +1348,7 @@ snapshots: glob-to-regexp: 0.4.1 stoppable: 1.1.0 undici: 5.28.4 - workerd: 1.20241011.1 + workerd: 1.20241022.0 ws: 8.18.0 youch: 3.3.3 zod: 3.23.8 @@ -1423,7 +1433,7 @@ snapshots: tslib@2.7.0: {} - tsx@4.19.1: + tsx@4.19.2: dependencies: esbuild: 0.23.1 get-tsconfig: 4.8.1 @@ -1442,42 +1452,44 @@ snapshots: undici@6.19.8: {} - unenv-nightly@2.0.0-20241009-125958-e8ea22f: + unenv-nightly@2.0.0-20241024-111401-d4156ac: dependencies: defu: 6.1.4 ohash: 1.1.4 pathe: 1.1.2 ufo: 1.5.4 - workerd@1.20241011.1: + workerd@1.20241022.0: optionalDependencies: - '@cloudflare/workerd-darwin-64': 1.20241011.1 - '@cloudflare/workerd-darwin-arm64': 1.20241011.1 - '@cloudflare/workerd-linux-64': 1.20241011.1 - '@cloudflare/workerd-linux-arm64': 1.20241011.1 - '@cloudflare/workerd-windows-64': 1.20241011.1 + '@cloudflare/workerd-darwin-64': 1.20241022.0 + '@cloudflare/workerd-darwin-arm64': 1.20241022.0 + '@cloudflare/workerd-linux-64': 1.20241022.0 + '@cloudflare/workerd-linux-arm64': 1.20241022.0 + '@cloudflare/workerd-windows-64': 1.20241022.0 - wrangler@3.81.0(@cloudflare/workers-types@4.20241018.0): + wrangler@3.84.1(@cloudflare/workers-types@4.20241022.0): dependencies: '@cloudflare/kv-asset-handler': 0.3.4 - '@cloudflare/workers-shared': 0.6.0 + '@cloudflare/workers-shared': 0.7.0 '@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 + date-fns: 4.1.0 esbuild: 0.17.19 - miniflare: 3.20241011.0 + itty-time: 1.0.6 + miniflare: 3.20241022.0 nanoid: 3.3.7 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-20241009-125958-e8ea22f - workerd: 1.20241011.1 + unenv: unenv-nightly@2.0.0-20241024-111401-d4156ac + workerd: 1.20241022.0 xxhash-wasm: 1.0.2 optionalDependencies: - '@cloudflare/workers-types': 4.20241018.0 + '@cloudflare/workers-types': 4.20241022.0 fsevents: 2.3.3 transitivePeerDependencies: - bufferutil