Skip to content

Commit

Permalink
chore: Upgraded package versions for CGAlerts (#2170)
Browse files Browse the repository at this point in the history
#### Details
Upgrade express from 4.19.2 to 4.20.0 to fix the vulnerability.
Upgrade serve-static from 1.15.0 to 1.16.0 to fix the vulnerability.
Upgrade send from 0.18.0 to 0.19.0 to fix the vulnerability.
Upgrade body-parser from 1.20.2 to 1.20.3 to fix the vulnerability.
Upgrade path-to-regexp from 0.1.7 to 0.1.10 to fix the vulnerability.
Upgrade path-to-regexp from 1.8.0 to 1.9.0 to fix the vulnerability.
<!-- Usually a sentence or two describing what the PR changes -->

##### Motivation

<!-- This can be as simple as "addresses issue #123" -->
[CG Work
Items](https://dev.azure.com/mseng/1ES/_queries/query/894c54da-1edd-4c5c-ae4d-38903314430c/)

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [ ] Addresses an existing issue: Fixes #0000
- [ ] Added relevant unit test for your changes. (`yarn test`)
- [ ] Verified code coverage for the changes made. Check coverage report
at: `<rootDir>/test-results/unit/coverage`
- [ ] Ran precheckin (`yarn precheckin`)
  • Loading branch information
v-singhanjal authored Sep 12, 2024
1 parent 9e11018 commit 5c9721b
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 27 deletions.
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,15 @@
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
},
"resolutions": {
"y18n@^4.0.0": "^5.0.5",
"tough-cookie": "^4.1.3",
"hosted-git-info@^2.1.4": "^3.0.8",
"ansi-regex@^4.1.0": "^5.0.1",
"cosmiconfig@^7.0.1": "^8.1.3",
"pac-resolver": "^7.0.1",
"socks": "^2.8.3",
"ws": "^8.17.1"
}
"resolutions": {
"y18n@^4.0.0": "^5.0.5",
"tough-cookie": "^4.1.3",
"hosted-git-info@^2.1.4": "^3.0.8",
"ansi-regex@^4.1.0": "^5.0.1",
"cosmiconfig@^7.0.1": "^8.1.3",
"pac-resolver": "^7.0.1",
"socks": "^2.8.3",
"ws": "^8.17.1",
"path-to-regexp": "^1.9.0"
}
}
4 changes: 2 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"accessibility-insights-report": "5.1.0",
"accessibility-insights-scan": "^3.0.0",
"axe-core": "^4.9.1",
"express": "^4.19.2",
"express": "^4.20.0",
"filenamify-url": "^3.1.0",
"get-port": "^7.1.0",
"inversify": "6.0.1",
Expand All @@ -43,7 +43,7 @@
"pony-cause": "^2.1.11",
"reflect-metadata": "^0.2.2",
"serialize-error": "^11.0.3",
"serve-static": "^1.15.0"
"serve-static": "^1.16.0"
},
"devDependencies": {
"@types/express": "^4.17.21",
Expand Down
165 changes: 150 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ __metadata:
axe-core: ^4.9.1
eslint: ^8.57.0
eslint-plugin-security: ^1.7.1
express: ^4.19.2
express: ^4.20.0
filenamify-url: ^3.1.0
fork-ts-checker-webpack-plugin: ^9.0.2
get-port: ^7.1.0
Expand All @@ -86,7 +86,7 @@ __metadata:
reflect-metadata: ^0.2.2
rimraf: ^5.0.5
serialize-error: ^11.0.3
serve-static: ^1.15.0
serve-static: ^1.16.0
ts-jest: ^29.1.5
ts-loader: ^9.5.1
typemoq: ^2.1.0
Expand Down Expand Up @@ -7232,6 +7232,26 @@ __metadata:
languageName: node
linkType: hard

"body-parser@npm:1.20.3":
version: 1.20.3
resolution: "body-parser@npm:1.20.3"
dependencies:
bytes: 3.1.2
content-type: ~1.0.5
debug: 2.6.9
depd: 2.0.0
destroy: 1.2.0
http-errors: 2.0.0
iconv-lite: 0.4.24
on-finished: 2.4.1
qs: 6.13.0
raw-body: 2.5.2
type-is: ~1.6.18
unpipe: 1.0.0
checksum: 1a35c59a6be8d852b00946330141c4f142c6af0f970faa87f10ad74f1ee7118078056706a05ae3093c54dabca9cd3770fa62a170a85801da1a4324f04381167d
languageName: node
linkType: hard

"bonjour-service@npm:^1.0.11":
version: 1.2.1
resolution: "bonjour-service@npm:1.2.1"
Expand Down Expand Up @@ -9470,6 +9490,13 @@ __metadata:
languageName: node
linkType: hard

"encodeurl@npm:~2.0.0":
version: 2.0.0
resolution: "encodeurl@npm:2.0.0"
checksum: abf5cd51b78082cf8af7be6785813c33b6df2068ce5191a40ca8b1afe6a86f9230af9a9ce694a5ce4665955e5c1120871826df9c128a642e09c58d592e2807fe
languageName: node
linkType: hard

"encoding-down@npm:^7.1.0":
version: 7.1.0
resolution: "encoding-down@npm:7.1.0"
Expand Down Expand Up @@ -10338,7 +10365,7 @@ __metadata:
languageName: node
linkType: hard

"express@npm:^4.17.3, express@npm:^4.19.2":
"express@npm:^4.17.3":
version: 4.19.2
resolution: "express@npm:4.19.2"
dependencies:
Expand Down Expand Up @@ -10377,6 +10404,45 @@ __metadata:
languageName: node
linkType: hard

"express@npm:^4.20.0":
version: 4.21.0
resolution: "express@npm:4.21.0"
dependencies:
accepts: ~1.3.8
array-flatten: 1.1.1
body-parser: 1.20.3
content-disposition: 0.5.4
content-type: ~1.0.4
cookie: 0.6.0
cookie-signature: 1.0.6
debug: 2.6.9
depd: 2.0.0
encodeurl: ~2.0.0
escape-html: ~1.0.3
etag: ~1.8.1
finalhandler: 1.3.1
fresh: 0.5.2
http-errors: 2.0.0
merge-descriptors: 1.0.3
methods: ~1.1.2
on-finished: 2.4.1
parseurl: ~1.3.3
path-to-regexp: 0.1.10
proxy-addr: ~2.0.7
qs: 6.13.0
range-parser: ~1.2.1
safe-buffer: 5.2.1
send: 0.19.0
serve-static: 1.16.2
setprototypeof: 1.2.0
statuses: 2.0.1
type-is: ~1.6.18
utils-merge: 1.0.1
vary: ~1.1.2
checksum: 1c5212993f665809c249bf00ab550b989d1365a5b9171cdfaa26d93ee2ef10cd8add520861ec8d5da74b3194d8374e1d9d53e85ef69b89fd9c4196b87045a5d4
languageName: node
linkType: hard

"extract-zip@npm:2.0.1":
version: 2.0.1
resolution: "extract-zip@npm:2.0.1"
Expand Down Expand Up @@ -10631,6 +10697,21 @@ __metadata:
languageName: node
linkType: hard

"finalhandler@npm:1.3.1":
version: 1.3.1
resolution: "finalhandler@npm:1.3.1"
dependencies:
debug: 2.6.9
encodeurl: ~2.0.0
escape-html: ~1.0.3
on-finished: 2.4.1
parseurl: ~1.3.3
statuses: 2.0.1
unpipe: ~1.0.0
checksum: a8c58cd97c9cd47679a870f6833a7b417043f5a288cd6af6d0f49b476c874a506100303a128b6d3b654c3d74fa4ff2ffed68a48a27e8630cda5c918f2977dcf4
languageName: node
linkType: hard

"find-cache-dir@npm:^3.3.1":
version: 3.3.2
resolution: "find-cache-dir@npm:3.3.2"
Expand Down Expand Up @@ -14808,6 +14889,13 @@ __metadata:
languageName: node
linkType: hard

"merge-descriptors@npm:1.0.3":
version: 1.0.3
resolution: "merge-descriptors@npm:1.0.3"
checksum: 52117adbe0313d5defa771c9993fe081e2d2df9b840597e966aadafde04ae8d0e3da46bac7ca4efc37d4d2b839436582659cd49c6a43eacb3fe3050896a105d1
languageName: node
linkType: hard

"merge-stream@npm:^2.0.0":
version: 2.0.0
resolution: "merge-stream@npm:2.0.0"
Expand Down Expand Up @@ -16085,19 +16173,12 @@ __metadata:
languageName: node
linkType: hard

"path-to-regexp@npm:0.1.7":
version: 0.1.7
resolution: "path-to-regexp@npm:0.1.7"
checksum: 69a14ea24db543e8b0f4353305c5eac6907917031340e5a8b37df688e52accd09e3cebfe1660b70d76b6bd89152f52183f28c74813dbf454ba1a01c82a38abce
languageName: node
linkType: hard

"path-to-regexp@npm:^1.7.0":
version: 1.8.0
resolution: "path-to-regexp@npm:1.8.0"
"path-to-regexp@npm:^1.9.0":
version: 1.9.0
resolution: "path-to-regexp@npm:1.9.0"
dependencies:
isarray: 0.0.1
checksum: 709f6f083c0552514ef4780cb2e7e4cf49b0cc89a97439f2b7cc69a608982b7690fb5d1720a7473a59806508fc2dae0be751ba49f495ecf89fd8fbc62abccbcd
checksum: 5b2ac9cab2a9f82effd30a35164b20998b18d99d96608281dd2cab6e66c0e4536187970369b185ab21d3815da1ecb7dcb2d5f97a4bf0ee6e31a9612299fca147
languageName: node
linkType: hard

Expand Down Expand Up @@ -17479,6 +17560,15 @@ __metadata:
languageName: node
linkType: hard

"qs@npm:6.13.0":
version: 6.13.0
resolution: "qs@npm:6.13.0"
dependencies:
side-channel: ^1.0.6
checksum: e9404dc0fc2849245107108ce9ec2766cde3be1b271de0bf1021d049dc5b98d1a2901e67b431ac5509f865420a7ed80b7acb3980099fe1c118a1c5d2e1432ad8
languageName: node
linkType: hard

"querystringify@npm:^2.1.1":
version: 2.2.0
resolution: "querystringify@npm:2.2.0"
Expand Down Expand Up @@ -18646,6 +18736,27 @@ __metadata:
languageName: node
linkType: hard

"send@npm:0.19.0":
version: 0.19.0
resolution: "send@npm:0.19.0"
dependencies:
debug: 2.6.9
depd: 2.0.0
destroy: 1.2.0
encodeurl: ~1.0.2
escape-html: ~1.0.3
etag: ~1.8.1
fresh: 0.5.2
http-errors: 2.0.0
mime: 1.6.0
ms: 2.1.3
on-finished: 2.4.1
range-parser: ~1.2.1
statuses: 2.0.1
checksum: 5ae11bd900c1c2575525e2aa622e856804e2f96a09281ec1e39610d089f53aa69e13fd8db84b52f001d0318cf4bb0b3b904ad532fc4c0014eb90d32db0cff55f
languageName: node
linkType: hard

"serialize-error@npm:^11.0.3":
version: 11.0.3
resolution: "serialize-error@npm:11.0.3"
Expand Down Expand Up @@ -18706,7 +18817,7 @@ __metadata:
languageName: node
linkType: hard

"serve-static@npm:1.15.0, serve-static@npm:^1.15.0":
"serve-static@npm:1.15.0":
version: 1.15.0
resolution: "serve-static@npm:1.15.0"
dependencies:
Expand All @@ -18718,6 +18829,18 @@ __metadata:
languageName: node
linkType: hard

"serve-static@npm:1.16.2, serve-static@npm:^1.16.0":
version: 1.16.2
resolution: "serve-static@npm:1.16.2"
dependencies:
encodeurl: ~2.0.0
escape-html: ~1.0.3
parseurl: ~1.3.3
send: 0.19.0
checksum: dffc52feb4cc5c68e66d0c7f3c1824d4e989f71050aefc9bd5f822a42c54c9b814f595fc5f2b717f4c7cc05396145f3e90422af31186a93f76cf15f707019759
languageName: node
linkType: hard

"set-blocking@npm:^2.0.0":
version: 2.0.0
resolution: "set-blocking@npm:2.0.0"
Expand Down Expand Up @@ -18877,6 +19000,18 @@ __metadata:
languageName: node
linkType: hard

"side-channel@npm:^1.0.6":
version: 1.0.6
resolution: "side-channel@npm:1.0.6"
dependencies:
call-bind: ^1.0.7
es-errors: ^1.3.0
get-intrinsic: ^1.2.4
object-inspect: ^1.13.1
checksum: bfc1afc1827d712271453e91b7cd3878ac0efd767495fd4e594c4c2afaa7963b7b510e249572bfd54b0527e66e4a12b61b80c061389e129755f34c493aad9b97
languageName: node
linkType: hard

"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7":
version: 3.0.7
resolution: "signal-exit@npm:3.0.7"
Expand Down

0 comments on commit 5c9721b

Please sign in to comment.