parse-server
parse-server copied to clipboard
refactor: Bump graphql-upload from 15.0.2 to 17.0.0
Bumps graphql-upload from 15.0.2 to 17.0.0.
Release notes
Sourced from graphql-upload's releases.
Version 17.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.
... (truncated)
Changelog
Sourced from graphql-upload's changelog.
17.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.
... (truncated)
Commits
421707fVersion 17.0.0.db00563Update the GitHub Actions CI workflow.218bc95Replacenpm runwithnode --run.352f3feReorder the package scripts.284410cUpdate the GitHub Action CI workflow.1cf3d56Tweak wording.3ddf628Update the GitHub Markdown syntax for alerts in the readme.e7a051cRemove an unnecessaryawaitin tests.1135035Replace the test helper classDeferredwith polyfilled `Promise.withResolve...1bc03b9Account for different Node.js version default stream high water mark values.- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.