Skip to content

Commit

Permalink
Merge pull request #8514 from ledgersmb/renovate/master-undici-7.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency undici to v7 (master)
  • Loading branch information
ehuelsmann authored Dec 27, 2024
2 parents 6a0cd8f + c58942b commit 8268bde
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion UI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion UI/tests/common/jest-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import {
afterEach
} from "@jest/globals";
import "core-js";
import { server } from "./mocks/server.js";
import { setGlobalOrigin } from "undici";

import "./mocks/lsmb_elements";
import { server } from "./mocks/server.js";

Object.defineProperty(window, "lsmbConfig", {
writable: true,
Expand Down
7 changes: 7 additions & 0 deletions UI/tests/common/mocks/server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
/** @format */
/* global globalThis */

import { setupServer } from "msw/node";
import { handlers } from "./handlers";
const { MessageChannel, MessagePort } = require("node:worker_threads");

// This configures a Service Server with the given request handlers.
export const server = setupServer(...handlers);

Object.defineProperties(globalThis, {
MessageChannel: { value: MessageChannel },
MessagePort: { value: MessagePort }
});
8 changes: 4 additions & 4 deletions UI/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10282,10 +10282,10 @@ undici-types@~6.19.8:
resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz"
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"
Expand Down

0 comments on commit 8268bde

Please sign in to comment.