ChristopherChudzicki / math3d-next

6 stars 0 forks source link

Update dependency msw to v2.4.2 #784

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
msw (source) 2.2.13 -> 2.4.2 age adoption passing confidence

Release Notes

mswjs/msw (msw) ### [`v2.4.2`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.2) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.4.1...v2.4.2) #### v2.4.2 (2024-09-04) ##### Bug Fixes - **cli:** support windows paths in the `init` command ([#​2260](https://redirect.github.com/mswjs/msw/issues/2260)) ([`ba285b8`](https://redirect.github.com/mswjs/msw/commit/ba285b887cedfa22f32ae1e8d6569e57174cb561)) [@​ivanfernandez2646](https://redirect.github.com/ivanfernandez2646) [@​kettanaito](https://redirect.github.com/kettanaito) - use typescript@4.8 as the minimal supported version ([#​2251](https://redirect.github.com/mswjs/msw/issues/2251)) ([`6b2a7e6`](https://redirect.github.com/mswjs/msw/commit/6b2a7e6be8f9b63c2549ad7fbf271d38f803ad6e)) [@​THETCR](https://redirect.github.com/THETCR) [@​kettanaito](https://redirect.github.com/kettanaito) - keep `graphql` import as require in cjs ([#​2258](https://redirect.github.com/mswjs/msw/issues/2258)) ([`b977602`](https://redirect.github.com/mswjs/msw/commit/b97760270b28bd633b56332d87a9d834f653cad2)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v2.4.1`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.1) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.4.0...v2.4.1) #### v2.4.1 (2024-08-29) ##### Bug Fixes - import `graphql` lazily ([#​2250](https://redirect.github.com/mswjs/msw/issues/2250)) ([`1799e06`](https://redirect.github.com/mswjs/msw/commit/1799e0638f0f860c19ba46db7c4287012f2cb716)) [@​kettanaito](https://redirect.github.com/kettanaito) - add `graphql` to "peerDependencies" ([#​2249](https://redirect.github.com/mswjs/msw/issues/2249)) ([`8a9568a`](https://redirect.github.com/mswjs/msw/commit/8a9568ad4593b662a8c320bb1a02b380791a1696)) [@​THETCR](https://redirect.github.com/THETCR) ### [`v2.4.0`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.0) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.3.5...v2.4.0) #### v2.4.0 (2024-08-28) ##### Features - add `HttpResponse.html()` static method ([#​2140](https://redirect.github.com/mswjs/msw/issues/2140)) ([`8c5580a`](https://redirect.github.com/mswjs/msw/commit/8c5580a0e2e6e52785b0132128c36d679ddbe5d5)) [@​scruffymongrel](https://redirect.github.com/scruffymongrel) [@​kettanaito](https://redirect.github.com/kettanaito) - list "graphql" as an optional peer dependency ([#​2187](https://redirect.github.com/mswjs/msw/issues/2187)) ([`40b17fd`](https://redirect.github.com/mswjs/msw/commit/40b17fdf655e597b352094527f558f6d839f2970)) [@​kettanaito](https://redirect.github.com/kettanaito) - print request body in `onUnhandledRequest` message ([#​2227](https://redirect.github.com/mswjs/msw/issues/2227)) ([`a2153c9`](https://redirect.github.com/mswjs/msw/commit/a2153c93edd752d7c5686573f684721b19f0a115)) [@​bitttttten](https://redirect.github.com/bitttttten) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v2.3.5`](https://redirect.github.com/mswjs/msw/releases/tag/v2.3.5) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.3.4...v2.3.5) #### v2.3.5 (2024-08-02) ##### Bug Fixes - **HttpResponse:** skip setting "Content-Length" if it is already set ([#​2228](https://redirect.github.com/mswjs/msw/issues/2228)) ([`a0234c9`](https://redirect.github.com/mswjs/msw/commit/a0234c9abebada6f66f8a14dfa04bf2aac6e6dcf)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v2.3.4`](https://redirect.github.com/mswjs/msw/releases/tag/v2.3.4) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.3.3...v2.3.4) #### v2.3.4 (2024-07-23) ##### Bug Fixes - **cookieStore:** remove left-over `console.log` ([#​2217](https://redirect.github.com/mswjs/msw/issues/2217)) ([`00fdbb2`](https://redirect.github.com/mswjs/msw/commit/00fdbb265dbb5cf0f9f89bd91b546966463535a4)) [@​Lalem001](https://redirect.github.com/Lalem001) ### [`v2.3.3`](https://redirect.github.com/mswjs/msw/releases/tag/v2.3.3) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.3.2...v2.3.3) #### v2.3.3 (2024-07-23) ##### Bug Fixes - implement cookie persistence using `tough-cookie` ([#​2206](https://redirect.github.com/mswjs/msw/issues/2206)) ([`c30613c`](https://redirect.github.com/mswjs/msw/commit/c30613c2ba1df0c3f2575051ddb3eb42f1744f69)) [@​kettanaito](https://redirect.github.com/kettanaito) - support async generators as response resolvers ([#​2108](https://redirect.github.com/mswjs/msw/issues/2108)) ([`d38fc3d`](https://redirect.github.com/mswjs/msw/commit/d38fc3dd6437ef6503c1ad62bf853b5ca800179c)) [@​kettanaito](https://redirect.github.com/kettanaito) [@​jakebailey](https://redirect.github.com/jakebailey) ### [`v2.3.2`](https://redirect.github.com/mswjs/msw/releases/tag/v2.3.2) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.3.1...v2.3.2) #### v2.3.2 (2024-07-19) ##### Bug Fixes - support typescript@5.5 (deprecate v4.7) ([#​2190](https://redirect.github.com/mswjs/msw/issues/2190)) ([`7df2533`](https://redirect.github.com/mswjs/msw/commit/7df2533c183bb73b176863fee5101ade69c16fea)) [@​KaiSpencer](https://redirect.github.com/KaiSpencer) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v2.3.1`](https://redirect.github.com/mswjs/msw/releases/tag/v2.3.1) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.3.0...v2.3.1) #### v2.3.1 (2024-06-01) ##### Bug Fixes - preserve trailing optional path parameters ([#​2169](https://redirect.github.com/mswjs/msw/issues/2169)) ([`e69bbd6`](https://redirect.github.com/mswjs/msw/commit/e69bbd6fda7c7997b523457b644440889e68d994)) [@​kettanaito](https://redirect.github.com/kettanaito) [@​KaiSpencer](https://redirect.github.com/KaiSpencer) ### [`v2.3.0`](https://redirect.github.com/mswjs/msw/releases/tag/v2.3.0) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.2.14...v2.3.0) #### v2.3.0 (2024-05-08) > \[!WARNING] > This release changes how MSW treats unhandled exceptions in response resolvers. Previously, they were treated as request errors. Starting with this release, unhandled resolver exceptions will be coerced to `500 Unhandled Exception` mocked error responses produced by the library. Please note that **you must not intentionally throw errors in your resolvers**. Please use [`Response.error()`](https://mswjs.io/docs/basics/mocking-responses#mocking-network-errors) to mock request/network errors. Unhandled exceptions are considered unintended and will be treated as if they happen on the actual server. ##### Features - treat unhandled exceptions in handlers as 500 error responses ([#​2135](https://redirect.github.com/mswjs/msw/issues/2135)) ([`5191399`](https://redirect.github.com/mswjs/msw/commit/519139924639a0135169210a0d9c5cd0a0d3e994)) [@​kettanaito](https://redirect.github.com/kettanaito) - prioritize the `node` export when importing `msw/node` ([#​2134](https://redirect.github.com/mswjs/msw/issues/2134), transitively through [@​mswjs/interceptors](https://redirect.github.com/mswjs/interceptors)). - add a new `unhandledException` event ([#​2135](https://redirect.github.com/mswjs/msw/issues/2135), [docs](https://mswjs.io/docs/api/life-cycle-events#unhandledexception)). ```js server.events.on('unhandledException', ({ request, error }) => { console.log('%s %s errored! See details below.', request.method, request.url) console.error(error) }) ``` ##### Bug Fixes - **Disposable:** make the ".dispose()" method synchronous ([#​2144](https://redirect.github.com/mswjs/msw/issues/2144)) ([`686d3d6`](https://redirect.github.com/mswjs/msw/commit/686d3d668f7b76cbf26f75c990fded5e4fd298da)) [@​kettanaito](https://redirect.github.com/kettanaito) ### [`v2.2.14`](https://redirect.github.com/mswjs/msw/releases/tag/v2.2.14) [Compare Source](https://redirect.github.com/mswjs/msw/compare/v2.2.13...v2.2.14) #### v2.2.14 (2024-04-17) ##### Bug Fixes - preserve search params in "onUnhandledRequest" messages ([#​2128](https://redirect.github.com/mswjs/msw/issues/2128)) ([`64bcae7`](https://redirect.github.com/mswjs/msw/commit/64bcae7c27dfd36a35723a323c29cf0f5138a81c)) [@​nagadevkrishna](https://redirect.github.com/nagadevkrishna) [@​kettanaito](https://redirect.github.com/kettanaito) - give `node` export condition higher priority ([#​2134](https://redirect.github.com/mswjs/msw/issues/2134)) ([`f948d13`](https://redirect.github.com/mswjs/msw/commit/f948d13d2df85efa8d276396e1e60da235523a0e)) [@​phryneas](https://redirect.github.com/phryneas)

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.