Skip to content

Releases: mswjs/interceptors

v0.2.4

18 May 08:43
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue that resulted into third-party clients being stuck on readyState: 3 (LOADING) when issuing XMLHttpRequest (#13, #14)
  • Fixes an invalid XMLHttpRequest property reponse

v0.2.0

15 May 11:13
Compare
Choose a tag to compare

Breaking changes

  • req.url is not an instance of the URL class (previously a string).
  • req.query is no longer accessible. Please use req.url.searchParams instead.

v0.1.6

05 May 07:06
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue that resulted into request body not being written in ClientRequest
  • Fixes an issue that resulted into request body not being sent in XMLHttpRequest
  • Fixes an issue that resulted into original XMLHttpRequest not being called with the same arguments to req.open()

Internal

  • Adds unit tests to assert interception and response mocking as separate units of functionality