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 @hookform/resolvers from 3.6.0 to 3.7.0 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lexrrr
Copy link
Owner

@lexrrr lexrrr commented Jul 26, 2024

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 @hookform/resolvers from 3.6.0 to 3.7.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 1 version ahead of your current version.

  • The recommended version was released on 24 days ago.

Release notes
Package name: @hookform/resolvers
  • 3.7.0 - 2024-07-02

    3.7.0 (2024-07-02)

    Bug Fixes

    • zodResolver: cannot read properties of undefined (reading 'length') (a3e50c6)
    • chore: update valibot dependency to version >=0.33.0 (#695)

    Features

    import { useForm } from 'react-hook-form';
    import { vineResolver } from '@ hookform/resolvers/vine';
    import vine from '@ vinejs/vine';

    const schema = vine.compile(
    vine.object({
    username: vine.string().minLength(1),
    password: vine.string().minLength(1),
    }),
    );

    const App = () => {
    const { register, handleSubmit } = useForm({
    resolver: vineResolver(schema),
    });

    return (
    <form onSubmit={handleSubmit((d) => console.log(d))}>
    <input {...register('username')} />
    {errors.username && <span role="alert">{errors.username.message}</span>}
    <input {...register('password')} />
    {errors.password && <span role="alert">{errors.password.message}</span>}
    <button type="submit">submit</button>
    </form>
    );
    };




  • 3.6.0 - 2024-06-06

    3.6.0 (2024-06-06)

    Features

    • upgrade and migrate Valibot to v0.31.0 (#688) (bdd5ef5)
from @hookform/resolvers 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 has created this PR to upgrade @hookform/resolvers from 3.6.0 to 3.7.0.

See this package in npm:
@hookform/resolvers

See this project in Snyk:
https://app.snyk.io/org/lexrrr/project/6480ac13-1acb-4ce0-a87f-36f34d9bb73e?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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants