Open renovate[bot] opened 3 months ago
![]() |
![]() |
![]() |
![]() |
![]() |
Details:
Update dependency msw to v2.3.1 | |||
Project: Octochangelog Webapp | Commit: 4e7afb1012 |
||
Status: Passed | Duration: 01:27 💡 | ||
Started: Jun 17, 2024 7:18 AM | Ended: Jun 17, 2024 7:19 AM |
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎
To accept the risk, merge this PR and you will not be notified again.
Alert | Package | Note | Source | CI |
---|---|---|---|---|
Install scripts | npm/esbuild@0.17.19 |
| ||
Telemetry | npm/next@14.2.3 |
| ||
Install scripts | npm/msw@2.3.1 |
|
Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.
This package contains telemetry which tracks how it is used.
Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.
Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.
If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.
To ignore an alert, reply with a comment starting with @SocketSecurity ignore
followed by a space separated list of ecosystem/package-name@version
specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0
or ignore all packages with @SocketSecurity ignore-all
@SocketSecurity ignore npm/esbuild@0.17.19
@SocketSecurity ignore npm/next@14.2.3
@SocketSecurity ignore npm/msw@2.3.1
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
This PR contains the following updates:
2.2.2
->2.3.1
Release Notes
mswjs/msw (msw)
### [`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)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.
This PR has been generated by Mend Renovate. View repository job log here.