← mswjs/msw
CodeVetter · Repo Unpack · System map

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.

The package exposes separate environment and protocol entrypoints around one shared network engine. Browser HTTP interception uses a Service Worker when available, with an interceptor fallback; WebSocket interception remains a separate source. Node combines four interceptor types and adds asynchronous handler contexts. Distribution consists of ESM modules, declarations, an IIFE bundle, and a generated worker asset, with release automation targeting npm.