@mswjs/interceptors
0.45.9 · 17 Oct 2026MIT13.6M / weekRepositorynpmAtom feed
214 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.45.x · latest line
0.45.9
17 Oct 2026net: prevent double event emission
net: improve socket interception compliance
http: ensure auth headers per request, never per connection
Bug Fixes
net: prevent double event emission
net: improve socket interception compliance
http: ensure auth headers per request, never per connection
http: preserve paths starting with double slash
0.45.8
13 Oct 2026http: abort pending requests on kept-alive sockets after a mocked response
0.45.7
4 Oct 2026net: prevent overlapping writes on a passthrough tls socket after the handle swap
0.45.6
29 Sep 2026http: intercept exchanges inside real "CONNECT" tunnels and TLS over provided sockets
ClientRequest: copy Headers subclasses that store headers outside the native store
0.45.5
28 Sep 2026fetch: prevent truncating compressed responses to the first chunk
fetch: preserve non-compressed responses
0.45.4
26 Sep 2026update
rettimeto 0.11.12
0.45.3
25 Sep 2026ws: proper websocket handle types
0.45.2
25 Sep 2026fetch: expose same request/response refs in listeners
0.45.1
24 Sep 2026http: keep reconnects attributed to their initiator after dispose
0.45.0
21 Sep 2026- breaking
WebSocket: support extensions
http: destroy socket on interceptor dispose
- 0.44.x
0.44.0
21 Sep 2026WebSocket: support custom protocols
http: passthrough non-http sockets writing on server data (#816) (d6b87ed) @mikicho @kettanaito
- 0.43.x
0.43.2
18 Sep 2026XMLHttpRequest: support header deletion in node.js
0.43.1
18 Sep 2026XMLHttpRequest: consistent forbidden request headers behavior
0.43.0
16 Sep 2026- breaking
re-export WebSocket types
- 0.42.x
0.42.6
13 Sep 2026revert connection listener invocation
0.42.5
10 Sep 2026fetch: prevent hanging on passthrough response stream cancellation
http: free parsers on non-HTTP upgrade
net: preserve passthrough writes until the client consumes EOF
Bug Fixes
fetch: prevent hanging on passthrough response stream cancellation
http: free parsers on non-HTTP upgrade
net: preserve passthrough writes until the client consumes EOF
SocketController: prevent listeners leak on TLS passthrough
0.42.4
8 Sep 2026WebSocket: properly export to bundle
debughttp: handle server-closed keep-alive sockets and detach completed parsers
http: stop observation on parser errors instead of crashing
Bug Fixes
WebSocket: properly export to bundle
debughttp: handle server-closed keep-alive sockets and detach completed parsers
http: stop observation on parser errors instead of crashing
http: proper HTTP/2 negotiation for mocked and passthrough
WebSocket: prevent infinite loop on passthrough connections
0.42.3
24 Jul 2026Reading the note…
0.42.2
24 Jul 2026Reading the note…
0.42.1
22 Jul 2026Reading the note…
0.42.0
22 Jul 2026Reading the note…
- 0.41.x
0.41.9
11 May 2026Reading the note…
0.41.8
1 May 2026Reading the note…
0.41.7
29 Apr 2026Reading the note…
0.41.6
24 Apr 2026Reading the note…
0.41.5
22 Apr 2026Reading the note…
0.41.4
18 Apr 2026Reading the note…
0.41.3
13 Feb 2026Reading the note…
0.41.2
6 Feb 2026Reading the note…
0.41.1
6 Feb 2026Reading the note…
0.41.0
3 Feb 2026Reading the note…
- 0.40.x
0.40.0
19 Oct 2025Reading the note…
- 0.39.x
0.39.8
13 Oct 2025Reading the note…
0.39.7
25 Sep 2025Reading the note…
0.39.6
12 Aug 2025Reading the note…
0.39.5
29 Jul 2025Reading the note…
0.39.4
25 Jul 2025Reading the note…
0.39.3
17 Jul 2025Reading the note…
0.39.2
7 Jun 2025Reading the note…
0.39.1
6 Jun 2025Reading the note…
0.39.0
6 Jun 2025Reading the note…
- 0.38.x
0.38.7
27 May 2025Reading the note…
0.38.6
22 Apr 2025Reading the note…
0.38.5
18 Apr 2025Reading the note…
0.38.4
16 Apr 2025Reading the note…
0.38.3
14 Apr 2025Reading the note…
0.38.2
11 Apr 2025Reading the note…
0.38.1
5 Apr 2025Reading the note…
0.38.0
7 Mar 2025Reading the note…
- 0.37.x
0.37.6
31 Jan 2025Reading the note…