From 574974c8ed6766a672ad373286e4c4632daa8941 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 13:27:40 +0000 Subject: [PATCH 1/2] fix(deps): update all non-major dependencies --- .github/workflows/continuous-delivery.yml | 4 +- package.json | 12 +- yarn.lock | 463 +++++++--------------- 3 files changed, 147 insertions(+), 332 deletions(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 307561793..a601e6db4 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout Project uses: actions/checkout@v4 - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v3.3.0 + uses: docker/setup-buildx-action@v3.4.0 - name: Login to GitHub Container Registry uses: docker/login-action@v3.2.0 with: @@ -27,7 +27,7 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push WolfStar Docker image - uses: docker/build-push-action@v6.2.0 + uses: docker/build-push-action@v6.4.0 with: push: true context: . diff --git a/package.json b/package.json index 85516872f..f1e68df14 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@sapphire/stopwatch": "^1.5.2", "@sapphire/time-utilities": "^1.7.12", "@sapphire/utilities": "^3.16.2", - "@sentry/node": "^8.13.0", + "@sentry/node": "^8.17.0", "@skyra/ai": "^1.2.0", "@skyra/char": "^1.0.3", "@skyra/env-utilities": "^1.3.0", @@ -85,7 +85,7 @@ "colorette": "^2.0.20", "confusables": "^1.1.1", "diff": "^5.2.0", - "discord-api-types": "^0.37.91", + "discord-api-types": "^0.37.92", "discord.js": "^14.15.3", "he": "^1.2.0", "pg": "^8.12.0", @@ -105,7 +105,7 @@ "@types/he": "^1.2.3", "@types/node": "^20.11.17", "@types/pg": "^8.11.6", - "@types/ws": "^8.5.10", + "@types/ws": "^8.5.11", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "@vitest/coverage-v8": "^1.6.0", @@ -114,7 +114,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "lint-staged": "^15.2.7", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "tsc-watch": "^6.2.0", "typescript": "^5.4.5", "vitest": "^1.6.0" @@ -122,7 +122,7 @@ "resolutions": { "@types/node": "20.11.5", "ansi-regex": "^5.0.1", - "discord-api-types": "^0.37.91", + "discord-api-types": "^0.37.92", "minimist": "^1.2.8" }, "engines": { @@ -150,6 +150,6 @@ "prettier": "@sapphire/prettier-config", "packageManager": "yarn@4.3.1", "volta": { - "node": "20.15.0" + "node": "20.15.1" } } diff --git a/yarn.lock b/yarn.lock index d6ee4c10e..5b89a7d8b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -784,7 +784,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/api@npm:^1.0.0, @opentelemetry/api@npm:^1.6.0, @opentelemetry/api@npm:^1.8, @opentelemetry/api@npm:^1.9.0": +"@opentelemetry/api@npm:^1.0.0, @opentelemetry/api@npm:^1.8, @opentelemetry/api@npm:^1.9.0": version: 1.9.0 resolution: "@opentelemetry/api@npm:1.9.0" checksum: 10/a607f0eef971893c4f2ee2a4c2069aade6ec3e84e2a1f5c2aac19f65c5d9eeea41aa72db917c1029faafdd71789a1a040bdc18f40d63690e22ccae5d7070f194 @@ -822,9 +822,9 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/instrumentation-connect@npm:0.37.0": - version: 0.37.0 - resolution: "@opentelemetry/instrumentation-connect@npm:0.37.0" +"@opentelemetry/instrumentation-connect@npm:0.38.0": + version: 0.38.0 + resolution: "@opentelemetry/instrumentation-connect@npm:0.38.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" "@opentelemetry/instrumentation": "npm:^0.52.0" @@ -832,57 +832,57 @@ __metadata: "@types/connect": "npm:3.4.36" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/9b52c5f47c010dd739c6e5e4e2048f62f833b15ff3a988f58e762280a501d3500e402f565c023e6d5710d8e46b4b12310234a68569412a9b96fa63d3c7ae654d + checksum: 10/83369182c6d558ff06ca3017380c11f53db223e9398c7d0f6ae22fd3c105337e912d460db297cf36fbaa96c1733a51fb826d7ccc07715bd961e8a5ce28d98abd languageName: node linkType: hard -"@opentelemetry/instrumentation-express@npm:0.40.1": - version: 0.40.1 - resolution: "@opentelemetry/instrumentation-express@npm:0.40.1" +"@opentelemetry/instrumentation-express@npm:0.41.0": + version: 0.41.0 + resolution: "@opentelemetry/instrumentation-express@npm:0.41.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/0e6bf309bfb38253b67f1a0381ade9b196c61247c64a320431b31c7cf09b6d90f702336e6e161fefa591a5f3c9e367e97ba0bbc5aa2547324a5721342c9eca10 + checksum: 10/90cdc487d8874fd38afa1ce1ab321ce26f09c7cd5fc1ac1244a87458e05dd16b8404d3dd3b4f0da9c2569dd622eefa293d3fcdd0d6e0c2e6586f92d57453ddf0 languageName: node linkType: hard -"@opentelemetry/instrumentation-fastify@npm:0.37.0": - version: 0.37.0 - resolution: "@opentelemetry/instrumentation-fastify@npm:0.37.0" +"@opentelemetry/instrumentation-fastify@npm:0.38.0": + version: 0.38.0 + resolution: "@opentelemetry/instrumentation-fastify@npm:0.38.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/1a0fdfc56bbf0b91c359fec91c78bc85e81ff1c280f3910f3b43a5a8a11a9a9a4d01956f853421b0347a9b8f2d4219dff5b8070e59fee91cd7c5d224b34d0a9b + checksum: 10/e8c14f2cecb5e12097c9c5eaa22fd786ed0d3bccf71bbb610ac8769b33820d4c476d09ae05c127cc24920e6a484c5e150bb24324a6e49a8fdf1950f3554f80f9 languageName: node linkType: hard -"@opentelemetry/instrumentation-graphql@npm:0.41.0": - version: 0.41.0 - resolution: "@opentelemetry/instrumentation-graphql@npm:0.41.0" +"@opentelemetry/instrumentation-graphql@npm:0.42.0": + version: 0.42.0 + resolution: "@opentelemetry/instrumentation-graphql@npm:0.42.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/cc58f81693e3413c1317f4b98e4c5c8159e4c4ab173cd38495df2ce3e1e80bccf638f3ba0b5befaf58a29b47ce0c89452d7b6de2c0d523d2aaf49c4c729f4cc9 + checksum: 10/b156d54b367158ff3e08f93b8b5d1a5b22c995603197843b8c85e1fffa81edbcbfcaafd015e6699c90e881455daf081e3ff7b2ed9157832befcf0c6301f11354 languageName: node linkType: hard -"@opentelemetry/instrumentation-hapi@npm:0.39.0": - version: 0.39.0 - resolution: "@opentelemetry/instrumentation-hapi@npm:0.39.0" +"@opentelemetry/instrumentation-hapi@npm:0.40.0": + version: 0.40.0 + resolution: "@opentelemetry/instrumentation-hapi@npm:0.40.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/dd8b563a0de389165744f033463d16d4c3af64a622802049da3fc55dd9abf8fd9e022996cf7a52bd31c3fcfa5ffa975ae0088aa16ff61d4dee9e80758177b8f5 + checksum: 10/fc90b9b330c87466f4a11dea3fb0c4849983fe154f2131e28cbbd9c37b7d49e291db06eb9070a42b3e36223b1a6793b1cfa7bde88a2e428aae60bc075c37cc49 languageName: node linkType: hard @@ -900,101 +900,99 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/instrumentation-ioredis@npm:0.41.0": - version: 0.41.0 - resolution: "@opentelemetry/instrumentation-ioredis@npm:0.41.0" +"@opentelemetry/instrumentation-ioredis@npm:0.42.0": + version: 0.42.0 + resolution: "@opentelemetry/instrumentation-ioredis@npm:0.42.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/redis-common": "npm:^0.36.2" "@opentelemetry/semantic-conventions": "npm:^1.23.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/a28576d1afbf45ff282caa4d62540e96c4d94ba6f97d1448987ed497688e2bf0bf71cd3ba251dba4281c45f626a577641e3a4ba316a427a5f51506d266153677 + checksum: 10/76db34c820173656daa2af89ca6286e7ef5994d9d33a722b71d89497caa02562b7fca11e1ce30788a16cac26c33e32b60aff79809e8a4fc6e091a8dd9b0fe2f2 languageName: node linkType: hard -"@opentelemetry/instrumentation-koa@npm:0.41.0": - version: 0.41.0 - resolution: "@opentelemetry/instrumentation-koa@npm:0.41.0" +"@opentelemetry/instrumentation-koa@npm:0.42.0": + version: 0.42.0 + resolution: "@opentelemetry/instrumentation-koa@npm:0.42.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" - "@types/koa": "npm:2.14.0" - "@types/koa__router": "npm:12.0.3" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/dee45c142a224228d26755a5b2902e40e691ff7a6a2f94bc35dc770aa5ad9202927c140a074240c784c576f1738697357a55a85dcc305d1714aa8a5c071bf31b + checksum: 10/7b596d56fde8f2e9e30a987e47080b6e1c88e20f85a9783bd859725cd9c1f5b5d765a5ab49d6b9a03793ba87448f4de4677e12dcae98901a9f4f048a09dd4149 languageName: node linkType: hard -"@opentelemetry/instrumentation-mongodb@npm:0.45.0": - version: 0.45.0 - resolution: "@opentelemetry/instrumentation-mongodb@npm:0.45.0" +"@opentelemetry/instrumentation-mongodb@npm:0.46.0": + version: 0.46.0 + resolution: "@opentelemetry/instrumentation-mongodb@npm:0.46.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/sdk-metrics": "npm:^1.9.1" "@opentelemetry/semantic-conventions": "npm:^1.22.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/d72455f4ed80d173f9ba5564640764588b3becffd5bdb9cc11b0a68a94cd12d6c87b30d73ea27df308c5160321e723b9348e78516d662b215045d860d10aa053 + checksum: 10/f8d579c650f1f1c0a29b72a753f8c08b938ac574751daa28b279ec80015d109051a0b76e2e4a5f3dabbf87a5aab510bfa003ab455df3a6514954a9c9ea814182 languageName: node linkType: hard -"@opentelemetry/instrumentation-mongoose@npm:0.39.0": - version: 0.39.0 - resolution: "@opentelemetry/instrumentation-mongoose@npm:0.39.0" +"@opentelemetry/instrumentation-mongoose@npm:0.40.0": + version: 0.40.0 + resolution: "@opentelemetry/instrumentation-mongoose@npm:0.40.0" dependencies: "@opentelemetry/core": "npm:^1.8.0" "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/d999ee1d4c2ad5114f7e92d2bfc5e52ce0cd308b61dd8ed0edf155def5df13aa67d9feff6048ba81d4e99ae0deaac38b3179c5cfd2914b4f181bdb19740f1f9d + checksum: 10/6ed67765182f123cb47947896e2e14e5966e7349bb7eb215be0568fc76783cf05d978267ba7b2c55787479f3f4a2ff2647d66c6c04226d64b1b2b22c6df2797d languageName: node linkType: hard -"@opentelemetry/instrumentation-mysql2@npm:0.39.0": - version: 0.39.0 - resolution: "@opentelemetry/instrumentation-mysql2@npm:0.39.0" +"@opentelemetry/instrumentation-mysql2@npm:0.40.0": + version: 0.40.0 + resolution: "@opentelemetry/instrumentation-mysql2@npm:0.40.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" "@opentelemetry/sql-common": "npm:^0.40.1" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/ba159b8f96f91d12c0e9c0cdacafd1c8687b6714a6ea1eb4170b05810c60d88bc4173e267b6876a191b6f9d421b1a8a14f1abf247b10564e2ce1d715ff5ca06d + checksum: 10/11372d9d199ea1b03f23ad2f04df93306a2f14ee481133678380a0eb99e43ccebaeccb5bbeafe00c27a57db8ce3daada70aa46ff4edab24f3fb805de031c53ad languageName: node linkType: hard -"@opentelemetry/instrumentation-mysql@npm:0.39.0": - version: 0.39.0 - resolution: "@opentelemetry/instrumentation-mysql@npm:0.39.0" +"@opentelemetry/instrumentation-mysql@npm:0.40.0": + version: 0.40.0 + resolution: "@opentelemetry/instrumentation-mysql@npm:0.40.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" "@types/mysql": "npm:2.15.22" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/9d07ba5a70782f3a90d2f7b08630882f0e7f9b1619404abf4cedce95f86e113649472fffa2aec4f7560e2005d1b26954a9c960a66134d7b731229bcec8d19593 + checksum: 10/76774bd5db07f31b03755724ed6b00f971003348ec29208ab6f959502b2ab4b17bcef3eb8a5345be30a95f20e42e0f3dd62e2915edf7ffe73cf8fb5d88c92601 languageName: node linkType: hard -"@opentelemetry/instrumentation-nestjs-core@npm:0.38.0": - version: 0.38.0 - resolution: "@opentelemetry/instrumentation-nestjs-core@npm:0.38.0" +"@opentelemetry/instrumentation-nestjs-core@npm:0.39.0": + version: 0.39.0 + resolution: "@opentelemetry/instrumentation-nestjs-core@npm:0.39.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.23.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/945cf31ef7211e7f9cfc686d1cc8c35a29bb52307217ad573207b87d10c23ce64d502f0b229e5e13a3776f92266ba6a7cd901020bedb933d1be0deda9053b9ea + checksum: 10/5874c6743e337ed6af90575c801ce5a176650b7f225cb5d0948a9683a5e4c43b5c93382416b6642667d61978715f619fa68954f613b9529453edbc2e5e894284 languageName: node linkType: hard -"@opentelemetry/instrumentation-pg@npm:0.42.0": - version: 0.42.0 - resolution: "@opentelemetry/instrumentation-pg@npm:0.42.0" +"@opentelemetry/instrumentation-pg@npm:0.43.0": + version: 0.43.0 + resolution: "@opentelemetry/instrumentation-pg@npm:0.43.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/semantic-conventions": "npm:^1.22.0" @@ -1003,20 +1001,20 @@ __metadata: "@types/pg-pool": "npm:2.0.4" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/0d9ef3dd663e598dc2120263db0dd1e4f7cfa0cd41db8bc86eb107a74d38d08b5dcfa3ac0fc2316919861e38b52c4d4d5fbf6bbc658f22a31faab7755b1327b3 + checksum: 10/dd0711d0d8a1855724d84751c68eedc634dbee80138597d3035996f6c04aa6f799da430e7faa7a793836804b70ec6203fc29322e5b6bce622360f1b3f78897ea languageName: node linkType: hard -"@opentelemetry/instrumentation-redis-4@npm:0.40.0": - version: 0.40.0 - resolution: "@opentelemetry/instrumentation-redis-4@npm:0.40.0" +"@opentelemetry/instrumentation-redis-4@npm:0.41.0": + version: 0.41.0 + resolution: "@opentelemetry/instrumentation-redis-4@npm:0.41.0" dependencies: "@opentelemetry/instrumentation": "npm:^0.52.0" "@opentelemetry/redis-common": "npm:^0.36.2" "@opentelemetry/semantic-conventions": "npm:^1.22.0" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/5d77ec722c625ac0216b23cec999d8302b591cf277b1e61ce6533f31db64cc40516f8bc7973960eb03154aeeddbb116207f3efb9d479e85ccec5cad30effdca6 + checksum: 10/6a3add541849ce29440c099274dfd3fc22f545f7f433cf8688c6dff879fccfaca69d0344a5e9f6bccea308268d926fbf69a5dc1ce9d12a22945d228766942c2d languageName: node linkType: hard @@ -1036,18 +1034,18 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/instrumentation@npm:^0.43.0": - version: 0.43.0 - resolution: "@opentelemetry/instrumentation@npm:0.43.0" +"@opentelemetry/instrumentation@npm:^0.46.0": + version: 0.46.0 + resolution: "@opentelemetry/instrumentation@npm:0.46.0" dependencies: "@types/shimmer": "npm:^1.0.2" - import-in-the-middle: "npm:1.4.2" + import-in-the-middle: "npm:1.7.1" require-in-the-middle: "npm:^7.1.1" semver: "npm:^7.5.2" shimmer: "npm:^1.2.1" peerDependencies: "@opentelemetry/api": ^1.3.0 - checksum: 10/776d566dc42154b9161797d7489c5e3697abe761537a103fd19d9e2221931076fbbe9c6ddd16696fa39c16feae2e75deedc2d3ed75d82abc0506ef1299557992 + checksum: 10/d0e59c95a7f33e472346ff1d0d64cd70d4a6ce4f22d3d18e0f12872a73af7a6a9af8c0c86324a792572d3f894a394a640fbf984fe5673e79aefc6d68c5a24cc5 languageName: node linkType: hard @@ -1147,14 +1145,14 @@ __metadata: languageName: node linkType: hard -"@prisma/instrumentation@npm:5.16.0": - version: 5.16.0 - resolution: "@prisma/instrumentation@npm:5.16.0" +"@prisma/instrumentation@npm:5.16.1": + version: 5.16.1 + resolution: "@prisma/instrumentation@npm:5.16.1" dependencies: "@opentelemetry/api": "npm:^1.8" "@opentelemetry/instrumentation": "npm:^0.49 || ^0.50 || ^0.51 || ^0.52.0" "@opentelemetry/sdk-trace-base": "npm:^1.22" - checksum: 10/17b8605e9a34edb8879d9a4a29ed386fb3af342a3102b98a63a553f1af7ad370e9738c8cf232e15673899e58a6a5e23c5e47b5f7ae679c5b085bb119b43ddd91 + checksum: 10/46fd8e8e8e515b74042e22ac35761226aaa25c12d77c6031dc7207780d5496bfcf08db47cbf4aee94a9adfc3629adf33b3fd15688bb7d120a420e519db5abca1 languageName: node linkType: hard @@ -1541,85 +1539,85 @@ __metadata: languageName: node linkType: hard -"@sentry/core@npm:8.13.0": - version: 8.13.0 - resolution: "@sentry/core@npm:8.13.0" +"@sentry/core@npm:8.17.0": + version: 8.17.0 + resolution: "@sentry/core@npm:8.17.0" dependencies: - "@sentry/types": "npm:8.13.0" - "@sentry/utils": "npm:8.13.0" - checksum: 10/0d44008353114a2060a5130ea9dd8dc5b2671b1ff20305bad03e2d1afdb181cf2410da6bea7f2de9775bc4d99a5dd1fd4731bb30b2b0a81a62d3a7f863e6b52a + "@sentry/types": "npm:8.17.0" + "@sentry/utils": "npm:8.17.0" + checksum: 10/e7222f144a78f3cb49e3932fb14024bed10a1c577543764d7d6949364cafe1f8542c6ca62b389454ee65fb0cf4004f9770a2fbc317400a52659c8462f7d289ad languageName: node linkType: hard -"@sentry/node@npm:^8.13.0": - version: 8.13.0 - resolution: "@sentry/node@npm:8.13.0" +"@sentry/node@npm:^8.17.0": + version: 8.17.0 + resolution: "@sentry/node@npm:8.17.0" dependencies: "@opentelemetry/api": "npm:^1.9.0" "@opentelemetry/context-async-hooks": "npm:^1.25.1" "@opentelemetry/core": "npm:^1.25.1" "@opentelemetry/instrumentation": "npm:^0.52.1" - "@opentelemetry/instrumentation-connect": "npm:0.37.0" - "@opentelemetry/instrumentation-express": "npm:0.40.1" - "@opentelemetry/instrumentation-fastify": "npm:0.37.0" - "@opentelemetry/instrumentation-graphql": "npm:0.41.0" - "@opentelemetry/instrumentation-hapi": "npm:0.39.0" + "@opentelemetry/instrumentation-connect": "npm:0.38.0" + "@opentelemetry/instrumentation-express": "npm:0.41.0" + "@opentelemetry/instrumentation-fastify": "npm:0.38.0" + "@opentelemetry/instrumentation-graphql": "npm:0.42.0" + "@opentelemetry/instrumentation-hapi": "npm:0.40.0" "@opentelemetry/instrumentation-http": "npm:0.52.1" - "@opentelemetry/instrumentation-ioredis": "npm:0.41.0" - "@opentelemetry/instrumentation-koa": "npm:0.41.0" - "@opentelemetry/instrumentation-mongodb": "npm:0.45.0" - "@opentelemetry/instrumentation-mongoose": "npm:0.39.0" - "@opentelemetry/instrumentation-mysql": "npm:0.39.0" - "@opentelemetry/instrumentation-mysql2": "npm:0.39.0" - "@opentelemetry/instrumentation-nestjs-core": "npm:0.38.0" - "@opentelemetry/instrumentation-pg": "npm:0.42.0" - "@opentelemetry/instrumentation-redis-4": "npm:0.40.0" + "@opentelemetry/instrumentation-ioredis": "npm:0.42.0" + "@opentelemetry/instrumentation-koa": "npm:0.42.0" + "@opentelemetry/instrumentation-mongodb": "npm:0.46.0" + "@opentelemetry/instrumentation-mongoose": "npm:0.40.0" + "@opentelemetry/instrumentation-mysql": "npm:0.40.0" + "@opentelemetry/instrumentation-mysql2": "npm:0.40.0" + "@opentelemetry/instrumentation-nestjs-core": "npm:0.39.0" + "@opentelemetry/instrumentation-pg": "npm:0.43.0" + "@opentelemetry/instrumentation-redis-4": "npm:0.41.0" "@opentelemetry/resources": "npm:^1.25.1" "@opentelemetry/sdk-trace-base": "npm:^1.25.1" "@opentelemetry/semantic-conventions": "npm:^1.25.1" - "@prisma/instrumentation": "npm:5.16.0" - "@sentry/core": "npm:8.13.0" - "@sentry/opentelemetry": "npm:8.13.0" - "@sentry/types": "npm:8.13.0" - "@sentry/utils": "npm:8.13.0" - opentelemetry-instrumentation-fetch-node: "npm:1.2.0" + "@prisma/instrumentation": "npm:5.16.1" + "@sentry/core": "npm:8.17.0" + "@sentry/opentelemetry": "npm:8.17.0" + "@sentry/types": "npm:8.17.0" + "@sentry/utils": "npm:8.17.0" + opentelemetry-instrumentation-fetch-node: "npm:1.2.3" dependenciesMeta: opentelemetry-instrumentation-fetch-node: optional: true - checksum: 10/ae1ac7f9c746a675d80402965ba8447ad64af4d9f38fe45412d026aaba851073dd00f0b1a477e7ba904279a6defcd30142e05494d84231e3b4a712a2c76c5b57 + checksum: 10/461211b9a3f1f9756bea1b775a419b2ab1cec1ddc63b595cd3d9fc7c5a25061dc88a81887703b09008e337ceeb2c12084a97835d284f5b790226f0db47e42872 languageName: node linkType: hard -"@sentry/opentelemetry@npm:8.13.0": - version: 8.13.0 - resolution: "@sentry/opentelemetry@npm:8.13.0" +"@sentry/opentelemetry@npm:8.17.0": + version: 8.17.0 + resolution: "@sentry/opentelemetry@npm:8.17.0" dependencies: - "@sentry/core": "npm:8.13.0" - "@sentry/types": "npm:8.13.0" - "@sentry/utils": "npm:8.13.0" + "@sentry/core": "npm:8.17.0" + "@sentry/types": "npm:8.17.0" + "@sentry/utils": "npm:8.17.0" peerDependencies: "@opentelemetry/api": ^1.9.0 "@opentelemetry/core": ^1.25.1 "@opentelemetry/instrumentation": ^0.52.1 "@opentelemetry/sdk-trace-base": ^1.25.1 "@opentelemetry/semantic-conventions": ^1.25.1 - checksum: 10/ab2a6c0f3ade17df3d6f46d955caa57bb543852539d1065dd0de1b8635bf66881f107f00a37a7b5ea013dcafea6973783c8d3b2b5c93e6b12108fbbe422cf8c8 + checksum: 10/700ed4caf343c42148b00029e322e19930e65e66a0258a226e4abc0eeeb96599d413e0b208f06b4d8633b232325d6cb704286e6768a81674f5cf19567d87e741 languageName: node linkType: hard -"@sentry/types@npm:8.13.0": - version: 8.13.0 - resolution: "@sentry/types@npm:8.13.0" - checksum: 10/8f792f8f03a5b505ce5648525bca39cce03e1822cd3c0f62eb00b27904ca239abd6ad5cd5e233acd19656f80b1f1e92b060bce2e72129e8c59debfdc576014d6 +"@sentry/types@npm:8.17.0": + version: 8.17.0 + resolution: "@sentry/types@npm:8.17.0" + checksum: 10/52990f093760c15b7f84cabdb949cf25b4fe9486d2a723533613dc54322b13e18639d2e1696d94c352aad41a11529574d2afd2cb75a072e2afb7a0aa76694ad6 languageName: node linkType: hard -"@sentry/utils@npm:8.13.0": - version: 8.13.0 - resolution: "@sentry/utils@npm:8.13.0" +"@sentry/utils@npm:8.17.0": + version: 8.17.0 + resolution: "@sentry/utils@npm:8.17.0" dependencies: - "@sentry/types": "npm:8.13.0" - checksum: 10/e38b67ff85c33bcb4618de85891f96db80269cee6da6a3257a999cba4c4873c73affcdabd761b966155dbfdbdb6ccb602020639152be58b94789175a9f989090 + "@sentry/types": "npm:8.17.0" + checksum: 10/895cb1a94e17e6e521ae8fa0168f79b9f3120bd1b0255c6e7a311d16dd7fb8e78f17536b72b325364fe32e55a16042a875dcdb2d032833b2b6b18f01e93fe67f languageName: node linkType: hard @@ -1689,15 +1687,6 @@ __metadata: languageName: node linkType: hard -"@types/accepts@npm:*": - version: 1.3.7 - resolution: "@types/accepts@npm:1.3.7" - dependencies: - "@types/node": "npm:*" - checksum: 10/7678cf74976e16093aff6e6f9755826faf069ac1e30179276158ce46ea246348ff22ca6bdd46cef08428881337d9ceefbf00bab08a7731646eb9fc9449d6a1e7 - languageName: node - linkType: hard - "@types/backoff@npm:^2.5.5": version: 2.5.5 resolution: "@types/backoff@npm:2.5.5" @@ -1707,25 +1696,6 @@ __metadata: languageName: node linkType: hard -"@types/body-parser@npm:*": - version: 1.19.5 - resolution: "@types/body-parser@npm:1.19.5" - dependencies: - "@types/connect": "npm:*" - "@types/node": "npm:*" - checksum: 10/1e251118c4b2f61029cc43b0dc028495f2d1957fe8ee49a707fb940f86a9bd2f9754230805598278fe99958b49e9b7e66eec8ef6a50ab5c1f6b93e1ba2aaba82 - languageName: node - linkType: hard - -"@types/connect@npm:*": - version: 3.4.38 - resolution: "@types/connect@npm:3.4.38" - dependencies: - "@types/node": "npm:*" - checksum: 10/7eb1bc5342a9604facd57598a6c62621e244822442976c443efb84ff745246b10d06e8b309b6e80130026a396f19bf6793b7cecd7380169f369dac3bfc46fb99 - languageName: node - linkType: hard - "@types/connect@npm:3.4.36": version: 3.4.36 resolution: "@types/connect@npm:3.4.36" @@ -1735,13 +1705,6 @@ __metadata: languageName: node linkType: hard -"@types/content-disposition@npm:*": - version: 0.5.8 - resolution: "@types/content-disposition@npm:0.5.8" - checksum: 10/eeea868fb510ae7a32aa2d7de680fba79d59001f3e758a334621e10bc0a6496d3a42bb79243a5e53b9c63cb524522853ccc144fe1ab160c4247d37cdb81146c4 - languageName: node - linkType: hard - "@types/conventional-commits-parser@npm:^5.0.0": version: 5.0.0 resolution: "@types/conventional-commits-parser@npm:5.0.0" @@ -1751,18 +1714,6 @@ __metadata: languageName: node linkType: hard -"@types/cookies@npm:*": - version: 0.9.0 - resolution: "@types/cookies@npm:0.9.0" - dependencies: - "@types/connect": "npm:*" - "@types/express": "npm:*" - "@types/keygrip": "npm:*" - "@types/node": "npm:*" - checksum: 10/88d2106834fca85cf9dfef984e99bf4969e77d48538d8e8408a29679b4d1f675fe4725d35f2e38d252a336b76d14a2bc84bcb34edc72238a7a8261c0808c7c56 - languageName: node - linkType: hard - "@types/diff@npm:^5.2.1": version: 5.2.1 resolution: "@types/diff@npm:5.2.1" @@ -1777,30 +1728,6 @@ __metadata: languageName: node linkType: hard -"@types/express-serve-static-core@npm:^4.17.33": - version: 4.19.1 - resolution: "@types/express-serve-static-core@npm:4.19.1" - dependencies: - "@types/node": "npm:*" - "@types/qs": "npm:*" - "@types/range-parser": "npm:*" - "@types/send": "npm:*" - checksum: 10/a400e2c6a2d64373290f0fa25fa2d70bad44fbb1d12a56237a8dfb3bf300bc102d6f5fa6aaed2ce853e37226589905ce0d658ad1b9c0115d9cd7ce446608140c - languageName: node - linkType: hard - -"@types/express@npm:*": - version: 4.17.21 - resolution: "@types/express@npm:4.17.21" - dependencies: - "@types/body-parser": "npm:*" - "@types/express-serve-static-core": "npm:^4.17.33" - "@types/qs": "npm:*" - "@types/serve-static": "npm:*" - checksum: 10/7a6d26cf6f43d3151caf4fec66ea11c9d23166e4f3102edfe45a94170654a54ea08cf3103d26b3928d7ebcc24162c90488e33986b7e3a5f8941225edd5eb18c7 - languageName: node - linkType: hard - "@types/he@npm:^1.2.3": version: 1.2.3 resolution: "@types/he@npm:1.2.3" @@ -1808,84 +1735,6 @@ __metadata: languageName: node linkType: hard -"@types/http-assert@npm:*": - version: 1.5.5 - resolution: "@types/http-assert@npm:1.5.5" - checksum: 10/cd6bb7fd42cc6e2a702cb55370b8b25231954ad74c04bcd185b943a74ded3d4c28099c30f77b26951df2426441baff41718816c60b5af80efe2b8888d900bf93 - languageName: node - linkType: hard - -"@types/http-errors@npm:*": - version: 2.0.4 - resolution: "@types/http-errors@npm:2.0.4" - checksum: 10/1f3d7c3b32c7524811a45690881736b3ef741bf9849ae03d32ad1ab7062608454b150a4e7f1351f83d26a418b2d65af9bdc06198f1c079d75578282884c4e8e3 - languageName: node - linkType: hard - -"@types/keygrip@npm:*": - version: 1.0.6 - resolution: "@types/keygrip@npm:1.0.6" - checksum: 10/d157f60bf920492347791d2b26d530d5069ce05796549fbacd4c24d66ffbebbcb0ab67b21e7a1b80a593b9fd4b67dc4843dec04c12bbc2e0fddfb8577a826c41 - languageName: node - linkType: hard - -"@types/koa-compose@npm:*": - version: 3.2.8 - resolution: "@types/koa-compose@npm:3.2.8" - dependencies: - "@types/koa": "npm:*" - checksum: 10/95c32bdee738ac7c10439bbf6342ca3b9f0aafd7e8118739eac7fb0fa703a23cfe4c88f63e13a69a16fbde702e0bcdc62b272aa734325fc8efa7e5625479752e - languageName: node - linkType: hard - -"@types/koa@npm:*": - version: 2.15.0 - resolution: "@types/koa@npm:2.15.0" - dependencies: - "@types/accepts": "npm:*" - "@types/content-disposition": "npm:*" - "@types/cookies": "npm:*" - "@types/http-assert": "npm:*" - "@types/http-errors": "npm:*" - "@types/keygrip": "npm:*" - "@types/koa-compose": "npm:*" - "@types/node": "npm:*" - checksum: 10/2be9dff1ef66bf15b037386c188893761a8fb46390a5e1d2a2031d9e1ba4473e40ddfbd625980a504bd804d7148b3e230c18e240503f33eac3b6e5e830645d30 - languageName: node - linkType: hard - -"@types/koa@npm:2.14.0": - version: 2.14.0 - resolution: "@types/koa@npm:2.14.0" - dependencies: - "@types/accepts": "npm:*" - "@types/content-disposition": "npm:*" - "@types/cookies": "npm:*" - "@types/http-assert": "npm:*" - "@types/http-errors": "npm:*" - "@types/keygrip": "npm:*" - "@types/koa-compose": "npm:*" - "@types/node": "npm:*" - checksum: 10/00bd0dd9f2366eabbd05a9af1c83e10679b4241e69b75927c7653826508c03e9b19b2c03499c5ff6496acbb192f5c0a860b4e95308462e945e2fb79636cbf3cf - languageName: node - linkType: hard - -"@types/koa__router@npm:12.0.3": - version: 12.0.3 - resolution: "@types/koa__router@npm:12.0.3" - dependencies: - "@types/koa": "npm:*" - checksum: 10/4608eb48867aabcd5cf3049b8115b3df9dc32cf4f5b950245dc9ab9d26055162a7deaae0f2a819f583aa21f57a66326c532a8763f82dceaf03a7e1f8cc08977d - languageName: node - linkType: hard - -"@types/mime@npm:^1": - version: 1.3.5 - resolution: "@types/mime@npm:1.3.5" - checksum: 10/e29a5f9c4776f5229d84e525b7cd7dd960b51c30a0fb9a028c0821790b82fca9f672dab56561e2acd9e8eed51d431bde52eafdfef30f643586c4162f1aecfc78 - languageName: node - linkType: hard - "@types/mysql@npm:2.15.22": version: 2.15.22 resolution: "@types/mysql@npm:2.15.22" @@ -1935,41 +1784,6 @@ __metadata: languageName: node linkType: hard -"@types/qs@npm:*": - version: 6.9.15 - resolution: "@types/qs@npm:6.9.15" - checksum: 10/97d8208c2b82013b618e7a9fc14df6bd40a73e1385ac479b6896bafc7949a46201c15f42afd06e86a05e914f146f495f606b6fb65610cc60cf2e0ff743ec38a2 - languageName: node - linkType: hard - -"@types/range-parser@npm:*": - version: 1.2.7 - resolution: "@types/range-parser@npm:1.2.7" - checksum: 10/95640233b689dfbd85b8c6ee268812a732cf36d5affead89e806fe30da9a430767af8ef2cd661024fd97e19d61f3dec75af2df5e80ec3bea000019ab7028629a - languageName: node - linkType: hard - -"@types/send@npm:*": - version: 0.17.4 - resolution: "@types/send@npm:0.17.4" - dependencies: - "@types/mime": "npm:^1" - "@types/node": "npm:*" - checksum: 10/28320a2aa1eb704f7d96a65272a07c0bf3ae7ed5509c2c96ea5e33238980f71deeed51d3631927a77d5250e4091b3e66bce53b42d770873282c6a20bb8b0280d - languageName: node - linkType: hard - -"@types/serve-static@npm:*": - version: 1.15.7 - resolution: "@types/serve-static@npm:1.15.7" - dependencies: - "@types/http-errors": "npm:*" - "@types/node": "npm:*" - "@types/send": "npm:*" - checksum: 10/c5a7171d5647f9fbd096ed1a26105759f3153ccf683824d99fee4c7eb9cde2953509621c56a070dd9fb1159e799e86d300cbe4e42245ebc5b0c1767e8ca94a67 - languageName: node - linkType: hard - "@types/shimmer@npm:^1.0.2": version: 1.0.5 resolution: "@types/shimmer@npm:1.0.5" @@ -1977,12 +1791,12 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8.5.10": - version: 8.5.10 - resolution: "@types/ws@npm:8.5.10" +"@types/ws@npm:^8.5.10, @types/ws@npm:^8.5.11": + version: 8.5.11 + resolution: "@types/ws@npm:8.5.11" dependencies: "@types/node": "npm:*" - checksum: 10/9b414dc5e0b6c6f1ea4b1635b3568c58707357f68076df9e7cd33194747b7d1716d5189c0dbdd68c8d2521b148e88184cf881bac7429eb0e5c989b001539ed31 + checksum: 10/950d13b762fc7c092a0fc1450c41229a1d41abb93cb72251068885bd46fa4bbcf461c00df2e77de3f7a547371998b650a720ed90417562af0772b14a8a009dec languageName: node linkType: hard @@ -3769,10 +3583,10 @@ __metadata: languageName: node linkType: hard -"discord-api-types@npm:^0.37.91": - version: 0.37.91 - resolution: "discord-api-types@npm:0.37.91" - checksum: 10/046c2f42161e65bdd26d68869c4ceae4aa0937d6535f5ba62ab0e8ea0bcacbfa93f35d9b8cbccd5929ab0fb094e5f82d2600cc931637295030ebca5cd4d9647e +"discord-api-types@npm:^0.37.92": + version: 0.37.92 + resolution: "discord-api-types@npm:0.37.92" + checksum: 10/94666e98e4b74d51d443c0ea6b4704aceeed55681a7362a6bc0770fa7509d0cf7035d68f47c9cbd8f1c9c08fe7ba27f4d0edf074476591c6302e72e3547f5102 languageName: node linkType: hard @@ -5039,15 +4853,15 @@ __metadata: languageName: node linkType: hard -"import-in-the-middle@npm:1.4.2": - version: 1.4.2 - resolution: "import-in-the-middle@npm:1.4.2" +"import-in-the-middle@npm:1.7.1": + version: 1.7.1 + resolution: "import-in-the-middle@npm:1.7.1" dependencies: acorn: "npm:^8.8.2" acorn-import-assertions: "npm:^1.9.0" cjs-module-lexer: "npm:^1.2.2" module-details-from-path: "npm:^1.0.3" - checksum: 10/fe853b5f4fe521b3dc6ee1946fd9ef3f4c1aaab33a1c80130e57983cab91f95b469d4da27878312bfd300f87b056ae1d7d77f5dbf636647418221fac174c8fc0 + checksum: 10/a675f1480456bad4d674ccb82a39fef8252cd9cb07fb2ddae027dbee6c772fb1f9b6090706b0160f9948fb145963b76d1554b37bce477ef26b0aaa3bd805232a languageName: node linkType: hard @@ -6465,14 +6279,15 @@ __metadata: languageName: node linkType: hard -"opentelemetry-instrumentation-fetch-node@npm:1.2.0": - version: 1.2.0 - resolution: "opentelemetry-instrumentation-fetch-node@npm:1.2.0" +"opentelemetry-instrumentation-fetch-node@npm:1.2.3": + version: 1.2.3 + resolution: "opentelemetry-instrumentation-fetch-node@npm:1.2.3" dependencies: - "@opentelemetry/api": "npm:^1.6.0" - "@opentelemetry/instrumentation": "npm:^0.43.0" + "@opentelemetry/instrumentation": "npm:^0.46.0" "@opentelemetry/semantic-conventions": "npm:^1.17.0" - checksum: 10/01435363058af094a66f91724a308ebafa81faf331ff92a1087146ca64986271e529417af361f65a47a8bc0202d1bf522f95e34b6ac2e74fd24bbdf5989a0a8f + peerDependencies: + "@opentelemetry/api": ^1.6.0 + checksum: 10/0dc88317c48bcb4f6c2e7e1e92ef6e3b53bfafc3b5db6e5858e17bdf11924d0a885ad8cbce3aedd4e7e8bfa089acb086af9eefec9983c11fc3273b1dc36880af languageName: node linkType: hard @@ -7012,12 +6827,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.0.0, prettier@npm:^3.3.0, prettier@npm:^3.3.2": - version: 3.3.2 - resolution: "prettier@npm:3.3.2" +"prettier@npm:^3.0.0, prettier@npm:^3.3.0, prettier@npm:^3.3.3": + version: 3.3.3 + resolution: "prettier@npm:3.3.3" bin: prettier: bin/prettier.cjs - checksum: 10/83214e154afa5aa9b664c2506640212323eb1376b13379b2413dc351b7de0687629dca3f00ff2ec895ebd7e3a2adb7d7e231b6c77606e2358137f2150807405b + checksum: 10/5beac1f30b5b40162532b8e2f7c3a4eb650910a2695e9c8512a62ffdc09dae93190c29db9107fa7f26d1b6c71aad3628ecb9b5de1ecb0911191099be109434d7 languageName: node linkType: hard @@ -8748,7 +8563,7 @@ __metadata: "@sapphire/time-utilities": "npm:^1.7.12" "@sapphire/ts-config": "npm:^5.0.1" "@sapphire/utilities": "npm:^3.16.2" - "@sentry/node": "npm:^8.13.0" + "@sentry/node": "npm:^8.17.0" "@skyra/ai": "npm:^1.2.0" "@skyra/char": "npm:^1.0.3" "@skyra/env-utilities": "npm:^1.3.0" @@ -8758,7 +8573,7 @@ __metadata: "@types/he": "npm:^1.2.3" "@types/node": "npm:^20.11.17" "@types/pg": "npm:^8.11.6" - "@types/ws": "npm:^8.5.10" + "@types/ws": "npm:^8.5.11" "@typescript-eslint/eslint-plugin": "npm:^7.13.1" "@typescript-eslint/parser": "npm:^7.13.1" "@vitest/coverage-v8": "npm:^1.6.0" @@ -8768,7 +8583,7 @@ __metadata: confusables: "npm:^1.1.1" cz-conventional-changelog: "npm:^3.3.0" diff: "npm:^5.2.0" - discord-api-types: "npm:^0.37.91" + discord-api-types: "npm:^0.37.92" discord.js: "npm:^14.15.3" eslint: "npm:^8.57.0" eslint-config-prettier: "npm:^9.1.0" @@ -8776,7 +8591,7 @@ __metadata: he: "npm:^1.2.0" lint-staged: "npm:^15.2.7" pg: "npm:^8.12.0" - prettier: "npm:^3.3.2" + prettier: "npm:^3.3.3" tsc-watch: "npm:^6.2.0" typeorm: "npm:0.3.20" typeorm-naming-strategies: "npm:^4.1.0" From c76810d81607c52267689308440d38a0ca52ee11 Mon Sep 17 00:00:00 2001 From: RedStars071 Date: Mon, 15 Jul 2024 16:04:24 +0200 Subject: [PATCH 2/2] refactor: formated files --- src/arguments/roleName.ts | 2 +- src/lib/database/settings/schema/SchemaGroup.ts | 2 +- src/lib/util/functions/emojis.ts | 2 +- src/listeners/guilds/guildUpdateNotify.ts | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/arguments/roleName.ts b/src/arguments/roleName.ts index c1d967375..885e25350 100644 --- a/src/arguments/roleName.ts +++ b/src/arguments/roleName.ts @@ -28,7 +28,7 @@ export class UserArgument extends Argument { public resolveRole(query: string, guild: Guild) { const role = RoleMentionRegex.exec(query) ?? SnowflakeRegex.exec(query); - return role ? guild.roles.cache.get(role[1]) ?? null : null; + return role ? (guild.roles.cache.get(role[1]) ?? null) : null; } } diff --git a/src/lib/database/settings/schema/SchemaGroup.ts b/src/lib/database/settings/schema/SchemaGroup.ts index fcbf0c95f..b2518ab64 100644 --- a/src/lib/database/settings/schema/SchemaGroup.ts +++ b/src/lib/database/settings/schema/SchemaGroup.ts @@ -63,7 +63,7 @@ export class SchemaGroup extends AliasedCollection impleme public getPathArray([key, ...tail]: NonEmptyArray): ISchemaValue | null { if (tail.length === 0) { - return key === '' || key === '.' ? this : this.get(key) ?? null; + return key === '' || key === '.' ? this : (this.get(key) ?? null); } const value = this.get(key); diff --git a/src/lib/util/functions/emojis.ts b/src/lib/util/functions/emojis.ts index 96402d01f..6b1a0dd17 100644 --- a/src/lib/util/functions/emojis.ts +++ b/src/lib/util/functions/emojis.ts @@ -149,5 +149,5 @@ export function getEmojiObject(emoji: string): EmojiObject | null { export function resolveEmojiId(emoji: EmojiObject | SerializedEmoji): string { if (isNullish(emoji)) return ''; - return typeof emoji === 'string' ? getEmojiId(emoji) : emoji.id ?? encodeURIComponent(emoji.name!); + return typeof emoji === 'string' ? getEmojiId(emoji) : (emoji.id ?? encodeURIComponent(emoji.name!)); } diff --git a/src/listeners/guilds/guildUpdateNotify.ts b/src/listeners/guilds/guildUpdateNotify.ts index 209c004a3..aaa34dd32 100644 --- a/src/listeners/guilds/guildUpdateNotify.ts +++ b/src/listeners/guilds/guildUpdateNotify.ts @@ -305,7 +305,9 @@ export class UserListener extends Listener { private displayWidgetEnabled(t: TFunction, previous: boolean | null, next: boolean | null): string { return t( - next ?? !previous ? LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetEnabled : LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetDisabled + (next ?? !previous) + ? LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetEnabled + : LanguageKeys.Events.Guilds.Logs.ServerUpdateWidgetDisabled ); } }