diff --git a/package.json b/package.json index 5667e16..40db5df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@xhayper/discord-rpc", - "version": "1.1.1", + "version": "1.1.2", "description": "a fork of discordjs/RPC", "main": "dist/index.js", "author": "xhayper", @@ -25,16 +25,20 @@ }, "dependencies": { "axios": "^1.6.2", - "ws": "^8.14.2" + "ws": "^8.15.1" + }, + "optionalDependencies": { + "bufferutil": "^4.0.8", + "utf-8-validate": "^6.0.3" }, "devDependencies": { "@types/node": "^14.*", "@types/ws": "^8.5.10", "del-cli": "^5.1.0", - "discord-api-types": "^0.37.65" + "discord-api-types": "^0.37.66" }, "engines": { "node": ">=14.18.0" }, - "packageManager": "pnpm@8.9.0" + "packageManager": "pnpm@8.12.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6919e71..f5eddf1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,25 +6,33 @@ settings: dependencies: axios: - specifier: ^1.6.1 - version: 1.6.1 + specifier: ^1.6.2 + version: 1.6.2 ws: - specifier: ^8.14.2 - version: 8.14.2 + specifier: ^8.15.1 + version: 8.15.1(bufferutil@4.0.8)(utf-8-validate@6.0.3) + +optionalDependencies: + bufferutil: + specifier: ^4.0.8 + version: 4.0.8 + utf-8-validate: + specifier: ^6.0.3 + version: 6.0.3 devDependencies: '@types/node': specifier: ^14.* version: 14.18.51 '@types/ws': - specifier: ^8.5.9 - version: 8.5.9 + specifier: ^8.5.10 + version: 8.5.10 del-cli: specifier: ^5.1.0 version: 5.1.0 discord-api-types: - specifier: ^0.37.63 - version: 0.37.63 + specifier: ^0.37.66 + version: 0.37.66 packages: @@ -82,8 +90,8 @@ packages: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true - /@types/ws@8.5.9: - resolution: {integrity: sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg==} + /@types/ws@8.5.10: + resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: '@types/node': 14.18.51 dev: true @@ -112,8 +120,8 @@ packages: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} dev: false - /axios@1.6.1: - resolution: {integrity: sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==} + /axios@1.6.2: + resolution: {integrity: sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==} dependencies: follow-redirects: 1.15.2 form-data: 4.0.0 @@ -140,6 +148,14 @@ packages: fill-range: 7.0.1 dev: true + /bufferutil@4.0.8: + resolution: {integrity: sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==} + engines: {node: '>=6.14.2'} + requiresBuild: true + dependencies: + node-gyp-build: 4.7.1 + dev: false + /camelcase-keys@7.0.2: resolution: {integrity: sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==} engines: {node: '>=12'} @@ -245,8 +261,8 @@ packages: path-type: 4.0.0 dev: true - /discord-api-types@0.37.63: - resolution: {integrity: sha512-WbEDWj/1JGCIC1oCMIC4z9XbYY8PrWpV5eqFFQymJhJlHMqgIjqoYbU812X5oj5cwbRrEh6Va4LNLumB2Nt6IQ==} + /discord-api-types@0.37.66: + resolution: {integrity: sha512-3Q+6uBODmVaPAmZZ1jYQiQBbp0hqArgSU9Y6DuYY6KW5Sdij91bwbmFnnVI5XvATRkY+Wk9KMBWFzAEwSDs+1w==} dev: true /error-ex@1.3.2: @@ -548,6 +564,12 @@ packages: kind-of: 6.0.3 dev: true + /node-gyp-build@4.7.1: + resolution: {integrity: sha512-wTSrZ+8lsRRa3I3H8Xr65dLWSgCvY2l4AOnaeKdPA9TB/WYMPaTcrzf3rXvFoVvjKNVnu0CcWSx54qq9GKRUYg==} + hasBin: true + requiresBuild: true + dev: false + /normalize-package-data@3.0.3: resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} engines: {node: '>=10'} @@ -739,6 +761,14 @@ packages: engines: {node: '>=10'} dev: true + /utf-8-validate@6.0.3: + resolution: {integrity: sha512-uIuGf9TWQ/y+0Lp+KGZCMuJWc3N9BHA+l/UmHd/oUHwJJDeysyTRxNQVkbzsIWfGFbRe3OcgML/i0mvVRPOyDA==} + engines: {node: '>=6.14.2'} + requiresBuild: true + dependencies: + node-gyp-build: 4.7.1 + dev: false + /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -750,8 +780,8 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - /ws@8.14.2: - resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + /ws@8.15.1(bufferutil@4.0.8)(utf-8-validate@6.0.3): + resolution: {integrity: sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -761,6 +791,9 @@ packages: optional: true utf-8-validate: optional: true + dependencies: + bufferutil: 4.0.8 + utf-8-validate: 6.0.3 dev: false /yallist@4.0.0: