Update dependency graphql-upload to v17 #9038
Open
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:
16.0.2
->17.0.0
Release Notes
jaydenseric/graphql-upload (graphql-upload)
v17.0.0
Compare 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
@import
to import types in modules.Removed JSDoc tag
@typedef
that were unintentionally re-exporting types; to migrate import TypeScript types from the correct module:Refactored tests to use the standard
AbortController
,fetch
,File
, andFormData
APIs available in modern Node.js and removed the dev dependenciesnode-abort-controller
andnode-fetch
.Replaced the test utility function
streamToString
with the functiontext
fromnode:stream/consumers
that’s available in modern Node.js.Use the Node.js test runner API and remove the dev dependency
test-director
.Minor
@types/express
to4.0.29 - 5
and the dev dependencyexpress
to v5, via #389.Patch
package.json
fieldrepository
to conform to new npm requirements.npm run
withnode --run
.npm run
withnode --run
.actions/checkout
to v4.actions/setup-node
to v4.eslint-plugin-jsdoc
and revised types.--unhandled-rejections=throw
in the package scripttests
as it’s now the default for all supported Node.js versions.FileUploadCreateReadStreamOptions
propertyhighWaterMark
description and use the functiongetDefaultHighWaterMark
fromnode:stream
in tests.Deferred
with polyfilledPromise.withResolvers
.await
in tests.processRequest
.FileUploadCreateReadStreamOptions
in the moduleprocessRequest.mjs
.return
in the middleware.async-listen
to replace the test utility functionlisten
.noUnusedLocals
andnoUnusedParameters
and used the prefix_
for purposefully unused function parameters in tests.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.