Skip to content

Commit

Permalink
Merge pull request #389 from mduchev/chore/update-express-version-5
Browse files Browse the repository at this point in the history
Support Express v5, PR: #389 .
  • Loading branch information
jaydenseric authored Oct 1, 2024
2 parents 69b9c85 + 6375ebd commit ea18857
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
- 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`](https://npm.im/test-director).

### Minor

- Support Express v5 by updating the optional peer dependency [`@types/express`](https://npm.im/@types/express) to `4.0.29 - 5` and the dev dependency [`express`](https://npm.im/express) to v5, via [#389](https://github.com/jaydenseric/graphql-upload/pull/389).

### Patch

- Updated GitHub Actions CI config:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"node": "^18.18.0 || ^20.9.0 || >=22.0.0"
},
"peerDependencies": {
"@types/express": "^4.0.29",
"@types/express": "4.0.29 - 5",
"@types/koa": "^2.11.4",
"graphql": "^16.3.0"
},
Expand All @@ -70,12 +70,12 @@
"object-path": "^0.11.8"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/express": "^5.0.0",
"@types/koa": "^2.13.8",
"coverage-node": "^8.0.0",
"eslint": "^8.48.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"express": "^4.18.2",
"express": "^5.0.0",
"form-data-encoder": "^4.0.2",
"graphql": "^16.8.0",
"koa": "^2.14.2",
Expand Down

0 comments on commit ea18857

Please sign in to comment.