From 16110a6b6c2e8990e211a86fb3c9ad581c270404 Mon Sep 17 00:00:00 2001 From: abalabahaha Date: Fri, 12 Nov 2021 16:07:00 +0000 Subject: [PATCH] Bump dependencies --- .eslintrc.ts.yml | 4 ++-- lib/gateway/Shard.js | 1 + package.json | 18 +++++++++--------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.eslintrc.ts.yml b/.eslintrc.ts.yml index d4b95c054..424941902 100644 --- a/.eslintrc.ts.yml +++ b/.eslintrc.ts.yml @@ -44,8 +44,7 @@ rules: groups: screaming-snake-case-static-properties: - name: "/^[A-Z_0-9]+$/" - - type: property - sort: none + type: property static: true alphabetical-static-properties: - type: property @@ -58,6 +57,7 @@ rules: alphabetical-methods: - type: method sort: alphabetical + static: false alphabetical-properties: - type: property sort: alphabetical diff --git a/lib/gateway/Shard.js b/lib/gateway/Shard.js index 28cd95696..607214a0e 100644 --- a/lib/gateway/Shard.js +++ b/lib/gateway/Shard.js @@ -2346,6 +2346,7 @@ class Shard extends EventEmitter { } _onWSClose(code, reason) { + reason = reason.toString(); this.emit("debug", "WS disconnected: " + JSON.stringify({ code: code, reason: reason, diff --git a/package.json b/package.json index bc212b127..d8b2cd712 100644 --- a/package.json +++ b/package.json @@ -42,20 +42,20 @@ }, "homepage": "https://abal.moe/Eris/", "dependencies": { - "ws": "^7.4.6" + "ws": "^8.2.3" }, "devDependencies": { - "@types/node": "^14.14.35", - "@types/ws": "^7.4.4", - "@typescript-eslint/eslint-plugin": "^4.19.0", - "@typescript-eslint/parser": "^4.19.0", - "eslint": "^7.22.0", - "eslint-plugin-sort-class-members": "^1.10.0", - "typescript": "^4.2.2" + "@types/node": "^16.11.7", + "@types/ws": "^8.2.0", + "@typescript-eslint/eslint-plugin": "^4.33.0", + "@typescript-eslint/parser": "^4.33.0", + "eslint": "^7.32.0", + "eslint-plugin-sort-class-members": "^1.14.0", + "typescript": "^4.4.4" }, "optionalDependencies": { "opusscript": "^0.0.8", - "tweetnacl": "^1.0.1" + "tweetnacl": "^1.0.3" }, "browser": { "@discordjs/opus": false,