Darkhorse-Fraternity / monad-stack

https://monad-stack-docs.vercel.app
MIT License
0 stars 0 forks source link

fix(deps): update dependency @hookform/resolvers to v3 #48

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hookform/resolvers (source) ^2.9.11 -> ^3.0.0 age adoption passing confidence

Release Notes

react-hook-form/resolvers ### [`v3.0.0`](https://togithub.com/react-hook-form/resolvers/releases/tag/v3.0.0) [Compare Source](https://togithub.com/react-hook-form/resolvers/compare/v2.9.11...v3.0.0) ##### BREAKING CHANGES - Yup resolver require Yup v1 - rename `rawValues` option to `raw` - **classValidationResolver:** schema options now includes validator and transformer options - Please note that ajv and ajv-errors need to be installed separately, as they are not bundled with resolvers Before: ```ts schemaOptions?: ValidatorOptions, ``` After: ```ts schemaOptions?: { validator?: ValidatorOptions; transformer?: ClassTransformOptions; } ``` ##### Bug Fixes - module resolution NodeNext ([#​527](https://togithub.com/react-hook-form/resolvers/issues/527)) ([503d973](https://togithub.com/react-hook-form/resolvers/commit/503d973329626fc0432b4e1b7438ed2d73e90cc6)) - resolvers fails silently ([#​528](https://togithub.com/react-hook-form/resolvers/issues/528)) ([6677e0e](https://togithub.com/react-hook-form/resolvers/commit/6677e0ea9a774efb7504b5b958f20100eb4217ed)) ##### Features - add option to keep raw values ([f22d57c](https://togithub.com/react-hook-form/resolvers/commit/f22d57cbd3597981a799dffb4ad960cd45b3e8bf)) - **classValidationResolver:** add transform and validator options ([#​524](https://togithub.com/react-hook-form/resolvers/issues/524)) ([2749bd9](https://togithub.com/react-hook-form/resolvers/commit/2749bd980086075a31e3d2ab8b3b3cf8282423b8)) - **yupResolver:** add support Yup v1 ([#​520](https://togithub.com/react-hook-form/resolvers/issues/520)) ([f3da212](https://togithub.com/react-hook-form/resolvers/commit/f3da2123b081f87eb3dae06f7a0c2d84fb9eb39c)) - **typeboxResolver:** add TypeBox resolver ([#​526](https://togithub.com/react-hook-form/resolvers/issues/526)) ([6a31c92](https://togithub.com/react-hook-form/resolvers/commit/6a31c92703e75620df42a451da5bafeb25d371e8)) ```tsx import { useForm } from 'react-hook-form'; import { typeboxResolver } from '@​hookform/resolvers/typebox'; import { Type } from '@​sinclair/typebox'; const schema = Type.Object({ username: Type.String({ minLength: 1 }), password: Type.String({ minLength: 1 }), }); const App = () => { const { register, handleSubmit } = useForm({ resolver: typeboxResolver(schema), }); return (
console.log(d))}>
); }; ``` ##### Performance Improvements - **ajvResolver:** reduce bundle size ([#​523](https://togithub.com/react-hook-form/resolvers/issues/523)) ([fc00379](https://togithub.com/react-hook-form/resolvers/commit/fc003799338a6d2502194db4c1ab9beeb1d67f8c))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
monad-stack-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 27, 2023 at 7:24AM (UTC)