Skip to content

Releases: mswjs/interceptors

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.

v0.12.5

04 Aug 15:56
Compare
Choose a tag to compare

Dependency

  • Updates the outvariant dependency to the version that relies on its own format function (open-draft/outvariant#2).

v0.12.4

04 Aug 11:02
Compare
Choose a tag to compare

Dependency

  • Bumps the outvariant dependency to fix the positionals interpolation (#144).

v0.12.3

17 Jul 11:19
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue that resulted in a memory leak caused by un-attached event listeners on IncomingMessage (#139, #140).