Skip to content

Commit 6883718

Browse files
[UE5.6] Updating dependencies to fix vulnerabilities in qs. (#770) (#774)
* Updating dependencies to fix vulnerabilities in qs. (#770) * Updating dependencies to fix vulnerabilities in qs. https://github.com/EpicGamesExt/PixelStreamingInfrastructure/security/dependabot/129 * Fixed tests docker using the pushed js-streamer rather than local. * fixing linting. (cherry picked from commit 2a43f9d) # Conflicts: # Extras/FrontendTests/package.json # Extras/JSStreamer/package.json # SignallingWebServer/package.json # package-lock.json * Bumping js-streamer patch version * Fixing linter issues. * Disabling flakey latency test.
1 parent 09f53de commit 6883718

File tree

7 files changed

+938
-346
lines changed

7 files changed

+938
-346
lines changed

Extras/FrontendTests/dockerfiles/linux/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
FROM node:20-bookworm
22

3+
WORKDIR /js-streamer
4+
COPY /Extras/JSStreamer .
5+
RUN npm install && npm run build
6+
37
WORKDIR /tester
48
COPY /Extras/FrontendTests .
9+
RUN npm link ../js-streamer
510

611
RUN npm install
712
RUN npx playwright install firefox

Extras/FrontendTests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@types/uuid": "^9.0.8"
1919
},
2020
"dependencies": {
21-
"@epicgames-ps/js-streamer": "^0.0.4",
21+
"@epicgames-ps/js-streamer": "^0.0.5",
2222
"@epicgames-ps/lib-pixelstreamingfrontend-ue5.6": "*",
2323
"dotenv": "^16.4.5",
2424
"node-fetch": "^2.7.0",

Extras/FrontendTests/tests/peerconnection.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,8 @@ test('Test latency calculation with video timing', {
137137
tag: ['@video-timing'],
138138
}, async ({ page, streamerPage, streamerId, browserName }) => {
139139

140-
if(browserName !== 'chromium') {
141-
// Chrome based browsers are the only ones that support.
142-
test.skip();
143-
}
140+
test.skip(process.platform === 'linux', 'Flakey on linux');
141+
test.skip(browserName !== 'chromium', 'Chrome based browsers are the only supported browsers');
144142

145143
await page.goto(`/?StreamerId=${streamerId}`);
146144

Extras/JSStreamer/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@epicgames-ps/js-streamer",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "A Node JS implementation of a webrtc streamer for testing.",
55
"main": "dist/cjs/pixelstreamingjsstreamer.js",
66
"types": "dist/types/pixelstreamingjsstreamer.d.ts",
@@ -33,11 +33,12 @@
3333
"typescript-eslint": "^8.24.0",
3434
"webpack": "^5.97.1",
3535
"webpack-cli": "^6.0.1",
36-
"webpack-dev-server": "^5.2.0",
36+
"webpack-dev-server": "^5.2.3",
3737
"webpack-node-externals": "^3.0.0"
3838
},
3939
"dependencies": {
40-
"@epicgames-ps/lib-pixelstreamingcommon-ue5.6": "*"
40+
"@epicgames-ps/lib-pixelstreamingcommon-ue5.6": "*",
41+
"body-parser": "^1.20.4"
4142
},
4243
"overrides": {
4344
"http-proxy-middleware": "2.0.8"

Signalling/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
"typescript-eslint": "^8.24.0"
3636
},
3737
"dependencies": {
38-
"express": "^4.21.2",
39-
"express-rate-limit": "^7.5.0",
38+
"body-parser": "^1.20.4",
39+
"express": "^4.22.1",
40+
"express-rate-limit": "^8.2.1",
4041
"helmet": "^8.0.0",
4142
"hsts": "^2.2.0",
4243
"jsonc": "^2.0.0",

SignallingWebServer/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
},
3131
"dependencies": {
3232
"@epicgames-ps/lib-pixelstreamingsignalling-ue5.6": "*",
33+
"body-parser": "^1.20.4",
3334
"commander": "^12.0.0",
34-
"express": "^4.21.2",
35+
"express": "^4.22.1",
3536
"express-openapi": "^12.1.3",
3637
"jsonc": "^2.0.0"
3738
},

0 commit comments

Comments
 (0)