msw
3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed
Upgrading msw From 0.18.1 to 0.49.3
94 releases in betweennotes for 93
- 19+
- changes to make
- 0
- advisories fixed
- 73+
- new
- 115+
- fixes
Counted from 93 of 94 release notes. Advisories are counted from the advisory database, in full.
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
- Breaking0.36.0
- Breaking0.36.0
- Breaking0.35.0
- Breaking0.29.0
- Breaking0.28.0
Security
- 0.36.7
Update
node-fetchto 2.6.7 to fix a security vulnerability - 0.35.0
Updates the
@mswjs/interceptorspackage to propagate thexmldomsecurity update (#876).
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
16 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). - 0.32.0
Updates package dependencies.
- 0.27.1
Exports the
RestHandlerclass publicly. - 0.27.1
Updates to
typescript@4.2.2 - 0.27.0
RestRequestType, useRestRequestinstead. - 0.27.0
GraphQLMockedRequest, useGraphQLRequestinstead.
17 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.