@mswjs/interceptors breaking changes
Updated December 4, 2026
On this page
Latest version 0.45.15, released December 4, 2026. Source repository
Its 0.42.0 release requires Node.js 22 or later. Node.js end of life dates.
@mswjs/interceptors 0.45.6 breaking changes
- Signature changed
net:TcpSocketController.reset
Was reset(connectionOptions?: NetworkConnectionOptions & net.SocketConnectOpts): void; now reset(): void. npmjs.com - Signature changed
net:TlsSocketController.reset
Was reset(connectionOptions?: NetworkConnectionOptions & net.SocketConnectOpts): void; now reset(): void. npmjs.com
@mswjs/interceptors 0.45.5 breaking changes
- Signature changed
WebSocket:WebSocketExtension.apply
Was apply(connection: {client: WebSocketClientHandle<Message>; server: WebSocketServerHandle<Message>;}): void; now apply(connection: {client: WebSocketClientHandle<unknown>; server: WebSocketServerHandle<unknown>;}): void. npmjs.com
@mswjs/interceptors 0.45.3 breaking changes
- Signature changed
WebSocket:WebSocketConnectionEvent
Was class WebSocketConnectionEvent<Message = WebSocketData> extends TypedEvent<WebSocketConnectionEventData<Message>, void, 'connection'>; now class WebSocketConnectionEvent<Message = WebSocketData> extends... npmjs.com - Signature changed
WebSocket:WebSocketConnectionEvent.constructor
Was constructor(data: WebSocketConnectionEventData<Message>); now constructor(data: WebSocketInterceptedConnection<Message>). npmjs.com - Signature changed
WebSocket:WebSocketConnectionEventData.client
Was client: WebSocketClientConnection<Message>; now client: WebSocketClientHandle<Message>. npmjs.com - Signature changed
WebSocket:WebSocketConnectionEventData.server
Was server: WebSocketServerConnection<Message>; now server: WebSocketServerHandle<Message>. npmjs.com - Signature changed
WebSocket:WebSocketExtension.apply
Was apply(connection: {client: WebSocketClientConnection<Message>; server: WebSocketServerConnection<Message>;}): void; now apply(connection: {client: WebSocketClientHandle<Message>; server: WebSocketServerHandle<Message>;}): void. npmjs.com - Signature changed
WebSocket:WebSocketExtensionContext.client
Was client: WebSocketClientConnection<Message>; now client: WebSocketClientHandle<Message>. npmjs.com - Signature changed
WebSocket:WebSocketExtensionContext.server
Was server: WebSocketServerConnection<Message>; now server: WebSocketServerHandle<Message>. npmjs.com - Signature changed
WebSocket:WebSocketExtensionMessageContext.client
Was client: WebSocketClientConnection<Message>; now client: WebSocketClientHandle<Message>. npmjs.com - Signature changed
WebSocket:WebSocketExtensionMessageContext.connection
Was connection: WebSocketClientConnection<Message> | WebSocketServerConnection<Message>; now connection: WebSocketClientHandle<Message> | WebSocketServerHandle<Message>. npmjs.com - Signature changed
WebSocket:WebSocketExtensionMessageContext.server
Was server: WebSocketServerConnection<Message>; now server: WebSocketServerHandle<Message>. npmjs.com
@mswjs/interceptors 0.45.0 breaking changes
- Removed
WebSocket:WebSocketClientConnection.[kProtocolContext]
WebSocketClientConnection.[kProtocolContext] was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketClientConnection.protocol
WebSocketClientConnection.protocol was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketClientHandle.protocol
WebSocketClientHandle.protocol was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketInterceptorOptions.protocols
WebSocketInterceptorOptions.protocols was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketProtocol
WebSocketProtocol was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketProtocolContext
WebSocketProtocolContext was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketProtocolMessageContext
WebSocketProtocolMessageContext was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketServerConnection.[kProtocolContext]
WebSocketServerConnection.[kProtocolContext] was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketServerConnection.protocol
WebSocketServerConnection.protocol was removed in @mswjs/interceptors 0.45.0 npmjs.com - Removed
WebSocket:WebSocketServerHandle.protocol
WebSocketServerHandle.protocol was removed in @mswjs/interceptors 0.45.0 npmjs.com
And 34 more in this version. Sign up to see every change
@mswjs/interceptors 0.44.0 breaking changes
- Removed
WebSocket:WebSocketClientConnectionProtocol
WebSocketClientConnectionProtocol was removed in @mswjs/interceptors 0.44.0 npmjs.com - Removed
WebSocket:WebSocketServerConnectionProtocol
WebSocketServerConnectionProtocol was removed in @mswjs/interceptors 0.44.0 npmjs.com - Signature changed
WebSocket:WebSocketClientConnection
Was class WebSocketClientConnection implements WebSocketClientConnectionProtocol; now class WebSocketClientConnection implements WebSocketClientHandle. npmjs.com - Signature changed
WebSocket:WebSocketServerConnection
Was class WebSocketServerConnection implements WebSocketServerConnectionProtocol; now class WebSocketServerConnection implements WebSocketServerHandle. npmjs.com
@mswjs/interceptors 0.43.0 breaking changes
- Renamed
WebSocketConnectionEvent
Use WebSocketConnectionEvent instead. npmjs.com - Renamed
WebSocketEventMap
Use WebSocketEventMap instead. npmjs.com - Behavior changed
The release notes list this as a breaking change but do not say which code breaks. Check your imports of WebSocket types after upgrading. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
@mswjs/interceptors 0.42.0 breaking changes
- Removed
BatchInterceptorOptions
BatchInterceptorOptions was removed in @mswjs/interceptors 0.42.0 npmjs.com - Removed
ClientRequest:ClientRequestInterceptor.checkEnvironment
ClientRequestInterceptor.checkEnvironment was removed in @mswjs/interceptors 0.42.0 npmjs.com
And 108 more in this version.
@mswjs/interceptors 0.41.9 breaking changes
- Removed
XMLHttpRequest:XMLHttpRequestInterceptor.interceptorSymbol
XMLHttpRequestInterceptor.interceptorSymbol was removed in @mswjs/interceptors 0.41.9 npmjs.com
@mswjs/interceptors 0.41.5 breaking changes
- Removed
IS_PATCHED_MODULE
IS_PATCHED_MODULE was removed in @mswjs/interceptors 0.41.5 npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.