mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-27 22:12:52 +08:00
- react-router/react-router-dom 7.17.0 -> 7.18.1 (route-matching DoS, GHSA-chx6-hx7r-mcp5) - axios 1.16.1 -> 1.18.1 (inherited-proxy leak, GHSA-gcfj-64vw-6mp9) - postcss 8.5.15 -> 8.5.23 (source-map path traversal, GHSA-r28c-9q8g-f849) - brace-expansion pinned to 1.1.16 / 2.1.2 across all nested copies via overrides (exponential-expansion DoS, GHSA-3jxr-9vmj-r5cp) Remaining GHSA-qwww-vcr4-c8h2 (react-router RSC-mode CSRF) is dismissed on GitHub as not-used: the app is a Vite SPA, RSC mode is never enabled, and the fix requires a react-router v8 major upgrade.
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "nofx-web",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,css,json}\"",
|
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,css,json}\"",
|
|
"prepare": "husky",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"axios": "^1.13.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"framer-motion": "^12.23.24",
|
|
"katex": "^0.16.27",
|
|
"lightweight-charts": "^5.1.0",
|
|
"lucide-react": "^0.552.0",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-password-checklist": "^1.8.1",
|
|
"react-router-dom": "^7.9.5",
|
|
"recharts": "^2.15.2",
|
|
"sonner": "^1.5.0",
|
|
"swr": "^2.2.5",
|
|
"tailwind-merge": "^3.3.1",
|
|
"zustand": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/react": "^18.3.17",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
"@typescript-eslint/parser": "^8.46.3",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.39.1",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^25.0.1",
|
|
"lint-staged": "^16.2.6",
|
|
"postcss": "^8.4.49",
|
|
"prettier": "^3.6.2",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^6.0.7",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{css,json}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"overrides": {
|
|
"brace-expansion@1": "~1.1.16",
|
|
"brace-expansion@2": "~2.1.2"
|
|
}
|
|
}
|