Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade react-hook-form from 7.48.2 to 7.52.0 #102

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

Niraj-Dilshan
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade react-hook-form from 7.48.2 to 7.52.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 13 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: react-hook-form
  • 7.52.0 - 2024-06-15

    ⚛️ close #11932 enable react 19 peer dependency (#11935)
    👮‍♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription (#11995)
    🐞 fix #11985 logic createFormControl check field before usage (#11986)
    ⌨️ fix: enforce type safety for deps property in RegisterOptions (#11969)
    🐞 fix #11922 keep dirty on reset with dirty fields (#11958)
    🚔 close #11937 add validation in the cleanup process in useController (#11938)
    Revert "⌨️ close: correct type of error field in getFieldState return object (#11831)"
    📖 fix: change info.values type in WatchObserver (#11917)

    thanks to @ nakaakist, @ IdoBouskila, @ pincy and @ peinguin

  • 7.51.5 - 2024-05-21

    📖 fix broken link to examples in README.md (#11805)
    ⌨️ close: correct type of error field in getFieldState return object (#11831)
    🐞 fix #11842 radio buttons not disabled when multiple share a name (#11873)
    🐞 fix #11821 set value with disabled false before mount (#11880)
    🐞 fix setError to preserve existing errors elsewhere in the object (#11888)
    ⌨️ fix: add info.value type to WatchObserver (#11872)
    🫡 fix issue with internal set api (#11915)

    thanks to @ mjr2595 @ erashu212 @ SimonJTurner and @ peinguin

  • 7.51.4 - 2024-05-04

    👹 close #11778 improve unregister omit key with getValues method (#11779)
    🐞 fix #11794 issue: Fields dirty state is not updated when passing values to useForm

  • 7.51.3 - 2024-04-11

    🐞 fix #11773 regression on dirty check with reset (#11775)

  • 7.51.2 - 2024-03-26

    🐞 fix #11719 validation stuck on true state (#11723)

  • 7.51.1 - 2024-03-17

    🐛 bug(validatingFields, trigger): handle all fields validation trigger (#11624)
    💚 ci: cleanup actions versions (#11629)
    🐞 fix #11590 issue with trigger on validatingFields (#11613)

    thanks to @ Moshyfawn

  • 7.51.0 - 2024-03-01

    💬 add isValidating and validatingFields to field state (#10657)

    const { formState: { validatingFields } } = useForm({ mode: 'onBlur' });

    ⌨️ chore: replace ts-ignore with ts-expect-error (#11573)
    🧗‍♂️ chore: update lib dev deps (#11548)
    💅 related #11541 improve dirty check when undefined provided with reset api
    😾 fix #11514 issue under strict mode reset invoke twice reset mounted field names with keepDirtyValues (#11546)
    🤡 fix flush root render hack (#11521)
    🧽 chore: removed unused utils and resp. test cases (#11476)
    🐞 close #11503 issue dirty field update with async validation (#11509)

    Revert "🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)"
    Revert "✨ feat(values): priorities values over defaultvalues (#11399)" (#11545)

    ❤️ Thanks to @ deepgolani4, @ pbankonier and @ deepgolani4
    ❤️ Thank you principal.com for your contribution

  • 7.50.1 - 2024-02-06

    🥲 Regression: Revert "⌨️ fix #10734 watch and useWatch without parameters return type (#11359)"

  • 7.50.0 - 2024-02-01

    🔧 fix data param in handleSubmit when TTransformedValues is a union type (#11420)
    👷 build(Engines): remove pnpm dependency (#11425)
    🐞 fixes #11386 get new dirtyFields when reset keeping defaults and dirty values (#11401)
    🏷️ improve CustomElement type (#11309)
    💫 feat(useForm): leave formState flags in a consistent state when throwing in handleSubmit onValid (#11214)
    ⌨️ fix: change DeepPartial to account for object union types & unknown (#11385)
    ✨ feat(values): priorities values over defaultvalues (#11399)
    🐞 close #11246 skip root validation on action when mode and revalidate mode is onSubmit (#11395)
    💩 fix #11322 trigger extra re-render with useWatch plus shouldUnregister (#11394)
    ⌨️ fix #10734 watch and useWatch without parameters return type (#11359)
    🧑‍✈️ fix #11281 issue with upgrade node version (#11392)
    🐞 fix #11368 keep form state mounted when keeping values (#11384)
    🐞 fix #11374: Nested deep partial with unknown (#11373)

    thanks to @ Moshyfawn, @ jonahallibone, @ eladattias1996, @ RulerOfCakes, @ anonkey, @ Ar4ys, @ IanVS and @ r-kataoka11

  • 7.49.3 - 2024-01-08

    🐛 fix(formState, disabled): infer controlled disabled form state (#11361)
    🐛 fix(reset): remove global reset option flag (#11355)
    🐛 fix(useController): check if disabled state was set by user (#11353)
    🖨️ fix: Change DeepPartial type definition to be compatible with unknown (#11333)
    🐞 fix #11328 resetField with object as defaultValue (#11329)

    thanks to @ Moshyfawn, @ geeee and @ RulerOfCakes

  • 7.49.2 - 2023-12-13
  • 7.49.1 - 2023-12-12
  • 7.49.0 - 2023-12-09
  • 7.48.2 - 2023-11-05
from react-hook-form GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

snyk-bot and others added 30 commits November 27, 2023 17:00
…2a41d61c45b47

[Snyk] Fix for 20 vulnerabilities
…51e73e3368be3

[Snyk] Security upgrade python from 3.10-slim to 3.13-rc-slim
Bumps [redis](https://github.com/redis/redis-py) from 4.3.6 to 4.4.4.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](redis/redis-py@v4.3.6...v4.4.4)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6092044
…reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
…c17c0a53fe8db9

[Snyk] Security upgrade react-query from 3.39.3 to 4.0.0
…98c8018077a5e6

[Snyk] Security upgrade cryptography from 41.0.5 to 41.0.6
build(deps): bump redis from 4.3.6 to 4.4.4
…80351efb1c62afa30

[Snyk] Upgrade react-hook-form from 7.43.2 to 7.48.2
…bd7f6009199ea4f09

[Snyk] Upgrade react-datepicker from 4.10.0 to 4.21.0
…ccaeaed2150c2cd65

[Snyk] Upgrade vite-tsconfig-paths from 4.0.5 to 4.2.1
…370d1941a8b2d376e

[Snyk] Upgrade apexcharts from 3.40.0 to 3.44.0
…821691bb9b738929ca

[Snyk] Upgrade react-router-dom from 6.8.1 to 6.18.0
…e8ac3da508e4c918ea

[Snyk] Upgrade @chakra-ui/react from 2.5.5 to 2.8.2
…e5ead344994cc8720f

[Snyk] Upgrade i18next-http-backend from 2.2.0 to 2.4.1
…eac0633048c4cb8450

[Snyk] Upgrade react-i18next from 12.2.0 to 12.3.1
…95d0c24a204a9ce794

[Snyk] Upgrade react-loading-skeleton from 3.1.1 to 3.3.1
Snyk has created this PR to upgrade react-hook-form from 7.48.2 to 7.52.0.

See this package in npm:
react-hook-form

See this project in Snyk:
https://app.snyk.io/org/niraj-dilshan/project/0b571b4b-68d2-405c-b488-037d409eee8b?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment