monstar-lab-oss / ml-frontend

A monorepo created to provide a starter kit for front-end projects at Monstar Lab, Inc.
https://www.npmjs.com/package/start-frontend
Mozilla Public License 2.0
14 stars 1 forks source link

fix(deps): update dependency msw to v2 #1335

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
msw (source) 1.0.0 -> 2.3.5 age adoption passing confidence
msw (source) 1.3.1 -> 2.3.5 age adoption passing confidence

Release Notes

mswjs/msw (msw) ### [`v2.3.5`](https://togithub.com/mswjs/msw/releases/tag/v2.3.5) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2228)) ([`a0234c9`](https://togithub.com/mswjs/msw/commit/a0234c9abebada6f66f8a14dfa04bf2aac6e6dcf)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.3.4`](https://togithub.com/mswjs/msw/releases/tag/v2.3.4) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2217)) ([`00fdbb2`](https://togithub.com/mswjs/msw/commit/00fdbb265dbb5cf0f9f89bd91b546966463535a4)) [@​Lalem001](https://togithub.com/Lalem001) ### [`v2.3.3`](https://togithub.com/mswjs/msw/releases/tag/v2.3.3) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2206)) ([`c30613c`](https://togithub.com/mswjs/msw/commit/c30613c2ba1df0c3f2575051ddb3eb42f1744f69)) [@​kettanaito](https://togithub.com/kettanaito) - support async generators as response resolvers ([#​2108](https://togithub.com/mswjs/msw/issues/2108)) ([`d38fc3d`](https://togithub.com/mswjs/msw/commit/d38fc3dd6437ef6503c1ad62bf853b5ca800179c)) [@​kettanaito](https://togithub.com/kettanaito) [@​jakebailey](https://togithub.com/jakebailey) ### [`v2.3.2`](https://togithub.com/mswjs/msw/releases/tag/v2.3.2) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2190)) ([`7df2533`](https://togithub.com/mswjs/msw/commit/7df2533c183bb73b176863fee5101ade69c16fea)) [@​KaiSpencer](https://togithub.com/KaiSpencer) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.3.1`](https://togithub.com/mswjs/msw/releases/tag/v2.3.1) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2169)) ([`e69bbd6`](https://togithub.com/mswjs/msw/commit/e69bbd6fda7c7997b523457b644440889e68d994)) [@​kettanaito](https://togithub.com/kettanaito) [@​KaiSpencer](https://togithub.com/KaiSpencer) ### [`v2.3.0`](https://togithub.com/mswjs/msw/releases/tag/v2.3.0) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2135)) ([`5191399`](https://togithub.com/mswjs/msw/commit/519139924639a0135169210a0d9c5cd0a0d3e994)) [@​kettanaito](https://togithub.com/kettanaito) - prioritize the `node` export when importing `msw/node` ([#​2134](https://togithub.com/mswjs/msw/issues/2134), transitively through [@​mswjs/interceptors](https://togithub.com/mswjs/interceptors)). - add a new `unhandledException` event ([#​2135](https://togithub.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://togithub.com/mswjs/msw/issues/2144)) ([`686d3d6`](https://togithub.com/mswjs/msw/commit/686d3d668f7b76cbf26f75c990fded5e4fd298da)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.14`](https://togithub.com/mswjs/msw/releases/tag/v2.2.14) [Compare Source](https://togithub.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://togithub.com/mswjs/msw/issues/2128)) ([`64bcae7`](https://togithub.com/mswjs/msw/commit/64bcae7c27dfd36a35723a323c29cf0f5138a81c)) [@​nagadevkrishna](https://togithub.com/nagadevkrishna) [@​kettanaito](https://togithub.com/kettanaito) - give `node` export condition higher priority ([#​2134](https://togithub.com/mswjs/msw/issues/2134)) ([`f948d13`](https://togithub.com/mswjs/msw/commit/f948d13d2df85efa8d276396e1e60da235523a0e)) [@​phryneas](https://togithub.com/phryneas) ### [`v2.2.13`](https://togithub.com/mswjs/msw/releases/tag/v2.2.13) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.12...v2.2.13) ##### v2.2.13 (2024-03-27) ##### Bug Fixes - use `createRequestId()` instead of `crypto.randomUUID()` ([#​2113](https://togithub.com/mswjs/msw/issues/2113)) ([`8f2be77`](https://togithub.com/mswjs/msw/commit/8f2be77627b94318e6c2e6d6eee38fc49558c6d9)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.12`](https://togithub.com/mswjs/msw/releases/tag/v2.2.12) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.11...v2.2.12) #### v2.2.12 (2024-03-27) ##### Bug Fixes - do not mutate user-defined "X-Request-Id" request header ([#​2110](https://togithub.com/mswjs/msw/issues/2110)) ([`64b6ba5`](https://togithub.com/mswjs/msw/commit/64b6ba516123d655e82d164e8ed1bb1f75b8cff8)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.11`](https://togithub.com/mswjs/msw/releases/tag/v2.2.11) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.10...v2.2.11) #### v2.2.11 (2024-03-26) ##### Bug Fixes - accept a narrower response body type by default ([#​2107](https://togithub.com/mswjs/msw/issues/2107)) ([`d35ef92`](https://togithub.com/mswjs/msw/commit/d35ef92d0fe07831fb2aaa46050fabf27d3aa709)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.10`](https://togithub.com/mswjs/msw/releases/tag/v2.2.10) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.9...v2.2.10) ##### v2.2.10 (2024-03-22) ##### Bug Fixes - feature "new URL()" in the redundant query params warning ([#​2102](https://togithub.com/mswjs/msw/issues/2102)) ([`9af301a`](https://togithub.com/mswjs/msw/commit/9af301a7ea593642cc7b6d46f3685cf2ff9f2b58)) [@​psjostrom](https://togithub.com/psjostrom) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.9`](https://togithub.com/mswjs/msw/releases/tag/v2.2.9) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.8...v2.2.9) #### v2.2.9 (2024-03-20) ##### Bug Fixes - properly infer parameter and return types in `server.boundary()` ([#​2101](https://togithub.com/mswjs/msw/issues/2101)) ([`1370736`](https://togithub.com/mswjs/msw/commit/1370736580b5c2a37127359b79433ca4e9b20c79)) [@​Andarist](https://togithub.com/Andarist) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.8`](https://togithub.com/mswjs/msw/releases/tag/v2.2.8) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.7...v2.2.8) ##### v2.2.8 (2024-03-19) ##### Bug Fixes - **setupWorker:** remove left-over console.log() ([#​2099](https://togithub.com/mswjs/msw/issues/2099)) ([`cf97991`](https://togithub.com/mswjs/msw/commit/cf979915aab2ed1759c6c05a6eb5e038fc0dcb2a)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.7`](https://togithub.com/mswjs/msw/releases/tag/v2.2.7) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.6...v2.2.7) #### v2.2.7 (2024-03-18) ##### Bug Fixes - resolve "~/core" import for .d.mts modules ([#​2095](https://togithub.com/mswjs/msw/issues/2095)) ([`7cdbd1a`](https://togithub.com/mswjs/msw/commit/7cdbd1a2c4e02c11ba22e50b50ee042228d00f92)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.6`](https://togithub.com/mswjs/msw/releases/tag/v2.2.6) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.5...v2.2.6) #### v2.2.6 (2024-03-17) ##### Bug Fixes - **setupWorker:** emit the correct life-cycle events for bypassed requests ([#​2094](https://togithub.com/mswjs/msw/issues/2094)) ([`c485989`](https://togithub.com/mswjs/msw/commit/c485989df15962fb02a36fd85654228719f8fed7)) [@​kettanaito](https://togithub.com/kettanaito) - **bypass:** support modifying the bypassed request ([#​2093](https://togithub.com/mswjs/msw/issues/2093)) ([`2c8570b`](https://togithub.com/mswjs/msw/commit/2c8570b7130e2d98f4461ef144e171ac4aa2b8f3)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.5`](https://togithub.com/mswjs/msw/releases/tag/v2.2.5) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.4...v2.2.5) #### v2.2.5 (2024-03-17) ##### Bug Fixes - improve the worker integrity warning ([#​2091](https://togithub.com/mswjs/msw/issues/2091)) ([`e749355`](https://togithub.com/mswjs/msw/commit/e7493557e1c4d9ecece11cd45d29472c90c28426)) [@​kettanaito](https://togithub.com/kettanaito) - make worker integrity mismatch a warning ([#​2090](https://togithub.com/mswjs/msw/issues/2090)) ([`a0f8021`](https://togithub.com/mswjs/msw/commit/a0f8021ccf16565e772b81b1c70bebdba6d1df58)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.4`](https://togithub.com/mswjs/msw/releases/tag/v2.2.4) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.3...v2.2.4) #### v2.2.4 (2024-03-16) ##### Bug Fixes - resolve "[@​inquirer/confim](https://togithub.com/inquirer/confim)" default export ([#​2088](https://togithub.com/mswjs/msw/issues/2088)) ([`93d9f86`](https://togithub.com/mswjs/msw/commit/93d9f86a0c7cab6afd19a35ff1960c4d983844f8)) [@​kettanaito](https://togithub.com/kettanaito) - parse "Set-Cookie" response header with commas correctly ([#​2075](https://togithub.com/mswjs/msw/issues/2075)) ([`23c16e6`](https://togithub.com/mswjs/msw/commit/23c16e69e2c293c563e9665930182296fd0e5bad)) [@​ushiboy](https://togithub.com/ushiboy) ### [`v2.2.3`](https://togithub.com/mswjs/msw/releases/tag/v2.2.3) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.2...v2.2.3) #### v2.2.3 (2024-03-08) ##### Bug Fixes - remove the upper range for `typescript` peer dependency ([#​2077](https://togithub.com/mswjs/msw/issues/2077)) ([`07cc073`](https://togithub.com/mswjs/msw/commit/07cc073f0ddd46333de4ba42d3dc0dd2d01925b6)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.2`](https://togithub.com/mswjs/msw/releases/tag/v2.2.2) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.1...v2.2.2) #### v2.2.2 (2024-02-28) ##### Bug Fixes - set correct "Content-Length" response header for special characters ([#​2045](https://togithub.com/mswjs/msw/issues/2045)) ([#​2046](https://togithub.com/mswjs/msw/issues/2046)) ([`eb3e284`](https://togithub.com/mswjs/msw/commit/eb3e284a3e27956987854d23878aa4ea11c56dde)) [@​ZeroCho](https://togithub.com/ZeroCho) ### [`v2.2.1`](https://togithub.com/mswjs/msw/releases/tag/v2.2.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.0...v2.2.1) #### v2.2.1 (2024-02-17) ##### Bug Fixes - remove unused types ([#​2043](https://togithub.com/mswjs/msw/issues/2043)) ([`a78d57d`](https://togithub.com/mswjs/msw/commit/a78d57d3e917d9b5ee4ac98e6851a3ab504ccd1a)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.2.0`](https://togithub.com/mswjs/msw/releases/tag/v2.2.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.7...v2.2.0) #### v2.2.0 (2024-02-12) ##### Features - **support concurrent test runs via "server.boundary"** ([announcement](https://mswjs.io/blog/introducing-server-boundary), [#​2000](https://togithub.com/mswjs/msw/issues/2000)) ([`450e7bc`](https://togithub.com/mswjs/msw/commit/450e7bc72e7a9315053b50c450621ab037ddc5f6)) [@​kettanaito](https://togithub.com/kettanaito) - automatically set "Content-Length" on text/json responses ([#​1996](https://togithub.com/mswjs/msw/issues/1996)) ([`a957235`](https://togithub.com/mswjs/msw/commit/a95723520939d2ec7a588b59197e7823d0c89c94)) [@​kettanaito](https://togithub.com/kettanaito) - add `msw/core/http` and `msw/core/graphql` export paths ([#​2004](https://togithub.com/mswjs/msw/issues/2004)) ([`31442cf`](https://togithub.com/mswjs/msw/commit/31442cfc9571cbc36a5b9d8b8ce8d54d61bfaeee)) [@​thepassle](https://togithub.com/thepassle) [@​kettanaito](https://togithub.com/kettanaito) - drop webpack 4 support (remove "chokidar") ([#​2021](https://togithub.com/mswjs/msw/issues/2021)) ([`a076142`](https://togithub.com/mswjs/msw/commit/a0761424c6b59b54e70840e5d74f789f8a8fa6e6)) [@​sairus2k](https://togithub.com/sairus2k) [@​kettanaito](https://togithub.com/kettanaito) - use a lightweight "[@​inquirer/confirm](https://togithub.com/inquirer/confirm)" in the CLI ([#​2020](https://togithub.com/mswjs/msw/issues/2020)) ([`f25af8a`](https://togithub.com/mswjs/msw/commit/f25af8a1e5379a723fe7bf0655bb8d8dc7ca1961)) [@​sairus2k](https://togithub.com/sairus2k) [@​kettanaito](https://togithub.com/kettanaito) ##### Bug Fixes - **setupWorker:** set "response.url" in "response:\*" events ([#​2031](https://togithub.com/mswjs/msw/issues/2031)) ([`0e9d65f`](https://togithub.com/mswjs/msw/commit/0e9d65ffbfb1f83a47c7dc2fcb2c885cbbf5d2ac)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.1.7`](https://togithub.com/mswjs/msw/releases/tag/v2.1.7) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.6...v2.1.7) #### v2.1.7 (2024-02-06) ##### Bug Fixes - support intercepting fetch requests in React Native ([#​2017](https://togithub.com/mswjs/msw/issues/2017)) ([`e430795`](https://togithub.com/mswjs/msw/commit/e4307954722980a6d3320c79ab5398ad8084f37b)) [@​sairus2k](https://togithub.com/sairus2k) [@​kettanaito](https://togithub.com/kettanaito) - improve fetch compatibility with React Native ([#​2016](https://togithub.com/mswjs/msw/issues/2016)) ([`aeafcd2`](https://togithub.com/mswjs/msw/commit/aeafcd20b6a97a2bb613df7a7c374d0c796d49e5)) [@​kettanaito](https://togithub.com/kettanaito) Special thanks to [@​willdawsonme](https://togithub.com/willdawsonme) for investigating these issues. ### [`v2.1.6`](https://togithub.com/mswjs/msw/releases/tag/v2.1.6) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.5...v2.1.6) #### v2.1.6 (2024-02-05) ##### Bug Fixes - return type of "passthrough" ([#​2002](https://togithub.com/mswjs/msw/issues/2002)) ([`b030db5`](https://togithub.com/mswjs/msw/commit/b030db5b70664c835f6ac01171a790af35181202)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.1.5`](https://togithub.com/mswjs/msw/releases/tag/v2.1.5) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.4...v2.1.5) #### v2.1.5 (2024-01-25) ##### Bug Fixes - add "request" to response events ([#​1993](https://togithub.com/mswjs/msw/issues/1993)) ([`bad537f`](https://togithub.com/mswjs/msw/commit/bad537f1fce7511f0a7258c0216a9ad49fbc27b8)) [@​kettanaito](https://togithub.com/kettanaito) - does not warn on unhandled "file://" requests ([#​1997](https://togithub.com/mswjs/msw/issues/1997)) ([`5afedb1`](https://togithub.com/mswjs/msw/commit/5afedb1af6d20f8be4e079f6a22ca617890b3507)) [@​kettanaito](https://togithub.com/kettanaito) - resolve relative fetch urls in jsdom ([#​1999](https://togithub.com/mswjs/msw/issues/1999)) ([`82ab765`](https://togithub.com/mswjs/msw/commit/82ab765c44e866310ba9c4cc24fed3d6cfaf7735)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.1.4`](https://togithub.com/mswjs/msw/releases/tag/v2.1.4) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.3...v2.1.4) #### v2.1.4 (2024-01-23) ##### Bug Fixes - bundle browser build ([#​1988](https://togithub.com/mswjs/msw/issues/1988)) ([`1cbf615`](https://togithub.com/mswjs/msw/commit/1cbf61553991d72452fa0bb5172f4efb967cd01b)) [@​thepassle](https://togithub.com/thepassle) [@​kettanaito](https://togithub.com/kettanaito) - removes request parsing from "onUnhandledRequest" ([#​1990](https://togithub.com/mswjs/msw/issues/1990)) ([`bc0bea6`](https://togithub.com/mswjs/msw/commit/bc0bea6325f61d677d21422ab7e503310f999b00)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.1.3`](https://togithub.com/mswjs/msw/releases/tag/v2.1.3) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.2...v2.1.3) #### v2.1.3 (2024-01-22) ##### Bug Fixes - export "getResponse" for batched GraphQL queries ([#​1982](https://togithub.com/mswjs/msw/issues/1982)) ([`42f1473`](https://togithub.com/mswjs/msw/commit/42f147367709d85c09ec44eb300848d0bbbf1b6d)) [@​kettanaito](https://togithub.com/kettanaito) - reduce library footprint by avoiding barrel imports ([#​1987](https://togithub.com/mswjs/msw/issues/1987)) ([`b803e26`](https://togithub.com/mswjs/msw/commit/b803e26a65fff537332ccfcb0a1a53dc4462659c)) [@​thepassle](https://togithub.com/thepassle) ### [`v2.1.2`](https://togithub.com/mswjs/msw/releases/tag/v2.1.2) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.1...v2.1.2) ##### v2.1.2 (2024-01-17) ##### Bug Fixes - export "HttpRequestHandler" and "GraphQLRequestHandler" types ([#​1973](https://togithub.com/mswjs/msw/issues/1973)) ([`ca423d9`](https://togithub.com/mswjs/msw/commit/ca423d9ffcf940ed9118e65126b5008e355fc2b3)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.1.1`](https://togithub.com/mswjs/msw/releases/tag/v2.1.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.0...v2.1.1) #### v2.1.1 (2024-01-17) ##### Bug Fixes - annotate the "requestId" response resolver argument ([#​1969](https://togithub.com/mswjs/msw/issues/1969)) ([`f22294e`](https://togithub.com/mswjs/msw/commit/f22294eb81bb53495265fba777e049a7102c2e1f)) [@​skvale](https://togithub.com/skvale) ### [`v2.1.0`](https://togithub.com/mswjs/msw/releases/tag/v2.1.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.14...v2.1.0) #### v2.1.0 (2024-01-15) ##### Features - up tsconfig target for more modern syntax ([#​1780](https://togithub.com/mswjs/msw/issues/1780)) ([`29182ce`](https://togithub.com/mswjs/msw/commit/29182cebaaa5e7acfebcc513e5f84e8723236d27)) [@​thepassle](https://togithub.com/thepassle) [@​kettanaito](https://togithub.com/kettanaito) - add "requestId" as response resolver argument ([#​1942](https://togithub.com/mswjs/msw/issues/1942)) ([`51ab8cc`](https://togithub.com/mswjs/msw/commit/51ab8cc0e31848e82eebc2f3e0cdf280f4a2ef8e)) [@​skvale](https://togithub.com/skvale) [@​kettanaito](https://togithub.com/kettanaito) - support multiple directories in "msw.workerDirectory" ([#​1832](https://togithub.com/mswjs/msw/issues/1832)) ([`4dbf99a`](https://togithub.com/mswjs/msw/commit/4dbf99ac542b2f2dbca70874d638fb7261d9ffdd)) [@​kettanaito](https://togithub.com/kettanaito) - deprecate "waitUntilReady" (deferNetworkUntil) worker option ([#​1964](https://togithub.com/mswjs/msw/issues/1964)) ([`86a22ac`](https://togithub.com/mswjs/msw/commit/86a22ac92f77a11c0fd165f1313de1cc8f936f16)) [@​kettanaito](https://togithub.com/kettanaito) - support throwing responses in response resolvers ([#​1963](https://togithub.com/mswjs/msw/issues/1963)) ([`39dc0e6`](https://togithub.com/mswjs/msw/commit/39dc0e64497df448de74fe827fe6f1b4ecdbf5c4)) [@​kettanaito](https://togithub.com/kettanaito) Shoutout to [@​mattcosta7](https://togithub.com/mattcosta7) for his continuous on the library's performance and stability 🎉 ### [`v2.0.14`](https://togithub.com/mswjs/msw/releases/tag/v2.0.14) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.13...v2.0.14) #### v2.0.14 (2024-01-12) ##### Bug Fixes - **GraphQLHandler:** move cookie parsing to parse phase ([#​1957](https://togithub.com/mswjs/msw/issues/1957)) ([`ba87f99`](https://togithub.com/mswjs/msw/commit/ba87f99db4ad6fd99567cf5a87c1af90044ef906)) [@​mattcosta7](https://togithub.com/mattcosta7) [@​kettanaito](https://togithub.com/kettanaito) - improve custom request handler and resolver annotations ([#​1961](https://togithub.com/mswjs/msw/issues/1961)) ([`8624f31`](https://togithub.com/mswjs/msw/commit/8624f31c464f61c35d6e53584b678994d9576fa8)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.13`](https://togithub.com/mswjs/msw/releases/tag/v2.0.13) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.12...v2.0.13) ##### v2.0.13 (2024-01-09) ##### Bug Fixes - publish source and include sourcemaps ([#​1958](https://togithub.com/mswjs/msw/issues/1958)) ([`68a57bd`](https://togithub.com/mswjs/msw/commit/68a57bd042c6c938f1a5bd84b21e068ad9517a78)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.12`](https://togithub.com/mswjs/msw/releases/tag/v2.0.12) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.11...v2.0.12) #### v2.0.12 (2024-01-05) ##### Bug Fixes - cache request cloning and request parsing ([#​1914](https://togithub.com/mswjs/msw/issues/1914)) ([`a79a9d7`](https://togithub.com/mswjs/msw/commit/a79a9d739e88f5501c0253c4c4701b76c2203ff2)) [@​mattcosta7](https://togithub.com/mattcosta7) [@​kettanaito](https://togithub.com/kettanaito) - support typescript@5.3 ([#​1874](https://togithub.com/mswjs/msw/issues/1874)) ([`1da80bb`](https://togithub.com/mswjs/msw/commit/1da80bb157010c3586dd2dd33f463f70ab0bbd28)) [@​falsepopsky](https://togithub.com/falsepopsky) [@​mattcosta7](https://togithub.com/mattcosta7) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.11`](https://togithub.com/mswjs/msw/releases/tag/v2.0.11) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.10...v2.0.11) ##### v2.0.11 (2023-12-11) ##### Bug Fixes - expose mockServiceWorker.js file in package exports ([#​1922](https://togithub.com/mswjs/msw/issues/1922)) ([`5736efc`](https://togithub.com/mswjs/msw/commit/5736efce63c0271ba37c69d2a7267e5cc614a444)) [@​thepassle](https://togithub.com/thepassle) ### [`v2.0.10`](https://togithub.com/mswjs/msw/releases/tag/v2.0.10) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.9...v2.0.10) #### v2.0.10 (2023-12-04) ##### Bug Fixes - null-body responses enforced in createResponseListener instead o… ([#​1895](https://togithub.com/mswjs/msw/issues/1895)) ([`ed09722`](https://togithub.com/mswjs/msw/commit/ed09722b327fc81f1a6f8d4d600445629877179e)) [@​mattcosta7](https://togithub.com/mattcosta7) ### [`v2.0.9`](https://togithub.com/mswjs/msw/releases/tag/v2.0.9) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.8...v2.0.9) #### v2.0.9 (2023-11-24) ##### Bug Fixes - skip parsing GraphQL requests if the request url doesn't match ([#​1871](https://togithub.com/mswjs/msw/issues/1871)) ([`565e802`](https://togithub.com/mswjs/msw/commit/565e802c6dd0f971f939d7adcbeb82cf2de1af59)) [@​mattcosta7](https://togithub.com/mattcosta7) [@​kettanaito](https://togithub.com/kettanaito) - throw on invalid request handlers value in ".use()" ([#​1876](https://togithub.com/mswjs/msw/issues/1876)) ([`ce73dfe`](https://togithub.com/mswjs/msw/commit/ce73dfecee7b20a131e6a020c5e6661987b0d3ce)) [@​kettanaito](https://togithub.com/kettanaito) - resolve segfault issue caused by "node:events" import ([#​1885](https://togithub.com/mswjs/msw/issues/1885)) ([`f188d77`](https://togithub.com/mswjs/msw/commit/f188d7724a31ab685d68d0ea84949999b6eea5f3)) [@​mattcosta7](https://togithub.com/mattcosta7) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.8`](https://togithub.com/mswjs/msw/releases/tag/v2.0.8) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.7...v2.0.8) #### v2.0.8 (2023-11-17) ##### Bug Fixes - **graphql:** allow null for "data" and "errors" response property types ([#​1867](https://togithub.com/mswjs/msw/issues/1867)) ([`a7ffd32`](https://togithub.com/mswjs/msw/commit/a7ffd32981fcda8acb70af28502ae7e98d16b353)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.7`](https://togithub.com/mswjs/msw/releases/tag/v2.0.7) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.6...v2.0.7) #### v2.0.7 (2023-11-16) ##### Bug Fixes - encode cookie string before forwarding request cookies ([#​1815](https://togithub.com/mswjs/msw/issues/1815)) ([`c2d8e98`](https://togithub.com/mswjs/msw/commit/c2d8e986ba7b44f6ba5da88164f6018fc4466d85)) [@​Jungzl](https://togithub.com/Jungzl) [@​kettanaito](https://togithub.com/kettanaito) - **react-native:** import "node:events" lazily ([#​1858](https://togithub.com/mswjs/msw/issues/1858)) ([`0d79ec4`](https://togithub.com/mswjs/msw/commit/0d79ec4d5b5c554eacf6acfa383f7a2721a94ea7)) [@​kettanaito](https://togithub.com/kettanaito) - change request cookie type to be Record\ ([#​1857](https://togithub.com/mswjs/msw/issues/1857)) ([`75bbb96`](https://togithub.com/mswjs/msw/commit/75bbb966158fe6d0fc450e1071b676e0f29fdbfa)) [@​ezzatron](https://togithub.com/ezzatron) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.6`](https://togithub.com/mswjs/msw/releases/tag/v2.0.6) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.5...v2.0.6) #### v2.0.6 (2023-11-13) ##### Bug Fixes - **GraphQL:** expose request cookies in "cookies" argument ([#​1853](https://togithub.com/mswjs/msw/issues/1853)) ([`463b74f`](https://togithub.com/mswjs/msw/commit/463b74faaf445a4f751f8a25c67a8f98627f27f5)) [@​kettanaito](https://togithub.com/kettanaito) - correct docs link for anonymous GraphQL operations ([#​1850](https://togithub.com/mswjs/msw/issues/1850)) ([`e628278`](https://togithub.com/mswjs/msw/commit/e62827860e3b6ef291ada81d96025af2755e2505)) [@​okkimus](https://togithub.com/okkimus) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.5`](https://togithub.com/mswjs/msw/releases/tag/v2.0.5) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.4...v2.0.5) #### v2.0.5 (2023-11-10) ##### Bug Fixes - **xhr:** support environments without location (React Native) ([#​1849](https://togithub.com/mswjs/msw/issues/1849)) ([`f6601d9`](https://togithub.com/mswjs/msw/commit/f6601d995a3ddf0f2b5763a87a04ec132b649ed1)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.4`](https://togithub.com/mswjs/msw/releases/tag/v2.0.4) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.3...v2.0.4) #### v2.0.4 (2023-11-08) ##### Bug Fixes - safely access "request.credentials" in cloudflare ([#​1845](https://togithub.com/mswjs/msw/issues/1845)) ([`bd0cec7`](https://togithub.com/mswjs/msw/commit/bd0cec7a2163ab47301608c1712c55f1cf04327a)) [@​kettanaito](https://togithub.com/kettanaito) [@​mattcosta7](https://togithub.com/mattcosta7) - safely access "Response.type" in cloudflare ([#​1846](https://togithub.com/mswjs/msw/issues/1846)) ([`ccd7096`](https://togithub.com/mswjs/msw/commit/ccd709614129739dea3bcb767c1f9e3809ae1d2b)) [@​kettanaito](https://togithub.com/kettanaito) [@​mattcosta7](https://togithub.com/mattcosta7) - allow setting "timeout" on XMLHttpRequest ([#​1844](https://togithub.com/mswjs/msw/issues/1844)) ([`6296429`](https://togithub.com/mswjs/msw/commit/62964292728398344beda0ffc16e4ca388ba0245)) [@​kettanaito](https://togithub.com/kettanaito) - update [@​mswjs/interceptors](https://togithub.com/mswjs/interceptors) to 0.25.8 ([#​1842](https://togithub.com/mswjs/msw/issues/1842)) ([`629a3cf`](https://togithub.com/mswjs/msw/commit/629a3cf8248d7d9e21f524210d7282cab44f35ab)) [@​kettanaito](https://togithub.com/kettanaito) - allow overriding "Content-Type" in HttpResponse static methods ([#​1839](https://togithub.com/mswjs/msw/issues/1839)) ([`a037e3a`](https://togithub.com/mswjs/msw/commit/a037e3a3f4f4d4cc712d2b3867b3410e4bcfaad6)) [@​kettanaito](https://togithub.com/kettanaito) - narrow `body` type for `HttpResponse.json()` to be serializable json ([#​1838](https://togithub.com/mswjs/msw/issues/1838)) ([`2af274c`](https://togithub.com/mswjs/msw/commit/2af274c154d2e0b696188c10ba1f0271e900c40a)) [@​kettanaito](https://togithub.com/kettanaito) - remove "formdata-node" dependency ([#​1837](https://togithub.com/mswjs/msw/issues/1837)) ([`d49d48e`](https://togithub.com/mswjs/msw/commit/d49d48e9ca6467aeea16f4c3345789626a0396f2)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.3`](https://togithub.com/mswjs/msw/releases/tag/v2.0.3) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.2...v2.0.3) #### v2.0.3 (2023-11-04) ##### Bug Fixes - correctly check "undefined" as response body type ([#​1824](https://togithub.com/mswjs/msw/issues/1824)) ([`a0ec8be`](https://togithub.com/mswjs/msw/commit/a0ec8be311daef0285d8485e315bbb49a9370f44)) [@​kettanaito](https://togithub.com/kettanaito) - **Safari:** send explicit null response bodies ([#​1833](https://togithub.com/mswjs/msw/issues/1833)) ([`66fb437`](https://togithub.com/mswjs/msw/commit/66fb437c0936651cf0bb936f21aa77054b147857)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v2.0.2`](https://togithub.com/mswjs/msw/releases/tag/v2.0.2) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.1...v2.0.2) #### v2.0.2 (2023-11-01) ##### Bug Fixes - output a single formatted message to console ([#​1820](https://togithub.com/mswjs/msw/issues/1820)) ([`2ead392`](https://togithub.com/mswjs/msw/commit/2ead3922f3ec5a4750e3b9e09e75aeb20f13c736)) [@​kettanaito](https://togithub.com/kettanaito) - prevent one-time handlers from incorrectly marking themselves as used ([#​1822](https://togithub.com/mswjs/msw/issues/1822)) ([`a179b68`](https://togithub.com/mswjs/msw/commit/a179b68e2dfd3667999c31b1dbd3870a0b92568c)) [@​joshkel](https://togithub.com/joshkel) - resolve the "eventTargets" error in JSDOM by dropping "instanceof" ([#​1813](https://togithub.com/mswjs/msw/issues/1813)) ([`f6e5112`](https://togithub.com/mswjs/msw/commit/f6e5112fa0f1ebbd97fb95bcbda1c47a0cc750f9)) [@​mattcosta7](https://togithub.com/mattcosta7) ### [`v2.0.1`](https://togithub.com/mswjs/msw/releases/tag/v2.0.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v2.0.0...v2.0.1) #### v2.0.1 (2023-10-28) ##### Bug Fixes - clone response early for response logging ([#​1799](https://togithub.com/mswjs/msw/issues/1799)) ([`5c5470a`](https://togithub.com/mswjs/msw/commit/5c5470a0f2204b4164fcc65e210471661208ce4d)) [@​kunmagg](https://togithub.com/kunmagg) ### [`v2.0.0`](https://togithub.com/mswjs/msw/releases/tag/v2.0.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.3.3...v2.0.0) #### v2.0.0 (2023-10-23) > \[!IMPORTANT] > **This release is a BREAKING CHANGE**. Please follow the [Migration guidelines](https://mswjs.io/docs/migrations/1.x-to-2.x) to upgrade. This release took a lot of effort to make, and I expect a bit of that effort on your part while upgrading. Most of the changes are mechanical, and a simple Find/Replace All will get you a long way. For the rest of it, you will learn how to handle requests and responses using the standard JavaScript API. Thank you! #### Breaking changes - **Drops support for Node.js 16**. Please upgrade to Node.js 18 or later to use the global Fetch API. - **Drops support for TypeScript `< 4.7`.** - All browser-side exports, like `setupWorker`, `SetupWorkerApi`, etc., must be imported from `msw/browser` now. - Renames the `rest` object to `http` (`rest.get` -> `http.get`). - Response resolver call signature is no longer `(req, res, ctx) => res()` but instead `({ request }) => new Response()`. - The following exports are removed due to no longer being needed: - `response` - `context` and related exports (`defaultContext`, `restContext`, `graphqlContext`). - `compose` and `createResponseComposition` - `res.once()` is removed in favor of the `{ once: boolean }` option on the request handler. - Replaces the `.printHandlers()` method with `.listHandlers()`. - Removes the `NetworkError` class in favor of the standard `Response.error()`. - Moves request error handling from the worker thread to the client thread. - Changes the call signature of the Life-cycle Events API to accept a single object argument. - Uses `crypto.randomUUID()` instead of `Math.random()` in the worker. - **For the full list of changes and detailed instructions on how to upgrade please see the [Migration guidelines](docs/migrations/1.x-to-2.x).** #### Features - **Adopts Fetch API primitives**. Represent intercepted requests and mocked responses as `Request` and `Response` instances respectively. - **Supports Node.js v18**. - Supports `ReadableStream` as a mocked response body. - Supports reading the intercepted request body as `FormData`. - Supports `FormData` as a mocked response body. - Uses `File` polyfill in Node.js. - Supports XMLHttpRequest “upload” events when responding with a mocked stream response. - Allows mocking a network error once using the `{ once: true }` request handler option. - Makes the `RequestHandler` API public. #### Bug fixes - Fixes the issue where the request body couldn’t be properly read as `FormData`. - Fixes a set of issues related to response patching when using the `FormData` response body. - Fixes the issue where `URLSearchParams` as the request body couldn’t be read. - Fixes the issue where a bypassed request’s `referrerPolicy` was reset to a different value than the original. - Fixes the wrong order of `XMLHttpRequest` events and `readyState` changes. - Fixes the issue when reading an XMLHttpRequest body of `responseType` equal to `"arraybuffer"` as an incorrect buffer (previously, always assumed to be a string). - Fixes the order of `XMLHttpRequest` events when the request fails. - Keeps XMLHttpRequest `status` equal to 0 until the request actually resolves. - Fixes the issue when the `onload` event callback was called twice for `XMLHttpRequest`. - Various improvements in Node.js network behavior compliance. [@​dbritto-dev](https://togithub.com/dbritto-dev) [@​ddolcimascolo](https://togithub.com/ddolcimascolo) [@​markwhitfeld](https://togithub.com/markwhitfeld) [@​christoph-fricke](https://togithub.com/christoph-fricke) [@​thepassle](https://togithub.com/thepassle) [@​piotr-cz](https://togithub.com/piotr-cz) [@​mattcosta7](https://togithub.com/mattcosta7) [@​koddsson](https://togithub.com/koddsson) [@​dkobierski](https://togithub.com/dkobierski) [@​ricardocosta](https://togithub.com/ricardocosta) [@​dxlbnl](https://togithub.com/dxlbnl) [@​zkochan](https://togithub.com/zkochan) [@​felipefreitag](https://togithub.com/felipefreitag) [@​weyert](https://togithub.com/weyert) [@​95th](https://togithub.com/95th) [@​committomaster](https://togithub.com/committomaster) [@​Xayer](https://togithub.com/Xayer) [@​Kosai106](https://togithub.com/Kosai106) [@​colinsullivan](https://togithub.com/colinsullivan) [@​xmlking](https://togithub.com/xmlking) [@​thw0rted](https://togithub.com/thw0rted) [@​lee-reinhardt](https://togithub.com/lee-reinhardt) [@​wKovacs64](https://togithub.com/wKovacs64) [@​TeChn4K](https://togithub.com/TeChn4K) [@​cmolina](https://togithub.com/cmolina) [@​nickrttn](https://togithub.com/nickrttn) [@​thomasbertet](https://togithub.com/thomasbertet) [@​mscottnelson](https://togithub.com/mscottnelson) [@​jonnedeprez](https://togithub.com/jonnedeprez) [@​negabaro](https://togithub.com/negabaro) [@​the-ult](https://togithub.com/the-ult) [@​WesleyYue](https://togithub.com/WesleyYue) [@​cwagner22](https://togithub.com/cwagner22) [@​skvale](https://togithub.com/skvale) [@​alawiii521](https://togithub.com/alawiii521) [@​csantos1113](https://togithub.com/csantos1113) [@​elliotgonzalez123](https://togithub.com/elliotgonzalez123) [@​committomaster](https://togithub.com/committomaster) [@​tsteckenborn](https://togithub.com/tsteckenborn) [@​xxleyi](https://togithub.com/xxleyi) [@​jonnedeprez](https://togithub.com/jonnedeprez) [@​danny-does-stuff](https://togithub.com/danny-does-stuff) [@​lemcii](https://togithub.com/lemcii) [@​mattrodak](https://togithub.com/mattrodak) [@​luisr-carrillo](https://togithub.com/luisr-carrillo) [@​lee-reinhardt](https://togithub.com/lee-reinhardt) [@​ealejandrootalvaro](https://togithub.com/ealejandrootalvaro) [@​tomdglenn91](https://togithub.com/tomdglenn91) ### [`v1.3.3`](https://togithub.com/mswjs/msw/releases/tag/v1.3.3) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.3.2...v1.3.3) #### v1.3.3 (2024-03-15) ##### Bug Fixes - remove upper version range for "typescript" ([#​2086](https://togithub.com/mswjs/msw/issues/2086)) ([`8f456bb`](https://togithub.com/mswjs/msw/commit/8f456bb3dec7c9a136483a9ce9021a90a62cb0f9)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.3.2`](https://togithub.com/mswjs/msw/releases/tag/v1.3.2) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.3.1...v1.3.2) #### v1.3.2 (2023-10-01) ##### Bug Fixes - set minimal "graphql" version to 16.18.1 ([#​1754](https://togithub.com/mswjs/msw/issues/1754)) ([`0a857f6`](https://togithub.com/mswjs/msw/commit/0a857f67b6e0883336a790633aa9bafc0b16c7cb)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.3.1`](https://togithub.com/mswjs/msw/releases/tag/v1.3.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.3.0...v1.3.1) #### v1.3.1 (2023-09-13) ##### Bug Fixes - pin "headers-polyfill" to 3.2.5 ([#​1736](https://togithub.com/mswjs/msw/issues/1736)) ([`2e53ae7`](https://togithub.com/mswjs/msw/commit/2e53ae73bd734c435ac447ca2b60cdaaebc1390b)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.3.0`](https://togithub.com/mswjs/msw/releases/tag/v1.3.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.2.5...v1.3.0) #### v1.3.0 (2023-09-03) ##### Features - support TypeScript 5.2 ([#​1711](https://togithub.com/mswjs/msw/issues/1711)) ([`2ca791e`](https://togithub.com/mswjs/msw/commit/2ca791e437256452f63b95cf5ef19c91c7ac0b9a)) [@​chentsulin](https://togithub.com/chentsulin) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.2.5`](https://togithub.com/mswjs/msw/releases/tag/v1.2.5) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.2.4...v1.2.5) #### v1.2.5 (2023-08-28) ##### Bug Fixes - allow installs with any version of pnpm ([#​1713](https://togithub.com/mswjs/msw/issues/1713)) ([`d35e851`](https://togithub.com/mswjs/msw/commit/d35e851faa3d75b58b8051084c50b7f02491df84)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.2.4`](https://togithub.com/mswjs/msw/releases/tag/v1.2.4) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.2.3...v1.2.4) #### v1.2.4 (2023-08-25) ##### Bug Fixes - **dependency:** unpin the "chalk" dependency ([#​1639](https://togithub.com/mswjs/msw/issues/1639)) ([`a93f63b`](https://togithub.com/mswjs/msw/commit/a93f63b345dc46548e42b71954b16b4a87d90fb8)) [@​blowery](https://togithub.com/blowery) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.2.3`](https://togithub.com/mswjs/msw/releases/tag/v1.2.3) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.2.2...v1.2.3) #### v1.2.3 (2023-07-20) ##### Bug Fixes - clone Response before logging ([#​1662](https://togithub.com/mswjs/msw/issues/1662)) ([`daa04af`](https://togithub.com/mswjs/msw/commit/daa04af4075b06607b81ed23bbe5ea09d56e8825)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.2.2`](https://togithub.com/mswjs/msw/releases/tag/v1.2.2) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.2.1...v1.2.2) #### v1.2.2 (2023-06-09) ##### Bug Fixes - log `ReadableStream` responses as text/json ([#​1622](https://togithub.com/mswjs/msw/issues/1622)) ([`4c7e952`](https://togithub.com/mswjs/msw/commit/4c7e952e69f1a82115fafa695ae39b3169486570)) [@​esquevin](https://togithub.com/esquevin) [@​kettanaito](https://togithub.com/kettanaito) - support typescript 5.1 as a peer dependency ([#​1633](https://togithub.com/mswjs/msw/issues/1633)) ([`8e37d9c`](https://togithub.com/mswjs/msw/commit/8e37d9cbdef16bc6f5c1146a493bfced49657a5d)) [@​gthb](https://togithub.com/gthb) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.2.1`](https://togithub.com/mswjs/msw/releases/tag/v1.2.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.2.0...v1.2.1) #### v1.2.1 (2023-03-24) ##### Bug Fixes - update dependencies to support ESM ([#​1575](https://togithub.com/mswjs/msw/issues/1575)) ([`e7a6008`](https://togithub.com/mswjs/msw/commit/e7a60081526bd6f00ac17a62c424abf59976555b)) [@​kettanaito](https://togithub.com/kettanaito) - update "headers-polyfill" to 3.1.2 to fix the ESM issue ([#​1571](https://togithub.com/mswjs/msw/issues/1571)) ([`4f44f11`](https://togithub.com/mswjs/msw/commit/4f44f115e28d35ff137c7ccf886c0029399b5d30)) [@​cstenglein](https://togithub.com/cstenglein) ### [`v1.2.0`](https://togithub.com/mswjs/msw/releases/tag/v1.2.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.1.1...v1.2.0) #### v1.2.0 (2023-03-22) ##### Features - add `operationName` to GraphQL request ([#​1568](https://togithub.com/mswjs/msw/issues/1568)) ([`115b435`](https://togithub.com/mswjs/msw/commit/115b435aef089a3c4fe9a618d5756c9cb944fe13)) [@​ligaz](https://togithub.com/ligaz) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.1.1`](https://togithub.com/mswjs/msw/releases/tag/v1.1.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.1.0...v1.1.1) #### v1.1.1 (2023-03-20) ##### Bug Fixes - **typescript:** support typescript 5.0 ([#​1566](https://togithub.com/mswjs/msw/issues/1566)) ([`c0616d1`](https://togithub.com/mswjs/msw/commit/c0616d1473d168018ad8bba7194f8654a6ed153a)) [@​mattcosta7](https://togithub.com/mattcosta7) ### [`v1.1.0`](https://togithub.com/mswjs/msw/releases/tag/v1.1.0) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.0.1...v1.1.0) ##### v1.1.0 (2023-02-24) ##### Features - support global fetch in Node.js ([#​1543](https://togithub.com/mswjs/msw/issues/1543)) ([`049f21d`](https://togithub.com/mswjs/msw/commit/049f21df0e7c1b9811e083e83b7534cf0a06021a)) [@​kettanaito](https://togithub.com/kettanaito) ##### Bug Fixes - return types of "setupWorker" and "setupServer" API ([#​1540](https://togithub.com/mswjs/msw/issues/1540)) ([`78d1834`](https://togithub.com/mswjs/msw/commit/78d18344388d5e17cb71ae67f5d250ce139baf59)) [@​kettanaito](https://togithub.com/kettanaito) ### [`v1.0.1`](https://togithub.com/mswjs/msw/releases/tag/v1.0.1) [Compare Source](https://togithub.com/mswjs/msw/compare/v1.0.0...v1.0.1) #### v1.0.1 (2023-02-10) ##### Bug Fixes - add "package.json" subpath export ([#​1530](https://togithub.com/mswjs/msw/issues/1530)) ([`12a581f`](https://togithub.com/mswjs/msw/commit/12a581f480e3a2f9bdcda7874f98114c148c9d85)) [@​iceu-bb](https://togithub.com/iceu-bb) [@​kettanaito](https://togithub.com/kettanaito)

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 these updates again.



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

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 347247acd8b71e0730d01d6da15a17ac64da81c4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

renovate[bot] commented 3 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate[bot] commented 3 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.