bump dependencies

This commit is contained in:
Vendicated
2025-12-12 20:58:16 +01:00
parent 24047d7fdd
commit b3d595ef98
4 changed files with 262 additions and 637 deletions

View File

@@ -36,13 +36,13 @@
"devDependencies": {
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@stylistic/eslint-plugin": "^5.6.1",
"@types/node": "^24.10.1",
"@types/node": "^25.0.1",
"@types/react": "19.2.1",
"@vencord/types": "^1.13.7",
"dotenv": "^17.2.3",
"electron": "^39.2.3",
"electron": "^39.2.7",
"electron-builder": "^26.0.12",
"esbuild": "^0.27.0",
"esbuild": "^0.27.1",
"eslint": "^9.39.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-path-alias": "^2.1.0",
@@ -52,12 +52,12 @@
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.3.0",
"libvesktop": "link:packages/libvesktop",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"source-map-support": "^0.5.21",
"tsx": "^4.20.6",
"type-fest": "^5.2.0",
"tsx": "^4.21.0",
"type-fest": "^5.3.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"typescript-eslint": "^8.49.0",
"xml-formatter": "^3.6.7"
},
"packageManager": "pnpm@10.7.1",

878
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,7 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import type arRpcPlugin from "@vencord/types/plugins/arRPC.web";
import { Logger } from "@vencord/types/utils";
import { findLazy, findStoreLazy, onceReady } from "@vencord/types/webpack";
import { FluxDispatcher, InviteActions } from "@vencord/types/webpack/common";
@@ -15,9 +16,7 @@ import { Settings } from "./settings";
const logger = new Logger("VesktopRPC", "#5865f2");
const StreamerModeStore = findStoreLazy("StreamerModeStore");
const arRPC = Vencord.Plugins.plugins["WebRichPresence (arRPC)"] as any as {
handleEvent(e: MessageEvent): void;
};
const arRPC = Vencord.Plugins.plugins["WebRichPresence (arRPC)"] as typeof arRpcPlugin;
onIpcCommand(IpcCommands.RPC_ACTIVITY, async jsonData => {
if (!Settings.store.arRPC) return;

View File

@@ -24,7 +24,7 @@ VesktopLogger.log("read if cute :3");
VesktopLogger.log("Vesktop v" + VesktopNative.app.getVersion());
// TODO
const customSettingsSections = (Vencord.Plugins.plugins.Settings as any as typeof SettingsPlugin).customSections;
const customSettingsSections = (Vencord.Plugins.plugins.Settings as typeof SettingsPlugin).customSections;
customSettingsSections.push(() => ({
section: "Vesktop",