Skip to content

Commit 16dfa32

Browse files
Update express to version 5.1.0 (mastodon#36669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0d48005 commit 16dfa32

3 files changed

Lines changed: 207 additions & 246 deletions

File tree

streaming/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ const startServer = async () => {
996996
// @ts-expect-error
997997
api.use(errorMiddleware);
998998

999-
api.get('/api/v1/streaming/*', (req, res) => {
999+
api.get('/api/v1/streaming/*splat', (req, res) => {
10001000
// @ts-expect-error
10011001
const channelName = channelNameFromPath(req);
10021002

streaming/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dependencies": {
2020
"cors": "^2.8.5",
2121
"dotenv": "^16.0.3",
22-
"express": "^4.18.2",
22+
"express": "^5.1.0",
2323
"ioredis": "^5.3.2",
2424
"jsdom": "^27.0.0",
2525
"pg": "^8.5.0",
@@ -33,7 +33,7 @@
3333
"devDependencies": {
3434
"@eslint/js": "^9.23.0",
3535
"@types/cors": "^2.8.16",
36-
"@types/express": "^4.17.17",
36+
"@types/express": "^5.0.5",
3737
"@types/pg": "^8.6.6",
3838
"@types/ws": "^8.5.9",
3939
"globals": "^16.0.0",

0 commit comments

Comments
 (0)