From 4388f42ade2e6e14b6c1008abb28b6bb98ee4a30 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Sat, 6 Apr 2024 15:43:48 +1100 Subject: [PATCH] Upgrade Node.js to 21.7.2 --- Dockerfile | 2 +- package.json | 8 +-- yarn.lock | 153 +++++++++++++++++++++++++++------------------------ 3 files changed, 86 insertions(+), 77 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3d28cb..417ea38 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:21.7.1-alpine3.19 +FROM node:21.7.2-alpine3.19 ENV YARN_VERSION 4.1.1 ENV TZ Australia/Sydney RUN yarn policies set-version $YARN_VERSION diff --git a/package.json b/package.json index 323e9fa..7402df4 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "packageManager": "yarn@4.1.1+sha256.f3cc0eda8e5560e529c7147565b30faa43b4e472d90e8634d7134a37c7f59781", "dependencies": { "@napi-rs/canvas": "0.1.51", - "@octokit/rest": "20.0.2", + "@octokit/rest": "20.1.0", "@sequelize/core": "7.0.0-alpha.39", - "@toast/tokenservice-client": "1.2.1", + "@toast/tokenservice-client": "1.2.3", "ansi-colors": "4.1.3", "dayjs": "1.11.10", "discord.js": "14.14.1", @@ -48,9 +48,9 @@ }, "devDependencies": { "@types/ms": "0.7.34", - "@types/node": "20.12.3", + "@types/node": "20.12.5", "@types/node-cron": "3.0.11", "@types/pg": "8.11.4", - "typescript": "5.4.3" + "typescript": "5.4.4" } } diff --git a/yarn.lock b/yarn.lock index e68fc61..38a31eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6,11 +6,11 @@ __metadata: cacheKey: 10 "@babel/runtime@npm:^7.24.0": - version: 7.24.1 - resolution: "@babel/runtime@npm:7.24.1" + version: 7.24.4 + resolution: "@babel/runtime@npm:7.24.4" dependencies: regenerator-runtime: "npm:^0.14.0" - checksum: 10/3a8d61400c636d1ce3a42895a106cd4dfb4e9b88832a8a754a724c68652f821d7a46dce394305d7623f9f0d3597bf0a98aeb5f9c150ef60e14bbbf66caab4654 + checksum: 10/8ec8ce2c145bc7e31dd39ab66df124f357f65c11489aefacb30f431bae913b9aaa66aa5efe5321ea2bf8878af3fcee338c87e7599519a952e3a6f83aa1b03308 languageName: node linkType: hard @@ -249,39 +249,39 @@ __metadata: languageName: node linkType: hard -"@octokit/core@npm:^5.0.0": - version: 5.1.0 - resolution: "@octokit/core@npm:5.1.0" +"@octokit/core@npm:^5.0.2": + version: 5.2.0 + resolution: "@octokit/core@npm:5.2.0" dependencies: "@octokit/auth-token": "npm:^4.0.0" - "@octokit/graphql": "npm:^7.0.0" - "@octokit/request": "npm:^8.0.2" - "@octokit/request-error": "npm:^5.0.0" - "@octokit/types": "npm:^12.0.0" + "@octokit/graphql": "npm:^7.1.0" + "@octokit/request": "npm:^8.3.1" + "@octokit/request-error": "npm:^5.1.0" + "@octokit/types": "npm:^13.0.0" before-after-hook: "npm:^2.2.0" universal-user-agent: "npm:^6.0.0" - checksum: 10/8062e86a3088f24a691b36d2c3e9f33e864cefcb5f544b0633650358bce280708b111551cbe855ecf6a5190d6fc4fec1220117c329a2c27525940dd97b868614 + checksum: 10/2e40baf0b5c6949922436a653c213be43befd9690c43dd89872f669f3ac23117ae8ae5e5d6c18094813756c71c3f4fbedd575a891f0b89e12f58b2c38b7f3c13 languageName: node linkType: hard -"@octokit/endpoint@npm:^9.0.0": - version: 9.0.4 - resolution: "@octokit/endpoint@npm:9.0.4" +"@octokit/endpoint@npm:^9.0.1": + version: 9.0.5 + resolution: "@octokit/endpoint@npm:9.0.5" dependencies: - "@octokit/types": "npm:^12.0.0" + "@octokit/types": "npm:^13.1.0" universal-user-agent: "npm:^6.0.0" - checksum: 10/7df35c96f2b5628fe5b3f44a72614be9b439779c06b4dd1bb72283b3cb2ea53e59e1f9a108798efe5404b6856f4380a4c5be12d93255d854f0683cd6e22f3a27 + checksum: 10/212122f653bf076ec37dd7de44bd54db74aa3cd16be4c395c91444488331becd83351e26b30248168e2cc28fc07b1a96e8f74adbbab02826f76de92e069f391f languageName: node linkType: hard -"@octokit/graphql@npm:^7.0.0": - version: 7.0.2 - resolution: "@octokit/graphql@npm:7.0.2" +"@octokit/graphql@npm:^7.1.0": + version: 7.1.0 + resolution: "@octokit/graphql@npm:7.1.0" dependencies: - "@octokit/request": "npm:^8.0.1" - "@octokit/types": "npm:^12.0.0" + "@octokit/request": "npm:^8.3.0" + "@octokit/types": "npm:^13.0.0" universal-user-agent: "npm:^6.0.0" - checksum: 10/f5dcc51fed5304f65dab83fcea4c2a569107d3b71e8d084199dc44f0d0cfc852c9e1f341b06ae66601f9da4af3aad416b0c62dcd0567ac7568f072d8d90d502e + checksum: 10/da6857a69dc93cd20a11d3a905db4214d269d246a6aaee1d8734f922024b08ffdef0b3cba2ac79917633043b4f50464242b0bd92a265c960083dfff5b833dbbe languageName: node linkType: hard @@ -292,7 +292,14 @@ __metadata: languageName: node linkType: hard -"@octokit/plugin-paginate-rest@npm:^9.0.0": +"@octokit/openapi-types@npm:^21.0.0": + version: 21.2.0 + resolution: "@octokit/openapi-types@npm:21.2.0" + checksum: 10/93bd5b188b7bd6e9ee40893594df4a4a65f4f8f6f46f145625fc990c1ad04c42de21ef6297678fac6e9256316ab2976f895b4e3eb504035c7a8656371e9dac7d + languageName: node + linkType: hard + +"@octokit/plugin-paginate-rest@npm:^9.1.5": version: 9.2.1 resolution: "@octokit/plugin-paginate-rest@npm:9.2.1" dependencies: @@ -312,7 +319,7 @@ __metadata: languageName: node linkType: hard -"@octokit/plugin-rest-endpoint-methods@npm:^10.0.0": +"@octokit/plugin-rest-endpoint-methods@npm:^10.2.0": version: 10.4.1 resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.4.1" dependencies: @@ -323,42 +330,42 @@ __metadata: languageName: node linkType: hard -"@octokit/request-error@npm:^5.0.0": - version: 5.0.1 - resolution: "@octokit/request-error@npm:5.0.1" +"@octokit/request-error@npm:^5.1.0": + version: 5.1.0 + resolution: "@octokit/request-error@npm:5.1.0" dependencies: - "@octokit/types": "npm:^12.0.0" + "@octokit/types": "npm:^13.1.0" deprecation: "npm:^2.0.0" once: "npm:^1.4.0" - checksum: 10/a21a4614c46cb173e4ba73fa048576204f1ddc541dee3e7c938ef36088566e3b25e04ca1f96f375ec2e3cc29b7ba970b3b078a89a20bc50cdcdbed879db94573 + checksum: 10/d03f9f7a408af673cd991eeb450b6f4a5cee6c368f6349eb0211dfc0404fddfcff8b5225ef186020a2a1829adba0aa8c9174155b49ab2ed00a94fb9a886a1dd3 languageName: node linkType: hard -"@octokit/request@npm:^8.0.1, @octokit/request@npm:^8.0.2": - version: 8.2.0 - resolution: "@octokit/request@npm:8.2.0" +"@octokit/request@npm:^8.3.0, @octokit/request@npm:^8.3.1": + version: 8.3.1 + resolution: "@octokit/request@npm:8.3.1" dependencies: - "@octokit/endpoint": "npm:^9.0.0" - "@octokit/request-error": "npm:^5.0.0" - "@octokit/types": "npm:^12.0.0" + "@octokit/endpoint": "npm:^9.0.1" + "@octokit/request-error": "npm:^5.1.0" + "@octokit/types": "npm:^13.0.0" universal-user-agent: "npm:^6.0.0" - checksum: 10/553ba8b99ea6fe2d3b66b2be6df06f7fe62a0b81e441d334ef25388cf0fcdab4a888fcfe2c1fb1ada262c233bcf7169da3ad5e03f024060ea5723f7753b0de3e + checksum: 10/9df92d1e2c739cdfc01eef11ffa88e36a6dbd2b52f950b27fe5e47f5b795f9df2e99318adab28e16ff360197e7db49f2d34dad25d432abe77c7f4657fc8c681e languageName: node linkType: hard -"@octokit/rest@npm:20.0.2": - version: 20.0.2 - resolution: "@octokit/rest@npm:20.0.2" +"@octokit/rest@npm:20.1.0": + version: 20.1.0 + resolution: "@octokit/rest@npm:20.1.0" dependencies: - "@octokit/core": "npm:^5.0.0" - "@octokit/plugin-paginate-rest": "npm:^9.0.0" + "@octokit/core": "npm:^5.0.2" + "@octokit/plugin-paginate-rest": "npm:^9.1.5" "@octokit/plugin-request-log": "npm:^4.0.0" - "@octokit/plugin-rest-endpoint-methods": "npm:^10.0.0" - checksum: 10/527e1806ca274209a2a7daa485010dafb2ebb6c9b0b44c1d33a8f1f16f10e54a96386a4f642dc416160842a4b367d3953d27f8b827b9a94600709d2ac5e95d21 + "@octokit/plugin-rest-endpoint-methods": "npm:^10.2.0" + checksum: 10/a34ef12f066128dcac2680ba3a3fad8b2eb1ce0f278b613bf4497310701a752148c0a9703a6fb35326dcfb9a1958c541a6722d5c6eaf2e1612c8b935dfed8eb3 languageName: node linkType: hard -"@octokit/types@npm:^12.0.0, @octokit/types@npm:^12.6.0": +"@octokit/types@npm:^12.6.0": version: 12.6.0 resolution: "@octokit/types@npm:12.6.0" dependencies: @@ -367,6 +374,15 @@ __metadata: languageName: node linkType: hard +"@octokit/types@npm:^13.0.0, @octokit/types@npm:^13.1.0": + version: 13.1.0 + resolution: "@octokit/types@npm:13.1.0" + dependencies: + "@octokit/openapi-types": "npm:^21.0.0" + checksum: 10/3ca6bf76ee1e07ba5bf5aea911948878f82dc0ca5295902f1a3bb405ea008b927bf9dd6c2b3d6e875a7ecfbd7f5b6dc00be3e23adc89ba6fa015c1a00836f920 + languageName: node + linkType: hard + "@redis/bloom@npm:1.2.0": version: 1.2.0 resolution: "@redis/bloom@npm:1.2.0" @@ -509,12 +525,12 @@ __metadata: languageName: node linkType: hard -"@toast/tokenservice-client@npm:1.2.1": - version: 1.2.1 - resolution: "@toast/tokenservice-client@npm:1.2.1::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.2.1%2Ftokenservice-client-1.2.1.tgz" +"@toast/tokenservice-client@npm:1.2.3": + version: 1.2.3 + resolution: "@toast/tokenservice-client@npm:1.2.3::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.2.3%2Ftokenservice-client-1.2.3.tgz" dependencies: - undici: "npm:6.10.2" - checksum: 10/5a3ea8b0c4678f574ffe595cecae05c8b94f4d5800662dfd73f97260a324f9a2e0f54433faae6620d3822e83d2380404a52fb7f1daf6dd1a8b4083f52c2519c9 + undici: "npm:6.11.1" + checksum: 10/c6c5764117bf3ae5df494eb42e528ba558b4eab3ca7f88105869894f1c9570bee12bfcddd282dc26b838bc43baca450292059dfd4f40e24e82783d702912c5bf languageName: node linkType: hard @@ -548,12 +564,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:20.12.3": - version: 20.12.3 - resolution: "@types/node@npm:20.12.3" +"@types/node@npm:*, @types/node@npm:20.12.5": + version: 20.12.5 + resolution: "@types/node@npm:20.12.5" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/3f3c5c6ba118a18aa997c51cdc3c66259d69021f87475a99ed6c913a6956e22de49748e09843bf6447a7a63ae474e61945a6dbcca93e23b2359fc0b6f9914f7a + checksum: 10/7b647ea6679016e4e58e1aa439c46b610230ffcbe19173911fbf1d1fa329ec6fd1eeba4e3e2d8743206d3b00d5a0cad75f1c90189e1d1ec057eb48df1a1dd747 languageName: node linkType: hard @@ -649,11 +665,11 @@ __metadata: resolution: "daggerbot-ts@workspace:." dependencies: "@napi-rs/canvas": "npm:0.1.51" - "@octokit/rest": "npm:20.0.2" + "@octokit/rest": "npm:20.1.0" "@sequelize/core": "npm:7.0.0-alpha.39" - "@toast/tokenservice-client": "npm:1.2.1" + "@toast/tokenservice-client": "npm:1.2.3" "@types/ms": "npm:0.7.34" - "@types/node": "npm:20.12.3" + "@types/node": "npm:20.12.5" "@types/node-cron": "npm:3.0.11" "@types/pg": "npm:8.11.4" ansi-colors: "npm:4.1.3" @@ -669,7 +685,7 @@ __metadata: redis: "npm:4.6.13" simple-git: "npm:3.24.0" systeminformation: "npm:5.22.7" - typescript: "npm:5.4.3" + typescript: "npm:5.4.4" undici: "npm:6.11.1" languageName: unknown linkType: soft @@ -1312,23 +1328,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:5.4.3": - version: 5.4.3 - resolution: "typescript@npm:5.4.3" +"typescript@npm:5.4.4": + version: 5.4.4 + resolution: "typescript@npm:5.4.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/de4c69f49a7ad4b1ea66a6dcc8b055ac34eb56af059a069d8988dd811c5e649be07e042e5bf573e8d0ac3ec2f30e6c999aa651cd09f6e9cbc6113749e8b6be20 + checksum: 10/bade322d88fd93c8179e262aca9ba7f7b4417c09117879819c87946578c782ab123e3acb4733046a6e38714c47ef927360045a1f9292a1bff3a05a6577d27ca2 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A5.4.3#optional!builtin": - version: 5.4.3 - resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=5adc0c" +"typescript@patch:typescript@npm%3A5.4.4#optional!builtin": + version: 5.4.4 + resolution: "typescript@patch:typescript@npm%3A5.4.4#optional!builtin::version=5.4.4&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5aedd97595582b08aadb8a70e8e3ddebaf5a9c1e5ad4d6503c2fcfc15329b5cf8d01145b09913e9555683ac16c5123a96be32b6d72614098ebd42df520eed9b1 + checksum: 10/88aff3244c31d4c6ede05b4fd28732fc8935a7fc638f2a3dcbbb767d1ac98e4b077f21ec74bc97f43c9307bc3f27e2359def1d793f9918c3429a744408fd75b4 languageName: node linkType: hard @@ -1355,13 +1371,6 @@ __metadata: languageName: node linkType: hard -"undici@npm:6.10.2": - version: 6.10.2 - resolution: "undici@npm:6.10.2" - checksum: 10/796dc80a0f8c98ed0676c18a24bb51f9e8b42810c1225dc7db151b018da5f986ef7997e8bcc077ebe25ab1539e2861d0db542b2d17bbb030c25905e1b4a4e0e3 - languageName: node - linkType: hard - "undici@npm:6.11.1": version: 6.11.1 resolution: "undici@npm:6.11.1"