mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Update dependencies
This commit is contained in:
parent
a02d2f5553
commit
8a05e4c6ef
7378
package-lock.json
generated
7378
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
|
|
@ -57,12 +57,12 @@
|
|||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-alias": "^5.1.0",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@rollup/plugin-html": "^1.0.3",
|
||||
"@rollup/plugin-alias": "^5.1.1",
|
||||
"@rollup/plugin-commonjs": "^28.0.3",
|
||||
"@rollup/plugin-html": "^2.0.0",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-replace": "^5.0.5",
|
||||
"@rollup/plugin-node-resolve": "^16.0.1",
|
||||
"@rollup/plugin-replace": "^6.0.2",
|
||||
"@types/body-parser": "^1.19.5",
|
||||
"@types/cli-table": "^0.3.4",
|
||||
"@types/debug": "^4.1.12",
|
||||
|
|
@ -70,21 +70,21 @@
|
|||
"@types/eventsource": "^1.1.15",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/node": "^20.17.30",
|
||||
"@types/node-notifier": "^8.0.5",
|
||||
"@types/node-persist": "^3.1.8",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react-native": "^0.72.6",
|
||||
"@types/react": "^19.1.2",
|
||||
"@types/react-native": "^0.73.0",
|
||||
"@types/yargs": "^17.0.32",
|
||||
"electron": "^30.0.1",
|
||||
"electron-builder": "^24.13.3",
|
||||
"i18next": "^22.4.6",
|
||||
"mime-types": "^2.1.35",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-i18next": "^12.1.1",
|
||||
"react-native-web": "^0.19.11",
|
||||
"rollup": "^4.17.2",
|
||||
"react-native-web": "^0.20.0",
|
||||
"rollup": "^4.39.0",
|
||||
"rollup-plugin-polyfill-node": "^0.13.0",
|
||||
"ts-json-schema-generator": "^2.1.1",
|
||||
"typescript": "^5.4.5"
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ const styles_mac = StyleSheet.create({
|
|||
},
|
||||
buttonLight: {
|
||||
backgroundColor: '#ffffff',
|
||||
// @ts-expect-error react-native-web
|
||||
boxShadow: '#0000008a 0px 0px 1px',
|
||||
},
|
||||
|
||||
|
|
|
|||
4
src/app/browser/react-native-web.d.ts
vendored
4
src/app/browser/react-native-web.d.ts
vendored
|
|
@ -87,3 +87,7 @@ declare module 'react-native-web' {
|
|||
type Item<T = number | string> = PickerItem<T>;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'node:timers' {
|
||||
function setTimeout(callback: (_: void) => void, delay?: number): NodeJS.Timeout;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import * as net from 'node:net';
|
||||
import * as os from 'node:os';
|
||||
import { randomUUID } from 'node:crypto';
|
||||
import { setTimeout } from 'node:timers';
|
||||
import * as persist from 'node-persist';
|
||||
import express, { Request, RequestHandler, Response } from 'express';
|
||||
import bodyParser from 'body-parser';
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ export interface DiscordApplicationRpc {
|
|||
}
|
||||
|
||||
export async function getDiscordApplicationRpc(id: string) {
|
||||
if (!id.match(/^\d{18}$/)) {
|
||||
if (!id.match(/^\d{18,}$/)) {
|
||||
throw new Error('Invalid Discord application ID');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import process from 'node:process';
|
||||
import * as fs from 'node:fs';
|
||||
import { setTimeout } from 'node:timers';
|
||||
import persist from 'node-persist';
|
||||
import { getToken, Login } from './coral.js';
|
||||
import SplatNet2Api, { SplatNet2AuthData, updateIksmSessionLastUsed } from '../../api/splatnet2.js';
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { setTimeout } from 'node:timers';
|
||||
import { errors } from 'undici';
|
||||
import EventSource, { ErrorEvent } from '../util/eventsource.js';
|
||||
import { DiscordRpcClient, findDiscordRpcClient } from '../discord/rpc.js';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { Buffer } from 'node:buffer';
|
||||
import { setTimeout } from 'node:timers';
|
||||
import { fetch, Headers, Response } from 'undici';
|
||||
import createDebug from './debug.js';
|
||||
import { ErrorResponse } from '../api/util.js';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user