mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-05-06 13:20:59 +08:00
Security fixes (P0): - BaseRepository.ts: add sanitizeArgs() to filter sensitive fields - LoggerService.ts: disable console output in production - ErrorService.ts: toJSON() only includes stack in dev mode Backend security (P1): - fs.rs: add path validation for file operations - fs.rs: add Zip Slip protection in import_config Compatibility: vitest downgrade, tsconfig node types Test fixes: module paths, undefined access, unused imports
66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"name": "netmount-gui",
|
|
"private": true,
|
|
"version": "1.2.4",
|
|
"type": "module",
|
|
"config": {
|
|
"registry": "https://registry.npmmirror.com/"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"check:i18n": "node scripts/check-i18n.mjs",
|
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
"typecheck": "tsc --noEmit",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"tauri-dev": "tauri dev",
|
|
"pretauri-build": "node scripts/sync-version.mjs",
|
|
"tauri-build": "tauri build",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@arco-design/web-react": "^2.63.3",
|
|
"@arco-themes/react-vhbs": "^0.0.1",
|
|
"@tauri-apps/api": "^2.10.1",
|
|
"@tauri-apps/plugin-dialog": "^2.6.0",
|
|
"@tauri-apps/plugin-fs": "^2.4.5",
|
|
"@tauri-apps/plugin-os": "^2.3.2",
|
|
"@tauri-apps/plugin-process": "^2.3.1",
|
|
"@tauri-apps/plugin-shell": "^2.3.5",
|
|
"@tauri-apps/plugin-updater": "^2.10.0",
|
|
"i18next": "^23.14.0",
|
|
"immer": "^11.1.4",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-i18next": "^14.1.3",
|
|
"react-router-dom": "^6.26.1",
|
|
"zod": "^3.25.76",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.10.0",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^20.16.1",
|
|
"@types/react": "^18.3.4",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
"@typescript-eslint/parser": "^7.18.0",
|
|
"@vitejs/plugin-react": "^4.3.1",
|
|
"@vitest/coverage-v8": "^2.1.9",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"eslint-plugin-react-refresh": "^0.4.11",
|
|
"jsdom": "^29.0.1",
|
|
"postcss": "^8.4.41",
|
|
"tailwindcss": "^3.4.10",
|
|
"typescript": "^5.5.4",
|
|
"vite": "^5.4.2",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|