From d006bdda95942a0a9adc9a6fc73bfa4aefb2302f Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:22:09 +1100 Subject: [PATCH 1/5] Visual improvements --- src/modules/MPModule.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/MPModule.ts b/src/modules/MPModule.ts index 571e826..bf44bcf 100644 --- a/src/modules/MPModule.ts +++ b/src/modules/MPModule.ts @@ -14,6 +14,8 @@ let dataUnavailable:string = 'Unavailable'; export let refreshTimerSecs:number = 45000; let isBotInDevMode:boolean = ConfigHelper.isDevMode(); let refreshIntrvlTxt:string = `Refreshes every ${refreshTimerSecs/1000} seconds.`; +let offlineStatus:string = 'Server is offline'; +let unavailableStatus:string = 'Server didn\'t respond'; export default async(client:TClient)=>{ const message = await (client.channels.resolve(isBotInDevMode ? '1091300529696673792' : '543494084363288637') as Discord.TextChannel).messages.fetch(isBotInDevMode ? '1104563309451161742' : '1149141188079779900'); @@ -23,7 +25,7 @@ export default async(client:TClient)=>{ const serverData = await requestServerData(client, server); if (!serverData) { Logger.console('log', loggingPrefix, `${server.serverName} seems to be unavailable to take requests at this time`) - return new client.embed().setColor(client.config.embedColorRed).setTitle('Server didn\'t respond').setFooter({text: 'Last updated'}).setTimestamp(); + return new client.embed().setColor(client.config.embedColorRed).setTitle(unavailableStatus).setFooter({text: 'Last updated'}).setTimestamp(); }; const {dss, csg} = serverData; if (dss === null ?? csg === null ?? !dss ?? !csg ?? !dss.slots ?? !csg.slotSystem) return new client.embed().setColor(client.config.embedColorRed).setTitle(`${server.serverName} did not respond`).setFooter({text: 'Last updated'}).setTimestamp(); @@ -62,7 +64,7 @@ export default async(client:TClient)=>{ playerData.shift() } - if (dss?.server?.name.length < 1) return new client.embed().setColor(client.config.embedColorRed).setTitle('Server is offline').setFooter({text: 'Last updated'}).setTimestamp(); + if (dss?.server?.name.length < 1) return new client.embed().setColor(client.config.embedColorRed).setTitle(offlineStatus).setFooter({text: 'Last updated'}).setTimestamp(); const fields:Discord.APIEmbedField[] = [ {name: 'Map', value: dataObj.map, inline: true}, {name: 'Version', value: dataObj.version, inline: true}, From c9b3bc9adc6e741a5ba1f052fac5225db1c6d36a Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Fri, 23 Feb 2024 07:37:39 +1100 Subject: [PATCH 2/5] Update scanMsg regex to include 'ed'. --- src/components/Automod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Automod.ts b/src/components/Automod.ts index 9f94544..fd51dd7 100644 --- a/src/components/Automod.ts +++ b/src/components/Automod.ts @@ -3,7 +3,7 @@ import TClient from '../client.js'; import Logger from '../helpers/Logger.js'; export default class Automoderator { private static lockQuery:Set = new Set(); - static scanMsg =(message:Discord.Message)=>message.content.toLowerCase().replaceAll(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?\n?0-9]|[]|ing\b/g, '').split(' ').join(''); + static scanMsg =(message:Discord.Message)=>message.content.toLowerCase().replaceAll(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?\n?0-9]|[]|ing\b|ed\b/g, '').split(' ').join(''); static async repeatedMessages(client:TClient, message:Discord.Message, action:'mute'|'ban'|'softban', thresholdTime:number, thresholdAmount:number, type:string, duration:string, reason:string) { const now = Date.now(); From eb9cf0d773f4e263bb7ebab7c05c31728bb176c2 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Sat, 24 Feb 2024 08:14:35 +1100 Subject: [PATCH 3/5] Whoever removed this, please eat a raw tuna fish. --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 45e1e12..f500781 100644 --- a/src/client.ts +++ b/src/client.ts @@ -54,7 +54,7 @@ export default class TClient extends Discord.Client { Discord.GatewayIntentBits.GuildMessages, Discord.GatewayIntentBits.DirectMessages ], partials: [ - Discord.Partials.Message + Discord.Partials.Message, Discord.Partials.Channel ], allowedMentions: {users:[], roles:[]} }) From 31b74520e408db1220ff3c01a25ede1d175b8b14 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Sat, 24 Feb 2024 09:28:22 +1100 Subject: [PATCH 4/5] Back to softban for phishing domains, 2 valid runs so far. --- src/events/messageCreate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/messageCreate.ts b/src/events/messageCreate.ts index 083a9e0..a1f080b 100644 --- a/src/events/messageCreate.ts +++ b/src/events/messageCreate.ts @@ -22,7 +22,7 @@ export default class MessageCreate { automodded = true; message.delete().catch(()=>Logger.console('log', 'AUTOMOD:PHISHING', automodFailReason)); message.channel.send('Phishing links aren\'t allowed here. Nice try though!').then(msg=>setTimeout(()=>msg.delete(), 15000)); - await Automoderator.repeatedMessages(client, message, 'mute', 60000, 3, 'phish', '15m', 'Phishing/scam link'); + await Automoderator.repeatedMessages(client, message, 'softban', 60000, 3, 'phish', '15m', 'Phishing/scam link'); } }, prohibitedWords: { From 8ac6aa528c9b7603f2949de7305c5fdc748590fb Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:30:17 +1100 Subject: [PATCH 5/5] Update dependencies --- .pnp.cjs | 176 +++++++++++++++++++++++++-------------------------- package.json | 6 +- src/index.ts | 1 + yarn.lock | 142 ++++++++++++++++++++--------------------- 4 files changed, 163 insertions(+), 162 deletions(-) diff --git a/.pnp.cjs b/.pnp.cjs index d9b3018..0226ab4 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -26,18 +26,18 @@ const RAW_RUNTIME_STATE = [null, {\ "packageLocation": "./",\ "packageDependencies": [\ - ["@napi-rs/canvas", "npm:0.1.47"],\ + ["@napi-rs/canvas", "npm:0.1.49"],\ ["@octokit/rest", "npm:20.0.2"],\ ["@toast/tokenservice-client", "npm:1.0.12::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.0.12%2Ftokenservice-client-1.0.12.tgz"],\ ["@types/ms", "npm:0.7.34"],\ - ["@types/node", "npm:20.11.19"],\ + ["@types/node", "npm:20.11.20"],\ ["@types/node-cron", "npm:3.0.11"],\ ["@types/pg", "npm:8.11.0"],\ ["@types/sequelize", "npm:4.28.20"],\ ["ansi-colors", "npm:4.1.3"],\ ["dayjs", "npm:1.11.10"],\ ["discord.js", "npm:14.14.1"],\ - ["fast-xml-parser", "npm:4.3.4"],\ + ["fast-xml-parser", "npm:4.3.5"],\ ["ms", "npm:2.1.3"],\ ["node-cron", "npm:3.0.3"],\ ["pg", "virtual:20c353e2d6536e37339997f03975c6a660f4d296e664d291bd43620c6162cca8eb5ef90b0998dc9db75ff6862e5da587d0530bae26805f5fadc8f17aaa4ff794#npm:8.11.3"],\ @@ -62,7 +62,7 @@ const RAW_RUNTIME_STATE = ["@sapphire/shapeshift", "npm:3.9.6"],\ ["discord-api-types", "npm:0.37.61"],\ ["fast-deep-equal", "npm:3.1.3"],\ - ["ts-mixer", "npm:6.0.3"],\ + ["ts-mixer", "npm:6.0.4"],\ ["tslib", "npm:2.6.2"]\ ],\ "linkType": "HARD"\ @@ -168,100 +168,100 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@napi-rs/canvas", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/cache/@napi-rs-canvas-npm-0.1.47-ce54b45d37-9640b3dcc7.zip/node_modules/@napi-rs/canvas/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/cache/@napi-rs-canvas-npm-0.1.49-5033cd9984-78a7e229a0.zip/node_modules/@napi-rs/canvas/",\ "packageDependencies": [\ - ["@napi-rs/canvas", "npm:0.1.47"],\ - ["@napi-rs/canvas-android-arm64", "npm:0.1.47"],\ - ["@napi-rs/canvas-darwin-arm64", "npm:0.1.47"],\ - ["@napi-rs/canvas-darwin-x64", "npm:0.1.47"],\ - ["@napi-rs/canvas-linux-arm-gnueabihf", "npm:0.1.47"],\ - ["@napi-rs/canvas-linux-arm64-gnu", "npm:0.1.47"],\ - ["@napi-rs/canvas-linux-arm64-musl", "npm:0.1.47"],\ - ["@napi-rs/canvas-linux-x64-gnu", "npm:0.1.47"],\ - ["@napi-rs/canvas-linux-x64-musl", "npm:0.1.47"],\ - ["@napi-rs/canvas-win32-x64-msvc", "npm:0.1.47"]\ + ["@napi-rs/canvas", "npm:0.1.49"],\ + ["@napi-rs/canvas-android-arm64", "npm:0.1.49"],\ + ["@napi-rs/canvas-darwin-arm64", "npm:0.1.49"],\ + ["@napi-rs/canvas-darwin-x64", "npm:0.1.49"],\ + ["@napi-rs/canvas-linux-arm-gnueabihf", "npm:0.1.49"],\ + ["@napi-rs/canvas-linux-arm64-gnu", "npm:0.1.49"],\ + ["@napi-rs/canvas-linux-arm64-musl", "npm:0.1.49"],\ + ["@napi-rs/canvas-linux-x64-gnu", "npm:0.1.49"],\ + ["@napi-rs/canvas-linux-x64-musl", "npm:0.1.49"],\ + ["@napi-rs/canvas-win32-x64-msvc", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-android-arm64", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-android-arm64-npm-0.1.47-d68e13525c/node_modules/@napi-rs/canvas-android-arm64/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-android-arm64-npm-0.1.49-f6ac0932e5/node_modules/@napi-rs/canvas-android-arm64/",\ "packageDependencies": [\ - ["@napi-rs/canvas-android-arm64", "npm:0.1.47"]\ + ["@napi-rs/canvas-android-arm64", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-darwin-arm64", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-darwin-arm64-npm-0.1.47-2d595a8471/node_modules/@napi-rs/canvas-darwin-arm64/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-darwin-arm64-npm-0.1.49-870a2d8366/node_modules/@napi-rs/canvas-darwin-arm64/",\ "packageDependencies": [\ - ["@napi-rs/canvas-darwin-arm64", "npm:0.1.47"]\ + ["@napi-rs/canvas-darwin-arm64", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-darwin-x64", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-darwin-x64-npm-0.1.47-8f351fe8b7/node_modules/@napi-rs/canvas-darwin-x64/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-darwin-x64-npm-0.1.49-8cca987002/node_modules/@napi-rs/canvas-darwin-x64/",\ "packageDependencies": [\ - ["@napi-rs/canvas-darwin-x64", "npm:0.1.47"]\ + ["@napi-rs/canvas-darwin-x64", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-linux-arm-gnueabihf", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-arm-gnueabihf-npm-0.1.47-755d63eda3/node_modules/@napi-rs/canvas-linux-arm-gnueabihf/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-arm-gnueabihf-npm-0.1.49-6435ff3882/node_modules/@napi-rs/canvas-linux-arm-gnueabihf/",\ "packageDependencies": [\ - ["@napi-rs/canvas-linux-arm-gnueabihf", "npm:0.1.47"]\ + ["@napi-rs/canvas-linux-arm-gnueabihf", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-linux-arm64-gnu", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-arm64-gnu-npm-0.1.47-ff70f3de2a/node_modules/@napi-rs/canvas-linux-arm64-gnu/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-arm64-gnu-npm-0.1.49-4e56c60c25/node_modules/@napi-rs/canvas-linux-arm64-gnu/",\ "packageDependencies": [\ - ["@napi-rs/canvas-linux-arm64-gnu", "npm:0.1.47"]\ + ["@napi-rs/canvas-linux-arm64-gnu", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-linux-arm64-musl", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-arm64-musl-npm-0.1.47-284cb9c2e8/node_modules/@napi-rs/canvas-linux-arm64-musl/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-arm64-musl-npm-0.1.49-165f000427/node_modules/@napi-rs/canvas-linux-arm64-musl/",\ "packageDependencies": [\ - ["@napi-rs/canvas-linux-arm64-musl", "npm:0.1.47"]\ + ["@napi-rs/canvas-linux-arm64-musl", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-linux-x64-gnu", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-x64-gnu-npm-0.1.47-76b9d4a09b/node_modules/@napi-rs/canvas-linux-x64-gnu/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-x64-gnu-npm-0.1.49-2a16f20d9a/node_modules/@napi-rs/canvas-linux-x64-gnu/",\ "packageDependencies": [\ - ["@napi-rs/canvas-linux-x64-gnu", "npm:0.1.47"]\ + ["@napi-rs/canvas-linux-x64-gnu", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-linux-x64-musl", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-x64-musl-npm-0.1.47-f9ecacd8e4/node_modules/@napi-rs/canvas-linux-x64-musl/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-linux-x64-musl-npm-0.1.49-9155bc1080/node_modules/@napi-rs/canvas-linux-x64-musl/",\ "packageDependencies": [\ - ["@napi-rs/canvas-linux-x64-musl", "npm:0.1.47"]\ + ["@napi-rs/canvas-linux-x64-musl", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@napi-rs/canvas-win32-x64-msvc", [\ - ["npm:0.1.47", {\ - "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-win32-x64-msvc-npm-0.1.47-13b81eda0e/node_modules/@napi-rs/canvas-win32-x64-msvc/",\ + ["npm:0.1.49", {\ + "packageLocation": "./.yarn/unplugged/@napi-rs-canvas-win32-x64-msvc-npm-0.1.49-39187e36a2/node_modules/@napi-rs/canvas-win32-x64-msvc/",\ "packageDependencies": [\ - ["@napi-rs/canvas-win32-x64-msvc", "npm:0.1.47"]\ + ["@napi-rs/canvas-win32-x64-msvc", "npm:0.1.49"]\ ],\ "linkType": "HARD"\ }]\ @@ -284,7 +284,7 @@ const RAW_RUNTIME_STATE = ["@octokit/graphql", "npm:7.0.2"],\ ["@octokit/request", "npm:8.2.0"],\ ["@octokit/request-error", "npm:5.0.1"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["before-after-hook", "npm:2.2.3"],\ ["universal-user-agent", "npm:6.0.1"]\ ],\ @@ -296,7 +296,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/@octokit-endpoint-npm-9.0.4-1b64d334f9-7df35c96f2.zip/node_modules/@octokit/endpoint/",\ "packageDependencies": [\ ["@octokit/endpoint", "npm:9.0.4"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["universal-user-agent", "npm:6.0.1"]\ ],\ "linkType": "HARD"\ @@ -308,35 +308,35 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["@octokit/graphql", "npm:7.0.2"],\ ["@octokit/request", "npm:8.2.0"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["universal-user-agent", "npm:6.0.1"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@octokit/openapi-types", [\ - ["npm:19.1.0", {\ - "packageLocation": "./.yarn/cache/@octokit-openapi-types-npm-19.1.0-bd98fe458b-3abedc09ba.zip/node_modules/@octokit/openapi-types/",\ + ["npm:20.0.0", {\ + "packageLocation": "./.yarn/cache/@octokit-openapi-types-npm-20.0.0-1aac079689-9f60572af1.zip/node_modules/@octokit/openapi-types/",\ "packageDependencies": [\ - ["@octokit/openapi-types", "npm:19.1.0"]\ + ["@octokit/openapi-types", "npm:20.0.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@octokit/plugin-paginate-rest", [\ - ["npm:9.1.5", {\ - "packageLocation": "./.yarn/cache/@octokit-plugin-paginate-rest-npm-9.1.5-9d33eaf13c-5f1793ebeb.zip/node_modules/@octokit/plugin-paginate-rest/",\ + ["npm:9.2.0", {\ + "packageLocation": "./.yarn/cache/@octokit-plugin-paginate-rest-npm-9.2.0-64b9ba7249-dfaddf1e6a.zip/node_modules/@octokit/plugin-paginate-rest/",\ "packageDependencies": [\ - ["@octokit/plugin-paginate-rest", "npm:9.1.5"]\ + ["@octokit/plugin-paginate-rest", "npm:9.2.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:9.1.5", {\ - "packageLocation": "./.yarn/__virtual__/@octokit-plugin-paginate-rest-virtual-092e0c7889/0/cache/@octokit-plugin-paginate-rest-npm-9.1.5-9d33eaf13c-5f1793ebeb.zip/node_modules/@octokit/plugin-paginate-rest/",\ + ["virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:9.2.0", {\ + "packageLocation": "./.yarn/__virtual__/@octokit-plugin-paginate-rest-virtual-f60ef159c5/0/cache/@octokit-plugin-paginate-rest-npm-9.2.0-64b9ba7249-dfaddf1e6a.zip/node_modules/@octokit/plugin-paginate-rest/",\ "packageDependencies": [\ - ["@octokit/plugin-paginate-rest", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:9.1.5"],\ + ["@octokit/plugin-paginate-rest", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:9.2.0"],\ ["@octokit/core", "npm:5.1.0"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["@types/octokit__core", null]\ ],\ "packagePeers": [\ @@ -369,19 +369,19 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@octokit/plugin-rest-endpoint-methods", [\ - ["npm:10.3.0", {\ - "packageLocation": "./.yarn/cache/@octokit-plugin-rest-endpoint-methods-npm-10.3.0-06a0ae45a8-be202aca31.zip/node_modules/@octokit/plugin-rest-endpoint-methods/",\ + ["npm:10.4.0", {\ + "packageLocation": "./.yarn/cache/@octokit-plugin-rest-endpoint-methods-npm-10.4.0-f1ca5e4765-2b4de869fd.zip/node_modules/@octokit/plugin-rest-endpoint-methods/",\ "packageDependencies": [\ - ["@octokit/plugin-rest-endpoint-methods", "npm:10.3.0"]\ + ["@octokit/plugin-rest-endpoint-methods", "npm:10.4.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:10.3.0", {\ - "packageLocation": "./.yarn/__virtual__/@octokit-plugin-rest-endpoint-methods-virtual-ea99ee7f10/0/cache/@octokit-plugin-rest-endpoint-methods-npm-10.3.0-06a0ae45a8-be202aca31.zip/node_modules/@octokit/plugin-rest-endpoint-methods/",\ + ["virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:10.4.0", {\ + "packageLocation": "./.yarn/__virtual__/@octokit-plugin-rest-endpoint-methods-virtual-de33cbe78a/0/cache/@octokit-plugin-rest-endpoint-methods-npm-10.4.0-f1ca5e4765-2b4de869fd.zip/node_modules/@octokit/plugin-rest-endpoint-methods/",\ "packageDependencies": [\ - ["@octokit/plugin-rest-endpoint-methods", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:10.3.0"],\ + ["@octokit/plugin-rest-endpoint-methods", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:10.4.0"],\ ["@octokit/core", "npm:5.1.0"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["@types/octokit__core", null]\ ],\ "packagePeers": [\ @@ -398,7 +398,7 @@ const RAW_RUNTIME_STATE = ["@octokit/request", "npm:8.2.0"],\ ["@octokit/endpoint", "npm:9.0.4"],\ ["@octokit/request-error", "npm:5.0.1"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["universal-user-agent", "npm:6.0.1"]\ ],\ "linkType": "HARD"\ @@ -409,7 +409,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/@octokit-request-error-npm-5.0.1-eda589102d-a21a4614c4.zip/node_modules/@octokit/request-error/",\ "packageDependencies": [\ ["@octokit/request-error", "npm:5.0.1"],\ - ["@octokit/types", "npm:12.5.0"],\ + ["@octokit/types", "npm:12.6.0"],\ ["deprecation", "npm:2.3.1"],\ ["once", "npm:1.4.0"]\ ],\ @@ -422,19 +422,19 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["@octokit/rest", "npm:20.0.2"],\ ["@octokit/core", "npm:5.1.0"],\ - ["@octokit/plugin-paginate-rest", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:9.1.5"],\ + ["@octokit/plugin-paginate-rest", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:9.2.0"],\ ["@octokit/plugin-request-log", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:4.0.0"],\ - ["@octokit/plugin-rest-endpoint-methods", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:10.3.0"]\ + ["@octokit/plugin-rest-endpoint-methods", "virtual:4561cebc7178ada64ce18c0aeed396852b7aeaba4f74421f21ba3e30dbf678d80e4d99e34e12bd5d2189e9af698f708ddc3e89804d9d2b7510fd441fb121b618#npm:10.4.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@octokit/types", [\ - ["npm:12.5.0", {\ - "packageLocation": "./.yarn/cache/@octokit-types-npm-12.5.0-17ac978d21-a2c8e736e3.zip/node_modules/@octokit/types/",\ + ["npm:12.6.0", {\ + "packageLocation": "./.yarn/cache/@octokit-types-npm-12.6.0-3f6eea3eb3-19b77a8d25.zip/node_modules/@octokit/types/",\ "packageDependencies": [\ - ["@octokit/types", "npm:12.5.0"],\ - ["@octokit/openapi-types", "npm:19.1.0"]\ + ["@octokit/types", "npm:12.6.0"],\ + ["@octokit/openapi-types", "npm:20.0.0"]\ ],\ "linkType": "HARD"\ }]\ @@ -621,7 +621,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/@types-continuation-local-storage-npm-3.2.7-763e4dc12b-1f272b53bc.zip/node_modules/@types/continuation-local-storage/",\ "packageDependencies": [\ ["@types/continuation-local-storage", "npm:3.2.7"],\ - ["@types/node", "npm:20.11.19"]\ + ["@types/node", "npm:20.11.20"]\ ],\ "linkType": "HARD"\ }]\ @@ -655,10 +655,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@types/node", [\ - ["npm:20.11.19", {\ - "packageLocation": "./.yarn/cache/@types-node-npm-20.11.19-5d4958999b-c7f4705d6c.zip/node_modules/@types/node/",\ + ["npm:20.11.20", {\ + "packageLocation": "./.yarn/cache/@types-node-npm-20.11.20-0036cdf1c0-ff449bdc94.zip/node_modules/@types/node/",\ "packageDependencies": [\ - ["@types/node", "npm:20.11.19"],\ + ["@types/node", "npm:20.11.20"],\ ["undici-types", "npm:5.26.5"]\ ],\ "linkType": "HARD"\ @@ -678,7 +678,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/@types-pg-npm-8.11.0-bf104da0ba-91a7ccc5dc.zip/node_modules/@types/pg/",\ "packageDependencies": [\ ["@types/pg", "npm:8.11.0"],\ - ["@types/node", "npm:20.11.19"],\ + ["@types/node", "npm:20.11.20"],\ ["pg-protocol", "npm:1.6.0"],\ ["pg-types", "npm:4.0.2"]\ ],\ @@ -712,7 +712,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/@types-ws-npm-8.5.10-a877a38f71-9b414dc5e0.zip/node_modules/@types/ws/",\ "packageDependencies": [\ ["@types/ws", "npm:8.5.10"],\ - ["@types/node", "npm:20.11.19"]\ + ["@types/node", "npm:20.11.20"]\ ],\ "linkType": "HARD"\ }],\ @@ -720,7 +720,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/@types-ws-npm-8.5.9-91d1b2ab07-7cf66383b8.zip/node_modules/@types/ws/",\ "packageDependencies": [\ ["@types/ws", "npm:8.5.9"],\ - ["@types/node", "npm:20.11.19"]\ + ["@types/node", "npm:20.11.20"]\ ],\ "linkType": "HARD"\ }]\ @@ -775,18 +775,18 @@ const RAW_RUNTIME_STATE = "packageLocation": "./",\ "packageDependencies": [\ ["daggerbot-ts", "workspace:."],\ - ["@napi-rs/canvas", "npm:0.1.47"],\ + ["@napi-rs/canvas", "npm:0.1.49"],\ ["@octokit/rest", "npm:20.0.2"],\ ["@toast/tokenservice-client", "npm:1.0.12::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.0.12%2Ftokenservice-client-1.0.12.tgz"],\ ["@types/ms", "npm:0.7.34"],\ - ["@types/node", "npm:20.11.19"],\ + ["@types/node", "npm:20.11.20"],\ ["@types/node-cron", "npm:3.0.11"],\ ["@types/pg", "npm:8.11.0"],\ ["@types/sequelize", "npm:4.28.20"],\ ["ansi-colors", "npm:4.1.3"],\ ["dayjs", "npm:1.11.10"],\ ["discord.js", "npm:14.14.1"],\ - ["fast-xml-parser", "npm:4.3.4"],\ + ["fast-xml-parser", "npm:4.3.5"],\ ["ms", "npm:2.1.3"],\ ["node-cron", "npm:3.0.3"],\ ["pg", "virtual:20c353e2d6536e37339997f03975c6a660f4d296e664d291bd43620c6162cca8eb5ef90b0998dc9db75ff6862e5da587d0530bae26805f5fadc8f17aaa4ff794#npm:8.11.3"],\ @@ -893,10 +893,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["fast-xml-parser", [\ - ["npm:4.3.4", {\ - "packageLocation": "./.yarn/cache/fast-xml-parser-npm-4.3.4-471ce88e5f-ef85910198.zip/node_modules/fast-xml-parser/",\ + ["npm:4.3.5", {\ + "packageLocation": "./.yarn/cache/fast-xml-parser-npm-4.3.5-3cd12e5b84-ccfd943e4e.zip/node_modules/fast-xml-parser/",\ "packageDependencies": [\ - ["fast-xml-parser", "npm:4.3.4"],\ + ["fast-xml-parser", "npm:4.3.5"],\ ["strnum", "npm:1.0.5"]\ ],\ "linkType": "HARD"\ @@ -1412,10 +1412,10 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["ts-mixer", [\ - ["npm:6.0.3", {\ - "packageLocation": "./.yarn/cache/ts-mixer-npm-6.0.3-d5b44d91b7-ac9178bdac.zip/node_modules/ts-mixer/",\ + ["npm:6.0.4", {\ + "packageLocation": "./.yarn/cache/ts-mixer-npm-6.0.4-5d9747bdf5-f20571a4a4.zip/node_modules/ts-mixer/",\ "packageDependencies": [\ - ["ts-mixer", "npm:6.0.3"]\ + ["ts-mixer", "npm:6.0.4"]\ ],\ "linkType": "HARD"\ }]\ @@ -1506,7 +1506,7 @@ const RAW_RUNTIME_STATE = "packageLocation": "./.yarn/cache/wkx-npm-0.5.0-fca5152cd8-b8975e33f9.zip/node_modules/wkx/",\ "packageDependencies": [\ ["wkx", "npm:0.5.0"],\ - ["@types/node", "npm:20.11.19"]\ + ["@types/node", "npm:20.11.20"]\ ],\ "linkType": "HARD"\ }]\ diff --git a/package.json b/package.json index 6c955ab..da610b9 100644 --- a/package.json +++ b/package.json @@ -32,13 +32,13 @@ "engineStrict": true, "packageManager": "yarn@4.1.0+sha256.81a00df816059803e6b5148acf03ce313cad36b7f6e5af6efa040a15981a6ffb", "dependencies": { - "@napi-rs/canvas": "0.1.47", + "@napi-rs/canvas": "0.1.49", "@octokit/rest": "20.0.2", "@toast/tokenservice-client": "1.0.12", "ansi-colors": "4.1.3", "dayjs": "1.11.10", "discord.js": "14.14.1", - "fast-xml-parser": "4.3.4", + "fast-xml-parser": "4.3.5", "ms": "2.1.3", "node-cron": "3.0.3", "pg": "8.11.3", @@ -51,7 +51,7 @@ }, "devDependencies": { "@types/ms": "0.7.34", - "@types/node": "20.11.19", + "@types/node": "20.11.20", "@types/node-cron": "3.0.11", "@types/pg": "8.11.0", "@types/sequelize": "4.28.20", diff --git a/src/index.ts b/src/index.ts index d94cadd..557f8e9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,6 +21,7 @@ process.on('unhandledRejection', (error: Error)=>_(error, 'unhandledRejection')) process.on('uncaughtException', (error: Error)=>_(error, 'uncaughtException')); process.on('error', (error: Error)=>_(error, 'processError')); client.on('error', (error: Error)=>_(error, 'clientError')); +if (process.argv[3] ?? null) client.on('debug', console.log); // Interval timers for modules setInterval(async()=>await MPModule(client), refreshTimerSecs); diff --git a/yarn.lock b/yarn.lock index 88d4c95..21af355 100644 --- a/yarn.lock +++ b/yarn.lock @@ -107,82 +107,82 @@ __metadata: languageName: node linkType: hard -"@napi-rs/canvas-android-arm64@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-android-arm64@npm:0.1.47" +"@napi-rs/canvas-android-arm64@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-android-arm64@npm:0.1.49" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@napi-rs/canvas-darwin-arm64@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-darwin-arm64@npm:0.1.47" +"@napi-rs/canvas-darwin-arm64@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-darwin-arm64@npm:0.1.49" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@napi-rs/canvas-darwin-x64@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-darwin-x64@npm:0.1.47" +"@napi-rs/canvas-darwin-x64@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-darwin-x64@npm:0.1.49" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.47" +"@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-linux-arm-gnueabihf@npm:0.1.49" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@napi-rs/canvas-linux-arm64-gnu@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-linux-arm64-gnu@npm:0.1.47" +"@napi-rs/canvas-linux-arm64-gnu@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-linux-arm64-gnu@npm:0.1.49" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@napi-rs/canvas-linux-arm64-musl@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-linux-arm64-musl@npm:0.1.47" +"@napi-rs/canvas-linux-arm64-musl@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-linux-arm64-musl@npm:0.1.49" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@napi-rs/canvas-linux-x64-gnu@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-linux-x64-gnu@npm:0.1.47" +"@napi-rs/canvas-linux-x64-gnu@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-linux-x64-gnu@npm:0.1.49" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@napi-rs/canvas-linux-x64-musl@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-linux-x64-musl@npm:0.1.47" +"@napi-rs/canvas-linux-x64-musl@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-linux-x64-musl@npm:0.1.49" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@napi-rs/canvas-win32-x64-msvc@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas-win32-x64-msvc@npm:0.1.47" +"@napi-rs/canvas-win32-x64-msvc@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas-win32-x64-msvc@npm:0.1.49" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@napi-rs/canvas@npm:0.1.47": - version: 0.1.47 - resolution: "@napi-rs/canvas@npm:0.1.47" +"@napi-rs/canvas@npm:0.1.49": + version: 0.1.49 + resolution: "@napi-rs/canvas@npm:0.1.49" dependencies: - "@napi-rs/canvas-android-arm64": "npm:0.1.47" - "@napi-rs/canvas-darwin-arm64": "npm:0.1.47" - "@napi-rs/canvas-darwin-x64": "npm:0.1.47" - "@napi-rs/canvas-linux-arm-gnueabihf": "npm:0.1.47" - "@napi-rs/canvas-linux-arm64-gnu": "npm:0.1.47" - "@napi-rs/canvas-linux-arm64-musl": "npm:0.1.47" - "@napi-rs/canvas-linux-x64-gnu": "npm:0.1.47" - "@napi-rs/canvas-linux-x64-musl": "npm:0.1.47" - "@napi-rs/canvas-win32-x64-msvc": "npm:0.1.47" + "@napi-rs/canvas-android-arm64": "npm:0.1.49" + "@napi-rs/canvas-darwin-arm64": "npm:0.1.49" + "@napi-rs/canvas-darwin-x64": "npm:0.1.49" + "@napi-rs/canvas-linux-arm-gnueabihf": "npm:0.1.49" + "@napi-rs/canvas-linux-arm64-gnu": "npm:0.1.49" + "@napi-rs/canvas-linux-arm64-musl": "npm:0.1.49" + "@napi-rs/canvas-linux-x64-gnu": "npm:0.1.49" + "@napi-rs/canvas-linux-x64-musl": "npm:0.1.49" + "@napi-rs/canvas-win32-x64-msvc": "npm:0.1.49" dependenciesMeta: "@napi-rs/canvas-android-arm64": optional: true @@ -202,7 +202,7 @@ __metadata: optional: true "@napi-rs/canvas-win32-x64-msvc": optional: true - checksum: 10/9640b3dcc7dbc65a6777fadf66163c1a36d49af82cdb409142daea01aa90e797eb7ab98aee4db17e52adbc4878b62c8d7831619b4ccc580148816d60ab395698 + checksum: 10/78a7e229a0a15d337200b5a9f19da2904c4c6b11971328f5e9b29f94b3d90041a46e01a4d8058b420e0ee593f6f24bbed957dab71ff1618d75edfaff65e6b61c languageName: node linkType: hard @@ -249,21 +249,21 @@ __metadata: languageName: node linkType: hard -"@octokit/openapi-types@npm:^19.1.0": - version: 19.1.0 - resolution: "@octokit/openapi-types@npm:19.1.0" - checksum: 10/3abedc09baa91bb4de00a2b82bf519401c2b6388913b7caa98541002c9e9612eba8256926323b1e40782ac700309a3373bb8c13520af325cef1accc40cb4566b +"@octokit/openapi-types@npm:^20.0.0": + version: 20.0.0 + resolution: "@octokit/openapi-types@npm:20.0.0" + checksum: 10/9f60572af1201dd92626c412253d83d986b8ab1956250b95f417013ee8e7baf25870eeb801d16672cabc2c420544bc9c2f0a979e07603ff5997eff038c71a8c3 languageName: node linkType: hard "@octokit/plugin-paginate-rest@npm:^9.0.0": - version: 9.1.5 - resolution: "@octokit/plugin-paginate-rest@npm:9.1.5" + version: 9.2.0 + resolution: "@octokit/plugin-paginate-rest@npm:9.2.0" dependencies: - "@octokit/types": "npm:^12.4.0" + "@octokit/types": "npm:^12.6.0" peerDependencies: "@octokit/core": ">=5" - checksum: 10/5f1793ebebc9e2feaf8574beb2308b6fe9d0fec69d3fc3c93ed7ce8083d34e7ae7452121bd88b27e9ba91da29d648f8ffbf19d6f02787f8273a8bb0e3fbc2b9f + checksum: 10/dfaddf1e6abc52ae8ee675a7812455a1c3db471a3f6d124d9cd9a033cb4d4df91361a113577a2eee86d452fd9c281ec9d95b7ae5d45eff3c30bda9c33600518f languageName: node linkType: hard @@ -277,13 +277,13 @@ __metadata: linkType: hard "@octokit/plugin-rest-endpoint-methods@npm:^10.0.0": - version: 10.3.0 - resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.3.0" + version: 10.4.0 + resolution: "@octokit/plugin-rest-endpoint-methods@npm:10.4.0" dependencies: - "@octokit/types": "npm:^12.4.0" + "@octokit/types": "npm:^12.6.0" peerDependencies: "@octokit/core": ">=5" - checksum: 10/be202aca31a513e9e06eda680ae761d05a944a2900523c2041a8ac6bc43e7a5bab0f76bcba09ef96ed48e3b1fabe4104a174b2f839dfb7a2a6f3d632023b4c6a + checksum: 10/2b4de869fd9ef0b443ff26ed76d4ba8a5c0b0b097a3bca0672d9d5efc9026d936736b14b608a3b1a5f9cb264e52b08d9721d5ab4c79640cdaafdc5387b97e03c languageName: node linkType: hard @@ -322,12 +322,12 @@ __metadata: languageName: node linkType: hard -"@octokit/types@npm:^12.0.0, @octokit/types@npm:^12.4.0": - version: 12.5.0 - resolution: "@octokit/types@npm:12.5.0" +"@octokit/types@npm:^12.0.0, @octokit/types@npm:^12.6.0": + version: 12.6.0 + resolution: "@octokit/types@npm:12.6.0" dependencies: - "@octokit/openapi-types": "npm:^19.1.0" - checksum: 10/a2c8e736e368c781b9389a41fe4ec2cf81563674cf8d74bcc28bf1901dfc4b0c092101c7b333309933b8c14a5a3d1de9ca7eaec93451c41b708b4936e0960894 + "@octokit/openapi-types": "npm:^20.0.0" + checksum: 10/19b77a8d25af2a5df4561f8750f807edfc9fca5b07cfa9fb21dce4665e1b188c966688f5ed5e08089404428100dfe44ad353f8d8532f1d30fe47e61c5faa1440 languageName: node linkType: hard @@ -473,12 +473,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:20.11.19": - version: 20.11.19 - resolution: "@types/node@npm:20.11.19" +"@types/node@npm:*, @types/node@npm:20.11.20": + version: 20.11.20 + resolution: "@types/node@npm:20.11.20" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/c7f4705d6c84aa21679ad180c33c13ca9567f650e66e14bcee77c7c43d14619c7cd3b4d7b2458947143030b7b1930180efa6d12d999b45366abff9fed7a17472 + checksum: 10/ff449bdc94810dadb54e0f77dd587c6505ef79ffa5a208c16eb29b223365b188f4c935a3abaf0906a01d05257c3da1f72465594a841d35bcf7b6deac7a6938fb languageName: node linkType: hard @@ -569,18 +569,18 @@ __metadata: version: 0.0.0-use.local resolution: "daggerbot-ts@workspace:." dependencies: - "@napi-rs/canvas": "npm:0.1.47" + "@napi-rs/canvas": "npm:0.1.49" "@octokit/rest": "npm:20.0.2" "@toast/tokenservice-client": "npm:1.0.12" "@types/ms": "npm:0.7.34" - "@types/node": "npm:20.11.19" + "@types/node": "npm:20.11.20" "@types/node-cron": "npm:3.0.11" "@types/pg": "npm:8.11.0" "@types/sequelize": "npm:4.28.20" ansi-colors: "npm:4.1.3" dayjs: "npm:1.11.10" discord.js: "npm:14.14.1" - fast-xml-parser: "npm:4.3.4" + fast-xml-parser: "npm:4.3.5" ms: "npm:2.1.3" node-cron: "npm:3.0.3" pg: "npm:8.11.3" @@ -663,14 +663,14 @@ __metadata: languageName: node linkType: hard -"fast-xml-parser@npm:4.3.4": - version: 4.3.4 - resolution: "fast-xml-parser@npm:4.3.4" +"fast-xml-parser@npm:4.3.5": + version: 4.3.5 + resolution: "fast-xml-parser@npm:4.3.5" dependencies: strnum: "npm:^1.0.5" bin: fxparser: src/cli/cli.js - checksum: 10/ef859101980cdd02b111fce09e25949a80e373654a6c424091355930f0d364abec144d8bb722d250a0c070416566518e621e198204a6b976db68f20c16d9300b + checksum: 10/ccfd943e4ed400bf3acd4b6fcba9a15ec992a4a76c9a0cf825fc06f2b35a79a6d1de477b9a73c23633597c4f2a35838550ec3013a056f2591aa8cb3989d1f242 languageName: node linkType: hard @@ -1086,9 +1086,9 @@ __metadata: linkType: hard "ts-mixer@npm:^6.0.3": - version: 6.0.3 - resolution: "ts-mixer@npm:6.0.3" - checksum: 10/ac9178bdac5e5f760472269ad4c461587a0f6793532ddbef1326bb01482425a6247be98f9bd11bf35a9fdd36b63b8c8dde393942b9b9ee52d154eef082fca39a + version: 6.0.4 + resolution: "ts-mixer@npm:6.0.4" + checksum: 10/f20571a4a4ff7b5e1a2ff659208c1ea9d4180dda932b71d289edc99e25a2948c9048e2e676b930302ac0f8e88279e0da6022823183e67de3906a3f3a8b72ea80 languageName: node linkType: hard