fix(deps): update dependency graphql-upload to v17 #2165
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:
13.0.0
->17.0.0
8.0.12
->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.v16.0.2
Compare Source
Patch
node:
URL scheme for Node.js builtin module imports.GraphQLUpload.mjs
.v16.0.1
Compare Source
Patch
latin1
characters in file names by setting thebusboy
optiondefParamCharset
toutf8
, fixing #328.@ts-ignore
comment.v16.0.0
Compare Source
Major
Updated the
fs-capacitor
dependency to v8, fixing #318.The type
FileUploadCreateReadStreamOptions
from theprocessRequest.mjs
module now uses types fromfs-capacitor
that are slightly more specific.The API is now ESM in
.mjs
files instead of CJS in.js
files, accessible viaimport
but notrequire
. To migrate imports:Patch
v15.0.2
Compare Source
Patch
ctx
parameter for the Koa middleware created by the functiongraphqlUploadKoa
, fromimport("koa").Context
toimport("koa").ParameterizedContext
.v15.0.1
Compare Source
Patch
graphqlUploadExpress.js
andgraphqlUploadKoa.js
within the moduleprocessRequest.js
, fixing #314.v15.0.0
Compare Source
Major
busboy
dependency to v1, fixing #311.processRequest
and the middlewaregraphqlUploadExpress
andgraphqlUploadKoa
the optionmaxFileSize
is actually 1 byte less than the amount specified.Patch
typescript
dev dependency.processRequest
use theon
method instead ofonce
to listen forerror
events on thebusboy
parser, as in edge cases the same parser could have multipleerror
events and all must be handled to prevent the Node.js process exiting with an error.processRequest
.processRequest
with a maliciously malformed multipart request.v14.0.0
Compare Source
Major
Updated Node.js support to
^14.17.0 || ^16.0.0 || >= 18.0.0
.Updated the
graphql
peer dependency to^16.3.0
.Updated the
http-errors
dependency to v2.Public modules are now individually listed in the package
files
andexports
fields.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
GraphQLUpload
scalar no longer uses deprecatedGraphQLError
constructor parameters.Patch
types
script.jsdoc-md
dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.hard-rejection
dev dependency. Instead, tests are run with the Node.js CLI flag--unhandled-rejections=throw
to make Node.js v14 behave like newer versions.formdata-node
dev dependency. Instead,File
andFormData
are imported fromnode-fetch
.actions/checkout
to v3.actions/setup-node
to v3..js
file extension inrequire
paths.Readable
propertyreadableEncoding
instead of_readableState.encoding
in tests.substring
instead of the deprecated string methodsubstr
in tests.license.md
MIT License file, closing #86.Configuration
📅 Schedule: Branch creation - "* 0-3 * * 1" (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 was generated by Mend Renovate. View the repository job log.