
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@br-validators/react-hook-form
Advanced tools
React Hook Form rules and resolvers for Brazilian document validators — delegates to @br-validators/core
React Hook Form rules and resolvers that delegate to @br-validators/core v1.10.0.
pnpm add @br-validators/react-hook-form @br-validators/core react react-hook-form
import { useForm } from 'react-hook-form';
import { cpfRule } from '@br-validators/react-hook-form';
const { register } = useForm<{ cpf: string }>();
<input {...register('cpf', cpfRule({ required: 'CPF is required' }))} />;
import { useForm } from 'react-hook-form';
import { cpfResolver } from '@br-validators/react-hook-form';
const form = useForm<{ cpf: string }>({ resolver: cpfResolver() });
Invalid values surface the same message string returned by core validate*.
MIT
FAQs
React Hook Form rules and resolvers for Brazilian document validators — delegates to @br-validators/core
The npm package @br-validators/react-hook-form receives a total of 742 weekly downloads. As such, @br-validators/react-hook-form popularity was classified as not popular.
We found that @br-validators/react-hook-form demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.