Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Socket.IO architecture

Changing packages/engine.io-client/lib/globals.node in Socket.IO reaches 13 modules. 6 files call it directly. Snapshot f97d51a.

The first file to open in Socket.IO is packages/engine.io-client/lib/globals.node. A change there reaches 13 of 100 modules.

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

lib/globals.node13 · 6 fan-in
engine.io/lib/transport12 · 10 fan-in
lib/util12 · 6 fan-in
engine.io-client/lib/transport11 · 5 fan-in
lib/socket11 · 4 fan-in

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

Download the finding

Project: Socket.IO · Score: 80.9/100 (Healthy architecture) · 100 modules · 143 edges · TypeScript · 44 of 94 · Language score median 80.1

Cycles
14
Duplicate authorities
74
God modules
0
Layer violations
0
arc impact packages/engine.io-client/lib/globals.node

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

README badge

ArcSight architecture proof for Socket.IO
[![ArcSight architecture proof for Socket.IO](https://arcsight.ai/badge/proof/socket-io/)](https://arcsight.ai/repositories/socket-io/)

Blast radius paths

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

Socket.IO · f97d51a

RankFileFan-inBlastShare
1packages/engine.io-client/lib/globals.node61313%
2packages/engine.io/lib/transport

concentrates too many responsibilities, shared utility hub

101212%
3packages/engine.io-client/lib/util61212%
4packages/engine.io-client/lib/transport51111%
5packages/engine.io-client/lib/socket41111%
All ranked files
RankFileFan-inBlastShare
6packages/engine.io-client/lib/transports21111%
7packages/engine.io-client/lib/transports/polling-xhr21111%
8packages/engine.io-client/lib/transports/polling-xhr.node21111%

Circular dependencies

This snapshot records 14 dependency cycles.

Nearby proofs

Snapshot notes

In socketio socket-io, a change that begins in engine.io-client globals.node keeps traveling until it reaches engine.io transport, with engine.io-client util as the third file on that walk and the lib-transport group as the group around them, snapshot mark daedbadddd.

engine.io-client transport is worth opening beside engine.io-client globals.node because engine.io-client socket still participates when engine.io-client transport moves, and engine.io-client transports stays in view for socketio socket-io, snapshot mark daedbadddd.

Review transports polling-xhr only after engine.io transport and transports polling-xhr.node are both on the table, since the link from engine.io parser-v3 back to engine.io-client util belongs to socketio socket-io under snapshot mark daedbadddd.

parser-v3 utf8 and engine.io-client globals.node are later stops, and a reviewer who has already seen engine.io transport should still look at engine.io-client util before treating the lib-transport group as understood for socketio socket-io, snapshot mark daedbadddd.

engine.io-client util closes the file list after engine.io-client transport and engine.io-client globals.node, which keeps the socketio socket-io note tied to snapshot mark daedbadddd, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • lib-transport (10 modules)
  • lib-commons (6 modules)
  • lib-socket (17 modules)
  • lib-in-memory-adapter (4 modules)
  • lib-socket (5 modules)
  • lib-engine (4 modules)
  • lib-is-binary (3 modules)
  • lib-namespace (10 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 socketio socket-io: engine.io-client globals.node?
Start with engine.io-client globals.node, because the rest of the socketio socket-io walk leaves from that file and engine.io transport is the next file in the same review. Commit daedbadddd records it.
What else is on the socketio socket-io walk besides engine.io-client globals.node and engine.io-client util?
engine.io-client util and engine.io-client transport stay on the walk with engine.io-client socket, which are different files from engine.io-client globals.node inside the lib-transport group for socketio socket-io. Commit daedbadddd records it.
How should a reviewer use engine.io-client transports in the socketio socket-io snapshot?
Keep engine.io-client transports, transports polling-xhr, and transports polling-xhr.node open together, then check engine.io parser-v3 before merging the socketio socket-io change. Commit daedbadddd records it.
Where does the socketio socket-io review stop after parser-v3 utf8?
Stop after parser-v3 utf8, engine.io-client globals.node, and engine.io transport have been compared with engine.io-client util, leaving the lib-transport group until those socketio socket-io files are clear. Commit daedbadddd 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/socket-io/" width="320" height="180" frameborder="0"></iframe>

Explore

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