mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
chore: bump deps, cleanup deprecation warnings
This commit is contained in:
parent
e3937ae843
commit
90e41c837b
13560
package-lock.json
generated
13560
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
45
package.json
45
package.json
|
|
@ -40,25 +40,25 @@
|
|||
"cli-table": "^0.3.11",
|
||||
"debug": "^4.3.4",
|
||||
"discord-rpc": "^4.0.1",
|
||||
"dotenv": "^16.3.1",
|
||||
"dotenv-expand": "^10.0.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"dotenv-expand": "^11.0.6",
|
||||
"env-paths": "^3.0.0",
|
||||
"express": "^4.18.2",
|
||||
"express": "^4.19.2",
|
||||
"node-notifier": "^10.0.1",
|
||||
"node-persist": "^3.1.3",
|
||||
"read": "^3.0.0",
|
||||
"sharp": "^0.33.1",
|
||||
"read": "^3.0.1",
|
||||
"sharp": "^0.33.3",
|
||||
"splatnet3-types": "^0.2.20231119210145",
|
||||
"supports-color": "^8.1.1",
|
||||
"supports-color": "^9.4.0",
|
||||
"tslib": "^2.6.2",
|
||||
"undici": "^5.27.2",
|
||||
"undici": "^6.15.0",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-alias": "^5.0.1",
|
||||
"@rollup/plugin-alias": "^5.1.0",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@rollup/plugin-html": "^1.0.3",
|
||||
"@rollup/plugin-json": "^6.0.1",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-replace": "^5.0.5",
|
||||
"@types/body-parser": "^1.19.5",
|
||||
|
|
@ -68,22 +68,22 @@
|
|||
"@types/eventsource": "^1.1.15",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"@types/node": "^18.18.10",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/node-notifier": "^8.0.5",
|
||||
"@types/node-persist": "^3.1.6",
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/node-persist": "^3.1.8",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react-native": "^0.72.6",
|
||||
"@types/yargs": "^17.0.31",
|
||||
"electron": "^26.6.0",
|
||||
"electron-builder": "^24.6.4",
|
||||
"@types/yargs": "^17.0.32",
|
||||
"electron": "^30.0.1",
|
||||
"electron-builder": "^24.13.3",
|
||||
"mime-types": "^2.1.35",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-native-web": "^0.19.9",
|
||||
"rollup": "^3.29.4",
|
||||
"rollup-plugin-polyfill-node": "^0.12.0",
|
||||
"ts-json-schema-generator": "^1.4.0",
|
||||
"typescript": "^5.2.2"
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-native-web": "^0.19.11",
|
||||
"rollup": "^4.17.2",
|
||||
"rollup-plugin-polyfill-node": "^0.13.0",
|
||||
"ts-json-schema-generator": "^2.1.1",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"build": {
|
||||
"appId": "uk.org.fancy.nxapi.app",
|
||||
|
|
@ -142,6 +142,7 @@
|
|||
"identity": null
|
||||
},
|
||||
"linux": {
|
||||
"category": "Utility",
|
||||
"extraFiles": [
|
||||
{
|
||||
"from": "resources/build/app/cli-linux.sh",
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ const styles = StyleSheet.create({
|
|||
},
|
||||
discordNsoUserImage: {
|
||||
borderRadius: 8,
|
||||
textAlignVertical: -3,
|
||||
verticalAlign: -3,
|
||||
},
|
||||
|
||||
button: {
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ const styles = StyleSheet.create({
|
|||
},
|
||||
discordNsoUserImage: {
|
||||
borderRadius: 8,
|
||||
textAlignVertical: -3,
|
||||
verticalAlign: -3,
|
||||
},
|
||||
discordSourceUrlValue: {
|
||||
fontFamily: 'monospace',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { app, BrowserWindow, ipcMain, LoginItemSettingsOptions, session } from 'electron';
|
||||
import { app, BrowserWindow, ipcMain, session, Settings } from 'electron';
|
||||
import process from 'node:process';
|
||||
import * as path from 'node:path';
|
||||
import { EventEmitter } from 'node:events';
|
||||
|
|
@ -31,7 +31,7 @@ export const protocol_registration_options = dev && process.platform === 'win32'
|
|||
path.join(dir, 'dist', 'app', 'app-entry.cjs'),
|
||||
],
|
||||
} : null;
|
||||
export const login_item_options: LoginItemSettingsOptions = {
|
||||
export const login_item_options: Settings = {
|
||||
path: process.execPath,
|
||||
args: dev ? [
|
||||
path.join(dir, 'dist', 'app', 'app-entry.cjs'),
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ export default class EventSource {
|
|||
}
|
||||
|
||||
addEventListener<T extends string>(event: T, handler: Listener<T>[1]) {
|
||||
// @ts-expect-error TODO: this worked pre-dep bump but i have no idea what broke it - i attempted to downgrade @types/node, undici and typescript to the pre-bump version but no luck?
|
||||
this._listeners.push([event, handler]);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ export function buildProxyAgent(options: ProxyAgentOptions & {
|
|||
const { origin, port, host } = proxy;
|
||||
|
||||
const { socket, statusCode } = await agent.connect({
|
||||
// @ts-expect-error
|
||||
origin,
|
||||
// @ts-expect-error
|
||||
port,
|
||||
path: requestedHost,
|
||||
// @ts-expect-error
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user