msw 2.11.5 → 2.11.6
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/browser/index.js +365 -308
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/index.mjs +365 -308
- package/lib/browser/index.mjs.map +1 -1
- package/lib/iife/index.js +415 -357
- package/lib/iife/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/package.json +4 -3
package/lib/mockServiceWorker.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - Please do NOT modify this file.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
const PACKAGE_VERSION = '2.11.
|
|
10
|
+
const PACKAGE_VERSION = '2.11.6'
|
|
11
11
|
const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82'
|
|
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.11.
|
|
3
|
+
"version": "2.11.6",
|
|
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",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"sideEffects": false,
|
|
216
216
|
"dependencies": {
|
|
217
217
|
"@inquirer/confirm": "^5.0.0",
|
|
218
|
-
"@mswjs/interceptors": "^0.
|
|
218
|
+
"@mswjs/interceptors": "^0.40.0",
|
|
219
219
|
"@open-draft/deferred-promise": "^2.2.0",
|
|
220
220
|
"@types/statuses": "^2.0.4",
|
|
221
221
|
"cookie": "^1.0.2",
|
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
"@types/express": "^4.17.21",
|
|
249
249
|
"@types/json-bigint": "^1.0.4",
|
|
250
250
|
"@types/node": "18.x",
|
|
251
|
+
"@types/serviceworker": "^0.0.158",
|
|
251
252
|
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
252
253
|
"@typescript-eslint/parser": "^8.42.0",
|
|
253
254
|
"@web/dev-server": "^0.1.38",
|
|
@@ -286,7 +287,7 @@
|
|
|
286
287
|
"vitest-environment-miniflare": "^2.14.4",
|
|
287
288
|
"webpack": "^5.95.0",
|
|
288
289
|
"webpack-http-server": "^0.5.0",
|
|
289
|
-
"msw": "2.11.
|
|
290
|
+
"msw": "2.11.6"
|
|
290
291
|
},
|
|
291
292
|
"peerDependencies": {
|
|
292
293
|
"typescript": ">= 4.8.x"
|