From 36bc77c709f7aec559c04cbc21f1b1056f0c77b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Sep 2021 04:15:57 +0000 Subject: [PATCH 1/3] chore(deps): bump react-hook-form from 7.12.2 to 7.15.3 Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.12.2 to 7.15.3. - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.12.2...v7.15.3) --- updated-dependencies: - dependency-name: react-hook-form dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 1d408ff5ae..1989c7ee3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22496,9 +22496,9 @@ react-hook-form@^6.15.4: integrity sha512-prq82ofMbnRyj5wqDe8hsTRcdR25jQ+B8KtCS7BLCzjFHAwNuCjRwzPuP4eYLsEBjEIeYd6try+pdLdw0kPkpg== react-hook-form@^7.12.2: - version "7.12.2" - resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.12.2.tgz#2660afbf03c4ef360a9314ebf46ce3d972296c77" - integrity sha512-cpxocjrgpMAJCMJQR51BQhMoEx80/EQqePNihMTgoTYTqCRbd2GExi+N4GJIr+cFqrmbwNj9wxk5oLWYQsUefg== + version "7.15.3" + resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.15.3.tgz#7d222dcfd43137be127dca2843149f09bd25d4b1" + integrity sha512-z30aZoEHkWE8oZvad4OcYSBI0kQua/T5sFGH9tB2HfeykFnP/pGXNap8lDio4/U1yPj2ffpbvRIvqKd/6jjBVA== react-hot-loader@^4.12.21: version "4.13.0" From 1c6dff7501089de08c249d21e40d84e43edf982d Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 13 Sep 2021 10:15:35 +0200 Subject: [PATCH 2/3] chore: reworking the types a little bit here to get them to work with the new version Signed-off-by: blam --- .../StepPrepareCreatePullRequest/AutocompleteTextField.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx index a2da75edd4..63115b69b0 100644 --- a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx +++ b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx @@ -25,7 +25,7 @@ type Props = { options: string[]; required?: boolean; - errors?: FieldErrors>; + errors?: FieldErrors; rules?: React.ComponentProps['rules']; loading?: boolean; @@ -37,7 +37,7 @@ type Props = { textFieldProps?: Omit; }; -export const AutocompleteTextField = ({ +export const AutocompleteTextField = ({ name, options, required, From 509cde8892af8b61f0fece1f109d784eb7309dc9 Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 13 Sep 2021 10:31:27 +0200 Subject: [PATCH 3/3] chore: reverting the smol changes to the public API Signed-off-by: blam --- .../StepPrepareCreatePullRequest/AutocompleteTextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx index 63115b69b0..98d741df15 100644 --- a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx +++ b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx @@ -37,7 +37,7 @@ type Props = { textFieldProps?: Omit; }; -export const AutocompleteTextField = ({ +export const AutocompleteTextField = ({ name, options, required,