chore: update dependencies and improve type safety in Enka components
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m2s

- Updated @tanstack/react-query to version 5.102.8
- Updated next-intl to version 4.14.2
- Updated zod to version 4.5.4
- Updated baseline-browser-mapping to version 2.11.21
- Updated daisyui to version 5.7.28
- Enhanced type definitions in enka.ts by making several properties optional
- Improved data handling in enka.tsx to prevent runtime errors when accessing potentially undefined properties
- Added error logging for data validation failures and fetch errors
This commit is contained in:
2026-09-05 23:28:29 +07:00
parent d76b0396d3
commit b3020f8736
5 changed files with 170 additions and 160 deletions
+5 -5
View File
@@ -10,7 +10,7 @@
},
"dependencies": {
"@next/bundle-analyzer": "16.1.6",
"@tanstack/react-query": "^5.102.5",
"@tanstack/react-query": "^5.102.8",
"axios": "^1.20.0",
"fast-average-color": "^9.5.2",
"framer-motion": "^12.43.0",
@@ -18,7 +18,7 @@
"lru-cache": "^11.5.2",
"lucide-react": "^0.563.0",
"next": "16.1.6",
"next-intl": "^4.13.7",
"next-intl": "^4.14.2",
"prismjs": "^1.30.0",
"react": "19.2.4",
"react-dom": "19.2.4",
@@ -26,7 +26,7 @@
"react-simple-code-editor": "^0.14.1",
"react-toastify": "^11.1.0",
"sharp": "^0.34.5",
"zod": "^4.4.3",
"zod": "^4.5.4",
"zustand": "^5.0.15"
},
"devDependencies": {
@@ -35,8 +35,8 @@
"@types/node": "^25.9.5",
"@types/react": "19.2.6",
"@types/react-dom": "19.2.3",
"baseline-browser-mapping": "^2.11.19",
"daisyui": "^5.7.22",
"baseline-browser-mapping": "^2.11.21",
"daisyui": "^5.7.28",
"eslint": "^9.39.5",
"eslint-config-next": "16.1.6",
"tailwind-scrollbar": "^4.0.2",