mirror of
https://github.com/rustfs/console.git
synced 2026-10-30 19:33:40 +08:00
chore(deps): bump project dependencies (#131)
This commit is contained in:
@@ -27,7 +27,7 @@ A modern, responsive web management console for RustFS distributed file system,
|
||||
|
||||
- **[Next.js 16](https://nextjs.org/)** - React full-stack framework with App Router
|
||||
- **[React 19](https://react.dev/)** - UI library
|
||||
- **[TypeScript 5](https://www.typescriptlang.org/)** - Type safety
|
||||
- **[TypeScript 6](https://www.typescriptlang.org/)** - Type safety
|
||||
|
||||
### UI & Styling
|
||||
|
||||
|
||||
@@ -15,6 +15,11 @@ const eslintConfig = defineConfig([
|
||||
"build/**",
|
||||
"next-env.d.ts",
|
||||
]),
|
||||
{
|
||||
rules: {
|
||||
"react-hooks/set-state-in-effect": "off"
|
||||
}
|
||||
}
|
||||
])
|
||||
|
||||
export default eslintConfig
|
||||
|
||||
@@ -36,31 +36,31 @@ export const getXmlErrorMessage = (xml: string): string | null => {
|
||||
try {
|
||||
const parser = new DOMParser()
|
||||
const doc = parser.parseFromString(trimmed, "text/xml")
|
||||
|
||||
|
||||
// Check for parse errors
|
||||
const parseError = doc.querySelector("parsererror")
|
||||
if (parseError) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
// Try to extract Message first (most specific)
|
||||
const message = doc.querySelector("Message")?.textContent?.trim()
|
||||
if (message && !GENERIC_ERROR_MESSAGES.has(message.toLowerCase())) {
|
||||
return message
|
||||
}
|
||||
|
||||
|
||||
// Fall back to Code
|
||||
const code = doc.querySelector("Code")?.textContent?.trim()
|
||||
if (code && !GENERIC_ERROR_MESSAGES.has(code.toLowerCase())) {
|
||||
return code
|
||||
}
|
||||
|
||||
|
||||
// Fall back to Error element text
|
||||
const error = doc.querySelector("Error")?.textContent?.trim()
|
||||
if (error && !GENERIC_ERROR_MESSAGES.has(error.toLowerCase())) {
|
||||
return error
|
||||
}
|
||||
|
||||
|
||||
return message || code || error || null
|
||||
} catch {
|
||||
// Fall through to regex-based parsing
|
||||
|
||||
+20
-20
@@ -23,46 +23,46 @@
|
||||
"@base-ui/react": "^1.4.1",
|
||||
"@remixicon/react": "^4.9.0",
|
||||
"@tanstack/react-table": "^8.21.3",
|
||||
"@tanstack/react-virtual": "^3.13.24",
|
||||
"@tanstack/react-virtual": "^3.14.2",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"dayjs": "^1.11.20",
|
||||
"date-fns": "^4.4.0",
|
||||
"dayjs": "^1.11.21",
|
||||
"embla-carousel-react": "^8.6.0",
|
||||
"hyparquet": "^1.26.0",
|
||||
"hyparquet-compressors": "^1.1.1",
|
||||
"i18next": "^25.10.4",
|
||||
"i18next": "^26.3.1",
|
||||
"i18next-browser-languagedetector": "^8.2.1",
|
||||
"input-otp": "^1.4.2",
|
||||
"next": "^16.2.1",
|
||||
"next": "^16.2.9",
|
||||
"next-themes": "^0.4.6",
|
||||
"node-forge": "^1.3.3",
|
||||
"react": "^19.2.4",
|
||||
"node-forge": "^1.4.0",
|
||||
"react": "^19.2.7",
|
||||
"react-day-picker": "^9.14.0",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-i18next": "^16.6.1",
|
||||
"react-dom": "^19.2.7",
|
||||
"react-i18next": "^17.0.8",
|
||||
"react-resizable-panels": "^4.5.6",
|
||||
"recharts": "3.8.1",
|
||||
"shadcn": "^4.7.0",
|
||||
"shadcn": "^4.11.0",
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^3.5.0",
|
||||
"tailwind-merge": "^3.6.0",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
"ufo": "^1.6.3",
|
||||
"ufo": "^1.6.4",
|
||||
"vaul": "^1.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4.2.2",
|
||||
"@types/node": "^20.19.37",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@types/node": "^22.19.21",
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-next": "^16.2.1",
|
||||
"eslint-config-prettier": "^9.1.2",
|
||||
"prettier": "^3.8.1",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"typescript": "^5.9.3"
|
||||
"eslint-config-next": "^16.2.9",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"prettier": "^3.8.4",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"devEngines": {
|
||||
"runtime": {
|
||||
|
||||
Generated
+819
-1165
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,3 @@
|
||||
allowBuilds:
|
||||
msw: true
|
||||
sharp: false
|
||||
unrs-resolver: false
|
||||
|
||||
+5
-5
@@ -1,10 +1,9 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"target": "es2025",
|
||||
"lib": ["DOM", "ESNext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
@@ -13,15 +12,16 @@
|
||||
"isolatedModules": true,
|
||||
"jsx": "react-jsx",
|
||||
"incremental": true,
|
||||
"types": ["node", "react", "react-dom", "node-forge"],
|
||||
"plugins": [
|
||||
{
|
||||
"name": "next"
|
||||
}
|
||||
],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
}
|
||||
},
|
||||
"strict": true
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.d.ts", ".next/types/**/*.ts", ".next/dev/types/**/*.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
|
||||
Reference in New Issue
Block a user