diff --git a/libs/form-builder/package.json b/libs/form-builder/package.json index 45a881e..00a0420 100644 --- a/libs/form-builder/package.json +++ b/libs/form-builder/package.json @@ -2,7 +2,7 @@ "name": "@bedrockstreaming/form-builder", "version": "0.8.4", "dependencies": { - "react-hook-form": "7.27.0" + "react-hook-form": "7.48.2" }, "peerDependencies": { "react": "17.0.2" diff --git a/libs/form-builder/src/lib/components/formField.component.tsx b/libs/form-builder/src/lib/components/formField.component.tsx index a304eee..ada389a 100644 --- a/libs/form-builder/src/lib/components/formField.component.tsx +++ b/libs/form-builder/src/lib/components/formField.component.tsx @@ -8,7 +8,7 @@ export interface FormFieldProps { dictionary: Dictionary; validation?: Validations; errors?: ErrorOption; - setFieldValue?: SetFieldValue; + setFieldValue?: SetFieldValue; triggerValidationField?: (value: Path) => void; propRef?: Ref; disabled?: boolean; diff --git a/libs/form-builder/src/lib/utils/conditionalFields.utils.ts b/libs/form-builder/src/lib/utils/conditionalFields.utils.ts index 9b07895..85933d7 100644 --- a/libs/form-builder/src/lib/utils/conditionalFields.utils.ts +++ b/libs/form-builder/src/lib/utils/conditionalFields.utils.ts @@ -1,4 +1,4 @@ -import { UseFormGetValues, FieldValues, FieldErrors } from 'react-hook-form'; +import { UseFormGetValues, FieldValues, FieldErrors, FieldError } from 'react-hook-form'; import { ExtraValidation, FormField, FormFields } from '../types'; export interface ShouldDisplayField { @@ -24,7 +24,7 @@ export const shouldDisplayField = ({ dependsOn, getValues, extraValidation, erro // When the validate option is disabled // Check for specific validation error if (!dependRule.validate) { - const validationError = fieldError && fieldError[dependRule.key]; + const validationError = fieldError && fieldError[dependRule.key as keyof FieldError]; return dependsOnConditions.push(!!fieldValue && !validationError); } diff --git a/libs/form-builder/src/lib/utils/validation.utils.ts b/libs/form-builder/src/lib/utils/validation.utils.ts index f1bc18f..7597a0f 100644 --- a/libs/form-builder/src/lib/utils/validation.utils.ts +++ b/libs/form-builder/src/lib/utils/validation.utils.ts @@ -18,7 +18,7 @@ export interface GetFieldRulesArgs { extraValidation?: ExtraValidation; } -export interface FieldRules extends RegisterOptions { +export type FieldRules = RegisterOptions & { validate?: { [key: string]: (value?: any) => Promise | boolean }; } diff --git a/libs/form-context/package.json b/libs/form-context/package.json index 23d51fb..e4532bf 100644 --- a/libs/form-context/package.json +++ b/libs/form-context/package.json @@ -4,7 +4,7 @@ "peerDependencies": { "react": "17.0.2", "@bedrockstreaming/form-builder": "0.8.1", - "react-hook-form": "7.27.0" + "react-hook-form": "7.48.2" }, "devDependencies": { "deep-freeze": "0.0.1" diff --git a/libs/form-editor/package.json b/libs/form-editor/package.json index bb7409d..0bbb523 100644 --- a/libs/form-editor/package.json +++ b/libs/form-editor/package.json @@ -11,7 +11,7 @@ "@mui/material": "5.2.2", "@mui/styles": "5.2.2", "react": "17.0.2", - "react-hook-form": "7.27.0", + "react-hook-form": "7.48.2", "react-redux": "7.2.6" } } diff --git a/libs/form-redux/package.json b/libs/form-redux/package.json index 73c4498..4053ad2 100644 --- a/libs/form-redux/package.json +++ b/libs/form-redux/package.json @@ -5,7 +5,7 @@ "@bedrockstreaming/form-builder": "0.8.1", "@hookform/devtools": "4.0.2", "react": "17.0.2", - "react-hook-form": "7.27.0" + "react-hook-form": "7.48.2" }, "devDependencies": { "deep-freeze": "0.0.1" diff --git a/libs/form-validation-rule-list/package.json b/libs/form-validation-rule-list/package.json index 95ef829..adcf3b3 100644 --- a/libs/form-validation-rule-list/package.json +++ b/libs/form-validation-rule-list/package.json @@ -5,6 +5,6 @@ "peerDependencies": { "react": "17.0.2", "@bedrockstreaming/form-builder": "0.8.1", - "react-hook-form": "7.27.0" + "react-hook-form": "7.48.2" } } diff --git a/libs/form-validation-rule-list/src/lib/getValidationRulesHints.ts b/libs/form-validation-rule-list/src/lib/getValidationRulesHints.ts index 68e2d2b..28f0257 100644 --- a/libs/form-validation-rule-list/src/lib/getValidationRulesHints.ts +++ b/libs/form-validation-rule-list/src/lib/getValidationRulesHints.ts @@ -18,6 +18,7 @@ const identity = (value: string) => value; export const getValidationRulesHints = ({ t = identity, errors, validation, config }: GetValidationRulesHintsArgs) => { return Object.values(validation).reduce((acc, { message, key }) => { + // @ts-ignore return DEFAULT_RULES_NAMES[key] ? acc : [...acc, rule(t(message, config), () => !errors?.types[key])]; }, [] as Array); }; diff --git a/package.json b/package.json index b0fdb8e..b4a57dc 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "prism-react-renderer": "1.2.1", "react": "17.0.2", "react-dom": "17.0.2", - "react-hook-form": "7.27.0", + "react-hook-form": "7.48.2", "react-redux": "7.2.6", "react-router-dom": "5.2.0", "redux": "4.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index db59441..07d69a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,7 +30,7 @@ importers: version: 11.6.0(@babel/core@7.12.13)(@emotion/react@11.7.0)(@types/react@17.0.3)(react@17.0.2) '@hookform/devtools': specifier: 4.0.2 - version: 4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2) + version: 4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.48.2)(react@17.0.2) '@mdx-js/react': specifier: 1.6.21 version: 1.6.21(react@17.0.2) @@ -80,8 +80,8 @@ importers: specifier: 17.0.2 version: 17.0.2(react@17.0.2) react-hook-form: - specifier: 7.27.0 - version: 7.27.0(react@17.0.2) + specifier: 7.48.2 + version: 7.48.2(react@17.0.2) react-redux: specifier: 7.2.6 version: 7.2.6(react-dom@17.0.2)(react@17.0.2) @@ -288,12 +288,12 @@ importers: specifier: 17.0.2 version: 17.0.2 react-hook-form: - specifier: 7.27.0 - version: 7.27.0(react@17.0.2) + specifier: 7.48.2 + version: 7.48.2(react@17.0.2) optionalDependencies: '@hookform/devtools': specifier: 4.0.2 - version: 4.0.2(@babel/core@7.17.8)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2) + version: 4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.48.2)(react@17.0.2) devDependencies: '@testing-library/react': specifier: 11.2.6 @@ -311,8 +311,8 @@ importers: specifier: 17.0.2 version: 17.0.2 react-hook-form: - specifier: 7.27.0 - version: 7.27.0(react@17.0.2) + specifier: 7.48.2 + version: 7.48.2(react@17.0.2) devDependencies: deep-freeze: specifier: 0.0.1 @@ -322,13 +322,13 @@ importers: dependencies: '@bedrockstreaming/form-builder': specifier: 0.8.1 - version: 0.8.1(@babel/core@7.17.8)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2) + version: 0.8.1(@babel/core@7.12.13)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2) '@bedrockstreaming/form-redux': specifier: 0.8.1 - version: 0.8.1(@bedrockstreaming/form-builder@0.8.1)(@hookform/devtools@4.0.2)(lodash@4.17.21)(react-hook-form@7.27.0)(react@17.0.2) + version: 0.8.1(@bedrockstreaming/form-builder@0.8.1)(@hookform/devtools@4.0.2)(lodash@4.17.21)(react-hook-form@7.48.2)(react@17.0.2) '@hookform/devtools': specifier: 4.0.2 - version: 4.0.2(@babel/core@7.17.8)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2) + version: 4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.48.2)(react@17.0.2) '@mui/icons-material': specifier: 5.2.0 version: 5.2.0(@mui/material@5.2.2)(@types/react@17.0.3)(react@17.0.2) @@ -348,8 +348,8 @@ importers: specifier: 17.0.2 version: 17.0.2 react-hook-form: - specifier: 7.27.0 - version: 7.27.0(react@17.0.2) + specifier: 7.48.2 + version: 7.48.2(react@17.0.2) react-redux: specifier: 7.2.6 version: 7.2.6(react-dom@17.0.2)(react@17.0.2) @@ -358,16 +358,16 @@ importers: dependencies: '@bedrockstreaming/form-builder': specifier: 0.8.1 - version: 0.8.1(@babel/core@7.17.8)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2) + version: 0.8.1(@babel/core@7.12.13)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2) '@hookform/devtools': specifier: 4.0.2 - version: 4.0.2(@babel/core@7.17.8)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2) + version: 4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.48.2)(react@17.0.2) react: specifier: 17.0.2 version: 17.0.2 react-hook-form: - specifier: 7.27.0 - version: 7.27.0(react@17.0.2) + specifier: 7.48.2 + version: 7.48.2(react@17.0.2) devDependencies: deep-freeze: specifier: 0.0.1 @@ -382,8 +382,8 @@ importers: specifier: 17.0.2 version: 17.0.2 react-hook-form: - specifier: 7.27.0 - version: 7.27.0(react@17.0.2) + specifier: 7.48.2 + version: 7.48.2(react@17.0.2) packages: @@ -2763,12 +2763,12 @@ packages: dependencies: '@bedrockstreaming/eslint-config': 4.0.4(typescript@4.3.5) eslint: 7.32.0 - eslint-config-airbnb: 18.2.1(eslint-plugin-import@2.25.4)(eslint-plugin-jsx-a11y@6.4.1)(eslint-plugin-react-hooks@5.0.0-canary-6b3834a45-20231110)(eslint-plugin-react@7.28.0)(eslint@7.32.0) + eslint-config-airbnb: 18.2.1(eslint-plugin-import@2.25.4)(eslint-plugin-jsx-a11y@6.4.1)(eslint-plugin-react-hooks@5.0.0-canary-432b9f1d9-20231110)(eslint-plugin-react@7.28.0)(eslint@7.32.0) eslint-config-airbnb-typescript: 14.0.2(@typescript-eslint/eslint-plugin@4.28.5)(@typescript-eslint/parser@4.28.5)(eslint-plugin-import@2.25.4)(eslint@7.32.0) eslint-plugin-import: 2.25.4(@typescript-eslint/parser@4.28.5)(eslint@7.32.0) eslint-plugin-jsx-a11y: 6.4.1(eslint@7.32.0) eslint-plugin-react: 7.28.0(eslint@7.32.0) - eslint-plugin-react-hooks: 5.0.0-canary-6b3834a45-20231110(eslint@7.32.0) + eslint-plugin-react-hooks: 5.0.0-canary-432b9f1d9-20231110(eslint@7.32.0) transitivePeerDependencies: - '@typescript-eslint/eslint-plugin' - '@typescript-eslint/parser' @@ -2815,23 +2815,7 @@ packages: - react-dom dev: false - /@bedrockstreaming/form-builder@0.8.1(@babel/core@7.17.8)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2): - resolution: {integrity: sha512-DXsSCGMFwJr/VzaOKP5PZ04Gbnyr2ehJxQhsFy2jjgeYhkB4ET0RXZ41tfUMSi0+AhspuSksddSuxuItxD8kxw==} - peerDependencies: - lodash: 4.17.21 - react: 17.0.2 - dependencies: - '@hookform/devtools': 4.0.2(@babel/core@7.17.8)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2) - lodash: 4.17.21 - react: 17.0.2 - react-hook-form: 7.27.0(react@17.0.2) - transitivePeerDependencies: - - '@babel/core' - - '@types/react' - - react-dom - dev: false - - /@bedrockstreaming/form-redux@0.8.1(@bedrockstreaming/form-builder@0.8.1)(@hookform/devtools@4.0.2)(lodash@4.17.21)(react-hook-form@7.27.0)(react@17.0.2): + /@bedrockstreaming/form-redux@0.8.1(@bedrockstreaming/form-builder@0.8.1)(@hookform/devtools@4.0.2)(lodash@4.17.21)(react-hook-form@7.48.2)(react@17.0.2): resolution: {integrity: sha512-GEZ3593tuh6h8810cot1MPVFrlcTFWlTUmP2UsnbLRHMj/sw0MwagIL77g/tsaRFuw1u20aDIq5FeSx1NeENyA==} peerDependencies: '@bedrockstreaming/form-builder': 0.8.1 @@ -2840,11 +2824,11 @@ packages: react: 17.0.2 react-hook-form: 7.27.0 dependencies: - '@bedrockstreaming/form-builder': 0.8.1(@babel/core@7.17.8)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2) - '@hookform/devtools': 4.0.2(@babel/core@7.17.8)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2) + '@bedrockstreaming/form-builder': 0.8.1(@babel/core@7.12.13)(@types/react@17.0.3)(lodash@4.17.21)(react-dom@17.0.2)(react@17.0.2) + '@hookform/devtools': 4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.48.2)(react@17.0.2) lodash: 4.17.21 react: 17.0.2 - react-hook-form: 7.27.0(react@17.0.2) + react-hook-form: 7.48.2(react@17.0.2) dev: false /@bedrockstreaming/prettier-config@4.0.4: @@ -3067,9 +3051,9 @@ packages: debug: 4.1.1 webpack: 4.46.0 optionalDependencies: - '@babel/core': 7.17.8 - '@babel/preset-env': 7.16.11(@babel/core@7.17.8) - babel-loader: 8.2.3(@babel/core@7.17.8)(webpack@4.46.0) + '@babel/core': 7.12.13 + '@babel/preset-env': 7.12.13(@babel/core@7.12.13) + babel-loader: 8.2.3(@babel/core@7.12.13)(webpack@4.46.0) transitivePeerDependencies: - supports-color dev: true @@ -3703,7 +3687,7 @@ packages: peerDependencies: react: '*' dependencies: - '@types/react': 17.0.35 + '@types/react': 17.0.3 prop-types: 15.8.1 react: 17.0.2 dev: false @@ -3972,26 +3956,6 @@ packages: stylis: 4.0.10 dev: false - /@emotion/babel-plugin@11.3.0(@babel/core@7.17.8): - resolution: {integrity: sha512-UZKwBV2rADuhRp+ZOGgNWg2eYgbzKzQXfQPtJbu/PLy8onurxlNCLvxMQEvlr1/GudguPI5IU9qIY1+2z1M5bA==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.17.8 - '@babel/helper-module-imports': 7.16.7 - '@babel/plugin-syntax-jsx': 7.16.7(@babel/core@7.17.8) - '@babel/runtime': 7.17.2 - '@emotion/hash': 0.8.0 - '@emotion/memoize': 0.7.5 - '@emotion/serialize': 1.0.2 - babel-plugin-macros: 2.8.0 - convert-source-map: 1.8.0 - escape-string-regexp: 4.0.0 - find-root: 1.1.0 - source-map: 0.5.7 - stylis: 4.0.10 - dev: false - /@emotion/cache@11.6.0: resolution: {integrity: sha512-ElbsWY1KMwEowkv42vGo0UPuLgtPYfIs9BxxVrmvsaJVvktknsHYYlx5NQ5g6zLDcOTyamlDc7FkRg2TAcQDKQ==} dependencies: @@ -4048,30 +4012,6 @@ packages: react: 17.0.2 dev: false - /@emotion/react@11.7.0(@babel/core@7.17.8)(@types/react@17.0.3)(react@17.0.2): - resolution: {integrity: sha512-WL93hf9+/2s3cA1JVJlz8+Uy6p6QWukqQFOm2OZO5ki51hfucHMOmbSjiyC3t2Y4RI8XUmBoepoc/24ny/VBbA==} - peerDependencies: - '@babel/core': ^7.0.0 - '@types/react': '*' - react: '>=16.8.0' - peerDependenciesMeta: - '@babel/core': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/core': 7.17.8 - '@babel/runtime': 7.17.2 - '@emotion/cache': 11.6.0 - '@emotion/serialize': 1.0.2 - '@emotion/sheet': 1.1.0 - '@emotion/utils': 1.0.0 - '@emotion/weak-memoize': 0.2.5 - '@types/react': 17.0.3 - hoist-non-react-statics: 3.3.2 - react: 17.0.2 - dev: false - /@emotion/serialize@1.0.2: resolution: {integrity: sha512-95MgNJ9+/ajxU7QIAruiOAdYNjxZX7G2mhgrtDWswA21VviYIRP1R5QilZ/bDY42xiKsaktP4egJb3QdYQZi1A==} dependencies: @@ -4110,30 +4050,6 @@ packages: react: 17.0.2 dev: false - /@emotion/styled@11.6.0(@babel/core@7.17.8)(@emotion/react@11.7.0)(@types/react@17.0.3)(react@17.0.2): - resolution: {integrity: sha512-mxVtVyIOTmCAkFbwIp+nCjTXJNgcz4VWkOYQro87jE2QBTydnkiYusMrRGFtzuruiGK4dDaNORk4gH049iiQuw==} - peerDependencies: - '@babel/core': ^7.0.0 - '@emotion/react': ^11.0.0-rc.0 - '@types/react': '*' - react: '>=16.8.0' - peerDependenciesMeta: - '@babel/core': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/core': 7.17.8 - '@babel/runtime': 7.17.2 - '@emotion/babel-plugin': 11.3.0(@babel/core@7.17.8) - '@emotion/is-prop-valid': 1.1.1 - '@emotion/react': 11.7.0(@babel/core@7.17.8)(@types/react@17.0.3)(react@17.0.2) - '@emotion/serialize': 1.0.2 - '@emotion/utils': 1.0.0 - '@types/react': 17.0.3 - react: 17.0.2 - dev: false - /@emotion/stylis@0.8.5: resolution: {integrity: sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ==} @@ -4214,21 +4130,21 @@ packages: - '@types/react' dev: false - /@hookform/devtools@4.0.2(@babel/core@7.17.8)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.27.0)(react@17.0.2): + /@hookform/devtools@4.0.2(@babel/core@7.12.13)(@types/react@17.0.3)(react-dom@17.0.2)(react-hook-form@7.48.2)(react@17.0.2): resolution: {integrity: sha512-zihsPnUscEt6uERnVdBSqBdotpemQ0EDfC6F1J69o7EsToqHnMmeym5Kb7GnDDHxYsURgotFgQYnkCM4c4QvsA==} peerDependencies: react: '>=17.0.2' react-dom: '>=17.0.2' react-hook-form: ^7.13.0 dependencies: - '@emotion/react': 11.7.0(@babel/core@7.17.8)(@types/react@17.0.3)(react@17.0.2) - '@emotion/styled': 11.6.0(@babel/core@7.17.8)(@emotion/react@11.7.0)(@types/react@17.0.3)(react@17.0.2) + '@emotion/react': 11.7.0(@babel/core@7.12.13)(@types/react@17.0.3)(react@17.0.2) + '@emotion/styled': 11.6.0(@babel/core@7.12.13)(@emotion/react@11.7.0)(@types/react@17.0.3)(react@17.0.2) '@types/lodash': 4.14.176 little-state-machine: 4.2.0(react@17.0.2) lodash: 4.17.21 react: 17.0.2 react-dom: 17.0.2(react@17.0.2) - react-hook-form: 7.27.0(react@17.0.2) + react-hook-form: 7.48.2(react@17.0.2) react-simple-animate: 3.3.12(react-dom@17.0.2)(react@17.0.2) transitivePeerDependencies: - '@babel/core' @@ -7935,14 +7851,14 @@ packages: webpack: 4.46.0 dev: true - /babel-loader@8.2.3(@babel/core@7.17.8)(webpack@4.46.0): + /babel-loader@8.2.3(@babel/core@7.12.13)(webpack@4.46.0): resolution: {integrity: sha512-n4Zeta8NC3QAsuyiizu0GkmRcQ6clkV9WFUnUf1iXP//IeSKbWjofW3UHyZVwlOB4y039YQKefawyTn64Zwbuw==} engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 webpack: '>=2' dependencies: - '@babel/core': 7.17.8 + '@babel/core': 7.12.13 find-cache-dir: 3.3.2 loader-utils: 1.4.0 make-dir: 3.1.0 @@ -11275,7 +11191,7 @@ packages: - eslint-plugin-import dev: true - /eslint-config-airbnb@18.2.1(eslint-plugin-import@2.25.4)(eslint-plugin-jsx-a11y@6.4.1)(eslint-plugin-react-hooks@5.0.0-canary-6b3834a45-20231110)(eslint-plugin-react@7.28.0)(eslint@7.32.0): + /eslint-config-airbnb@18.2.1(eslint-plugin-import@2.25.4)(eslint-plugin-jsx-a11y@6.4.1)(eslint-plugin-react-hooks@5.0.0-canary-432b9f1d9-20231110)(eslint-plugin-react@7.28.0)(eslint@7.32.0): resolution: {integrity: sha512-glZNDEZ36VdlZWoxn/bUR1r/sdFKPd1mHPbqUtkctgNG4yT2DLLtJ3D+yCV+jzZCc2V1nBVkmdknOJBZ5Hc0fg==} engines: {node: '>= 6'} peerDependencies: @@ -11290,7 +11206,7 @@ packages: eslint-plugin-import: 2.25.4(@typescript-eslint/parser@4.28.5)(eslint@7.32.0) eslint-plugin-jsx-a11y: 6.4.1(eslint@7.32.0) eslint-plugin-react: 7.28.0(eslint@7.32.0) - eslint-plugin-react-hooks: 5.0.0-canary-6b3834a45-20231110(eslint@7.32.0) + eslint-plugin-react-hooks: 5.0.0-canary-432b9f1d9-20231110(eslint@7.32.0) object.assign: 4.1.2 object.entries: 1.1.5 dev: true @@ -11583,8 +11499,8 @@ packages: eslint: 7.32.0 dev: true - /eslint-plugin-react-hooks@5.0.0-canary-6b3834a45-20231110(eslint@7.32.0): - resolution: {integrity: sha512-5hN9o1cxbrGWrTF37AWOKvMefjMTfAL1XvBdEi8pW7ZRDDZcZtnXkpQJr69JOUhYSkNrAv/lOMtjtsFyQG2lJQ==} + /eslint-plugin-react-hooks@5.0.0-canary-432b9f1d9-20231110(eslint@7.32.0): + resolution: {integrity: sha512-m7+fhwwO01F+BaN3UiitUvzpg5K7xy7xZMh37p8mNxYIdccNLGA1xeQbzynrQ/5dD1i6lxUp/Z2jBvixbW7K9w==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 @@ -18764,6 +18680,15 @@ packages: react: 17.0.2 dev: false + /react-hook-form@7.48.2(react@17.0.2): + resolution: {integrity: sha512-H0T2InFQb1hX7qKtDIZmvpU1Xfn/bdahWBN1fH19gSe4bBEqTfmlr7H3XWTaVtiK4/tpPaI1F3355GPMZYge+A==} + engines: {node: '>=12.22.0'} + peerDependencies: + react: ^16.8.0 || ^17 || ^18 + dependencies: + react: 17.0.2 + dev: false + /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}