Releases: mswjs/interceptors
Releases · mswjs/interceptors
v0.13.6
0.13.6 (2022-03-01)
Bug Fixes
- cloneIncomingMessage: inherit prototype properties (#214) (7d8f6bd)
v0.13.5
0.13.5 (2022-02-27)
Bug Fixes
- xhr: support original responses without any headers (#216) (ef653c6)
v0.13.4
0.13.4 (2022-02-23)
Bug Fixes
- fetch: use native ref to parse request props (#186) (77ce97a)
v0.13.2
0.13.2 (2022-02-08)
Bug Fixes
- publish the source code to NPM to prevent sourcemap parsing issues with bundlers (#196) (#204) (cc1ff23)
- set required node to a more permissive "12.x" (previously "12.20") (#207) (b078b00)
v0.13.1
0.13.1 (2022-01-11)
Bug Fixes
- change "xhr.upload" property to empty object (#193) (1fc94b0)
v0.13.0
Breaking changes
- Required
[email protected]
and higher to use the library (#190). All our tooling requires node 12, we're adding the explicit engines.node
check in "package.json".
Features
- Rewritten interception for
ClientRequest
(#164). The library now extends the native http
/https
modules instead of replacing them. This means that all the internals of the said modules execute in their entirely, giving you even more confidence in the requests you capture and mock.
Internal
- Updates dependencies (#190).
v0.12.7
Bug fixes
- Fixes an issue that prevents the original response bodies from being read (#138, #150, #151, #152).
v0.12.6
Dependencies
- Fixes a security vulnerability from
xmldom
(#145, #148).
- Updates other dependencies.