Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

validator.js architecture

Changing src/lib/util/assertString in validator.js reaches 100 modules. 94 files call it directly. Snapshot 9ff3424.

The first file to open in validator.js is src/lib/util/assertString. A change there reaches 100 of 114 modules.

This lead file reaches 88% of the graph. The median published proof reaches 60%.

util/assertString100 · 94 fan-in
util/merge20 · 16 fan-in
lib/alpha8 · 5 fan-in
util/includesArray6 · 5 fan-in
lib/isFloat3 · 2 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: validator.js · Score: 92.9/100 (Excellent architecture) · 114 modules · 258 edges · JavaScript · 16 of 43 · Language score median 91.7

Cycles
0
Duplicate authorities
0
God modules
2
Layer violations
0
arc impact src/lib/util/assertString

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for validator.js
[![ArcSight architecture proof for validator.js](https://arcsight.ai/badge/proof/validator/)](https://arcsight.ai/repositories/validator/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

validator.js · 9ff3424

RankFileFan-inBlastShare
1src/lib/util/assertString

concentrates too many responsibilities, shared utility hub

9410088%
2src/lib/util/merge

concentrates too many responsibilities, shared utility hub

162018%
3src/lib/alpha587%
4src/lib/util/includesArray565%
5src/lib/isFloat233%
All ranked files
RankFileFan-inBlastShare
6src/lib/isEmail222%

Nearby proofs

Snapshot notes

In validatorjs validator, a change that begins in util assertString keeps traveling until it reaches util merge, with src alpha as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark ccaaeaafff.

util includesArray is worth opening beside util assertString because src isFloat still participates when util includesArray moves, and src isEmail stays in view for validatorjs validator, snapshot mark ccaaeaafff.

Review util nullUndefinedCheck only after util merge and util assertString are both on the table, since the link from src alpha back to util includesArray belongs to validatorjs validator under snapshot mark ccaaeaafff.

src alpha and util includesArray are later stops, and a reviewer who has already seen util assertString should still look at src isFloat before treating the ROOT_CLUSTER group as understood for validatorjs validator, snapshot mark ccaaeaafff.

src isEmail closes the file list after util nullUndefinedCheck and util assertString, which keeps the validatorjs validator note tied to snapshot mark ccaaeaafff, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (108 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in validatorjs validator: util assertString?
Start with util assertString, because the rest of the validatorjs validator walk leaves from that file and util merge is the next file in the same review. Commit ccaaeaafff records it.
What else is on the validatorjs validator walk besides util assertString and src alpha?
src alpha and util includesArray stay on the walk with src isFloat, which are different files from util assertString inside the ROOT_CLUSTER group for validatorjs validator. Commit ccaaeaafff records it.
How should a reviewer use src isEmail in the validatorjs validator snapshot?
Keep src isEmail, util nullUndefinedCheck, and util assertString open together, then check util merge before merging the validatorjs validator change. Commit ccaaeaafff records it.
Where does the validatorjs validator review stop after src alpha?
Stop after src alpha, util includesArray, and src isFloat have been compared with util assertString, leaving the ROOT_CLUSTER group until those validatorjs validator files are clear. Commit ccaaeaafff records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/validator/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo