diff --git a/UI/package.json b/UI/package.json index 66a8010b44..12f6d33504 100644 --- a/UI/package.json +++ b/UI/package.json @@ -124,7 +124,7 @@ "stylelint-webpack-plugin": "5.0.1", "tmp": "0.2.3", "typescript": "5.7.2", - "undici": "6.21.0", + "undici": "7.2.0", "unix-timestamp": "1.1.0", "unused-webpack-plugin": "2.4.0", "vue-i18n-extract-translations": "0.1.3", diff --git a/UI/tests/common/jest.polyfills.js b/UI/tests/common/jest.polyfills.js index 99c431bc3d..5f88045a59 100644 --- a/UI/tests/common/jest.polyfills.js +++ b/UI/tests/common/jest.polyfills.js @@ -3,9 +3,12 @@ const { TextEncoder, TextDecoder } = require("node:util"); const { ReadableStream, TransformStream } = require("node:stream/web"); +const { MessageChannel, MessagePort } = require("node:worker_threads"); const { performance } = require("node:perf_hooks"); Object.defineProperties(globalThis, { + MessageChannel: { value: MessageChannel }, + MessagePort: { value: MessagePort }, ReadableStream: { value: ReadableStream }, TextDecoder: { value: TextDecoder }, TextEncoder: { value: TextEncoder }, diff --git a/UI/yarn.lock b/UI/yarn.lock index b7f1a8aecb..f864b70d79 100644 --- a/UI/yarn.lock +++ b/UI/yarn.lock @@ -10258,10 +10258,10 @@ undici-types@~6.19.8: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== -undici@6.21.0: - version "6.21.0" - resolved "https://registry.yarnpkg.com/undici/-/undici-6.21.0.tgz#4b3d3afaef984e07b48e7620c34ed8a285ed4cd4" - integrity sha512-BUgJXc752Kou3oOIuU1i+yZZypyZRqNPW0vqoMPl8VaoalSfeR0D8/t4iAS3yirs79SSMTxTag+ZC86uswv+Cw== +undici@7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/undici/-/undici-7.2.0.tgz#446219e2a57cfcbdc2f135fcfa6dc662b3cae169" + integrity sha512-klt+0S55GBViA9nsq48/NSCo4YX5mjydjypxD7UmHh/brMu8h/Mhd/F7qAeoH2NOO8SDTk6kjnTFc4WpzmfYpQ== unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.1"