fix(deps): update dependency zod to ^3.23.4 (#373)
* fix(deps): update dependency zod to ^3.23.4 * fix: type issue --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
committed by
GitHub
parent
92b417a37e
commit
392a185640
@@ -57,9 +57,7 @@ export const EditIntegrationForm = ({ integration }: EditIntegrationForm) => {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const form = useForm<FormType>({
|
const form = useForm<FormType>({
|
||||||
initialValues: initialFormValues,
|
initialValues: initialFormValues,
|
||||||
validate: zodResolver(
|
validate: zodResolver(validation.integration.update.omit({ id: true })),
|
||||||
validation.integration.update.omit({ id: true, kind: true }),
|
|
||||||
),
|
|
||||||
onValuesChange,
|
onValuesChange,
|
||||||
});
|
});
|
||||||
const { mutateAsync, isPending } = clientApi.integration.update.useMutation();
|
const { mutateAsync, isPending } = clientApi.integration.update.useMutation();
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
},
|
},
|
||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"zod": "^3.22.5",
|
"zod": "^3.23.4",
|
||||||
"@homarr/definitions": "workspace:^0.1.0"
|
"@homarr/definitions": "workspace:^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
23
pnpm-lock.yaml
generated
23
pnpm-lock.yaml
generated
@@ -122,7 +122,7 @@ importers:
|
|||||||
version: 7.8.1(@mantine/core@7.8.1(@mantine/hooks@7.8.1(react@18.3.1))(@types/react@18.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mantine/hooks@7.8.1(react@18.3.1))(@tiptap/extension-link@2.3.0(@tiptap/core@2.3.0(@tiptap/pm@2.2.4))(@tiptap/pm@2.2.4))(@tiptap/react@2.3.0(@tiptap/core@2.3.0(@tiptap/pm@2.2.4))(@tiptap/pm@2.2.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
version: 7.8.1(@mantine/core@7.8.1(@mantine/hooks@7.8.1(react@18.3.1))(@types/react@18.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mantine/hooks@7.8.1(react@18.3.1))(@tiptap/extension-link@2.3.0(@tiptap/core@2.3.0(@tiptap/pm@2.2.4))(@tiptap/pm@2.2.4))(@tiptap/react@2.3.0(@tiptap/core@2.3.0(@tiptap/pm@2.2.4))(@tiptap/pm@2.2.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||||
'@t3-oss/env-nextjs':
|
'@t3-oss/env-nextjs':
|
||||||
specifier: ^0.9.2
|
specifier: ^0.9.2
|
||||||
version: 0.9.2(typescript@5.4.5)(zod@3.22.5)
|
version: 0.9.2(typescript@5.4.5)(zod@3.23.4)
|
||||||
'@tanstack/react-query':
|
'@tanstack/react-query':
|
||||||
specifier: ^5.29.2
|
specifier: ^5.29.2
|
||||||
version: 5.29.2(react@18.3.1)
|
version: 5.29.2(react@18.3.1)
|
||||||
@@ -405,7 +405,7 @@ importers:
|
|||||||
version: link:../db
|
version: link:../db
|
||||||
'@t3-oss/env-nextjs':
|
'@t3-oss/env-nextjs':
|
||||||
specifier: ^0.9.2
|
specifier: ^0.9.2
|
||||||
version: 0.9.2(typescript@5.4.5)(zod@3.22.5)
|
version: 0.9.2(typescript@5.4.5)(zod@3.23.4)
|
||||||
bcrypt:
|
bcrypt:
|
||||||
specifier: ^5.1.1
|
specifier: ^5.1.1
|
||||||
version: 5.1.1
|
version: 5.1.1
|
||||||
@@ -750,8 +750,8 @@ importers:
|
|||||||
specifier: workspace:^0.1.0
|
specifier: workspace:^0.1.0
|
||||||
version: link:../definitions
|
version: link:../definitions
|
||||||
zod:
|
zod:
|
||||||
specifier: ^3.22.5
|
specifier: ^3.23.4
|
||||||
version: 3.22.5
|
version: 3.23.4
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@homarr/eslint-config':
|
'@homarr/eslint-config':
|
||||||
specifier: workspace:^0.2.0
|
specifier: workspace:^0.2.0
|
||||||
@@ -5715,6 +5715,9 @@ packages:
|
|||||||
zod@3.22.5:
|
zod@3.22.5:
|
||||||
resolution: {integrity: sha512-HqnGsCdVZ2xc0qWPLdO25WnseXThh0kEYKIdV5F/hTHO75hNZFp8thxSeHhiPrHZKrFTo1SOgkAj9po5bexZlw==}
|
resolution: {integrity: sha512-HqnGsCdVZ2xc0qWPLdO25WnseXThh0kEYKIdV5F/hTHO75hNZFp8thxSeHhiPrHZKrFTo1SOgkAj9po5bexZlw==}
|
||||||
|
|
||||||
|
zod@3.23.4:
|
||||||
|
resolution: {integrity: sha512-/AtWOKbBgjzEYYQRNfoGKHObgfAZag6qUJX1VbHo2PRBgS+wfWagEY2mizjfyAPcGesrJOcx/wcl0L9WnVrHFw==}
|
||||||
|
|
||||||
snapshots:
|
snapshots:
|
||||||
|
|
||||||
'@aashutoshrathi/word-wrap@1.2.6': {}
|
'@aashutoshrathi/word-wrap@1.2.6': {}
|
||||||
@@ -6532,16 +6535,16 @@ snapshots:
|
|||||||
'@swc/counter': 0.1.3
|
'@swc/counter': 0.1.3
|
||||||
tslib: 2.6.2
|
tslib: 2.6.2
|
||||||
|
|
||||||
'@t3-oss/env-core@0.9.2(typescript@5.4.5)(zod@3.22.5)':
|
'@t3-oss/env-core@0.9.2(typescript@5.4.5)(zod@3.23.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
zod: 3.22.5
|
zod: 3.23.4
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
typescript: 5.4.5
|
typescript: 5.4.5
|
||||||
|
|
||||||
'@t3-oss/env-nextjs@0.9.2(typescript@5.4.5)(zod@3.22.5)':
|
'@t3-oss/env-nextjs@0.9.2(typescript@5.4.5)(zod@3.23.4)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@t3-oss/env-core': 0.9.2(typescript@5.4.5)(zod@3.22.5)
|
'@t3-oss/env-core': 0.9.2(typescript@5.4.5)(zod@3.23.4)
|
||||||
zod: 3.22.5
|
zod: 3.23.4
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
typescript: 5.4.5
|
typescript: 5.4.5
|
||||||
|
|
||||||
@@ -10819,3 +10822,5 @@ snapshots:
|
|||||||
yocto-queue@1.0.0: {}
|
yocto-queue@1.0.0: {}
|
||||||
|
|
||||||
zod@3.22.5: {}
|
zod@3.22.5: {}
|
||||||
|
|
||||||
|
zod@3.23.4: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user