Skip to content

Commit 37049ca

Browse files
authored
feat(RemoteHttpInterceptor): support fetch requests by default (#710)
1 parent 51924bd commit 37049ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1317
-3498
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ node_modules
55
lib
66
package-lock.json
77
.idea
8+
/test-results

package.json

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -123,60 +123,57 @@
123123
"url": "https://github.com/mswjs/interceptors"
124124
},
125125
"devDependencies": {
126-
"@commitlint/cli": "^16.0.2",
127-
"@commitlint/config-conventional": "^16.0.0",
126+
"@commitlint/cli": "^19.7.1",
127+
"@commitlint/config-conventional": "^19.7.1",
128128
"@open-draft/test-server": "^0.5.1",
129129
"@ossjs/release": "^0.8.1",
130-
"@playwright/test": "^1.37.1",
130+
"@playwright/test": "^1.51.0",
131131
"@types/cors": "^2.8.12",
132-
"@types/express": "^4.17.13",
132+
"@types/express": "^5.0.0",
133133
"@types/express-fileupload": "^1.5.0",
134-
"@types/express-rate-limit": "^6.0.0",
135134
"@types/follow-redirects": "^1.14.1",
136-
"@types/jest": "^27.0.3",
137-
"@types/node": "^18.19.31",
138-
"@types/node-fetch": "2.5.12",
135+
"@types/node": "^22.13.9",
136+
"@types/node-fetch": "2.6.12",
139137
"@types/superagent": "^8.1.9",
140-
"@types/supertest": "^2.0.11",
141-
"@types/ws": "^8.5.10",
142-
"axios": "^1.6.0",
138+
"@types/supertest": "^6.0.2",
139+
"@types/ws": "^8.18.0",
140+
"axios": "^1.8.2",
143141
"body-parser": "^1.19.0",
144142
"commitizen": "^4.2.4",
145143
"cors": "^2.8.5",
146144
"cross-env": "^7.0.3",
147145
"cz-conventional-changelog": "3.3.0",
148146
"engine.io-parser": "^5.2.1",
149-
"express": "^4.17.3",
147+
"express": "^4.21.2",
150148
"express-fileupload": "^1.5.1",
151-
"express-rate-limit": "^6.3.0",
149+
"express-rate-limit": "^7.5.0",
152150
"follow-redirects": "^1.15.1",
153-
"got": "^11.8.3",
154-
"happy-dom": "^12.10.3",
155-
"jest": "^27.4.3",
156-
"node-fetch": "2.6.7",
157-
"rimraf": "^3.0.2",
151+
"got": "^14.4.6",
152+
"happy-dom": "^17.3.0",
153+
"node-fetch": "3.3.2",
154+
"rimraf": "^6.0.1",
158155
"simple-git-hooks": "^2.7.0",
159156
"socket.io": "^4.7.4",
160157
"socket.io-client": "^4.7.4",
161158
"socket.io-parser": "^4.2.4",
162159
"superagent": "^10.1.1",
163-
"supertest": "^6.1.6",
164-
"ts-jest": "^27.1.1",
160+
"supertest": "^7.0.0",
165161
"tsup": "^6.5.0",
166-
"typescript": "^4.9.4",
167-
"undici": "^6.6.2",
168-
"vitest": "^1.2.2",
162+
"typescript": "^5.8.2",
163+
"undici": "^7.4.0",
164+
"vitest": "^3.0.8",
169165
"vitest-environment-miniflare": "^2.14.1",
170166
"wait-for-expect": "^3.0.2",
171167
"web-encoding": "^1.1.5",
172168
"webpack-http-server": "^0.5.0",
173-
"ws": "^8.16.0"
169+
"ws": "^8.18.1"
174170
},
175171
"dependencies": {
176172
"@open-draft/deferred-promise": "^2.2.0",
177173
"@open-draft/logger": "^0.3.0",
178174
"@open-draft/until": "^2.0.0",
179175
"is-node-process": "^1.2.0",
176+
"jsdom": "^26.0.0",
180177
"outvariant": "^1.4.3",
181178
"strict-event-emitter": "^0.5.1"
182179
},
@@ -201,4 +198,4 @@
201198
"path": "./node_modules/cz-conventional-changelog"
202199
}
203200
}
204-
}
201+
}

0 commit comments

Comments
 (0)