diff --git a/package.json b/package.json index ea66f23e..f490a6f6 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@types/node-emoji": "^1.8.1", "@types/spotify-web-api-node": "^5.0.2", "@types/validator": "^13.1.4", - "@types/ws": "^8.2.2", + "@types/ws": "8.5.4", "@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/parser": "^4.31.1", "eslint": "^7.32.0", @@ -114,5 +114,8 @@ "xbytes": "^1.7.0", "ytdl-core": "^4.11.4", "ytsr": "^3.8.2" + }, + "resolutions": { + "@types/ws": "8.5.4" } } diff --git a/tsconfig.json b/tsconfig.json index f886e86b..c18c34e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "lib": ["esnext"], - "target": "es2018", - "module": "ES2020", + "lib": ["es2020" ,"esnext"], + "target": "es2020", + "module": "es2020", "moduleResolution": "node", "strict": true, "experimentalDecorators": true, diff --git a/yarn.lock b/yarn.lock index cadd79d5..3f401b78 100644 --- a/yarn.lock +++ b/yarn.lock @@ -549,17 +549,10 @@ resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.7.2.tgz#a2114225d9be743fb154b06c29b8257aaca42922" integrity sha512-KFcchQ3h0OPQgFirBRPZr5F/sVjxZsOrQHedj3zi8AH3Zv/hOLx2OLR4hxR5HcfoU+33n69ZuOfzthKVdMoTiw== -"@types/ws@^8.2.2", "@types/ws@^8.5.3": - version "8.5.3" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" - integrity sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w== - dependencies: - "@types/node" "*" - -"@types/ws@^8.5.4": - version "8.5.5" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.5.tgz#af587964aa06682702ee6dcbc7be41a80e4b28eb" - integrity sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg== +"@types/ws@8.5.4", "@types/ws@^8.5.3", "@types/ws@^8.5.4": + version "8.5.4" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5" + integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg== dependencies: "@types/node" "*"