Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency graphql-upload to v16 #921

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 5, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-upload ^13.0.0 -> ^16.0.2 age adoption passing confidence
@types/graphql-upload (source) ^8.0.12 -> ^16.0.7 age adoption passing confidence

Release Notes

jaydenseric/graphql-upload (graphql-upload)

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.

v15.0.2

Compare Source

Patch
  • Updated dev dependencies.
  • Corrected the TypeScript type for the Koa context ctx parameter for the Koa middleware created by the function graphqlUploadKoa, from import("koa").Context to import("koa").ParameterizedContext.

v15.0.1

Compare Source

Patch
  • Don’t import and link types from the middlware modules graphqlUploadExpress.js and graphqlUploadKoa.js within the module processRequest.js, fixing #​314.

v15.0.0

Compare Source

Major
  • Updated the busboy dependency to v1, fixing #​311.
    • This important update addresses the vulnerability CVE-2022-24434 (GHSA-wm7h-9275-46v2).
    • Some error messages have changed.
    • Temporarily until mscdex/busboy#297 is fixed upstream, for the function processRequest and the middleware graphqlUploadExpress and graphqlUploadKoa the option maxFileSize is actually 1 byte less than the amount specified.
Patch
  • Updated the typescript dev dependency.
  • In the function processRequest use the on method instead of once to listen for error events on the busboy parser, as in edge cases the same parser could have multiple error events and all must be handled to prevent the Node.js process exiting with an error.
  • Simplified error handling within the function processRequest.
  • Added a test for the function 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 and exports fields.

  • Removed the package main index module; deep imports must be used. To migrate imports:

    - import { GraphQLUpload } from "graphql-upload";
    + import GraphQLUpload from "graphql-upload/GraphQLUpload.js";
    - import { graphqlUploadExpress } from "graphql-upload";
    + import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.js";
    - import { graphqlUploadKoa } from "graphql-upload";
    + import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.js";
    - import { processRequest } from "graphql-upload";
    + import processRequest from "graphql-upload/processRequest.js";
    - import { Upload } from "graphql-upload";
    + import Upload from "graphql-upload/Upload.js";
  • Shortened public module deep import paths, removing the /public/. To migrate imports:

    - import GraphQLUpload from "graphql-upload/public/GraphQLUpload.js";
    + import GraphQLUpload from "graphql-upload/GraphQLUpload.js";
    - import graphqlUploadExpress from "graphql-upload/public/graphqlUploadExpress.js";
    + import graphqlUploadExpress from "graphql-upload/graphqlUploadExpress.js";
    - import graphqlUploadKoa from "graphql-upload/public/graphqlUploadKoa.js";
    + import graphqlUploadKoa from "graphql-upload/graphqlUploadKoa.js";
    - import processRequest from "graphql-upload/public/processRequest.js";
    + import processRequest from "graphql-upload/processRequest.js";
    - import Upload from "graphql-upload/public/Upload.js";
    + import Upload from "graphql-upload/Upload.js";
  • Implemented TypeScript types via JSDoc comments, closing #​282.

  • The GraphQLUpload scalar no longer uses deprecated GraphQLError constructor parameters.

Patch
  • Updated dev dependencies.
  • Simplified dev dependencies and config for ESLint.
  • Check TypeScript types via a new package types script.
  • Removed the jsdoc-md dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.
  • Removed the 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.
  • Removed the formdata-node dev dependency. Instead, File and FormData are imported from node-fetch.
  • Updated GitHub Actions CI config:
    • Run tests with Node.js v14, v16, v18.
    • Updated actions/checkout to v3.
    • Updated actions/setup-node to v3.
  • Reorganized the test file structure.
  • Use the .js file extension in require paths.
  • Use the Node.js Readable property readableEncoding instead of _readableState.encoding in tests.
  • Use substring instead of the deprecated string method substr in tests.
  • Fixed a typo in a code comment.
  • Updated documentation.
  • Added a license.md MIT License file, closing #​86.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

@vercel
Copy link

vercel bot commented Sep 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-ez ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2024 8:54pm

@changeset-bot
Copy link

changeset-bot bot commented Sep 5, 2022

⚠️ No Changeset found

Latest commit: 9907b75

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 2004c41 to b1e91e4 Compare October 9, 2022 03:34
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from b1e91e4 to ee701e5 Compare October 9, 2022 04:01
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from ee701e5 to b4f9b5f Compare October 9, 2022 04:33
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from b4f9b5f to 0019186 Compare December 18, 2022 03:54
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 0019186 to 0948d54 Compare December 18, 2022 04:11
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 0948d54 to a249a04 Compare December 18, 2022 15:08
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from a249a04 to 0b39214 Compare December 18, 2022 15:43
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 0b39214 to 8b4207c Compare December 18, 2022 16:53
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 8b4207c to 2a5a6d9 Compare December 18, 2022 18:55
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 2a5a6d9 to d79b761 Compare March 22, 2023 21:56
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from d79b761 to 16cec48 Compare April 26, 2023 17:24
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 16cec48 to 9c5db2d Compare April 26, 2023 19:05
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 9c5db2d to 4463918 Compare May 1, 2023 15:59
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 4463918 to e809d74 Compare August 22, 2023 21:10
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from e809d74 to 13e4416 Compare September 20, 2023 20:04
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 13e4416 to af549d5 Compare October 10, 2023 19:43
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from af549d5 to 25a6ff6 Compare October 18, 2023 18:33
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 25a6ff6 to 2d98b38 Compare November 7, 2023 10:05
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 2d98b38 to eb8d830 Compare January 2, 2024 22:37
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from eb8d830 to d4d74d0 Compare January 3, 2024 20:05
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch 2 times, most recently from ae02ed1 to 4f985cc Compare January 4, 2024 16:27
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch 2 times, most recently from 7517b68 to 2f74763 Compare January 4, 2024 20:19
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from 2f74763 to b49cec4 Compare January 4, 2024 20:44
@renovate renovate bot force-pushed the renovate/graphql-upload-16.x branch from b49cec4 to 9907b75 Compare January 4, 2024 20:51
Copy link

vercel bot commented Jan 4, 2024

Deployment failed with the following error:

Resource is limited - try again in 19 hours (more than 100, code: "api-deployments-free-per-day").

@renovate renovate bot enabled auto-merge (rebase) March 20, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants