Update dependencies

This commit is contained in:
Samuel Elliott
2022-08-24 19:48:19 +01:00
parent e5a955e666
commit 7c010ed719
3 changed files with 250 additions and 365 deletions

593
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -40,7 +40,7 @@
"env-paths": "^3.0.0",
"express": "^4.18.1",
"mkdirp": "^1.0.4",
"node-fetch": "^3.2.9",
"node-fetch": "^3.2.10",
"node-notifier": "^10.0.1",
"node-persist": "^3.1.0",
"read": "^1.0.7",
@@ -54,33 +54,33 @@
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-html": "^0.2.4",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.3.3",
"@rollup/plugin-typescript": "^8.4.0",
"@types/body-parser": "^1.19.2",
"@types/cli-table": "^0.3.0",
"@types/debug": "^4.1.7",
"@types/discord-rpc": "^4.0.3",
"@types/express": "^4.17.13",
"@types/mkdirp": "^1.0.2",
"@types/node": "^18.6.1",
"@types/node": "^18.7.13",
"@types/node-notifier": "^8.0.2",
"@types/node-persist": "^3.1.2",
"@types/react": "^17.0.45",
"@types/react-native": "^0.67.7",
"@types/read": "^0.0.29",
"@types/uuid": "^8.3.4",
"@types/yargs": "^17.0.10",
"electron": "^19.0.9",
"electron-builder": "^23.1.0",
"@types/yargs": "^17.0.11",
"electron": "^20.0.3",
"electron-builder": "^23.3.3",
"frida": "^15.2.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-native-web": "^0.17.7",
"rollup": "^2.77.2",
"rollup": "^2.78.1",
"rollup-plugin-polyfill-node": "^0.10.2",
"ts-json-schema-generator": "^1.0.0",
"typescript": "^4.7.4"

View File

@@ -1,6 +1,5 @@
import { contextBridge, ipcRenderer } from 'electron';
import * as process from 'node:process';
import { EventEmitter } from 'node:events';
import { EventEmitter } from 'events';
import createDebug from 'debug';
import type { User } from 'discord-rpc';
import type { SharingItem } from '../main/electron.js';
@@ -15,6 +14,9 @@ import type { DiscordSetupProps } from '../browser/discord/index.js';
import type { FriendProps } from '../browser/friend/index.js';
import { AddFriendProps } from '../browser/add-friend/index.js';
// In sandboxed renderers the process object contains a very limited set of APIs
// https://www.electronjs.org/docs/latest/api/process#sandbox
const debug = createDebug('app:preload');
const inv = <T = void>(channel: string, ...args: any[]) =>