Skip to content

Commit

Permalink
Update dependency @mswjs/interceptors to v0.33.1 (#2267)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mswjs/interceptors](https://togithub.com/mswjs/interceptors) | [`0.33.0` -> `0.33.1`](https://renovatebot.com/diffs/npm/@mswjs%2finterceptors/0.28.3/0.33.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mswjs%2finterceptors/0.33.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mswjs%2finterceptors/0.33.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mswjs%2finterceptors/0.28.3/0.33.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mswjs%2finterceptors/0.28.3/0.33.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mswjs/interceptors (@&#8203;mswjs/interceptors)</summary>

### [`v0.33.1`](https://togithub.com/mswjs/interceptors/releases/tag/v0.33.1)

[Compare Source](https://togithub.com/mswjs/interceptors/compare/v0.33.0...v0.33.1)

#### v0.33.1 (2024-07-12)

##### Bug Fixes

-   **ClientRequest:** improve rawHeaders recording ([#&#8203;602](https://togithub.com/mswjs/interceptors/issues/602)) ([`5135505`](https://togithub.com/mswjs/interceptors/commit/51355054a08f97823341b0bff7aa2d46bda10083)) [@&#8203;mikicho](https://togithub.com/mikicho) [@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v0.33.0`](https://togithub.com/mswjs/interceptors/releases/tag/v0.33.0)

[Compare Source](https://togithub.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 ([#&#8203;595](https://togithub.com/mswjs/interceptors/issues/595)) ([`73dd07a`](https://togithub.com/mswjs/interceptors/commit/73dd07a7415ac706f9db74237fde8fe63dc83471)) [@&#8203;kettanaito](https://togithub.com/kettanaito)
-   support for erroring requests using `controller.errorWith(error)`

### [`v0.32.2`](https://togithub.com/mswjs/interceptors/releases/tag/v0.32.2)

[Compare Source](https://togithub.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 ([#&#8203;598](https://togithub.com/mswjs/interceptors/issues/598)) ([`4660558`](https://togithub.com/mswjs/interceptors/commit/4660558f27e610063ff204ccf4a7595082040a0b)) [@&#8203;kettanaito](https://togithub.com/kettanaito) [@&#8203;mikicho](https://togithub.com/mikicho)

### [`v0.32.1`](https://togithub.com/mswjs/interceptors/releases/tag/v0.32.1)

[Compare Source](https://togithub.com/mswjs/interceptors/compare/v0.32.0...v0.32.1)

#### v0.32.1 (2024-07-06)

##### Bug Fixes

-   **ClientRequest:** destroy socket when destroying IncomingMessage ([#&#8203;597](https://togithub.com/mswjs/interceptors/issues/597)) ([`8f041da`](https://togithub.com/mswjs/interceptors/commit/8f041dad5d8fc5e295dcbcf28b9fcd9083f792d5)) [@&#8203;kettanaito](https://togithub.com/kettanaito)
-   **ClientRequest:** use `ServerResponse` to build the HTTP response string ([#&#8203;596](https://togithub.com/mswjs/interceptors/issues/596)) ([`fedac45`](https://togithub.com/mswjs/interceptors/commit/fedac459da51f5cea2469dca7ccbc25d039398c0)) [@&#8203;mikicho](https://togithub.com/mikicho) [@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v0.32.0`](https://togithub.com/mswjs/interceptors/releases/tag/v0.32.0)

[Compare Source](https://togithub.com/mswjs/interceptors/compare/v0.31.1...v0.32.0)

#### v0.32.0 (2024-07-04)

##### Features

-   **ClientRequest:** use net.Socket interceptor ([#&#8203;515](https://togithub.com/mswjs/interceptors/issues/515)) ([`77a6996`](https://togithub.com/mswjs/interceptors/commit/77a699696347c3dd18ef420564351ccc7642c8c9)) [@&#8203;kettanaito](https://togithub.com/kettanaito) [@&#8203;mikicho](https://togithub.com/mikicho)

### [`v0.31.1`](https://togithub.com/mswjs/interceptors/releases/tag/v0.31.1)

[Compare Source](https://togithub.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 ([#&#8203;593](https://togithub.com/mswjs/interceptors/issues/593)) ([`5e09252`](https://togithub.com/mswjs/interceptors/commit/5e09252d044c6c78bec1bf270869a0454b0cf371)) [@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v0.31.0`](https://togithub.com/mswjs/interceptors/releases/tag/v0.31.0)

[Compare Source](https://togithub.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 ([#&#8203;591](https://togithub.com/mswjs/interceptors/issues/591)) ([`f68e0b6`](https://togithub.com/mswjs/interceptors/commit/f68e0b61faa9bae302b245e389cf5a08ba7e3bf7)) [@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v0.30.1`](https://togithub.com/mswjs/interceptors/releases/tag/v0.30.1)

[Compare Source](https://togithub.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 ([#&#8203;585](https://togithub.com/mswjs/interceptors/issues/585)) ([`1226eb7`](https://togithub.com/mswjs/interceptors/commit/1226eb773f487268cbaef6e035e2f0e9f402bce9)) [@&#8203;freben](https://togithub.com/freben) [@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v0.30.0`](https://togithub.com/mswjs/interceptors/releases/tag/v0.30.0)

[Compare Source](https://togithub.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 ([#&#8203;577](https://togithub.com/mswjs/interceptors/issues/577)) ([`8c633ad`](https://togithub.com/mswjs/interceptors/commit/8c633adc2e047153398e72d1c7cdd9778157f50c)) [@&#8203;DanielleHuisman](https://togithub.com/DanielleHuisman) [@&#8203;kettanaito](https://togithub.com/kettanaito)

##### Bug Fixes

-   set "WebSocket.protocol" to an empty string by default ([#&#8203;578](https://togithub.com/mswjs/interceptors/issues/578)) ([`87ae1e3`](https://togithub.com/mswjs/interceptors/commit/87ae1e382e87c6a481e7b29760ad5e9500b5aa0b)) [@&#8203;DanielleHuisman](https://togithub.com/DanielleHuisman)

### [`v0.29.1`](https://togithub.com/mswjs/interceptors/releases/tag/v0.29.1)

[Compare Source](https://togithub.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 ([#&#8203;565](https://togithub.com/mswjs/interceptors/issues/565)) ([`2cb46d7`](https://togithub.com/mswjs/interceptors/commit/2cb46d75d9111bc7a86cfdc12cc2e1306f3c6f3e)) [@&#8203;kettanaito](https://togithub.com/kettanaito) [@&#8203;mdesousa](https://togithub.com/mdesousa)

### [`v0.29.0`](https://togithub.com/mswjs/interceptors/releases/tag/v0.29.0)

[Compare Source](https://togithub.com/mswjs/interceptors/compare/v0.28.4...v0.29.0)

##### v0.29.0 (2024-04-26)

##### Features

-   add "unhandledException" event ([#&#8203;566](https://togithub.com/mswjs/interceptors/issues/566)) ([`a3afcf1`](https://togithub.com/mswjs/interceptors/commit/a3afcf1a01464c18e96489366ca41ed887d16405)) [@&#8203;kettanaito](https://togithub.com/kettanaito)

##### Bug Fixes

-   support IPv6 during ClientRequest options parsing ([#&#8203;489](https://togithub.com/mswjs/interceptors/issues/489)) ([`8652556`](https://togithub.com/mswjs/interceptors/commit/8652556913f95f304690bbf0d067f7cec99de8ea)) [@&#8203;mikicho](https://togithub.com/mikicho)

### [`v0.28.4`](https://togithub.com/mswjs/interceptors/releases/tag/v0.28.4)

[Compare Source](https://togithub.com/mswjs/interceptors/compare/v0.28.3...v0.28.4)

##### v0.28.4 (2024-04-21)

##### Bug Fixes

-   support throwing `Response.error()` ([#&#8203;563](https://togithub.com/mswjs/interceptors/issues/563)) ([`9dda725`](https://togithub.com/mswjs/interceptors/commit/9dda7255775984ecbb7133d7e0f309948252857e)) [@&#8203;kettanaito](https://togithub.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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
  • Loading branch information
renovate[bot] authored Jul 15, 2024
1 parent 5ecd144 commit e19a066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"@hapi/accept": "6.0.3",
"@jest/transform": "29.7.0",
"@jest/types": "29.6.3",
"@mswjs/interceptors": "0.33.0",
"@mswjs/interceptors": "0.33.1",
"@napi-rs/cli": "2.18.4",
"@napi-rs/triples": "1.2.0",
"@next/polyfill-module": "13.4.17",
Expand Down

0 comments on commit e19a066

Please sign in to comment.