Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency @mswjs/interceptors to v0.36.10 (#3029)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mswjs/interceptors](https://redirect.github.com/mswjs/interceptors) | [`0.36.9` -> `0.36.10`](https://renovatebot.com/diffs/npm/@mswjs%2finterceptors/0.28.3/0.36.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mswjs%2finterceptors/0.36.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mswjs%2finterceptors/0.36.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mswjs%2finterceptors/0.28.3/0.36.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mswjs%2finterceptors/0.28.3/0.36.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mswjs/interceptors (@​mswjs/interceptors)</summary> ### [`v0.36.10`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.10) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.9...v0.36.10) #### v0.36.10 (2024-11-06) ##### Bug Fixes - **ClientRequest:** do not unshift write buffer when flushing request headers ([#​674](https://redirect.github.com/mswjs/interceptors/issues/674)) ([`0d580b3`](https://redirect.github.com/mswjs/interceptors/commit/0d580b3e0bafcb4344fa412083b294dc14a5d1c0)) [@​kettanaito](https://redirect.github.com/kettanaito) - **fetch:** support already aborted requests ([#​673](https://redirect.github.com/mswjs/interceptors/issues/673)) ([`20e9ce4`](https://redirect.github.com/mswjs/interceptors/commit/20e9ce4a76dcde9e5c5b7ea15622fef4396c7914)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.9`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.9) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.8...v0.36.9) #### v0.36.9 (2024-11-03) ##### Bug Fixes - export `RequestController` type ([#​671](https://redirect.github.com/mswjs/interceptors/issues/671)) ([`06fe8f6`](https://redirect.github.com/mswjs/interceptors/commit/06fe8f68e6e43c19895b117e008560c147185d22)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.8`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.8) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.7...v0.36.8) #### v0.36.8 (2024-11-03) ##### Bug Fixes - **hasConfigurableGlobal:** handle existing globals with undefined value ([#​669](https://redirect.github.com/mswjs/interceptors/issues/669)) ([`f2ae132`](https://redirect.github.com/mswjs/interceptors/commit/f2ae1329034e1e7d477f890d9b67e2b18b586f4d)) [@​Afsoon](https://redirect.github.com/Afsoon) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.7`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.7) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.6...v0.36.7) #### v0.36.7 (2024-10-30) ##### Bug Fixes - skip interceptors for non-configurable globals ([#​665](https://redirect.github.com/mswjs/interceptors/issues/665)) ([`2ec79d7`](https://redirect.github.com/mswjs/interceptors/commit/2ec79d749afca60d4363041a8e10b715ce6c3d6f)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.6`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.6) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.5...v0.36.6) #### v0.36.6 (2024-10-25) This release enables automatic decompression of response bodies when using the `fetch` interceptor. ##### Bug Fixes - **fetch:** support `Content-Encoding` response header ([#​604](https://redirect.github.com/mswjs/interceptors/issues/604)) ([`b8f8d51`](https://redirect.github.com/mswjs/interceptors/commit/b8f8d51d71dcd636449beeec833c5b9182af6c78)) [@​mikicho](https://redirect.github.com/mikicho) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.5`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.5) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.4...v0.36.5) ##### v0.36.5 (2024-10-16) ##### Bug Fixes - **ClientRequest:** preserve headers type when recording raw headers ([#​660](https://redirect.github.com/mswjs/interceptors/issues/660)) ([`2f6106c`](https://redirect.github.com/mswjs/interceptors/commit/2f6106c9a96447c08423cef3ae68fde1c9e28b65)) [@​paoloricciuti](https://redirect.github.com/paoloricciuti) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.4`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.4) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.3...v0.36.4) #### v0.36.4 (2024-10-07) ##### Bug Fixes - **fetch:** await response listener before resolving the response promise ([#​658](https://redirect.github.com/mswjs/interceptors/issues/658)) ([`261f581`](https://redirect.github.com/mswjs/interceptors/commit/261f581a80aeadb66cef9146cead61d6047ec579)) [@​mikicho](https://redirect.github.com/mikicho) [@​kettanaito](https://redirect.github.com/kettanaito) - **WebSocket:** make server "error" event cancelable ([#​657](https://redirect.github.com/mswjs/interceptors/issues/657)) ([`343cc5a`](https://redirect.github.com/mswjs/interceptors/commit/343cc5a97feb4cc707c746b6bcfdb184ec356355)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.3`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.3) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.2...v0.36.3) ##### v0.36.3 (2024-10-04) ##### Bug Fixes - **WebSocket:** prevent dispatching "open" event if the connection was closed ([#​654](https://redirect.github.com/mswjs/interceptors/issues/654)) ([`9988d73`](https://redirect.github.com/mswjs/interceptors/commit/9988d7340049a8cc923a0dbe68659735ce463af8)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.2`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.2) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.1...v0.36.2) #### v0.36.2 (2024-10-03) ##### Bug Fixes - **WebSocket:** allow reusing the same event listener ([#​653](https://redirect.github.com/mswjs/interceptors/issues/653)) ([`3c1cc28`](https://redirect.github.com/mswjs/interceptors/commit/3c1cc28f3f2d7859f2117bbb0198feb06ba69935)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.36.0...v0.36.1) #### v0.36.1 (2024-10-01) ##### Bug Fixes - **WebSocket:** do not call public "server.send()" in message forwarding ([#​650](https://redirect.github.com/mswjs/interceptors/issues/650)) ([`befd772`](https://redirect.github.com/mswjs/interceptors/commit/befd772388e44a64ffb42960cf6d20d337c6d887)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.36.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.36.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.9...v0.36.0) #### v0.36.0 (2024-09-30) ##### Features - **ws:** add "socket" property on `server` object ([#​647](https://redirect.github.com/mswjs/interceptors/issues/647)) ([`ad0cdda`](https://redirect.github.com/mswjs/interceptors/commit/ad0cddaf117ca6a962d57236bc2c7474952de1ff)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.9`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.9) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.8...v0.35.9) #### v0.35.9 (2024-09-27) ##### Bug Fixes - **WebSocket:** make server "close" event cancelable ([#​645](https://redirect.github.com/mswjs/interceptors/issues/645)) ([`11233f0`](https://redirect.github.com/mswjs/interceptors/commit/11233f0e8f6692d3032a1dd3277659a9c4fa06c0)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.8`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.8) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.7...v0.35.8) #### v0.35.8 (2024-09-20) ##### Bug Fixes - **ClientRequest:** handle `Headers` without internal symbol ([#​641](https://redirect.github.com/mswjs/interceptors/issues/641)) ([`0ec83fc`](https://redirect.github.com/mswjs/interceptors/commit/0ec83fc392b3eef29224abbe66e34519c6b4b0ab)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.7`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.7) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.6...v0.35.7) #### v0.35.7 (2024-09-19) ##### Bug Fixes - **ClientRequest:** spy on `request.headers` used as init for request ([#​640](https://redirect.github.com/mswjs/interceptors/issues/640)) ([`ea9887e`](https://redirect.github.com/mswjs/interceptors/commit/ea9887ee4506061fe989d1d76b79af7e263b942b)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.6`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.6) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.5...v0.35.6) #### v0.35.6 (2024-09-15) ##### Bug Fixes - **ClientRequest:** prevent duplicates when recording set headers ([#​639](https://redirect.github.com/mswjs/interceptors/issues/639)) ([`8b75fd7`](https://redirect.github.com/mswjs/interceptors/commit/8b75fd77ed3993ba8e8e557be429707b15c277db)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.5`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.5) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.4...v0.35.5) #### v0.35.5 (2024-09-15) ##### Bug Fixes - **ClientRequest:** use `Object.defineProperty` when recording raw headers ([#​638](https://redirect.github.com/mswjs/interceptors/issues/638)) ([`399e149`](https://redirect.github.com/mswjs/interceptors/commit/399e149590f32cf362e149f93e7273605e425cd4)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.4`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.4) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.3...v0.35.4) #### v0.35.4 (2024-09-14) ##### Bug Fixes - **ClientRequest:** fix a custom agent context in `createConnection` ([#​636](https://redirect.github.com/mswjs/interceptors/issues/636)) ([`e3035f7`](https://redirect.github.com/mswjs/interceptors/commit/e3035f70756df03f5c0ff39a6ada620f4c8acdb2)) [@​tebriel](https://redirect.github.com/tebriel) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.3`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.3) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.2...v0.35.3) #### v0.35.3 (2024-09-13) ##### Bug Fixes - **xhr:** clone the request before calculating its body size ([#​632](https://redirect.github.com/mswjs/interceptors/issues/632)) ([`44276ef`](https://redirect.github.com/mswjs/interceptors/commit/44276ef50eda1cccd7dd18da07cb25f1d923425c)) [@​robbtraister](https://redirect.github.com/robbtraister) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.35.2`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.2) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.1...v0.35.2) #### v0.35.2 (2024-09-12) ##### Bug Fixes - use correct path for `_http_common` in tsconfig.json ([#​634](https://redirect.github.com/mswjs/interceptors/issues/634)) ([`0fff663`](https://redirect.github.com/mswjs/interceptors/commit/0fff663c548da73caa2481b1d97da193d6df299d)) [@​sjoleee](https://redirect.github.com/sjoleee) ### [`v0.35.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.35.0...v0.35.1) #### v0.35.1 (2024-09-10) ##### Bug Fixes - **fetch:** rebase relative redirect URL against `request.url` ([#​628](https://redirect.github.com/mswjs/interceptors/issues/628)) ([`1161c7b`](https://redirect.github.com/mswjs/interceptors/commit/1161c7be64e8381be4b859e0548f3d6d7f49c608)) [@​mikicho](https://redirect.github.com/mikicho) ### [`v0.35.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.35.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.34.3...v0.35.0) #### v0.35.0 (2024-09-08) ##### Features - **fetch:** support following redirect responses ([#​627](https://redirect.github.com/mswjs/interceptors/issues/627)) ([`7410d45`](https://redirect.github.com/mswjs/interceptors/commit/7410d45a919bacadc2995d6173f3f7e7340f6e50)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.34.3`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.34.3) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.34.2...v0.34.3) #### v0.34.3 (2024-08-13) ##### Bug Fixes - **ClientRequest:** use `urlToHttpOptions` from `node:url` ([#​618](https://redirect.github.com/mswjs/interceptors/issues/618)) ([`5a591ab`](https://redirect.github.com/mswjs/interceptors/commit/5a591ab37a37c8bceb6fc7df0c7506d42edd04d0)) [@​kettanaito](https://redirect.github.com/kettanaito) - **XMLHttpRequest:** calculate `total` length of response body ([#​616](https://redirect.github.com/mswjs/interceptors/issues/616)) ([`0c0a4f1`](https://redirect.github.com/mswjs/interceptors/commit/0c0a4f12d8ad8c3887b33f5e777b84310a34ad5c)) [@​kettanaito](https://redirect.github.com/kettanaito) [@​abhishekpaturkar](https://redirect.github.com/abhishekpaturkar) ### [`v0.34.2`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.34.2) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.34.1...v0.34.2) #### v0.34.2 (2024-08-09) ##### Bug Fixes - **XMLHttpRequest:** support request `upload` events ([#​613](https://redirect.github.com/mswjs/interceptors/issues/613)) ([`472bcbe`](https://redirect.github.com/mswjs/interceptors/commit/472bcbe4b6b7f0652da10eb647a3aaa898ad4f7c)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.34.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.34.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.34.0...v0.34.1) #### v0.34.1 (2024-08-06) ##### Bug Fixes - **WebSocket:** use 1011 as close `code` for unhandled interceptor errors ([#​612](https://redirect.github.com/mswjs/interceptors/issues/612)) ([`42daf43`](https://redirect.github.com/mswjs/interceptors/commit/42daf43056b25c0faefcbeb3b1a90f4b9335b3d8)) [@​kettanaito](https://redirect.github.com/kettanaito) - **WebSocket:** set `wasClean` to `true` on normal connection closures ([#​611](https://redirect.github.com/mswjs/interceptors/issues/611)) ([`94a390c`](https://redirect.github.com/mswjs/interceptors/commit/94a390c0444e91c65fa255013de421cd64b50ab8)) [@​kettanaito](https://redirect.github.com/kettanaito) - **WebSocket:** treat interceptor exceptions as closures with error ([#​609](https://redirect.github.com/mswjs/interceptors/issues/609)) ([`ca522a3`](https://redirect.github.com/mswjs/interceptors/commit/ca522a32c2966217749aaed7072bee58c7509b39)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.34.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.34.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.33.3...v0.34.0) #### v0.34.0 (2024-08-01) ##### Features - add `FetchInterceptor` to the `node` preset ([#​603](https://redirect.github.com/mswjs/interceptors/issues/603)) ([`d679a4d`](https://redirect.github.com/mswjs/interceptors/commit/d679a4de255094a66f35b0482542002543563dcb)) [@​mikicho](https://redirect.github.com/mikicho) [@​kettanaito](https://redirect.github.com/kettanaito) - **WebSocket:** support passthrough, correctly emit the `error` event ([#​608](https://redirect.github.com/mswjs/interceptors/issues/608)) ([`5d9d71e`](https://redirect.github.com/mswjs/interceptors/commit/5d9d71ee0339c3c59b569c32d387323d8bf2742b)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.33.3`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.33.3) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.33.2...v0.33.3) #### v0.33.3 (2024-07-31) ##### Bug Fixes - **WebSocket:** emit "error" event on `server` connection errors ([#​607](https://redirect.github.com/mswjs/interceptors/issues/607)) ([`67aebe5`](https://redirect.github.com/mswjs/interceptors/commit/67aebe5c34266032a0a5e9e34ee81e1a8803bda2)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.33.2`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.33.2) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.33.1...v0.33.2) #### v0.33.2 (2024-07-24) ##### Bug Fixes - support lowercase HTTP request methods ([#​605](https://redirect.github.com/mswjs/interceptors/issues/605)) ([`83e4b95`](https://redirect.github.com/mswjs/interceptors/commit/83e4b959f378b4f667478b3421d5fa90b62632e4)) [@​mikicho](https://redirect.github.com/mikicho) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.33.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.33.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.33.0...v0.33.1) #### v0.33.1 (2024-07-12) ##### Bug Fixes - **ClientRequest:** improve rawHeaders recording ([#​602](https://redirect.github.com/mswjs/interceptors/issues/602)) ([`5135505`](https://redirect.github.com/mswjs/interceptors/commit/51355054a08f97823341b0bff7aa2d46bda10083)) [@​mikicho](https://redirect.github.com/mikicho) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.33.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.33.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.32.2...v0.33.0) #### v0.33.0 (2024-07-11) > \[!WARNING] > This release contains **BREAKING CHANGES**. #####⚠️ BREAKING CHANGES - `request.respondWith()` has been deprecated in favor of `controller.respondWith()` ```diff interceptor.on('request', - ({ request }) => request.respondWith(new Response()), + ({ controller }) => controller.respondWith(new Response()) ``` The `request` instance exposed in the listener arguments is a raw, unmodified Fetch API `Request` instance representing the intercepted request. ##### Features - implement a `RequestController` class ([#​595](https://redirect.github.com/mswjs/interceptors/issues/595)) ([`73dd07a`](https://redirect.github.com/mswjs/interceptors/commit/73dd07a7415ac706f9db74237fde8fe63dc83471)) [@​kettanaito](https://redirect.github.com/kettanaito) - support for erroring requests using `controller.errorWith(error)` ### [`v0.32.2`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.32.2) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.32.1...v0.32.2) #### v0.32.2 (2024-07-11) ##### Bug Fixes - **ClientRequest:** support "rawHeaders" in Fetch API Headers ([#​598](https://redirect.github.com/mswjs/interceptors/issues/598)) ([`4660558`](https://redirect.github.com/mswjs/interceptors/commit/4660558f27e610063ff204ccf4a7595082040a0b)) [@​kettanaito](https://redirect.github.com/kettanaito) [@​mikicho](https://redirect.github.com/mikicho) ### [`v0.32.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.32.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.32.0...v0.32.1) #### v0.32.1 (2024-07-06) ##### Bug Fixes - **ClientRequest:** destroy socket when destroying IncomingMessage ([#​597](https://redirect.github.com/mswjs/interceptors/issues/597)) ([`8f041da`](https://redirect.github.com/mswjs/interceptors/commit/8f041dad5d8fc5e295dcbcf28b9fcd9083f792d5)) [@​kettanaito](https://redirect.github.com/kettanaito) - **ClientRequest:** use `ServerResponse` to build the HTTP response string ([#​596](https://redirect.github.com/mswjs/interceptors/issues/596)) ([`fedac45`](https://redirect.github.com/mswjs/interceptors/commit/fedac459da51f5cea2469dca7ccbc25d039398c0)) [@​mikicho](https://redirect.github.com/mikicho) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.32.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.32.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.31.1...v0.32.0) #### v0.32.0 (2024-07-04) ##### Features - **ClientRequest:** use net.Socket interceptor ([#​515](https://redirect.github.com/mswjs/interceptors/issues/515)) ([`77a6996`](https://redirect.github.com/mswjs/interceptors/commit/77a699696347c3dd18ef420564351ccc7642c8c9)) [@​kettanaito](https://redirect.github.com/kettanaito) [@​mikicho](https://redirect.github.com/mikicho) ### [`v0.31.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.31.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.31.0...v0.31.1) #### v0.31.1 (2024-07-04) ##### Bug Fixes - **ClientRequest:** return correct boolean from `.emit()` proxy ([#​593](https://redirect.github.com/mswjs/interceptors/issues/593)) ([`5e09252`](https://redirect.github.com/mswjs/interceptors/commit/5e09252d044c6c78bec1bf270869a0454b0cf371)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.31.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.31.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.30.1...v0.31.0) #### v0.31.0 (2024-07-04) ##### Features - **ClientRequest:** await response listeners before emitting the "end" response event ([#​591](https://redirect.github.com/mswjs/interceptors/issues/591)) ([`f68e0b6`](https://redirect.github.com/mswjs/interceptors/commit/f68e0b61faa9bae302b245e389cf5a08ba7e3bf7)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.30.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.30.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.30.0...v0.30.1) #### v0.30.1 (2024-07-02) ##### Bug Fixes - **ClientRequest:** account for missing `agent.destroy` when terminating a request ([#​585](https://redirect.github.com/mswjs/interceptors/issues/585)) ([`1226eb7`](https://redirect.github.com/mswjs/interceptors/commit/1226eb773f487268cbaef6e035e2f0e9f402bce9)) [@​freben](https://redirect.github.com/freben) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v0.30.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.30.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.29.1...v0.30.0) #### v0.30.0 (2024-06-06) ##### Features - **WebSocket:** add connection "info" to the "connection" event payload ([#​577](https://redirect.github.com/mswjs/interceptors/issues/577)) ([`8c633ad`](https://redirect.github.com/mswjs/interceptors/commit/8c633adc2e047153398e72d1c7cdd9778157f50c)) [@​DanielleHuisman](https://redirect.github.com/DanielleHuisman) [@​kettanaito](https://redirect.github.com/kettanaito) ##### Bug Fixes - set "WebSocket.protocol" to an empty string by default ([#​578](https://redirect.github.com/mswjs/interceptors/issues/578)) ([`87ae1e3`](https://redirect.github.com/mswjs/interceptors/commit/87ae1e382e87c6a481e7b29760ad5e9500b5aa0b)) [@​DanielleHuisman](https://redirect.github.com/DanielleHuisman) ### [`v0.29.1`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.29.1) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.29.0...v0.29.1) #### v0.29.1 (2024-04-29) ##### Bug Fixes - **ClientRequest:** decode uri for username and password before setting basic authentication header ([#​565](https://redirect.github.com/mswjs/interceptors/issues/565)) ([`2cb46d7`](https://redirect.github.com/mswjs/interceptors/commit/2cb46d75d9111bc7a86cfdc12cc2e1306f3c6f3e)) [@​kettanaito](https://redirect.github.com/kettanaito) [@​mdesousa](https://redirect.github.com/mdesousa) ### [`v0.29.0`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.29.0) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.28.4...v0.29.0) #### v0.29.0 (2024-04-26) ##### Features - add "unhandledException" event ([#​566](https://redirect.github.com/mswjs/interceptors/issues/566)) ([`a3afcf1`](https://redirect.github.com/mswjs/interceptors/commit/a3afcf1a01464c18e96489366ca41ed887d16405)) [@​kettanaito](https://redirect.github.com/kettanaito) ##### Bug Fixes - support IPv6 during ClientRequest options parsing ([#​489](https://redirect.github.com/mswjs/interceptors/issues/489)) ([`8652556`](https://redirect.github.com/mswjs/interceptors/commit/8652556913f95f304690bbf0d067f7cec99de8ea)) [@​mikicho](https://redirect.github.com/mikicho) ### [`v0.28.4`](https://redirect.github.com/mswjs/interceptors/releases/tag/v0.28.4) [Compare Source](https://redirect.github.com/mswjs/interceptors/compare/v0.28.3...v0.28.4) #### v0.28.4 (2024-04-21) ##### Bug Fixes - support throwing `Response.error()` ([#​563](https://redirect.github.com/mswjs/interceptors/issues/563)) ([`9dda725`](https://redirect.github.com/mswjs/interceptors/commit/9dda7255775984ecbb7133d7e0f309948252857e)) [@​kettanaito](https://redirect.github.com/kettanaito) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
- Loading branch information