msw 0.44.2 → 0.45.0

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.44.2",
3
+ "version": "0.45.0",
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",
@@ -77,7 +77,6 @@
77
77
  "chalk": "4.1.1",
78
78
  "chokidar": "^3.4.2",
79
79
  "cookie": "^0.4.2",
80
- "graphql": "^16.3.0",
81
80
  "headers-polyfill": "^3.0.4",
82
81
  "inquirer": "^8.2.0",
83
82
  "is-node-process": "^1.0.1",
@@ -116,6 +115,7 @@
116
115
  "eslint-plugin-prettier": "^3.4.0",
117
116
  "fs-extra": "^10.0.0",
118
117
  "fs-teardown": "^0.3.0",
118
+ "graphql": "^16.3.0",
119
119
  "jest": "26",
120
120
  "json-bigint": "^1.0.0",
121
121
  "lint-staged": "^11.0.1",
@@ -134,9 +134,13 @@
134
134
  "webpack-dev-server": "^3.11.2"
135
135
  },
136
136
  "peerDependencies": {
137
+ "graphql": "^15.0.0 || ^16.0.0",
137
138
  "typescript": ">= 4.2.x <= 4.7.x"
138
139
  },
139
140
  "peerDependenciesMeta": {
141
+ "graphql": {
142
+ "optional": true
143
+ },
140
144
  "typescript": {
141
145
  "optional": true
142
146
  }