diff --git a/UI/package.json b/UI/package.json index 85b33316e3..155302870f 100644 --- a/UI/package.json +++ b/UI/package.json @@ -123,7 +123,7 @@ "stylelint-webpack-plugin": "5.0.1", "tmp": "0.2.3", "typescript": "5.6.2", - "undici": "5.28.4", + "undici": "6.19.8", "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 8b47223652..99c431bc3d 100644 --- a/UI/tests/common/jest.polyfills.js +++ b/UI/tests/common/jest.polyfills.js @@ -2,11 +2,14 @@ /* global globalThis */ const { TextEncoder, TextDecoder } = require("node:util"); +const { ReadableStream, TransformStream } = require("node:stream/web"); const { performance } = require("node:perf_hooks"); Object.defineProperties(globalThis, { + ReadableStream: { value: ReadableStream }, TextDecoder: { value: TextDecoder }, TextEncoder: { value: TextEncoder }, + TransformStream: { value: TransformStream }, performance: { value: performance } }); diff --git a/UI/yarn.lock b/UI/yarn.lock index 7d6de4d0d7..6fe2f7cc5a 100644 --- a/UI/yarn.lock +++ b/UI/yarn.lock @@ -1418,11 +1418,6 @@ resolved "https://registry.yarnpkg.com/@exodus/schemasafe/-/schemasafe-1.3.0.tgz#731656abe21e8e769a7f70a4d833e6312fe59b7f" integrity sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw== -"@fastify/busboy@^2.0.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.0.tgz#0709e9f4cb252351c609c6e6d8d6779a8d25edff" - integrity sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA== - "@humanfs/core@^0.19.0": version "0.19.0" resolved "https://registry.yarnpkg.com/@humanfs/core/-/core-0.19.0.tgz#08db7a8c73bb07673d9ebd925f2dad746411fcec" @@ -10580,12 +10575,10 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -undici@5.28.4: - version "5.28.4" - resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068" - integrity sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g== - dependencies: - "@fastify/busboy" "^2.0.0" +undici@6.19.8: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici/-/undici-6.19.8.tgz#002d7c8a28f8cc3a44ff33c3d4be4d85e15d40e1" + integrity sha512-U8uCCl2x9TK3WANvmBavymRzxbfFYG+tAu+fgx3zxQy3qdagQqBLwJVrdyO1TBfUXvfKveMKJZhpvUYoOjM+4g== unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0"