msw
3.0.7 · 18 Nov 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
Upgrading msw From 1.3.5 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 12
- changes to make
- 0
- advisories fixed
- 9
- new
- 10
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Release by release
- Breaking
This release is a BREAKING CHANGE.
- Breaking
Drops support for Node.js 16. Please upgrade to Node.js 18 or later to use the global Fetch API.
- Breaking
Drops support for TypeScript
< 4.7. - Breaking
All browser-side exports, like
setupWorker,SetupWorkerApi, etc., must be imported frommsw/browsernow.
- Breaking
2 other lines we could not sort, mostly version bumps
- 2.0.0
contextand related exports (defaultContext,restContext,graphqlContext). - 2.0.0
composeandcreateResponseComposition
2 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.