msw 2.10.3 → 2.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/lib/core/{HttpResponse-C7FhBLaS.d.mts → HttpResponse-CC5tPhLa.d.mts} +1 -1
  2. package/lib/core/{HttpResponse-DWu36LsY.d.ts → HttpResponse-CKZrrwKE.d.ts} +1 -1
  3. package/lib/core/HttpResponse.d.mts +1 -1
  4. package/lib/core/HttpResponse.d.ts +1 -1
  5. package/lib/core/SetupApi.d.mts +1 -1
  6. package/lib/core/SetupApi.d.ts +1 -1
  7. package/lib/core/getResponse.d.mts +1 -1
  8. package/lib/core/getResponse.d.ts +1 -1
  9. package/lib/core/graphql.d.mts +1 -1
  10. package/lib/core/graphql.d.ts +1 -1
  11. package/lib/core/handlers/GraphQLHandler.d.mts +1 -1
  12. package/lib/core/handlers/GraphQLHandler.d.ts +1 -1
  13. package/lib/core/handlers/HttpHandler.d.mts +1 -1
  14. package/lib/core/handlers/HttpHandler.d.ts +1 -1
  15. package/lib/core/handlers/HttpHandler.js +1 -1
  16. package/lib/core/handlers/HttpHandler.js.map +1 -1
  17. package/lib/core/handlers/HttpHandler.mjs +1 -1
  18. package/lib/core/handlers/HttpHandler.mjs.map +1 -1
  19. package/lib/core/handlers/RequestHandler.d.mts +1 -1
  20. package/lib/core/handlers/RequestHandler.d.ts +1 -1
  21. package/lib/core/http.d.mts +1 -1
  22. package/lib/core/http.d.ts +1 -1
  23. package/lib/core/index.d.mts +1 -1
  24. package/lib/core/index.d.ts +1 -1
  25. package/lib/core/index.js.map +1 -1
  26. package/lib/core/index.mjs.map +1 -1
  27. package/lib/core/passthrough.d.mts +1 -1
  28. package/lib/core/passthrough.d.ts +1 -1
  29. package/lib/core/utils/HttpResponse/decorators.d.mts +1 -1
  30. package/lib/core/utils/HttpResponse/decorators.d.ts +1 -1
  31. package/lib/core/utils/executeHandlers.d.mts +1 -1
  32. package/lib/core/utils/executeHandlers.d.ts +1 -1
  33. package/lib/core/utils/handleRequest.d.mts +1 -1
  34. package/lib/core/utils/handleRequest.d.ts +1 -1
  35. package/lib/core/utils/internal/isHandlerKind.d.mts +1 -1
  36. package/lib/core/utils/internal/isHandlerKind.d.ts +1 -1
  37. package/lib/core/utils/internal/parseGraphQLRequest.d.mts +1 -1
  38. package/lib/core/utils/internal/parseGraphQLRequest.d.ts +1 -1
  39. package/lib/core/utils/internal/parseMultipartData.d.mts +1 -1
  40. package/lib/core/utils/internal/parseMultipartData.d.ts +1 -1
  41. package/lib/core/utils/internal/requestHandlerUtils.d.mts +1 -1
  42. package/lib/core/utils/internal/requestHandlerUtils.d.ts +1 -1
  43. package/lib/core/ws/handleWebSocketEvent.d.mts +1 -1
  44. package/lib/core/ws/handleWebSocketEvent.d.ts +1 -1
  45. package/lib/iife/index.js +1 -1
  46. package/lib/iife/index.js.map +1 -1
  47. package/lib/mockServiceWorker.js +1 -1
  48. package/package.json +2 -2
  49. package/src/core/handlers/HttpHandler.ts +1 -1
  50. package/src/core/index.ts +1 -0
@@ -7,7 +7,7 @@
7
7
  * - Please do NOT modify this file.
8
8
  */
9
9
 
10
- const PACKAGE_VERSION = '2.10.3'
10
+ const PACKAGE_VERSION = '2.10.5'
11
11
  const INTEGRITY_CHECKSUM = 'f5825c521429caf22a4dd13b66e243af'
12
12
  const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
13
13
  const activeClientIds = new Set()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "msw",
3
- "version": "2.10.3",
3
+ "version": "2.10.5",
4
4
  "description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/core/index.js",
@@ -280,7 +280,7 @@
280
280
  "vitest-environment-miniflare": "^2.14.4",
281
281
  "webpack": "^5.95.0",
282
282
  "webpack-http-server": "^0.5.0",
283
- "msw": "2.10.3"
283
+ "msw": "2.10.5"
284
284
  },
285
285
  "peerDependencies": {
286
286
  "typescript": ">= 4.8.x"
@@ -102,7 +102,7 @@ export class HttpHandler extends RequestHandler<
102
102
  })
103
103
 
104
104
  devUtils.warn(
105
- `Found a redundant usage of query parameters in the request handler URL for "${method} ${path}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/http/intercepting-requestsquery-parameters`,
105
+ `Found a redundant usage of query parameters in the request handler URL for "${method} ${path}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/http/intercepting-requests#querysearch-parameters`,
106
106
  )
107
107
  }
108
108
 
package/src/core/index.ts CHANGED
@@ -49,6 +49,7 @@ export type {
49
49
  GraphQLQuery,
50
50
  GraphQLVariables,
51
51
  GraphQLRequestBody,
52
+ GraphQLResponseBody,
52
53
  GraphQLJsonRequestBody,
53
54
  } from './handlers/GraphQLHandler'
54
55
  export type { GraphQLRequestHandler, GraphQLResponseResolver } from './graphql'