Skip to content

Commit 69b9c85

Browse files
committed
Update the dev dependency form-data-encoder to v4.
1 parent ea1f22f commit 69b9c85

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"eslint": "^8.48.0",
7777
"eslint-plugin-simple-import-sort": "^10.0.0",
7878
"express": "^4.18.2",
79-
"form-data-encoder": "^3.0.0",
79+
"form-data-encoder": "^4.0.2",
8080
"graphql": "^16.8.0",
8181
"koa": "^2.14.2",
8282
"prettier": "^3.0.2",

test/abortingMultipartRequest.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ export default async function abortingMultipartRequest(
2323
requestReceived,
2424
) {
2525
const abortController = new AbortController();
26-
const encoder = new FormDataEncoder(
27-
// @ts-expect-error https://github.com/octet-stream/form-data-encoder/issues/16
28-
formData,
29-
);
26+
const encoder = new FormDataEncoder(formData);
3027

3128
try {
3229
await fetch(url, {

0 commit comments

Comments
 (0)