@mswjs/interceptors
0.45.12 · 11 Nov 2026MIT38M / weekRepositorynpmAtom feed
Upgrading @mswjs/interceptors From 0.45.6 to 0.45.12
6 releases in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 14
- fixes
Release by release
- Fixed
net: keep mocked keep-alive sockets alive under Node idle socket guard
- Fixed
xhr: dispatch events natively, honoring removed listeners and replaced handlers
- Fixed
net: preserve the write encoding of single writes (latin-1 header values)
- Fixed
- Fixed
fetch: forward client-facing stream cancelations to the stream
- Fixed
http: prevent splitting raw headers at semicolon twice
- Fixed
- Fixed
net: forward "setNoDelay()" and "setKeepAlive()" to passthrough sockets
- Fixed
xhr: abort pending request and mocked response on ".abort()"
- Fixed
Ignore the request abort that races with an already handled request
- Fixed
- Fixed
net: prevent double event emission
- Fixed
net: improve socket interception compliance
- Fixed
http: ensure auth headers per request, never per connection
- Fixed
http: preserve paths starting with double slash
- Fixed
- Fixed
http: abort pending requests on kept-alive sockets after a mocked response
- Fixed
- Fixed
net: prevent overlapping writes on a passthrough tls socket after the handle swap
- Fixed
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.