msw
3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed
Upgrading msw From 0.36.4 to 0.49.3
39 releases in betweenevery note read
- 6
- changes to make
- 0
- advisories fixed
- 22
- new
- 32
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.44.0
- Breaking0.44.0
- Breaking0.44.0
- Breaking0.40.0
- Breaking0.39.0
- Deprecated0.44.0
Security
- 0.36.7
Update
node-fetchto 2.6.7 to fix a security vulnerability
Release by release
- Fixed
Use EventTarget-based event emitter
- Fixed
- Fixed
Use
globalThis.fetchinctx.fetchutility (#1490) (42cdbc79654d90b3edce747ea044513f2f964958) @Toxiapo @kettanaito
- Fixed
- Fixed
setupWorker: resolve the TS4094 error
- Fixed
- New
Support TypeScript 4.9, drop support for TypeScript 4.2, 4.3
- New
- Fixed
SetupApi: validate given request handlers
- Fixed
Inline
statusesdependency during the build (#1458) (99d49f9b1ee71cdb945bd9ae3e78d89c23c2b74e) @mattcosta7 @kettanaito
- Fixed
- Fixed
Resolve absolute worker url against the current path
- Fixed
- Fixed
bufferUtils import path
- Fixed
- New
Add "SetupApi" base class (#1445) (85ba8440f57d15e6ce948f2350488365e809dce5) @Toxiapo @kettanaito
- New
Do not interfere with shared workers (#1448) (670dda7b97f6430418d6faf09698f9a1bca5cf07) @mucsi96 @kettanaito
- New
Makes the library esm-compatible (#1399) (41798ebc695e04719e198a7867be6d80e053fd0e) @ivanhofer @kettanaito
- New
5 other lines we could not sort, mostly version bumps
- 0.44.0
req.priority, indicates a priority of request relatively to other requests (default"auto"); - 0.44.0
req.text(), reads the request body as plain text; - 0.44.0
req.json(), reads the request body as JSON; - 0.44.0
req.arrayBuffer(), reads the request body asArrayBuffer; - 0.44.0
req.clone(), clones a request instance (i.e. so its body could be read multiple times).
3 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.