Skip to content

Commit

Permalink
Update the dev dependency form-data-encoder to v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydenseric committed Oct 1, 2024
1 parent ea1f22f commit 69b9c85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 1 addition & 4 deletions test/abortingMultipartRequest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 69b9c85

Please sign in to comment.