Update deps and fix AntD Space API

This change bumps the frontend and Go dependency set to newer patch/minor releases, including Vite, react-hook-form, zod, and the x/* Go modules. It also fixes a compatibility issue in the settings UI by switching Ant Design's Space usage from the deprecated `direction` prop to the current `orientation` prop.
This commit is contained in:
Sanaei
2026-09-12 10:59:32 +02:00
parent 19a692e074
commit dd46a06761
5 changed files with 57 additions and 57 deletions
+20 -20
View File
@@ -23,12 +23,12 @@
"persian-calendar-suite": "^1.5.6",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-hook-form": "^7.87.0",
"react-hook-form": "^7.88.0",
"react-i18next": "^17.0.13",
"react-router": "^8.3.1",
"swagger-ui-react": "^5.32.15",
"uplot": "^1.6.32",
"zod": "^4.6.1"
"zod": "^4.6.2"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.6.0",
@@ -45,7 +45,7 @@
"@vitest/coverage-v8": "^5.0.0",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"lint-staged": "^17.5.0",
"lint-staged": "^17.5.1",
"msw": "^2.15.0",
"oxfmt": "0.67.0",
"oxlint": "1.82.0",
@@ -53,7 +53,7 @@
"playwright": "^1.63.0",
"storybook": "^10.6.0",
"typescript": "7.0.2",
"vite": "8.2.2",
"vite": "8.3.0",
"vitest": "^5.0.0"
},
"engines": {
@@ -8246,9 +8246,9 @@
}
},
"node_modules/lint-staged": {
"version": "17.5.0",
"resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.5.0.tgz",
"integrity": "sha512-ah2qsNtvKP1+Ak4rAvEEIvcXDLjjbr/xmxCvlequxqEOFYk0qINcZcRxD3Ic8wRn7/oQ8+wC9s0DfDrdMVCRFg==",
"version": "17.5.1",
"resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.5.1.tgz",
"integrity": "sha512-7EDuco1xnBMeVpvAbeMq1U5KXwJGLmY8q6l+Ye78r36C4mPc+Vg1Z2SK8gHyRTyvPro90A0q5/FAZ+Au23d6QQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -9263,9 +9263,9 @@
}
},
"node_modules/react-hook-form": {
"version": "7.87.0",
"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.87.0.tgz",
"integrity": "sha512-zhFzWvLxNHH+8839OnZcUxgMZw88ah2jZWDWvKWgF3Tpbnd0vKL+dlcuU3nZVWESZQjd81EW8K+wU+cYfYAc0w==",
"version": "7.88.0",
"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.88.0.tgz",
"integrity": "sha512-QRaLOWhX93YCnMiRfnOFRSwWXZNt8qhm2JTZwypoDvKpSffTJHmpzMXt8U6PV5UThvL3IiiLDUWe2nHMtz6Mmw==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -10573,16 +10573,16 @@
}
},
"node_modules/vite": {
"version": "8.2.2",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz",
"integrity": "sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==",
"version": "8.3.0",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.3.0.tgz",
"integrity": "sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
"picomatch": "^4.0.5",
"postcss": "^8.5.26",
"rolldown": "~1.2.4",
"picomatch": "^4.0.7",
"postcss": "^8.5.28",
"rolldown": "~1.2.6",
"tinyglobby": "^0.2.17"
},
"bin": {
@@ -10599,7 +10599,7 @@
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
"@vitejs/devtools": "^0.4.0 || ^0.5.0",
"@vitejs/devtools": "^0.7.1",
"esbuild": "^0.27.0 || ^0.28.0",
"jiti": ">=1.21.0",
"less": "^4.0.0",
@@ -11033,9 +11033,9 @@
"license": "Unlicense"
},
"node_modules/zod": {
"version": "4.6.1",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.1.tgz",
"integrity": "sha512-341aRWQsve0rvronKNTqZpjmzdbUDlFuzHaI/XLg/Ej82qffDJRRfBTCuv7+9q/rMjB6LSLyEBnW4InJeMtt/Q==",
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.2.tgz",
"integrity": "sha512-lh5RCAGFa1Cm2hjtNwLQhSs/AsqdWnTQaBER9fEwN/88pSh7KOtJavtBx/0VlkN/uFd61SwYmljLMDAsHlvzBQ==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
+4 -4
View File
@@ -49,12 +49,12 @@
"persian-calendar-suite": "^1.5.6",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-hook-form": "^7.87.0",
"react-hook-form": "^7.88.0",
"react-i18next": "^17.0.13",
"react-router": "^8.3.1",
"swagger-ui-react": "^5.32.15",
"uplot": "^1.6.32",
"zod": "^4.6.1"
"zod": "^4.6.2"
},
"devDependencies": {
"@storybook/addon-a11y": "^10.6.0",
@@ -71,7 +71,7 @@
"@vitest/coverage-v8": "^5.0.0",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"lint-staged": "^17.5.0",
"lint-staged": "^17.5.1",
"msw": "^2.15.0",
"oxfmt": "0.67.0",
"oxlint": "1.82.0",
@@ -79,7 +79,7 @@
"playwright": "^1.63.0",
"storybook": "^10.6.0",
"typescript": "7.0.2",
"vite": "8.2.2",
"vite": "8.3.0",
"vitest": "^5.0.0"
},
"overrides": {
@@ -563,7 +563,7 @@ export default function HappSettingsContent({
okText={t('pages.settings.subHappBuildDeeplink')}
width={650}
>
<Space direction="vertical" style={{ width: '100%', marginTop: 12 }} size="middle">
<Space orientation="vertical" style={{ width: '100%', marginTop: 12 }} size="middle">
<div>
<div style={{ fontWeight: 600, marginBottom: 4 }}>
{t('pages.settings.subHappDirectDomains')}