Daily Tokens
November 26, 2026

Software · November 26, 2026 · Low impact

Mock Service Worker 3.0 goes ESM-only with socket-level interception

Mock Service Worker 3.0 is ESM-only and requires Node.js 22 or later, cutting package size from 416KB to 234KB. It adds GraphQL subscription support, protocol-specific entrypoints, and an experimental defineNetwork API. Node.js interception now works at the TCP and TLS level, and some users report test failures from newly intercepted OPTIONS preflight requests.

Teams relying on this testing library need to check their Node version and preflight handling before upgrading.

Go deeper

More from Software on Thursday, November 26