wmcadigital / wmn-refund

Step by step form for refunds of transport tickets
https://refund.wmnetwork.co.uk
0 stars 4 forks source link

[skip netlify]: Bump react-hook-form from 6.11.5 to 7.31.1 #595

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps react-hook-form from 6.11.5 to 7.31.1.

Release notes

Sourced from react-hook-form's releases.

Version 7.31.1

🐞 fix #8339 Revert "🗑 remove the reference for blob and file list (react-hook-form/react-hook-form#8305)"

Version 7.31.0

🚀 reset optional prop: keepDirtyValues (react-hook-form/react-hook-form#8237)

reset(
  {
    firstName: "bill", // if firstName is dirty then the value will be retained
    lastName: "luo"
  },
  { keepDirtyValues: true } // keep any changed field
);

👩‍🔧 close react-hook-form/react-hook-form#8324 auto-correct field array errors on user action (react-hook-form/react-hook-form#8325)

const { append } = useFieldArray()

append({ data: '' }) // will auto correct existing field array errors if any

🐞 fix: clone objects which have functions (react-hook-form/react-hook-form#8301) 📖 fix name of a new option in 6.12.0 change-log notes (react-hook-form/react-hook-form#8335)

thanks to @​Moshyfawn @​airman5573 @​TkDodo and @​MasterOdin

Version 7.30.0

Notes

🐣 determine checkbox group by defaultValues set as array value (react-hook-form/react-hook-form#7938)

useForm({
  defaultValues: {
    checkboxes: [], // register checkbox will be determine as array of checkboxes
  },
});
register('checkboxes'); // will return array as value

🧪 improve test cases with checkbox default value as array (react-hook-form/react-hook-form#7501) 📕 add fieldState invalid depreciation note (react-hook-form/react-hook-form#8202) ⛑ improve getNodeParentName missing case(s) (react-hook-form/react-hook-form#8181) 🔨 support field array parents with numbers in name (react-hook-form/react-hook-form#8167) 💉 improve lib tests cases (react-hook-form/react-hook-form#8155)

... (truncated)

Commits
  • 3111dc4 7.31.1
  • f8ccbf5 Revert "🗑 remove reference for blob and filelist (#8305)"
  • cbe62de 🚮 remove dead code (#8337)
  • 462040c 🎭 close #7472 include proxy check with field state to improve useController p...
  • 248c7c7 7.31.0
  • 2921bfe ❤️ thank you Roger Lee for sponsoring the project
  • c113147 📖 fix name of new option in 6.12.0 change-log notes (#8335)
  • 5bb2024 👩‍🔧 close #8324 auto correct field array errors on user action (#8325)
  • b8a030e 🧪 include function test at the root level for cloneObject
  • 7d959ee 🔧 fix clone object with skip function clone (#8306)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #599.