Skip to content

Commit

Permalink
Update to express 4.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amvanbaren committed Sep 13, 2024
1 parent 9259655 commit 9b7f368
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 61 deletions.
4 changes: 2 additions & 2 deletions webui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ COPY --chown=node:node --from=builder /home/node/builder/lib/default/server.js /
WORKDIR /home/node/webui

# Install Express server
RUN yarn add express@4.18.2
RUN yarn add express-rate-limit@7.2.0
RUN yarn add express@4.21.0
RUN yarn add express-rate-limit@7.4.0

EXPOSE 3000
ENTRYPOINT ["node", "lib/default/server"]
6 changes: 3 additions & 3 deletions webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@types/babel__core": "^7",
"@types/chai": "^4.3.5",
"@types/dompurify": "^3.0.2",
"@types/express": "^4.17.17",
"@types/express": "^4.17.21",
"@types/lodash": "^4.14.195",
"@types/markdown-it": "^13.0.1",
"@types/mocha": "^10.0.1",
Expand All @@ -90,8 +90,8 @@
"css-loader": "^6.8.1",
"eslint": "^8.44.0",
"eslint-plugin-react": "^7.32.2",
"express": "^4.18.2",
"express-rate-limit": "^7.2.0",
"express": "^4.21.0",
"express-rate-limit": "^7.4.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.5",
"source-map-loader": "^4.0.1",
Expand Down
82 changes: 26 additions & 56 deletions webui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ __metadata:
languageName: node
linkType: hard

"@types/express@npm:^4.17.17":
"@types/express@npm:^4.17.21":
version: 4.17.21
resolution: "@types/express@npm:4.17.21"
dependencies:
Expand Down Expand Up @@ -3074,18 +3074,18 @@ __metadata:
languageName: node
linkType: hard

"express-rate-limit@npm:^7.2.0":
version: 7.3.0
resolution: "express-rate-limit@npm:7.3.0"
"express-rate-limit@npm:^7.4.0":
version: 7.4.0
resolution: "express-rate-limit@npm:7.4.0"
peerDependencies:
express: 4 || 5 || ^5.0.0-beta.1
checksum: 10/6e8e96b99b983d558e979e599fe609a7c162ae6054c8e4fe59de8f8ee64d709a1682db0c43f4f98472ac7bc3eb8d0069c64dd74f0ab683a6fa58ef8cb1a8b965
checksum: 10/33178c652bb1472aad2022194b5cd7963bd3e74d3eaf5e49eb1491a968fdce54551cc76b097ac10d3a1646d62cec2e6f2405ccef5ef5b60152a0c4a148749a4d
languageName: node
linkType: hard

"express@npm:^4.18.2":
version: 4.20.0
resolution: "express@npm:4.20.0"
"express@npm:^4.21.0":
version: 4.21.0
resolution: "express@npm:4.21.0"
dependencies:
accepts: "npm:~1.3.8"
array-flatten: "npm:1.1.1"
Expand All @@ -3099,7 +3099,7 @@ __metadata:
encodeurl: "npm:~2.0.0"
escape-html: "npm:~1.0.3"
etag: "npm:~1.8.1"
finalhandler: "npm:1.2.0"
finalhandler: "npm:1.3.1"
fresh: "npm:0.5.2"
http-errors: "npm:2.0.0"
merge-descriptors: "npm:1.0.3"
Expand All @@ -3108,17 +3108,17 @@ __metadata:
parseurl: "npm:~1.3.3"
path-to-regexp: "npm:0.1.10"
proxy-addr: "npm:~2.0.7"
qs: "npm:6.11.0"
qs: "npm:6.13.0"
range-parser: "npm:~1.2.1"
safe-buffer: "npm:5.2.1"
send: "npm:0.19.0"
serve-static: "npm:1.16.0"
serve-static: "npm:1.16.2"
setprototypeof: "npm:1.2.0"
statuses: "npm:2.0.1"
type-is: "npm:~1.6.18"
utils-merge: "npm:1.0.1"
vary: "npm:~1.1.2"
checksum: 10/4131f566cf8f6d1611475d5ff5d0dbc5c628ad8b525aa2aa2b3da9a23a041efcce09ede10b8a31315b0258ac4e53208a009fd7669ee1eb385936a0d54adb3cde
checksum: 10/3b1ee5bc5b1bd996f688702519cebc9b63a24e506965f6e1773268238cfa2c24ffdb38cc3fcb4fde66f77de1c0bebd9ee058dad06bb9c6f084b525f3c09164d3
languageName: node
linkType: hard

Expand Down Expand Up @@ -3206,18 +3206,18 @@ __metadata:
languageName: node
linkType: hard

"finalhandler@npm:1.2.0":
version: 1.2.0
resolution: "finalhandler@npm:1.2.0"
"finalhandler@npm:1.3.1":
version: 1.3.1
resolution: "finalhandler@npm:1.3.1"
dependencies:
debug: "npm:2.6.9"
encodeurl: "npm:~1.0.2"
encodeurl: "npm:~2.0.0"
escape-html: "npm:~1.0.3"
on-finished: "npm:2.4.1"
parseurl: "npm:~1.3.3"
statuses: "npm:2.0.1"
unpipe: "npm:~1.0.0"
checksum: 10/635718cb203c6d18e6b48dfbb6c54ccb08ea470e4f474ddcef38c47edcf3227feec316f886dd701235997d8af35240cae49856721ce18f539ad038665ebbf163
checksum: 10/4babe72969b7373b5842bc9f75c3a641a4d0f8eb53af6b89fa714d4460ce03fb92b28de751d12ba415e96e7e02870c436d67412120555e2b382640535697305b
languageName: node
linkType: hard

Expand Down Expand Up @@ -4918,7 +4918,7 @@ __metadata:
"@types/babel__core": "npm:^7"
"@types/chai": "npm:^4.3.5"
"@types/dompurify": "npm:^3.0.2"
"@types/express": "npm:^4.17.17"
"@types/express": "npm:^4.17.21"
"@types/lodash": "npm:^4.14.195"
"@types/markdown-it": "npm:^13.0.1"
"@types/mocha": "npm:^10.0.1"
Expand All @@ -4940,8 +4940,8 @@ __metadata:
dompurify: "npm:^3.0.4"
eslint: "npm:^8.44.0"
eslint-plugin-react: "npm:^7.32.2"
express: "npm:^4.18.2"
express-rate-limit: "npm:^7.2.0"
express: "npm:^4.21.0"
express-rate-limit: "npm:^7.4.0"
fetch-retry: "npm:^5.0.6"
lodash: "npm:^4.17.21"
markdown-it: "npm:^13.0.1"
Expand Down Expand Up @@ -5307,15 +5307,6 @@ __metadata:
languageName: node
linkType: hard

"qs@npm:6.11.0":
version: 6.11.0
resolution: "qs@npm:6.11.0"
dependencies:
side-channel: "npm:^1.0.4"
checksum: 10/5a3bfea3e2f359ede1bfa5d2f0dbe54001aa55e40e27dc3e60fab814362d83a9b30758db057c2011b6f53a2d4e4e5150194b5bac45372652aecb3e3c0d4b256e
languageName: node
linkType: hard

"qs@npm:6.13.0":
version: 6.13.0
resolution: "qs@npm:6.13.0"
Expand Down Expand Up @@ -5749,27 +5740,6 @@ __metadata:
languageName: node
linkType: hard

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

"send@npm:0.19.0":
version: 0.19.0
resolution: "send@npm:0.19.0"
Expand Down Expand Up @@ -5809,15 +5779,15 @@ __metadata:
languageName: node
linkType: hard

"serve-static@npm:1.16.0":
version: 1.16.0
resolution: "serve-static@npm:1.16.0"
"serve-static@npm:1.16.2":
version: 1.16.2
resolution: "serve-static@npm:1.16.2"
dependencies:
encodeurl: "npm:~1.0.2"
encodeurl: "npm:~2.0.0"
escape-html: "npm:~1.0.3"
parseurl: "npm:~1.3.3"
send: "npm:0.18.0"
checksum: 10/29a01f67e8c64a359d49dd0c46bc95bb4aa99781f97845dccbf0c8cd0284c5fd79ad7fb9433a36fac4b6c58b577d3eab314a379142412413b8b5cd73be3cd551
send: "npm:0.19.0"
checksum: 10/7fa9d9c68090f6289976b34fc13c50ac8cd7f16ae6bce08d16459300f7fc61fbc2d7ebfa02884c073ec9d6ab9e7e704c89561882bbe338e99fcacb2912fde737
languageName: node
linkType: hard

Expand Down

0 comments on commit 9b7f368

Please sign in to comment.