msw 0.27.1 → 0.28.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "msw",
3
- "version": "0.27.1",
3
+ "version": "0.28.2",
4
4
  "description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
5
5
  "main": "lib/umd/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -14,8 +14,8 @@
14
14
  "lint": "eslint \"{cli,config,src,test}/**/*.ts\"",
15
15
  "build": "yarn clean && yarn lint && cross-env NODE_ENV=production rollup -c rollup.config.ts && yarn test:ts",
16
16
  "test": "yarn test:unit && yarn test:integration",
17
- "test:unit": "cross-env BABEL_ENV=test jest --runInBand",
18
- "test:integration": "node --max_old_space_size=8000 node_modules/jest/bin/jest.js --config=test/jest.config.js --runInBand",
17
+ "test:unit": "cross-env BABEL_ENV=test jest --maxWorkers=3",
18
+ "test:integration": "jest --config=test/jest.config.js --maxWorkers=3",
19
19
  "test:smoke": "config/scripts/smoke.sh",
20
20
  "test:ts": "tsc -p test/typings/tsconfig.json",
21
21
  "test:focused": "node node_modules/ts-node/dist/bin.js --project=test/tsconfig.json test/focusedTest.ts",
@@ -64,6 +64,8 @@
64
64
  ],
65
65
  "sideEffects": false,
66
66
  "dependencies": {
67
+ "@mswjs/cookies": "^0.1.4",
68
+ "@mswjs/interceptors": "^0.8.0",
67
69
  "@open-draft/until": "^1.0.3",
68
70
  "@types/cookie": "^0.4.0",
69
71
  "@types/inquirer": "^7.3.1",
@@ -72,15 +74,13 @@
72
74
  "chokidar": "^3.4.2",
73
75
  "cookie": "^0.4.1",
74
76
  "graphql": "^15.4.0",
75
- "headers-utils": "^1.2.0",
77
+ "headers-utils": "^3.0.2",
76
78
  "inquirer": "^7.3.3",
77
79
  "js-levenshtein": "^1.1.6",
78
80
  "node-fetch": "^2.6.1",
79
81
  "node-match-path": "^0.6.1",
80
- "node-request-interceptor": "^0.6.3",
81
82
  "statuses": "^2.0.0",
82
- "strict-event-emitter": "^0.1.0",
83
- "virtual-cookies": "^0.1.2",
83
+ "strict-event-emitter": "^0.2.0",
84
84
  "yargs": "^16.2.0"
85
85
  },
86
86
  "devDependencies": {
@@ -92,7 +92,6 @@
92
92
  "@rollup/plugin-json": "^4.1.0",
93
93
  "@rollup/plugin-node-resolve": "^11.1.0",
94
94
  "@rollup/plugin-replace": "^2.4.1",
95
- "@types/express": "^4.17.11",
96
95
  "@types/fs-extra": "^9.0.6",
97
96
  "@types/jest": "^26.0.20",
98
97
  "@types/json-bigint": "^1.0.0",
@@ -109,15 +108,13 @@
109
108
  "eslint": "^7.18.0",
110
109
  "eslint-config-prettier": "^8.1.0",
111
110
  "eslint-plugin-prettier": "^3.3.1",
112
- "express": "^4.17.1",
113
111
  "fs-extra": "^9.1.0",
114
112
  "fs-teardown": "^0.1.1",
115
113
  "husky": "^5.1.1",
116
- "ignore-loader": "^0.1.2",
117
114
  "jest": "^26.6.3",
118
115
  "json-bigint": "^1.0.0",
119
116
  "lint-staged": "^10.5.1",
120
- "page-with": "^0.2.6",
117
+ "page-with": "^0.3.4",
121
118
  "prettier": "^2.2.1",
122
119
  "regenerator-runtime": "^0.13.7",
123
120
  "rimraf": "^3.0.2",