msw 0.47.2 → 0.47.4
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 +526 -791
- package/lib/iife/index.js.map +1 -1
- package/lib/index.js +14 -13
- package/lib/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/lib/native/index.js +6 -6
- package/lib/native/index.mjs +2 -2
- package/lib/node/index.js +6 -6
- package/lib/node/index.js.map +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/index.mjs.map +1 -1
- package/package.json +8 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "msw",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.4",
|
|
4
4
|
"description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"default": "./lib/index.js"
|
|
10
10
|
},
|
|
11
11
|
"./native": {
|
|
12
|
+
"types": "./lib/native/index.d.ts",
|
|
12
13
|
"default": "./lib/native/index.js"
|
|
13
14
|
},
|
|
14
15
|
"./node": {
|
|
16
|
+
"types": "./lib/node/index.d.ts",
|
|
15
17
|
"require": "./lib/node/index.js",
|
|
16
18
|
"default": "./lib/node/index.mjs"
|
|
17
19
|
}
|
|
@@ -31,7 +33,7 @@
|
|
|
31
33
|
"test:unit": "cross-env BABEL_ENV=test jest --maxWorkers=3",
|
|
32
34
|
"test:integration": "jest --config=./test/jest.config.js --maxWorkers=1",
|
|
33
35
|
"test:smoke": "./config/scripts/smoke.sh",
|
|
34
|
-
"test:ts": "
|
|
36
|
+
"test:ts": "ts-node test/typings/run.ts",
|
|
35
37
|
"prepare": "yarn simple-git-hooks init",
|
|
36
38
|
"prepack": "yarn build",
|
|
37
39
|
"release": "release publish",
|
|
@@ -85,7 +87,7 @@
|
|
|
85
87
|
"sideEffects": false,
|
|
86
88
|
"dependencies": {
|
|
87
89
|
"@mswjs/cookies": "^0.2.2",
|
|
88
|
-
"@mswjs/interceptors": "^0.17.
|
|
90
|
+
"@mswjs/interceptors": "^0.17.5",
|
|
89
91
|
"@open-draft/until": "^1.0.3",
|
|
90
92
|
"@types/cookie": "^0.4.1",
|
|
91
93
|
"@types/js-levenshtein": "^1.1.1",
|
|
@@ -93,7 +95,7 @@
|
|
|
93
95
|
"chokidar": "^3.4.2",
|
|
94
96
|
"cookie": "^0.4.2",
|
|
95
97
|
"graphql": "^15.0.0 || ^16.0.0",
|
|
96
|
-
"headers-polyfill": "^3.0
|
|
98
|
+
"headers-polyfill": "^3.1.0",
|
|
97
99
|
"inquirer": "^8.2.0",
|
|
98
100
|
"is-node-process": "^1.0.1",
|
|
99
101
|
"js-levenshtein": "^1.1.6",
|
|
@@ -101,7 +103,7 @@
|
|
|
101
103
|
"outvariant": "^1.3.0",
|
|
102
104
|
"path-to-regexp": "^6.2.0",
|
|
103
105
|
"statuses": "^2.0.0",
|
|
104
|
-
"strict-event-emitter": "^0.2.
|
|
106
|
+
"strict-event-emitter": "^0.2.6",
|
|
105
107
|
"type-fest": "^2.19.0",
|
|
106
108
|
"yargs": "^17.3.1"
|
|
107
109
|
},
|
|
@@ -111,7 +113,7 @@
|
|
|
111
113
|
"@commitlint/cli": "^16.1.0",
|
|
112
114
|
"@commitlint/config-conventional": "^16.0.0",
|
|
113
115
|
"@open-draft/test-server": "^0.2.3",
|
|
114
|
-
"@ossjs/release": "^0.
|
|
116
|
+
"@ossjs/release": "^0.4.0",
|
|
115
117
|
"@types/fs-extra": "^9.0.13",
|
|
116
118
|
"@types/jest": "26",
|
|
117
119
|
"@types/json-bigint": "^1.0.1",
|