msw 2.4.2 → 2.4.3
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.
- package/lib/iife/index.js +474 -263
- package/lib/iife/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/package.json +2 -6
package/lib/mockServiceWorker.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - Please do NOT serve this file on production.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
const PACKAGE_VERSION = '2.4.
|
|
11
|
+
const PACKAGE_VERSION = '2.4.3'
|
|
12
12
|
const INTEGRITY_CHECKSUM = '26357c79639bfa20d64c0efca2a87423'
|
|
13
13
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
|
14
14
|
const activeClientIds = new Set()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "msw",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
|
|
5
5
|
"main": "./lib/core/index.js",
|
|
6
6
|
"module": "./lib/core/index.mjs",
|
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
"@types/cookie": "^0.6.0",
|
|
123
123
|
"@types/statuses": "^2.0.4",
|
|
124
124
|
"chalk": "^4.1.2",
|
|
125
|
+
"graphql": "^16.8.1",
|
|
125
126
|
"headers-polyfill": "^4.0.2",
|
|
126
127
|
"is-node-process": "^1.2.0",
|
|
127
128
|
"outvariant": "^1.4.2",
|
|
@@ -160,7 +161,6 @@
|
|
|
160
161
|
"fs-extra": "^11.2.0",
|
|
161
162
|
"fs-teardown": "^0.3.0",
|
|
162
163
|
"glob": "^10.3.10",
|
|
163
|
-
"graphql": "^16.8.1",
|
|
164
164
|
"jsdom": "^23.2.0",
|
|
165
165
|
"json-bigint": "^1.0.0",
|
|
166
166
|
"lint-staged": "^15.2.0",
|
|
@@ -180,13 +180,9 @@
|
|
|
180
180
|
"webpack-http-server": "^0.5.0"
|
|
181
181
|
},
|
|
182
182
|
"peerDependencies": {
|
|
183
|
-
"graphql": ">= 16.8.x",
|
|
184
183
|
"typescript": ">= 4.8.x"
|
|
185
184
|
},
|
|
186
185
|
"peerDependenciesMeta": {
|
|
187
|
-
"graphql": {
|
|
188
|
-
"optional": true
|
|
189
|
-
},
|
|
190
186
|
"typescript": {
|
|
191
187
|
"optional": true
|
|
192
188
|
}
|