Skip to content

Releases: mswjs/interceptors

v0.14.0

02 Mar 12:51
Compare
Choose a tag to compare

0.14.0 (2022-03-02)

Features

v0.13.6

01 Mar 14:33
Compare
Choose a tag to compare

0.13.6 (2022-03-01)

Bug Fixes

  • cloneIncomingMessage: inherit prototype properties (#214) (7d8f6bd)

v0.13.5

27 Feb 01:08
ef653c6
Compare
Choose a tag to compare

0.13.5 (2022-02-27)

Bug Fixes

  • xhr: support original responses without any headers (#216) (ef653c6)

v0.13.4

23 Feb 17:18
77ce97a
Compare
Choose a tag to compare

0.13.4 (2022-02-23)

Bug Fixes

  • fetch: use native ref to parse request props (#186) (77ce97a)

v0.13.3

13 Feb 14:20
3eebe83
Compare
Choose a tag to compare

0.13.3 (2022-02-13)

Bug Fixes

v0.13.2

08 Feb 12:36
Compare
Choose a tag to compare

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

11 Jan 14:06
1fc94b0
Compare
Choose a tag to compare

0.13.1 (2022-01-11)

Bug Fixes

  • change "xhr.upload" property to empty object (#193) (1fc94b0)

v0.13.0

08 Dec 13:55
Compare
Choose a tag to compare

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

07 Sep 13:31
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue that prevents the original response bodies from being read (#138, #150, #151, #152).

v0.12.6

21 Aug 10:52
Compare
Choose a tag to compare

Dependencies

  • Fixes a security vulnerability from xmldom (#145, #148).
  • Updates other dependencies.