KiraLT / torrent-stream-server

HTTP server to convert any torrent to video stream
MIT License
242 stars 105 forks source link

Bump react-hook-form from 7.16.0 to 7.19.5 in /frontend #289

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps react-hook-form from 7.16.0 to 7.19.5.

Release notes

Sourced from react-hook-form's releases.

Version 7.19.5

🐞 fix #7031 fast refresh (#7035)

Version 7.19.4

💅 close #7023 issue with async useFieldArray actions (#7029) 👁️ chore(useWatch): making the name a read-only array (#7016) ⌨️ adds types for no supplied props argument (#7017) 🤦🏻‍♂️ close #7013 avoid shallow clone for the custom object (#7014)

thanks to @​dborysov @​sfrieson

Version 7.19.3

🐞 fix #7011 reset API with shouldUnregister: true for controlled components (#7012)

Version 7.19.2

🐞 fix #7009 fix fast refresh with controller (#7010) 👍🏻 close #7001 shouldUnregister: true with useController unmount defaultValue (#7008) 🧠 close #6994 issue with mutate original state with shouldUnreigster: true (#6998)

Version 7.19.1

🐞 fix #6984 disabled input with register value (#6985) 🤲 close #6987 avoid shallow clone for object field (#6988)

Version 7.19.0

✨ feature: new resetField API (#6891)

const { resetField } = useForm();

resetField('test')

resetField('test', { keepError: true, keepDirty: true, keepTouched: true, defaultValue: 'test1', })

⏱ close #6966 improve trigger by avoiding additional validation invocation (#6967)

thanks to @​barrymay and @​kotarella1110

Version 7.19.0-next.0

✨ new resetField API

const { resetField } = useForm();

resetField('test') </tr></table>

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

Changelog

[7.18.1] - 2021-11-02

  • revert FieldPathWithValue

[7.18.0] - 2021-10-28

Added

  • bring back FieldPathWithValue
  • schema errors parent object look up
const validationSchema = object().shape({
  questions: array().min(1, 'Array cannot be empty'),
});

// the above schema will be picked up by field array action // the logic applies to group error object eg checkboxes <button type="button" onClick={() => { remove(questionIndex); }} > Remove </button>;

[7.17.0] - 2021-10-02

Added

  • new type FieldPathWithValue to improve generic components type support
type ExpectedType = { test: string };

const Generic = <FormValues extends FieldValues>({ name, control, }: { name: FieldPathWithValue<FormValues, ExpectedType>; control: Control<FormValues>; }) => { const { field: { value, ...fieldProps }, } = useController<FormValues, ExpectedType>({ name, </tr></table>

... (truncated)

Commits


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 3 years ago

Superseded by #291.