mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 05:51:56 +08:00
Chore: update dependencies
This commit is contained in:
parent
27441f8a1d
commit
8cbbda9675
@ -33,3 +33,4 @@ rules:
|
||||
'@typescript-eslint/no-floating-promises': off
|
||||
'@typescript-eslint/no-invalid-void-type': off
|
||||
'@typescript-eslint/no-misused-promises': off
|
||||
'@typescript-eslint/comma-dangle': [error, only-multiline]
|
||||
|
51
package.json
51
package.json
@ -26,49 +26,50 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/node": "^18.6.4",
|
||||
"@types/react": "^18.0.16",
|
||||
"@types/node": "^18.7.18",
|
||||
"@types/react": "^18.0.20",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
||||
"@types/react-window": "^1.8.5",
|
||||
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
||||
"@typescript-eslint/parser": "^5.32.0",
|
||||
"@vitejs/plugin-react": "^2.0.0",
|
||||
"eslint": "^8.21.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.37.0",
|
||||
"@typescript-eslint/parser": "^5.37.0",
|
||||
"@vitejs/plugin-react": "^2.1.0",
|
||||
"eslint": "^8.23.1",
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||
"eslint-config-standard-with-typescript": "^22.0.0",
|
||||
"eslint-import-resolver-typescript": "^3.4.0",
|
||||
"eslint-config-standard-with-typescript": "^23.0.0",
|
||||
"eslint-import-resolver-typescript": "^3.5.1",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-n": "^15.2.4",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.6.1",
|
||||
"eslint-plugin-n": "^15.2.5",
|
||||
"eslint-plugin-promise": "^6.0.1",
|
||||
"eslint-plugin-react": "^7.31.8",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-tailwindcss": "^3.6.0",
|
||||
"sass": "^1.54.3",
|
||||
"type-fest": "^2.18.0",
|
||||
"typescript": "^4.7.4",
|
||||
"vite": "^3.0.4",
|
||||
"vite-plugin-pwa": "^0.12.3",
|
||||
"vite-plugin-windicss": "^1.8.7",
|
||||
"eslint-plugin-tailwindcss": "^3.6.2",
|
||||
"sass": "^1.54.9",
|
||||
"type-fest": "^2.19.0",
|
||||
"typescript": "^4.8.3",
|
||||
"vite": "^3.1.1",
|
||||
"vite-plugin-pwa": "^0.12.7",
|
||||
"vite-plugin-windicss": "^1.8.8",
|
||||
"vite-tsconfig-paths": "^3.5.0",
|
||||
"windicss": "^3.5.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-hookz/web": "^15.0.1",
|
||||
"@tanstack/react-table": "^8.5.11",
|
||||
"@react-hookz/web": "^15.1.0",
|
||||
"@tanstack/react-table": "^8.5.13",
|
||||
"axios": "^0.27.2",
|
||||
"classnames": "^2.3.1",
|
||||
"dayjs": "^1.11.4",
|
||||
"classnames": "^2.3.2",
|
||||
"dayjs": "^1.11.5",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"immer": "^9.0.15",
|
||||
"jotai": "^1.7.7",
|
||||
"jotai": "^1.8.3",
|
||||
"lodash-es": "^4.17.21",
|
||||
"neverthrow": "^5.0.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.3.0",
|
||||
"react-virtualized-auto-sizer": "^1.0.6",
|
||||
"react-router-dom": "^6.4.0",
|
||||
"react-virtualized-auto-sizer": "^1.0.7",
|
||||
"react-window": "^1.8.7",
|
||||
"swr": "^1.3.0",
|
||||
"use-immer": "^0.7.0"
|
||||
|
2011
pnpm-lock.yaml
generated
2011
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@ import { useMemo } from 'react'
|
||||
|
||||
export type WritableDraft<T> = (draft: Draft<T>) => void
|
||||
|
||||
export function useWarpImmerSetter<T> (setter: (f: WritableDraft<T>) => void) {
|
||||
export function useWarpImmerSetter<T extends object> (setter: (f: WritableDraft<T>) => void) {
|
||||
const set = useMemo(() => {
|
||||
function set<K extends keyof Draft<T>> (key: K, value: Draft<T>[K]): void
|
||||
function set (data: Partial<T>): void
|
||||
|
Loading…
x
Reference in New Issue
Block a user