Skip to content

Commit

Permalink
Merge pull request #227 from element-hq/renovate/vaul
Browse files Browse the repository at this point in the history
Update dependency vaul to ^0.9.0
  • Loading branch information
robintown authored Aug 2, 2024
2 parents de9c42e + 1811113 commit 8f850b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"@radix-ui/react-slot": "^1.0.2",
"classnames": "^2.3.2",
"ts-xor": "^1.3.0",
"vaul": "^0.7.0"
"vaul": "^0.9.0"
},
"peerDependencies": {
"@fontsource/inconsolata": "^5",
Expand Down
3 changes: 3 additions & 0 deletions src/components/Menu/Menu.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ import userEvent from "@testing-library/user-event";
import { getPlatform } from "../../utils/platform";

vi.mock("../../utils/platform", () => ({ getPlatform: vi.fn(() => "other") }));
vi.spyOn(window, "matchMedia").mockReturnValue({
matches: false,
} as unknown as MediaQueryList);

async function withPlatform(
platform: ReturnType<typeof getPlatform>,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8225,10 +8225,10 @@ vary@~1.1.2:
resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==

vaul@^0.7.0:
version "0.7.2"
resolved "https://registry.yarnpkg.com/vaul/-/vaul-0.7.2.tgz#10594441989d274ffd8b91720e2218bb7b23aec5"
integrity sha512-pdVwdV93YNZnm07ix2lcq8Xmohto9ExNDLiZk3oo33lIbxl9Yx2WvPOADvVNHxoOO8nzE87M2RUgXD1GuaWxMw==
vaul@^0.9.0:
version "0.9.1"
resolved "https://registry.yarnpkg.com/vaul/-/vaul-0.9.1.tgz#3640198e04636b209b1f907fcf3079bec6ecc66b"
integrity sha512-fAhd7i4RNMinx+WEm6pF3nOl78DFkAazcN04ElLPFF9BMCNGbY/kou8UMhIcicm0rJCNePJP0Yyza60gGOD0Jw==
dependencies:
"@radix-ui/react-dialog" "^1.0.4"

Expand Down

0 comments on commit 8f850b6

Please sign in to comment.