msw
3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed
Your version
0.49.3 is the newest release of 0.28.x.
In short
1 breaking2 fixed1 internal
- Breaking
The
responseinstance in the life-cycle events now handlesresponse.headersas theHeadersinstance (#660).
Release note
Breaking changes
- Breaking
The
responseinstance in the life-cycle events now handlesresponse.headersas theHeadersinstance (#660).
server.on('response:bypass', (res) => {
- res.headers['content-type']
+ res.headers.get('content-type')
})- Breaking
Calling
setupServerno longer applies request interception immediately. Instead, it's applied when calledserver.listen()(#660).
Bug fixes
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.