diff --git a/package.json b/package.json index 2d5282b9a6..559af3eb2b 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "simple-statistics": "^7.8.3", "table": "^6.8.0", "utf-8-validate": "^6.0.3", - "zlib-sync": "^0.1.8", + "zlib-sync": "^0.1.9", "zod": "^3.22.3" }, "devDependencies": { diff --git a/src/index.ts b/src/index.ts index 3766489e05..9b84a5ecb9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,7 +14,6 @@ import { GatewayIntentBits, Options, Partials, TextChannel } from 'discord.js'; import { isObject } from 'e'; import { MahojiClient } from 'mahoji'; import { join } from 'path'; -import { isMainThread } from 'worker_threads'; import { botToken, DEV_SERVER_ID, production, SENTRY_DSN, SupportServer } from './config'; import { BLACKLISTED_GUILDS, BLACKLISTED_USERS } from './lib/blacklists'; diff --git a/yarn.lock b/yarn.lock index d264c86124..5dccb03578 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4024,10 +4024,10 @@ murmurhash@^2.0.1: resolved "https://registry.yarnpkg.com/murmurhash/-/murmurhash-2.0.1.tgz#4097720e08cf978872194ad84ea5be2dec9b610f" integrity sha512-5vQEh3y+DG/lMPM0mCGPDnyV8chYg/g7rl6v3Gd8WMF9S429ox3Xk8qrk174kWhG767KQMqqxLD1WnGd77hiew== -nan@^2.17.0: - version "2.17.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" - integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== +nan@^2.18.0: + version "2.18.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554" + integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w== nanoid@^3.3.6: version "3.3.6" @@ -5796,12 +5796,12 @@ yocto-queue@^1.0.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== -zlib-sync@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/zlib-sync/-/zlib-sync-0.1.8.tgz#7fc345fddca0d6dca16ef926afa4851d85546c74" - integrity sha512-Xbu4odT5SbLsa1HFz8X/FvMgUbJYWxJYKB2+bqxJ6UOIIPaVGrqHEB3vyXDltSA6tTqBhSGYLgiVpzPQHYi3lA== +zlib-sync@^0.1.9: + version "0.1.9" + resolved "https://registry.yarnpkg.com/zlib-sync/-/zlib-sync-0.1.9.tgz#7075cc257e4551f5d9fc74e24cf2c11e39c7a0d1" + integrity sha512-DinB43xCjVwIBDpaIvQqHbmDsnYnSt6HJ/yiB2MZQGTqgPcwBSZqLkimXwK8BvdjQ/MaZysb5uEenImncqvCqQ== dependencies: - nan "^2.17.0" + nan "^2.18.0" zod@^3.22.3: version "3.22.3"