fix(deps): update dependency graphql-upload to v16 #643
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^12.0.0->^16.0.0^8.0.4->^16.0.0Release Notes
jaydenseric/graphql-upload (graphql-upload)
v16.0.2Compare Source
Patch
node:URL scheme for Node.js builtin module imports.GraphQLUpload.mjs.v16.0.1Compare Source
Patch
latin1characters in file names by setting thebusboyoptiondefParamCharsettoutf8, fixing #328.@ts-ignorecomment.v16.0.0Compare Source
Major
Updated the
fs-capacitordependency to v8, fixing #318.The type
FileUploadCreateReadStreamOptionsfrom theprocessRequest.mjsmodule now uses types fromfs-capacitorthat are slightly more specific.The API is now ESM in
.mjsfiles instead of CJS in.jsfiles, accessible viaimportbut notrequire. To migrate imports:Patch
v15.0.2Compare Source
Patch
ctxparameter for the Koa middleware created by the functiongraphqlUploadKoa, fromimport("koa").Contexttoimport("koa").ParameterizedContext.v15.0.1Compare Source
Patch
graphqlUploadExpress.jsandgraphqlUploadKoa.jswithin the moduleprocessRequest.js, fixing #314.v15.0.0Compare Source
Major
busboydependency to v1, fixing #311.processRequestand the middlewaregraphqlUploadExpressandgraphqlUploadKoathe optionmaxFileSizeis actually 1 byte less than the amount specified.Patch
typescriptdev dependency.processRequestuse theonmethod instead ofonceto listen forerrorevents on thebusboyparser, as in edge cases the same parser could have multipleerrorevents and all must be handled to prevent the Node.js process exiting with an error.processRequest.processRequestwith a maliciously malformed multipart request.v14.0.0Compare Source
Major
Updated Node.js support to
^14.17.0 || ^16.0.0 || >= 18.0.0.Updated the
graphqlpeer dependency to^16.3.0.Updated the
http-errorsdependency to v2.Public modules are now individually listed in the package
filesandexportsfields.Removed the package main index module; deep imports must be used. To migrate imports:
Shortened public module deep import paths, removing the
/public/. To migrate imports:Implemented TypeScript types via JSDoc comments, closing #282.
The
GraphQLUploadscalar no longer uses deprecatedGraphQLErrorconstructor parameters.Patch
typesscript.jsdoc-mddev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.hard-rejectiondev dependency. Instead, tests are run with the Node.js CLI flag--unhandled-rejections=throwto make Node.js v14 behave like newer versions.formdata-nodedev dependency. Instead,FileandFormDataare imported fromnode-fetch.actions/checkoutto v3.actions/setup-nodeto v3..jsfile extension inrequirepaths.ReadablepropertyreadableEncodinginstead of_readableState.encodingin tests.substringinstead of the deprecated string methodsubstrin tests.license.mdMIT License file, closing #86.v13.0.0Compare Source
Major
^12.22.0 || ^14.17.0 || >= 16.0.0../packagefrom the packageexportsfield; the fullpackage.jsonfilename must be used in arequirepath.Patch
graphqlpeer dependency to0.13.1 - 16.processRequestfunction with a GraphQL multipart request that has no files.processRequestfunction with an unparsable multipart request.form-datadev dependency withformdata-node,formdata-node, andnode-abort-controllerand refactored tests to align with web standards.processRequestfunction to remove theisobjectdependency.processRequestfunction, via #273:Uploadscalar valuecreateReadStreammethod:errorevent when the multipart request is aborted certain ways while the file is uploading.errorevent details for multipart request file field parse errors.singleQuoteto the default,false.Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.