
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@br-validators/vue
Advanced tools
Vue 3 composables for Brazilian document validators — delegates to @br-validators/core
Vue 3 composables that delegate validation and formatting to @br-validators/core v1.10.0.
pnpm add @br-validators/vue @br-validators/core vue
Peer dependencies: vue ^3.5.0, @br-validators/core
<script setup lang="ts">
import { useBrValidator } from '@br-validators/vue';
const cpf = useBrValidator('cpf');
</script>
<template>
<input v-model="cpf.value" />
<p v-if="cpf.error">{{ cpf.error }}</p>
<p v-else-if="cpf.isValid">Formatted: {{ cpf.formatted }}</p>
</template>
| Composable | Core delegate |
|---|---|
useCpf() | validateCpf / formatCpf |
useCnpj() | validateCnpj / formatCnpj |
useCep() | validateCep / formatCep |
useTelefone() | validateTelefone / formatTelefone |
usePix() | validatePixKey / formatPixKey |
useInscricaoEstadual({ uf }) | validateInscricaoEstadual / formatInscricaoEstadual |
Each composable exposes reactive value, error, formatted, isValid, and validate().
import { ref } from 'vue';
import { useInscricaoEstadual } from '@br-validators/vue';
const uf = ref<'SP' | 'RJ'>('SP');
const ie = useInscricaoEstadual({ uf });
import { usePix } from '@br-validators/vue';
const pix = usePix({ pixType: 'email' });
Invalid values surface the same message string returned by core validate*.
Official algorithm sources: docs/OFFICIAL-SOURCES.md.
MIT
FAQs
Vue 3 composables for Brazilian document validators — delegates to @br-validators/core
We found that @br-validators/vue 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.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.