Chore: update dependencies

This commit is contained in:
Dreamacro 2023-04-01 13:09:38 +08:00
parent 2428fea986
commit f3ab3f2508
4 changed files with 938 additions and 886 deletions

View File

@ -25,55 +25,55 @@
"contributors:generate": "all-contributors generate"
},
"devDependencies": {
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.14.0",
"@types/react": "^18.0.28",
"@types/lodash-es": "^4.17.7",
"@types/node": "^18.15.11",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@unocss/eslint-config": "^0.49.7",
"@unocss/preset-wind": "^0.49.7",
"@unocss/reset": "^0.49.7",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@unocss/eslint-config": "^0.50.6",
"@unocss/preset-wind": "^0.50.6",
"@unocss/reset": "^0.50.6",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.34.0",
"eslint": "^8.37.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-standard-with-typescript": "^34.0.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-import-resolver-typescript": "^3.5.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"sass": "^1.58.3",
"type-fest": "^3.6.0",
"typescript": "^4.9.5",
"unocss": "^0.49.7",
"vite": "^4.1.3",
"vite-plugin-pwa": "^0.14.4",
"vite-tsconfig-paths": "^4.0.5"
"sass": "^1.60.0",
"type-fest": "^3.7.2",
"typescript": "^5.0.3",
"unocss": "^0.50.6",
"vite": "^4.2.1",
"vite-plugin-pwa": "^0.14.7",
"vite-tsconfig-paths": "^4.0.7"
},
"dependencies": {
"@react-hookz/web": "^22.0.0",
"@tanstack/react-table": "^8.7.9",
"axios": "^1.3.3",
"@react-hookz/web": "^23.0.0",
"@tanstack/react-table": "^8.8.4",
"axios": "^1.3.4",
"classnames": "^2.3.2",
"dayjs": "^1.11.7",
"eventemitter3": "^5.0.0",
"immer": "^9.0.19",
"jotai": "^2.0.2",
"immer": "^9.0.21",
"jotai": "^2.0.3",
"jotai-immer": "^0.2.0",
"lodash-es": "^4.17.21",
"neverthrow": "^6.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"react-virtualized-auto-sizer": "^1.0.7",
"react-router-dom": "^6.10.0",
"react-virtualized-auto-sizer": "^1.0.9",
"react-window": "^1.8.8",
"swr": "^2.0.3",
"swr": "^2.1.1",
"use-immer": "^0.8.1"
}
}

1761
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -59,8 +59,8 @@ export default function Rules () {
{
({ height, width }) => (
<List
height={height}
width={width}
height={height ?? 0}
width={width ?? 0}
itemCount={rules.length}
itemSize={50}
>

View File

@ -1,6 +1,5 @@
import type * as API from '@lib/request'
import { type Proxy, type ProxyGroup } from './Proxy'
import { type Rule } from './Rule'
/**
@ -57,10 +56,6 @@ export interface Config {
logLevel?: string
}
proxy?: Proxy[]
proxyGroup?: ProxyGroup[]
rules?: Rule[]
}