From 62be0703b7348fdab11d98d2912ebecc0cfea850 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 15:39:37 +1000 Subject: [PATCH] chore(deps): bump the npm_and_yarn group across 4 directories with 2 updates (#819) * chore(deps): bump the npm_and_yarn group across 4 directories with 2 updates Bumps the npm_and_yarn group with 2 updates in the / directory: [uuid](https://github.com/uuidjs/uuid) and [follow-redirects](https://github.com/follow-redirects/follow-redirects). Bumps the npm_and_yarn group with 1 update in the /Extras/FrontendTests directory: [uuid](https://github.com/uuidjs/uuid). Bumps the npm_and_yarn group with 1 update in the /Extras/MinimalStreamTester directory: [uuid](https://github.com/uuidjs/uuid). Bumps the npm_and_yarn group with 1 update in the /Extras/mediasoup-sdp-bridge directory: [uuid](https://github.com/uuidjs/uuid). Updates `uuid` from 8.3.2 to 14.0.0 - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v14.0.0) Updates `follow-redirects` from 1.15.11 to 1.16.0 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.0) Updates `uuid` from 9.0.1 to 14.0.0 - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v14.0.0) Updates `uuid` from 9.0.1 to 14.0.0 - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v14.0.0) Updates `uuid` from 8.3.2 to 14.0.0 - [Release notes](https://github.com/uuidjs/uuid/releases) - [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md) - [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v14.0.0) --- updated-dependencies: - dependency-name: uuid dependency-version: 14.0.0 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: uuid dependency-version: 14.0.0 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: uuid dependency-version: 14.0.0 dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: uuid dependency-version: 14.0.0 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] * Drop uuid dependency from mediasoup-sdp-bridge uuid 10+ is ESM-only. mediasoup-sdp-bridge is a CommonJS package with moduleResolution: Node16, so the static `import { v4 as uuidv4 } from "uuid"` is rejected by tsc as TS1479 when dependabot bumped uuid from 8.3.2 to 14.0.0. The package requires Node >= 16 per its engines field, which has crypto.randomUUID() natively. The one call site uses only the first 8 characters of the UUID to build an MSID, so the swap is trivial and removes a third-party dependency from the bridge. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthew.Cotton (cherry picked from commit 2dc492cd03d45d4b31dd868ecf919ed7eefc03ee) --- Extras/FrontendTests/package.json | 2 +- Extras/MinimalStreamTester/package.json | 2 +- Extras/mediasoup-sdp-bridge/package.json | 4 +- Extras/mediasoup-sdp-bridge/src/index.ts | 4 +- package-lock.json | 57 ++++++++++++++---------- 5 files changed, 38 insertions(+), 31 deletions(-) mode change 100755 => 100644 Extras/FrontendTests/package.json diff --git a/Extras/FrontendTests/package.json b/Extras/FrontendTests/package.json old mode 100755 new mode 100644 index 7806857ac..22e977d3f --- a/Extras/FrontendTests/package.json +++ b/Extras/FrontendTests/package.json @@ -23,6 +23,6 @@ "@epicgames-ps/lib-pixelstreamingfrontend-ue5.7": "*", "dotenv": "^16.4.5", "node-fetch": "^2.7.0", - "uuid": "^9.0.0" + "uuid": "^14.0.0" } } diff --git a/Extras/MinimalStreamTester/package.json b/Extras/MinimalStreamTester/package.json index 2bb20496d..52723e4d0 100644 --- a/Extras/MinimalStreamTester/package.json +++ b/Extras/MinimalStreamTester/package.json @@ -20,6 +20,6 @@ "dependencies": { "dotenv": "^16.4.5", "node-fetch": "^2.7.0", - "uuid": "^9.0.0" + "uuid": "^14.0.0" } } diff --git a/Extras/mediasoup-sdp-bridge/package.json b/Extras/mediasoup-sdp-bridge/package.json index 43f25f58c..7936ea8dc 100644 --- a/Extras/mediasoup-sdp-bridge/package.json +++ b/Extras/mediasoup-sdp-bridge/package.json @@ -47,8 +47,7 @@ "h264-profile-level-id": "^1.0.1", "lodash": "^4.17.23", "sdp-transform": "^2.14.0", - "supports-color": "^7.1.0", - "uuid": "^8.1.0" + "supports-color": "^7.1.0" }, "devDependencies": { "@tsconfig/node16": "^1.0.0", @@ -56,7 +55,6 @@ "@types/lodash": "^4.0.0", "@types/node": "^22.14.0", "@types/sdp-transform": "^2.4.3", - "@types/uuid": "^8.0.0", "@typescript-eslint/eslint-plugin": "^8.48.0", "@typescript-eslint/parser": "^8.48.0", "eslint": "^9.39.0", diff --git a/Extras/mediasoup-sdp-bridge/src/index.ts b/Extras/mediasoup-sdp-bridge/src/index.ts index 6f32d288a..ec018fadf 100644 --- a/Extras/mediasoup-sdp-bridge/src/index.ts +++ b/Extras/mediasoup-sdp-bridge/src/index.ts @@ -12,8 +12,8 @@ import { WebRtcTransport, } from "mediasoup/node/lib/types"; +import { randomUUID } from "node:crypto"; import * as SdpTransform from "sdp-transform"; -import { v4 as uuidv4 } from "uuid"; import * as BrowserRtpCapabilities from "./BrowserRtpCapabilities"; import * as SdpUtils from "./SdpUtils"; @@ -254,7 +254,7 @@ export class SdpEndpoint { }); // Make an MSID to be used for both "audio" and "video" kinds. - const sendMsid = uuidv4().substr(0, 8); + const sendMsid = randomUUID().slice(0, 8); console.log("[SdpEndpoint.createOffer] Make 'sendonly' SDP Offer"); diff --git a/package-lock.json b/package-lock.json index f9828ce6b..3d49bb00d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ "@epicgames-ps/lib-pixelstreamingfrontend-ue5.7": "*", "dotenv": "^16.4.5", "node-fetch": "^2.7.0", - "uuid": "^9.0.0" + "uuid": "^14.0.0" }, "devDependencies": { "@playwright/test": "^1.49.1", @@ -74,6 +74,19 @@ "@types/uuid": "^9.0.8" } }, + "Extras/FrontendTests/node_modules/uuid": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz", + "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist-node/bin/uuid" + } + }, "Extras/JSStreamer": { "name": "@epicgames-ps/js-streamer", "version": "0.0.5", @@ -111,8 +124,7 @@ "h264-profile-level-id": "^1.0.1", "lodash": "^4.17.23", "sdp-transform": "^2.14.0", - "supports-color": "^7.1.0", - "uuid": "^8.1.0" + "supports-color": "^7.1.0" }, "devDependencies": { "@tsconfig/node16": "^1.0.0", @@ -120,7 +132,6 @@ "@types/lodash": "^4.0.0", "@types/node": "^22.14.0", "@types/sdp-transform": "^2.4.3", - "@types/uuid": "^8.0.0", "@typescript-eslint/eslint-plugin": "^8.48.0", "@typescript-eslint/parser": "^8.48.0", "eslint": "^9.39.0", @@ -148,13 +159,6 @@ "mediasoup-client": "^3.0.0" } }, - "Extras/mediasoup-sdp-bridge/node_modules/@types/uuid": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", - "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", - "dev": true, - "license": "MIT" - }, "Extras/mediasoup-sdp-bridge/node_modules/prettier": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", @@ -168,22 +172,13 @@ "node": ">=10.13.0" } }, - "Extras/mediasoup-sdp-bridge/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "Extras/MinimalStreamTester": { "version": "1.0.0", "license": "ISC", "dependencies": { "dotenv": "^16.4.5", "node-fetch": "^2.7.0", - "uuid": "^9.0.0" + "uuid": "^14.0.0" }, "devDependencies": { "@playwright/test": "^1.49.1", @@ -191,6 +186,19 @@ "@types/uuid": "^9.0.8" } }, + "Extras/MinimalStreamTester/node_modules/uuid": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz", + "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist-node/bin/uuid" + } + }, "Extras/SS_Test": { "version": "1.0.4", "license": "ISC", @@ -8536,9 +8544,9 @@ "license": "MIT" }, "node_modules/follow-redirects": { - "version": "1.15.11", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", - "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", + "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", "dev": true, "funding": [ { @@ -16582,6 +16590,7 @@ "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "dev": true, "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan"