diff --git a/Dockerfile b/Dockerfile index 50789102..658031f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build layer template for an eventual TS migration -FROM node:20.15.0-slim as builder +FROM node:20.15.1-slim as builder ENV NODE_ENV=production # Set working directory @@ -9,7 +9,7 @@ WORKDIR /app COPY package.json package-lock.json ./ RUN npm ci --omit=dev -FROM node:20.15.0-slim +FROM node:20.15.1-slim ENV NODE_ENV=production # Set working directory diff --git a/package-lock.json b/package-lock.json index 870c269a..8500934e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@discordjs/builders": "1.8.1", + "@discordjs/builders": "1.8.2", "@discordjs/rest": "2.3.0", "auro-ms-conversion": "1.3.0", "axios": "^1.6.8", @@ -20,21 +20,21 @@ "closest-match": "1.3.3", "csv-parser": "3.0.0", "csv-writer": "1.6.0", - "discord-api-types": "0.37.90", - "discord.js": "14.15.2", + "discord-api-types": "0.37.92", + "discord.js": "14.15.3", "discordjs-button-pagination": "3.0.1", "dotenv": "16.4.5", "js-yaml": "4.1.0", "mathjs": "^13.0.0", "node-cron": "^3.0.2", - "nodemailer": "6.9.13", + "nodemailer": "6.9.14", "nodemon": "^3.0.0", "pg": "8.12.0", "puppeteer": "^22.12.1", "textversionjs": "1.1.3", "voucher-code-generator": "1.3.0", "xkcd-api": "^1.0.1", - "yaml": "2.4.2" + "yaml": "2.4.5" }, "devDependencies": { "@babel/core": "7.24.7", @@ -391,9 +391,9 @@ } }, "node_modules/@discordjs/builders": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.8.1.tgz", - "integrity": "sha512-GkF+HM01FHy+NSoTaUPR8z44otfQgJ1AIsRxclYGUZDyUbdZEFyD/5QVv2Y1Flx6M+B0bQLzg2M9CJv5lGTqpA==", + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.8.2.tgz", + "integrity": "sha512-6wvG3QaCjtMu0xnle4SoOIeFB4y6fKMN6WZfy3BMKJdQQtPLik8KGzDwBVL/+wTtcE/ZlFjgEk74GublyEVZ7g==", "dependencies": { "@discordjs/formatters": "^0.4.0", "@discordjs/util": "^1.1.0", @@ -1720,21 +1720,21 @@ "integrity": "sha512-+qtL3eX50qsJ7c+qVyagqi7AWMoQCBGNfoyJZMwm/NSXVqLYbuitrWEEIzxfUmTNy7//Xe8yhMmQ+elj3uAqSg==" }, "node_modules/discord-api-types": { - "version": "0.37.90", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.90.tgz", - "integrity": "sha512-lpOJSGrqHuXoM4FV/2HtjoaJpCClGFHpRNIdZEW8zPINlsCHNSfIwA2EQ8dxeE6k1QhhTuM9ZlOGVYXoU7FLgA==" + "version": "0.37.92", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.92.tgz", + "integrity": "sha512-7xnedbQRLRef/O+4jKPyIFwl6YqoyihOG3OSneiRmVJMBk30ph2YuZGcHjeX1Kk/a3yQWeyCKe4RZJB3iECcxg==" }, "node_modules/discord.js": { - "version": "14.15.2", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.15.2.tgz", - "integrity": "sha512-wGD37YCaTUNprtpqMIRuNiswwsvSWXrHykBSm2SAosoTYut0VUDj9yo9t4iLtMKvuhI49zYkvKc2TNdzdvpJhg==", + "version": "14.15.3", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.15.3.tgz", + "integrity": "sha512-/UJDQO10VuU6wQPglA4kz2bw2ngeeSbogiIPx/TsnctfzV/tNf+q+i1HlgtX1OGpeOBpJH9erZQNO5oRM2uAtQ==", "dependencies": { - "@discordjs/builders": "^1.8.1", + "@discordjs/builders": "^1.8.2", "@discordjs/collection": "1.5.3", "@discordjs/formatters": "^0.4.0", "@discordjs/rest": "^2.3.0", "@discordjs/util": "^1.1.0", - "@discordjs/ws": "^1.1.0", + "@discordjs/ws": "^1.1.1", "@sapphire/snowflake": "3.5.3", "discord-api-types": "0.37.83", "fast-deep-equal": "3.1.3", @@ -3189,11 +3189,11 @@ } }, "node_modules/mathjs": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-13.0.0.tgz", - "integrity": "sha512-Jy9/01M5lTRLxlkxnvPmvWq6EFwzq8guIspeQ9p66AY+8Pih3Jf8Us5fSZ9kC8gl7iRNHUQ+SJpitX41aa6agw==", + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-13.0.2.tgz", + "integrity": "sha512-8vK/+InU4FTphRTWsrnvRsgSjbyNupRQYDDIXLuEGDZtJsGdbA9dVV4HZ0amBQb+RXplRjVJNGZZfB0WoHWFWA==", "dependencies": { - "@babel/runtime": "^7.24.6", + "@babel/runtime": "^7.24.7", "complex.js": "^2.1.1", "decimal.js": "^10.4.3", "escape-latex": "^1.2.0", @@ -3201,7 +3201,7 @@ "javascript-natural-sort": "^0.7.1", "seedrandom": "^3.0.5", "tiny-emitter": "^2.1.0", - "typed-function": "^4.1.1" + "typed-function": "^4.2.1" }, "bin": { "mathjs": "bin/cli.js" @@ -3650,9 +3650,9 @@ "dev": true }, "node_modules/nodemailer": { - "version": "6.9.13", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.13.tgz", - "integrity": "sha512-7o38Yogx6krdoBf3jCAqnIN4oSQFx+fMa0I7dK1D+me9kBxx12D+/33wSb+fhOCtIxvYJ+4x4IMEhmhCKfAiOA==", + "version": "6.9.14", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.14.tgz", + "integrity": "sha512-Dobp/ebDKBvz91sbtRKhcznLThrKxKt97GI2FAlAyy+fk19j73Uz3sBXolVtmcXjaorivqsbbbjDY+Jkt4/bQA==", "engines": { "node": ">=6.0.0" } @@ -5266,9 +5266,9 @@ "dev": true }, "node_modules/yaml": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz", - "integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==", + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", "bin": { "yaml": "bin.mjs" }, @@ -5587,9 +5587,9 @@ } }, "@discordjs/builders": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.8.1.tgz", - "integrity": "sha512-GkF+HM01FHy+NSoTaUPR8z44otfQgJ1AIsRxclYGUZDyUbdZEFyD/5QVv2Y1Flx6M+B0bQLzg2M9CJv5lGTqpA==", + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.8.2.tgz", + "integrity": "sha512-6wvG3QaCjtMu0xnle4SoOIeFB4y6fKMN6WZfy3BMKJdQQtPLik8KGzDwBVL/+wTtcE/ZlFjgEk74GublyEVZ7g==", "requires": { "@discordjs/formatters": "^0.4.0", "@discordjs/util": "^1.1.0", @@ -6543,21 +6543,21 @@ "integrity": "sha512-+qtL3eX50qsJ7c+qVyagqi7AWMoQCBGNfoyJZMwm/NSXVqLYbuitrWEEIzxfUmTNy7//Xe8yhMmQ+elj3uAqSg==" }, "discord-api-types": { - "version": "0.37.90", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.90.tgz", - "integrity": "sha512-lpOJSGrqHuXoM4FV/2HtjoaJpCClGFHpRNIdZEW8zPINlsCHNSfIwA2EQ8dxeE6k1QhhTuM9ZlOGVYXoU7FLgA==" + "version": "0.37.92", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.92.tgz", + "integrity": "sha512-7xnedbQRLRef/O+4jKPyIFwl6YqoyihOG3OSneiRmVJMBk30ph2YuZGcHjeX1Kk/a3yQWeyCKe4RZJB3iECcxg==" }, "discord.js": { - "version": "14.15.2", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.15.2.tgz", - "integrity": "sha512-wGD37YCaTUNprtpqMIRuNiswwsvSWXrHykBSm2SAosoTYut0VUDj9yo9t4iLtMKvuhI49zYkvKc2TNdzdvpJhg==", + "version": "14.15.3", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.15.3.tgz", + "integrity": "sha512-/UJDQO10VuU6wQPglA4kz2bw2ngeeSbogiIPx/TsnctfzV/tNf+q+i1HlgtX1OGpeOBpJH9erZQNO5oRM2uAtQ==", "requires": { - "@discordjs/builders": "^1.8.1", + "@discordjs/builders": "^1.8.2", "@discordjs/collection": "1.5.3", "@discordjs/formatters": "^0.4.0", "@discordjs/rest": "^2.3.0", "@discordjs/util": "^1.1.0", - "@discordjs/ws": "^1.1.0", + "@discordjs/ws": "^1.1.1", "@sapphire/snowflake": "3.5.3", "discord-api-types": "0.37.83", "fast-deep-equal": "3.1.3", @@ -7623,11 +7623,11 @@ } }, "mathjs": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-13.0.0.tgz", - "integrity": "sha512-Jy9/01M5lTRLxlkxnvPmvWq6EFwzq8guIspeQ9p66AY+8Pih3Jf8Us5fSZ9kC8gl7iRNHUQ+SJpitX41aa6agw==", + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/mathjs/-/mathjs-13.0.2.tgz", + "integrity": "sha512-8vK/+InU4FTphRTWsrnvRsgSjbyNupRQYDDIXLuEGDZtJsGdbA9dVV4HZ0amBQb+RXplRjVJNGZZfB0WoHWFWA==", "requires": { - "@babel/runtime": "^7.24.6", + "@babel/runtime": "^7.24.7", "complex.js": "^2.1.1", "decimal.js": "^10.4.3", "escape-latex": "^1.2.0", @@ -7635,7 +7635,7 @@ "javascript-natural-sort": "^0.7.1", "seedrandom": "^3.0.5", "tiny-emitter": "^2.1.0", - "typed-function": "^4.1.1" + "typed-function": "^4.2.1" } }, "mime-db": { @@ -7997,9 +7997,9 @@ "dev": true }, "nodemailer": { - "version": "6.9.13", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.13.tgz", - "integrity": "sha512-7o38Yogx6krdoBf3jCAqnIN4oSQFx+fMa0I7dK1D+me9kBxx12D+/33wSb+fhOCtIxvYJ+4x4IMEhmhCKfAiOA==" + "version": "6.9.14", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.14.tgz", + "integrity": "sha512-Dobp/ebDKBvz91sbtRKhcznLThrKxKt97GI2FAlAyy+fk19j73Uz3sBXolVtmcXjaorivqsbbbjDY+Jkt4/bQA==" }, "nodemon": { "version": "3.1.4", @@ -9177,9 +9177,9 @@ "dev": true }, "yaml": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz", - "integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==" + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==" }, "yargs": { "version": "17.7.2", diff --git a/package.json b/package.json index ead7aa0d..9b0c6c0b 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/csesoc/discord-bot#readme", "dependencies": { - "@discordjs/builders": "1.8.1", + "@discordjs/builders": "1.8.2", "@discordjs/rest": "2.3.0", "auro-ms-conversion": "1.3.0", "axios": "^1.6.8", @@ -35,21 +35,21 @@ "closest-match": "1.3.3", "csv-parser": "3.0.0", "csv-writer": "1.6.0", - "discord-api-types": "0.37.90", - "discord.js": "14.15.2", + "discord-api-types": "0.37.92", + "discord.js": "14.15.3", "discordjs-button-pagination": "3.0.1", "dotenv": "16.4.5", "js-yaml": "4.1.0", "mathjs": "^13.0.0", "node-cron": "^3.0.2", - "nodemailer": "6.9.13", + "nodemailer": "6.9.14", "nodemon": "^3.0.0", "pg": "8.12.0", "puppeteer": "^22.12.1", "textversionjs": "1.1.3", "voucher-code-generator": "1.3.0", "xkcd-api": "^1.0.1", - "yaml": "2.4.2" + "yaml": "2.4.5" }, "devDependencies": { "@babel/core": "7.24.7",