Skip to content

Commit 508ff73

Browse files
Bumped express to version 4.21.2. This was required to resolve CVE-2024-52798 on path-to-regexp package. (#205)
Co-authored-by: stefano <stefano@zebedee.io>
1 parent d15c0c0 commit 508ff73

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@wesleytodd/openapi": "^1.1.0",
4343
"compression": "^1.7.4",
4444
"cors": "^2.8.5",
45-
"express": "^4.21.0",
45+
"express": "^4.21.2",
4646
"json-schema-to-ts": "^3.1.0",
4747
"openapi-types": "^12.1.3",
4848
"prom-client": "^15.1.3",

yarn.lock

+14-7
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ __metadata:
17691769
babel-jest: "npm:^29.7.0"
17701770
compression: "npm:^1.7.4"
17711771
cors: "npm:^2.8.5"
1772-
express: "npm:^4.21.0"
1772+
express: "npm:^4.21.2"
17731773
jest: "npm:^29.7.0"
17741774
json-schema-to-ts: "npm:^3.1.0"
17751775
openapi-types: "npm:^12.1.3"
@@ -2961,16 +2961,16 @@ __metadata:
29612961
languageName: node
29622962
linkType: hard
29632963

2964-
"express@npm:^4.21.0":
2965-
version: 4.21.0
2966-
resolution: "express@npm:4.21.0"
2964+
"express@npm:^4.21.2":
2965+
version: 4.21.2
2966+
resolution: "express@npm:4.21.2"
29672967
dependencies:
29682968
accepts: "npm:~1.3.8"
29692969
array-flatten: "npm:1.1.1"
29702970
body-parser: "npm:1.20.3"
29712971
content-disposition: "npm:0.5.4"
29722972
content-type: "npm:~1.0.4"
2973-
cookie: "npm:0.6.0"
2973+
cookie: "npm:0.7.1"
29742974
cookie-signature: "npm:1.0.6"
29752975
debug: "npm:2.6.9"
29762976
depd: "npm:2.0.0"
@@ -2984,7 +2984,7 @@ __metadata:
29842984
methods: "npm:~1.1.2"
29852985
on-finished: "npm:2.4.1"
29862986
parseurl: "npm:~1.3.3"
2987-
path-to-regexp: "npm:0.1.10"
2987+
path-to-regexp: "npm:0.1.12"
29882988
proxy-addr: "npm:~2.0.7"
29892989
qs: "npm:6.13.0"
29902990
range-parser: "npm:~1.2.1"
@@ -2996,7 +2996,7 @@ __metadata:
29962996
type-is: "npm:~1.6.18"
29972997
utils-merge: "npm:1.0.1"
29982998
vary: "npm:~1.1.2"
2999-
checksum: 10c0/4cf7ca328f3fdeb720f30ccb2ea7708bfa7d345f9cc460b64a82bf1b2c91e5b5852ba15a9a11b2a165d6089acf83457fc477dc904d59cd71ed34c7a91762c6cc
2999+
checksum: 10c0/38168fd0a32756600b56e6214afecf4fc79ec28eca7f7a91c2ab8d50df4f47562ca3f9dee412da7f5cea6b1a1544b33b40f9f8586dbacfbdada0fe90dbb10a1f
30003000
languageName: node
30013001
linkType: hard
30023002

@@ -4925,6 +4925,13 @@ __metadata:
49254925
languageName: node
49264926
linkType: hard
49274927

4928+
"path-to-regexp@npm:0.1.12":
4929+
version: 0.1.12
4930+
resolution: "path-to-regexp@npm:0.1.12"
4931+
checksum: 10c0/1c6ff10ca169b773f3bba943bbc6a07182e332464704572962d277b900aeee81ac6aa5d060ff9e01149636c30b1f63af6e69dd7786ba6e0ddb39d4dee1f0645b
4932+
languageName: node
4933+
linkType: hard
4934+
49284935
"path-to-regexp@npm:^6.2.1":
49294936
version: 6.3.0
49304937
resolution: "path-to-regexp@npm:6.3.0"

0 commit comments

Comments
 (0)