diff --git a/package.json b/package.json index b2cc7ae..aff6568 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "eslint": "^8.48.0", "eslint-plugin-simple-import-sort": "^10.0.0", "express": "^4.18.2", - "form-data-encoder": "^3.0.0", + "form-data-encoder": "^4.0.2", "graphql": "^16.8.0", "koa": "^2.14.2", "prettier": "^3.0.2", diff --git a/test/abortingMultipartRequest.mjs b/test/abortingMultipartRequest.mjs index a699435..75fa57c 100644 --- a/test/abortingMultipartRequest.mjs +++ b/test/abortingMultipartRequest.mjs @@ -23,10 +23,7 @@ export default async function abortingMultipartRequest( requestReceived, ) { const abortController = new AbortController(); - const encoder = new FormDataEncoder( - // @ts-expect-error https://github.com/octet-stream/form-data-encoder/issues/16 - formData, - ); + const encoder = new FormDataEncoder(formData); try { await fetch(url, {