msw
3.0.7 · 18 Nov 2026MIT36M / weekRepositoryHomepagenpmAtom feed
Upgrading msw From 0.19.4 to 0.19.5
1 release in betweenevery note read
Release by release
- New
Adds a warning when using redundant query parameters in a request handler URL (#231, #233).
- New
Throws an exception when running
setupWorkerin a NodeJS environment (#219). - New
Adds a custom error message when calling
worker.start()and the worker script doesn’t exist (#237, #242). - New
Exports GraphQL type annotations for
GraphQLMockedRequest,GraphQLMockedContext,GraphQLRequestPayload,GraphQLResponseResolvertypes (#213, #241). - Fixed
Sets the default realistic response time of
ctx.delay()to 5ms when run in Node environment (including jsdom) (#205). - Fixed
Fixes an issue that resulted into the response Promise to never resolve when using
jest.useFakeTimers()in your tests (#243). - Fixed
Fixes a bug that resulted into a request handler URL with query parameters to produce a false negative match with the identical actual request URL. Query parameters and hashes in a request handler URL no longer affect the matching process.
- New
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.