fix(deps): update dependency graphql-upload to v17 #9357
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:
^15.0.2->^17.0.0Release Notes
jaydenseric/graphql-upload (graphql-upload)
v17.0.0Compare Source
Major
Updated Node.js support to
^18.18.0 || ^20.9.0 || >=22.0.0.Updated dev dependencies, some of which require newer Node.js versions than previously supported.
Use the TypeScript v5.5+ JSDoc tag
@importto import types in modules.Removed JSDoc tag
@typedefthat were unintentionally re-exporting types; to migrate import TypeScript types from the correct module:Refactored tests to use the standard
AbortController,fetch,File, andFormDataAPIs available in modern Node.js and removed the dev dependenciesnode-abort-controllerandnode-fetch.Replaced the test utility function
streamToStringwith the functiontextfromnode:stream/consumersthat’s available in modern Node.js.Use the Node.js test runner API and remove the dev dependency
test-director.Minor
@types/expressto4.0.29 - 5and the dev dependencyexpressto v5, via #389.Patch
package.jsonfieldrepositoryto conform to new npm requirements.npm runwithnode --run.npm runwithnode --run.actions/checkoutto v4.actions/setup-nodeto v4.eslint-plugin-jsdocand revised types.--unhandled-rejections=throwin the package scripttestsas it’s now the default for all supported Node.js versions.FileUploadCreateReadStreamOptionspropertyhighWaterMarkdescription and use the functiongetDefaultHighWaterMarkfromnode:streamin tests.Deferredwith polyfilledPromise.withResolvers.awaitin tests.processRequest.FileUploadCreateReadStreamOptionsin the moduleprocessRequest.mjs.returnin the middleware.async-listento replace the test utility functionlisten.noUnusedLocalsandnoUnusedParametersand used the prefix_for purposefully unused function parameters in tests.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
Configuration
📅 Schedule: Branch creation - "before 7am on Tuesday,before 7am on Wednesday" in timezone Australia/Sydney, 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 was generated by Mend Renovate. View the repository job log.