Skip to content
CAI
Software that uses CAICheck a score

victorjean9/react-telefone-brasileiro

44.0

Weak · 21 September 2026

129

lines of production code

JavaScript

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a React-based JavaScript library that provides a Brazilian phone number input component. It automatically formats and validates 8, 10, or 11-digit phone numbers, supporting various formatting styles with or without area codes. The project is structured for library distribution, exporting the component as a reusable UI element.

Features

Added Brazilian phone number input component to distribution

The build output now includes a new 'TelefoneBrasileiroInput' component, which provides an input field that automatically formats Brazilian phone numbers. The component supports various formatting styles (with or without area codes and a ninth digit) and applies masks based on the input length. This component is now exported from the main 'dist/index.js' entry point.

dist · high confidence

Initial project setup with React and Brazilian phone number input component

The project was initialized using Create React App and configured with Babel and Webpack to support React development. The repository now includes a Brazilian phone number input component (react-telefone-brasileiro) that formats and validates 8 or 9-digit phone numbers, with optional support for area codes (DDD) and specific formatting parameters. The project is licensed under the MIT license.

(repo-wide) · medium confidence

Behavioural changes

Replaced default React app with a Brazilian phone number input component

The default Create React App template files (App, CSS, tests, and entry point) were removed and replaced with a new \TelefoneBrasileiroInput\ component. This component provides an input field that automatically formats Brazilian phone numbers, supporting various digit counts (8 or 10/11 digits) and formatting styles (with or without area codes and separators). The application entry point now exports this specific input component instead of the standard boilerplate.

src · high confidence

Simplified public HTML template and entry point

The public/index.html template was stripped of all metadata, icons, and manifest links, leaving only the root div and title. The public/manifest.json and public/robots.txt files were removed entirely. A new public/index.js entry point was added to render a React application that uses a Brazilian phone number input component.

public · medium confidence

Dependencies

Upgrade to version 1.0.5 and restructure project for library distribution

The project has been upgraded to version 1.0.5, with corresponding updates to package.json, package-lock.json, and yarn.lock. The package configuration has been restructured to support library distribution, adding fields such as 'main', 'module', 'files', 'description', 'author', 'license', 'keywords', and 'repository'. Additionally, 'prop-types' has been added as a peer dependency, and build/dev dependencies like Webpack and Babel have been introduced to support the new distribution workflow.

(dependencies) · medium confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 41 → 44 (+3.2)
  • Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 86 → 78 (-8.3)
  • Architecture 69 → 69 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 15 → 23 (+7.4)
  • Security 75 → 75 (+0.0)

Resolved (57)

  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • …and 37 more

New (82)

  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Critical CVE: [GHSA redacted] (package-lock.json)
  • Documentation: no licence statement (README.md)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • …and 62 more

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

victorjean9/react-telefone-brasileiro was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 21 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 2ef1f06c1530578c382c521f7248fce86478b57b — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-fa71c66cabd8.