Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 8, 2024

This PR contains the following updates:

Package Change Age Confidence
graphql-upload ^15.0.2^17.0.0 age confidence

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:

    - 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, and FormData APIs available in modern Node.js and removed the dev dependencies node-abort-controller and node-fetch.

  • Replaced the test utility function streamToString with the function text from node:stream/consumers that’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/express to 4.0.29 - 5 and the dev dependency express to v5, via #​389.
Patch
  • Tweaked the package description.
  • Updated the package.json field repository to conform to new npm requirements.
  • Updated the package scripts:
    • Reordered the scripts.
    • Replaced npm run with node --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 run with node --run.
    • Updated the tested Node.js versions to v18, v20, v22.
    • Updated actions/checkout to v4.
    • Updated actions/setup-node to v4.
  • Migrated to the ESLint v9 CLI and “flat” config.
  • Integrated a new dev dependency eslint-plugin-jsdoc and revised types.
  • Removed the Node.js CLI option --unhandled-rejections=throw in the package script tests as it’s now the default for all supported Node.js versions.
  • Avoid hardcoding a default value in the type FileUploadCreateReadStreamOptions property highWaterMark description and use the function getDefaultHighWaterMark from node:stream in tests.
  • Replaced the test helper class Deferred with polyfilled Promise.withResolvers.
  • Removed an unnecessary await in tests.
  • Omit unused catch bindings in the function processRequest.
  • Corrected the JSDoc type FileUploadCreateReadStreamOptions in the module processRequest.mjs.
  • Avoid using return in the middleware.
  • Added a new dev dependency async-listen to replace the test utility function listen.
  • Enabled the TypeScript compiler options noUnusedLocals and noUnusedParameters and 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

Compare Source

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:

v16.0.1

Compare Source

Patch
  • Support non latin1 characters in file names by setting the busboy option defParamCharset to utf8, fixing #​328.
  • Removed a redundant @ts-ignore comment.

v16.0.0

Compare Source

Major
  • Updated the fs-capacitor dependency to v8, fixing #​318.

  • The type FileUploadCreateReadStreamOptions from the processRequest.mjs module now uses types from fs-capacitor that are slightly more specific.

  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require. 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.

@renovate renovate bot changed the title fix(deps): update dependency graphql-upload to v17 fix(deps): update dependency graphql-upload to v17 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/graphql-upload-17.x branch December 8, 2024 18:41
@renovate renovate bot changed the title fix(deps): update dependency graphql-upload to v17 - autoclosed fix(deps): update dependency graphql-upload to v17 Dec 10, 2024
@renovate renovate bot reopened this Dec 10, 2024
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch 2 times, most recently from 8943d5f to 73ea083 Compare December 16, 2024 13:17
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from 73ea083 to 8ebbc3d Compare January 13, 2025 16:42
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from 8ebbc3d to 5235b3c Compare February 3, 2025 04:38
@dcousens dcousens added dependencies Related to our dependencies blocked labels Feb 10, 2025
@emmatown emmatown removed their assignment Feb 10, 2025
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from 5235b3c to e28e81f Compare March 3, 2025 15:11
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from e28e81f to 4e3f80b Compare August 11, 2025 16:46
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch 2 times, most recently from cdd3f44 to 93b615a Compare August 25, 2025 18:30
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch 2 times, most recently from b6a0958 to b5078d8 Compare September 2, 2025 16:56
@socket-security
Copy link

socket-security bot commented Sep 2, 2025

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Critical
Critical CVE: React Router has Path Traversal in File Session Storage in npm @remix-run/node

CVE: GHSA-9583-h5hc-x8cw React Router has Path Traversal in File Session Storage (CRITICAL)

Affected versions: < 2.17.2

Patched version: 2.17.2

From: examples/framework-remix/package.jsonnpm/@remix-run/node@1.19.3

ℹ Read more on: This package | This alert | What is a critical CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@remix-run/node@1.19.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from b5078d8 to b8b4404 Compare September 29, 2025 16:51
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch 2 times, most recently from 744f03a to 409ee5c Compare October 28, 2025 18:21
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from 409ee5c to be9a593 Compare November 10, 2025 16:50
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from be9a593 to d1d6754 Compare November 24, 2025 13:59
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from d1d6754 to e9c949c Compare December 22, 2025 17:11
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch 2 times, most recently from d0f67ba to 656c89e Compare January 12, 2026 13:13
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from 656c89e to a7ffe0d Compare January 26, 2026 18:39
@renovate renovate bot force-pushed the renovate/graphql-upload-17.x branch from a7ffe0d to a92ec94 Compare February 2, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked dependencies Related to our dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants