← mswjs/msw
CodeVetter · Repo Unpack · Data flow

mswjs/msw

Scanned commit 6d6aef1640 dated 2026-09-30 — last upstream commit. Generated by codevetter codevetter 1.15.0 on 2026-10-02. Deep analysis by cli:codex via the codex CLI on 2026-10-02 (448s). Source inspection; upstream code and tests were not executed.

Sources normalize intercepted traffic into protocol frames before shared resolution. HTTP handlers parse matching inputs and invoke resolvers in order, with handler state owning one-time and generator behavior. Browser response transport serializes across worker ports, whereas Node responds through interceptor controllers. Cookies and WebSocket client metadata have distinct persistence paths, and SSE sends encoded frames through a ReadableStream.