fix(deps): update dependency graphql-upload to v17
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| graphql-upload | ^15.0.2 -> ^17.0.0 |
Release Notes
jaydenseric/graphql-upload (graphql-upload)
v17.0.0
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:- import type { GraphQLUpload } from "graphql-upload/Upload.mjs"; + import type GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";- import type { processRequest } from "graphql-upload/Upload.mjs"; + import type processRequest from "graphql-upload/processRequest.mjs";- import type { GraphQLUpload } from "graphql-upload/processRequest.mjs"; + import type GraphQLUpload from "graphql-upload/GraphQLUpload.mjs"; -
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
- Support Express v5 by updating the optional peer dependency
@types/expressto4.0.29 - 5and the dev dependencyexpressto v5, via #389.
Patch
- Tweaked the package description.
- Updated the
package.jsonfieldrepositoryto conform to new npm requirements. - Updated the package scripts:
- Reordered the scripts.
- Replaced
npm runwithnode --run.
- Updated GitHub Actions CI config:
- No longer run the workflow on pull request.
- Enable manual workflow dispatching.
- Run checks in seperate jobs.
- Removed custom step names.
- Replaced
npm runwithnode --run. - Updated the tested Node.js versions to v18, v20, v22.
- Updated
actions/checkoutto v4. - Updated
actions/setup-nodeto v4.
- Migrated to the ESLint v9 CLI and “flat” config.
- Integrated a new dev dependency
eslint-plugin-jsdocand revised types. - Removed the Node.js CLI option
--unhandled-rejections=throwin the package scripttestsas it’s now the default for all supported Node.js versions. - Avoid hardcoding a default value in the type
FileUploadCreateReadStreamOptionspropertyhighWaterMarkdescription and use the functiongetDefaultHighWaterMarkfromnode:streamin tests. - Replaced the test helper class
Deferredwith polyfilledPromise.withResolvers. - Removed an unnecessary
awaitin tests. - Omit unused catch bindings in the function
processRequest. - Corrected the JSDoc type
FileUploadCreateReadStreamOptionsin the moduleprocessRequest.mjs. - Avoid using
returnin the middleware. - Added a new dev dependency
async-listento replace the test utility functionlisten. - Enabled the TypeScript compiler options
noUnusedLocalsandnoUnusedParametersand used the prefix_for purposefully unused function parameters in tests. - Updated the GitHub Markdown syntax for alerts in the readme.
- Tweaked wording in the readme and JSDoc descriptions.
v16.0.2
Patch
- Updated dev dependencies.
- Use the
node:URL scheme for Node.js builtin module imports. - Improved JSDoc in the module
GraphQLUpload.mjs. - Revamped the readme:
- Removed the badges.
- More detailed installation instructions.
- Added information about TypeScript config and optimal JavaScript module design.
v16.0.1
Patch
- Support non
latin1characters in file names by setting thebusboyoptiondefParamCharsettoutf8, fixing #328. - Removed a redundant
@ts-ignorecomment.
v16.0.0
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:- import GraphQLUpload from "graphql-upload/GraphQLUpload.js"; + import GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";- import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.js"; + import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.mjs";- import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.js"; + import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.mjs";- import processRequest from "graphql-upload/processRequest.js"; + import processRequest from "graphql-upload/processRequest.mjs";- import Upload from "graphql-upload/Upload.js"; + import Upload from "graphql-upload/Upload.mjs";
Patch
- Updated dev dependencies.
- Updated examples in JSDoc comments.
- Updated the changelog entry for v14.0.0 to show how to migrate imports.
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
No dependency changes detected. Learn more about Socket for GitHub.
👍 No dependency changes detected in pull request
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security |
Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| cookie-signature@1.2.2 | ||||||
| lodash.debounce@4.0.8 | ||||||
| pluralize@8.0.0 | ||||||
| cors@2.8.5 | ||||||
| tree-kill@1.2.2 | ||||||
| prompts@2.4.2 | ||||||
| fast-glob@3.3.3 | ||||||
| decimal.js@10.6.0 | ||||||
| bytes@3.1.2 | ||||||
| classnames@2.5.1 | ||||||
| enquirer@2.4.1 | ||||||
| async-retry@1.3.3 | ||||||
| chalk@4.1.2 | ||||||
| cookie@1.0.2 | ||||||
| react@19.2.0 | ||||||
| ws@8.18.3 | ||||||
| conf@10.2.0 | ||||||
| prism-react-renderer@2.4.1 | ||||||
| globby@11.1.0 | ||||||
| typescript@5.9.3 | ||||||
| dotenv@16.6.1 | ||||||
| react-dom@19.2.0 | ||||||
| graphql@16.12.0 | ||||||
| prettier@3.6.2 | ||||||
| playwright@1.56.1 |