Merge pull request #4749 from backstage/dependabot/npm_and_yarn/react-hook-form-6.15.4
chore(deps): bump react-hook-form from 6.6.0 to 6.15.4
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-import': patch
|
||||
---
|
||||
|
||||
Bump react-hook-form version constraint to "^6.15.4"
|
||||
@@ -44,7 +44,7 @@
|
||||
"git-url-parse": "^11.4.4",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-hook-form": "^6.6.0",
|
||||
"react-hook-form": "^6.15.4",
|
||||
"react-router": "6.0.0-beta.0",
|
||||
"react-router-dom": "6.0.0-beta.0",
|
||||
"react-use": "^15.3.3",
|
||||
|
||||
+2
-2
@@ -22,7 +22,7 @@ import {
|
||||
Control,
|
||||
Controller,
|
||||
FieldErrors,
|
||||
ValidationRules,
|
||||
UseControllerOptions,
|
||||
} from 'react-hook-form';
|
||||
|
||||
type Props<TFieldValue extends string> = {
|
||||
@@ -32,7 +32,7 @@ type Props<TFieldValue extends string> = {
|
||||
|
||||
control?: Control<Record<string, any>>;
|
||||
errors?: FieldErrors<Record<TFieldValue, string>>;
|
||||
rules?: ValidationRules;
|
||||
rules?: UseControllerOptions<Record<TFieldValue, any>>['rules'];
|
||||
|
||||
loading?: boolean;
|
||||
loadingText?: string;
|
||||
|
||||
+3
-3
@@ -25,7 +25,7 @@ describe('<PreparePullRequestForm />', () => {
|
||||
const onSubmitFn = jest.fn();
|
||||
|
||||
const { getByRole } = render(
|
||||
<PreparePullRequestForm
|
||||
<PreparePullRequestForm<{ main: string }>
|
||||
defaultValues={{ main: 'default' }}
|
||||
render={({ register }) => (
|
||||
<>
|
||||
@@ -49,7 +49,7 @@ describe('<PreparePullRequestForm />', () => {
|
||||
const onSubmitFn = jest.fn();
|
||||
|
||||
const { getByRole, getByLabelText } = render(
|
||||
<PreparePullRequestForm
|
||||
<PreparePullRequestForm<{ main: string }>
|
||||
defaultValues={{ main: 'default' }}
|
||||
render={({ register }) => (
|
||||
<>
|
||||
@@ -80,7 +80,7 @@ describe('<PreparePullRequestForm />', () => {
|
||||
const onSubmitFn = jest.fn();
|
||||
|
||||
const { queryByText, getByRole } = render(
|
||||
<PreparePullRequestForm
|
||||
<PreparePullRequestForm<{ main: string }>
|
||||
defaultValues={{}}
|
||||
render={({ errors, register }) => (
|
||||
<>
|
||||
|
||||
@@ -21319,10 +21319,10 @@ react-helmet@6.1.0:
|
||||
react-fast-compare "^3.1.1"
|
||||
react-side-effect "^2.1.0"
|
||||
|
||||
react-hook-form@^6.6.0:
|
||||
version "6.6.0"
|
||||
resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-6.6.0.tgz#bda76fc50a916096afe18119f6f57f2b3911cdb7"
|
||||
integrity sha512-5UKx2SBMaWuwy614H730Vv2QmoGdsdYpN96MnWXYzC8cHIUi9N2hYwtI86TEIcBHJ6FvEewh3onfA7P243RM1g==
|
||||
react-hook-form@^6.15.4, react-hook-form@^6.6.0:
|
||||
version "6.15.4"
|
||||
resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-6.15.4.tgz#328003e1ccc096cd158899ffe7e3b33735a9b024"
|
||||
integrity sha512-K+Sw33DtTMengs8OdqFJI3glzNl1wBzSefD/ksQw/hJf9CnOHQAU6qy82eOrh0IRNt2G53sjr7qnnw1JDjvx1w==
|
||||
|
||||
react-hot-loader@^4.12.21:
|
||||
version "4.12.21"
|
||||
|
||||
Reference in New Issue
Block a user