diff --git a/package.json b/package.json index b1cd0422..3ef19323 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,8 @@ "@babel/runtime": "7.23.8" }, "patchedDependencies": { - "vudio@2.1.1": "patches/vudio@2.1.1.patch" + "vudio@2.1.1": "patches/vudio@2.1.1.patch", + "@xhayper/discord-rpc@1.1.2": "patches/@xhayper__discord-rpc@1.1.2.patch" } }, "dependencies": { @@ -144,7 +145,7 @@ "@foobar404/wave": "2.0.5", "@jellybrick/electron-better-web-request": "1.0.4", "@jellybrick/mpris-service": "2.1.4", - "@xhayper/discord-rpc": "1.1.1", + "@xhayper/discord-rpc": "1.1.2", "async-mutex": "0.4.0", "butterchurn": "3.0.0-beta.4", "butterchurn-presets": "3.0.0-beta.4", diff --git a/patches/@xhayper__discord-rpc@1.1.2.patch b/patches/@xhayper__discord-rpc@1.1.2.patch new file mode 100644 index 00000000..6f1988f1 --- /dev/null +++ b/patches/@xhayper__discord-rpc@1.1.2.patch @@ -0,0 +1,17 @@ +diff --git a/package.json b/package.json +index 40db5dfbd8a4455ce2987d8115eca9882e1f9f14..414fc6986b9c0cc288908eb0107b90c4bfd916b2 100644 +--- a/package.json ++++ b/package.json +@@ -25,11 +25,7 @@ + }, + "dependencies": { + "axios": "^1.6.2", +- "ws": "^8.15.1" +- }, +- "optionalDependencies": { +- "bufferutil": "^4.0.8", +- "utf-8-validate": "^6.0.3" ++ "ws": "^8.16.0" + }, + "devDependencies": { + "@types/node": "^14.*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 042289c7..36b5d0b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,6 +13,9 @@ overrides: '@babel/runtime': 7.23.8 patchedDependencies: + '@xhayper/discord-rpc@1.1.2': + hash: 7eeaht6k4r7cw3nunras7mx7iu + path: patches/@xhayper__discord-rpc@1.1.2.patch vudio@2.1.1: hash: 7iux5msqpgl3octdmwy4uspwoe path: patches/vudio@2.1.1.patch @@ -46,8 +49,8 @@ dependencies: specifier: 2.1.4 version: 2.1.4 '@xhayper/discord-rpc': - specifier: 1.1.1 - version: 1.1.1(bufferutil@4.0.8)(utf-8-validate@6.0.3) + specifier: 1.1.2 + version: 1.1.2(patch_hash=7eeaht6k4r7cw3nunras7mx7iu) async-mutex: specifier: 0.4.0 version: 0.4.0 @@ -1671,17 +1674,19 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@xhayper/discord-rpc@1.1.1(bufferutil@4.0.8)(utf-8-validate@6.0.3): - resolution: {integrity: sha512-F3HC0zfeBGV9bOKCzsiumQrUunH5JW5jPwvC6TXoCrOKo7Iog+B8Iw90UdPDoUDLopA1WnWDXvnzauNJ7hWjqA==} + /@xhayper/discord-rpc@1.1.2(patch_hash=7eeaht6k4r7cw3nunras7mx7iu): + resolution: {integrity: sha512-QOeSFRqEK/pfSNl9PSIIi6ypKzD2zy1B8IHdzpvw4WsqXNoJaymfg9lE0wsei4zD5eT2bfnlcILBW9ociJMnKw==} engines: {node: '>=14.18.0'} dependencies: axios: 1.6.5 ws: 8.16.0(bufferutil@4.0.8)(utf-8-validate@6.0.3) + optionalDependencies: + bufferutil: 4.0.8 + utf-8-validate: 6.0.3 transitivePeerDependencies: - - bufferutil - debug - - utf-8-validate dev: false + patched: true /@xmldom/xmldom@0.8.10: resolution: {integrity: sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==}