Skip to content

Commit ea18857

Browse files
authored
Merge pull request #389 from mduchev/chore/update-express-version-5
Support Express v5, PR: #389 .
2 parents 69b9c85 + 6375ebd commit ea18857

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
- Replaced the test utility function `streamToString` with the function `text` from `node:stream/consumers` that’s available in modern Node.js.
1111
- Use the Node.js test runner API and remove the dev dependency [`test-director`](https://npm.im/test-director).
1212

13+
### Minor
14+
15+
- 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).
16+
1317
### Patch
1418

1519
- Updated GitHub Actions CI config:

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"node": "^18.18.0 || ^20.9.0 || >=22.0.0"
4949
},
5050
"peerDependencies": {
51-
"@types/express": "^4.0.29",
51+
"@types/express": "4.0.29 - 5",
5252
"@types/koa": "^2.11.4",
5353
"graphql": "^16.3.0"
5454
},
@@ -70,12 +70,12 @@
7070
"object-path": "^0.11.8"
7171
},
7272
"devDependencies": {
73-
"@types/express": "^4.17.17",
73+
"@types/express": "^5.0.0",
7474
"@types/koa": "^2.13.8",
7575
"coverage-node": "^8.0.0",
7676
"eslint": "^8.48.0",
7777
"eslint-plugin-simple-import-sort": "^10.0.0",
78-
"express": "^4.18.2",
78+
"express": "^5.0.0",
7979
"form-data-encoder": "^4.0.2",
8080
"graphql": "^16.8.0",
8181
"koa": "^2.14.2",

0 commit comments

Comments
 (0)