Skip to content

Commit 92bf644

Browse files
authored
chore: bump express to update qs (#5621)
1 parent 792b2f0 commit 92bf644

File tree

3 files changed

+132
-66
lines changed

3 files changed

+132
-66
lines changed

package-lock.json

Lines changed: 126 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"dependencies": {
4747
"@types/bonjour": "^3.5.13",
4848
"@types/connect-history-api-fallback": "^1.5.4",
49-
"@types/express": "^4.17.21",
49+
"@types/express": "^4.17.25",
5050
"@types/express-serve-static-core": "^4.17.21",
5151
"@types/serve-index": "^1.9.4",
5252
"@types/serve-static": "^1.15.5",
@@ -56,9 +56,9 @@
5656
"bonjour-service": "^1.2.1",
5757
"chokidar": "^3.6.0",
5858
"colorette": "^2.0.10",
59-
"compression": "^1.7.4",
59+
"compression": "^1.8.1",
6060
"connect-history-api-fallback": "^2.0.0",
61-
"express": "^4.21.2",
61+
"express": "^4.22.1",
6262
"graceful-fs": "^4.2.6",
6363
"http-proxy-middleware": "^2.0.9",
6464
"ipaddr.js": "^2.1.0",
@@ -94,7 +94,6 @@
9494
"acorn": "^8.14.0",
9595
"babel-jest": "^30.0.4",
9696
"babel-loader": "^10.0.0",
97-
"body-parser": "^1.19.2",
9897
"connect": "^3.7.0",
9998
"core-js": "^3.38.1",
10099
"cspell": "^8.15.5",
@@ -128,7 +127,7 @@
128127
"sockjs-client": "^1.6.1",
129128
"standard-version": "^9.3.0",
130129
"style-loader": "^4.0.0",
131-
"supertest": "^7.0.0",
130+
"supertest": "^7.2.2",
132131
"tcp-port-used": "^1.0.2",
133132
"typescript": "^5.7.2",
134133
"typescript-eslint": "^8.36.0",

test/server/proxy-option.test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
const path = require("node:path");
44
const util = require("node:util");
5-
const bodyParser = require("body-parser");
65
const express = require("express");
76
const request = require("supertest");
87
const webpack = require("webpack");
@@ -686,10 +685,10 @@ describe("proxy option", () => {
686685
const proxy = express();
687686

688687
// Parse application/x-www-form-urlencoded
689-
proxy.use(bodyParser.urlencoded({ extended: false }));
688+
proxy.use(express.urlencoded({ extended: false }));
690689

691690
// Parse application/json
692-
proxy.use(bodyParser.json());
691+
proxy.use(express.json());
693692

694693
// This forces Express to try to decode URLs, which is needed for the test
695694
// associated with the middleware below.

0 commit comments

Comments
 (0)