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 2.8.8 to 2.9.8 #372

Closed

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Oct 7, 2022

Snyk has created this PR to upgrade @hookform/resolvers from 2.8.8 to 2.9.8.

merge advice
ℹ️ 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 11 versions ahead of your current version.
  • The recommended version was released a month ago, on 2022-09-11.
Release notes
Package name: @hookform/resolvers
  • 2.9.8 - 2022-09-11

    2.9.8 (2022-09-11)

    Bug Fixes

  • 2.9.7 - 2022-07-26

    2.9.7 (2022-07-26)

    Bug Fixes

    • #396 remove unnecessary 'browser' exports to fix Jest integration (#435) (99703e6)
  • 2.9.6 - 2022-07-15

    2.9.6 (2022-07-15)

    Bug Fixes

    • yup: yup wrong import statement assuming default export (#427) (928afae)
  • 2.9.5 - 2022-07-08

    2.9.5 (2022-07-08)

    Bug Fixes

    • renamed private packages to avoid ambiguity with existing official packages. (#424) (18ae921)
  • 2.9.4 - 2022-07-07

    2.9.4 (2022-07-07)

    Bug Fixes

  • 2.9.3 - 2022-06-24

    2.9.3 (2022-06-24)

    Breaking Change

    • compile error with UnpackNestedValue

    BREAKING CHANGE: This change will update package dependency with react-hook-form to 7.33.0 above (52a6e07)

  • 2.9.2 - 2022-06-23

    2.9.2 (2022-06-23)

    Bug Fixes

    • exchange fp-ts/Either over fp-ts/lib/Either (#419) (7951951)
  • 2.9.1 - 2022-06-10

    2.9.1 (2022-06-10)

    Bug Fixes

    • ajv resolver to work with unlimited layers of nesting (#412) (692fe65)
  • 2.9.0 - 2022-06-03

    2.9.0 (2022-06-03)

    Features

    import { useForm } from 'react-hook-form';
    import { ajvResolver } from '@ hookform/resolvers/ajv';

    // must use minLength: 1 to implement required field
    const schema = {
    type: 'object',
    properties: {
    username: {
    type: 'string',
    minLength: 1,
    errorMessage: { minLength: 'username field is required' },
    },
    password: {
    type: 'string',
    minLength: 1,
    errorMessage: { minLength: 'password field is required' },
    },
    },
    required: ['username', 'password'],
    additionalProperties: false,
    };

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

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




  • 2.8.10 - 2022-05-17

    2.8.10 (2022-05-17)

    Bug Fixes

    • update for other resolvers with new option (#404) (c560af3)
  • 2.8.9 - 2022-05-15
  • 2.8.8 - 2022-01-18
from @hookform/resolvers GitHub release notes
Commit messages
Package name: @hookform/resolvers

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@project-openubl-preview-bot
Copy link
Contributor

🚀 Container image Preview ✨

The creation of the container image might take aproximately 10 minutes. Once it is available you can pull it using:

docker pull ghcr.io/project-openubl/searchpe/searchpe:snyk-upgrade-a9f8f0f7ce53b072b6befef30c4a6416
  • To watch the current status of the container image creation visit Workflow runs
  • To see the list of packages created by the boot visit Packages

Docker compose
version: "3"
services:
  postgresql:
    image: postgres:13.7
    ports:
      - 5432:5432
    environment:
      POSTGRES_DB: searchpe_db
      POSTGRES_USER: db_username
      POSTGRES_PASSWORD: db_password
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -U db_username -d searchpe_db" ]
      interval: 10s
      timeout: 5s
      retries: 5

  searchpe:
    image: quay.io/projectopenubl/searchpe:early-access
    ports:
      - 8180:8080
    environment:
      QUARKUS_HTTP_PORT: 8080
      QUARKUS_DATASOURCE_USERNAME: db_username
      QUARKUS_DATASOURCE_PASSWORD: db_password
      QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://postgresql:5432/searchpe_db
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8080/q/health" ]
      interval: 10s
      timeout: 5s
      retries: 5
    depends_on:
      postgresql:
        condition: service_healthy

@carlosthe19916 carlosthe19916 deleted the snyk-upgrade-a9f8f0f7ce53b072b6befef30c4a6416 branch November 17, 2022 16:44
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.

3 participants