Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d61505

Browse files
BrunoQuaresmaaslilac
authored andcommitted
chore: downgrade msw and @radix-ui/dialog (#20098)
The upgrade caused the following error:```node: ../deps/uv/src/unix/stream.c:456: uv__stream_destroy: Assertion `!uv__io_active(&stream->io_watcher, POLLIN | POLLOUT)' failed.```After downgrading `msw`, a new error appeared only in`WorkspacesPage.test.tsx`:```<--- Last few GCs --->[2799:0x292c2000] 16790 ms: Scavenge 336.1 (443.3) -> 322.8 (443.3) MB, pooled: 32 MB, 6.45 / 0.00 ms (average mu = 0.997, current mu = 0.996) allocation failure; [2799:0x292c2000] 16883 ms: Scavenge 336.7 (443.3) -> 326.8 (443.3) MB, pooled: 32 MB, 8.29 / 0.00 ms (average mu = 0.997, current mu = 0.996) allocation failure; [2799:0x292c2000] 16989 ms: Scavenge 339.6 (443.3) -> 329.1 (443.3) MB, pooled: 32 MB, 9.87 / 0.00 ms (average mu = 0.997, current mu = 0.996) allocation failure; ```After some debugging, I traced it to `@radix-ui/dialog`. I didn’t findany open issues about memory leaks there, so my guess is it’s just usingmore memory than our default allocation. Jest has an option to increasethe memory limit, but we should be fine for now.Related issue:[https://github.com/mswjs/msw/issues/2537](https://github.com/mswjs/msw/issues/2537)
1 parentaff4398 commit7d61505

File tree

2 files changed

+139
-173
lines changed

2 files changed

+139
-173
lines changed

‎site/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@radix-ui/react-avatar":"1.1.2",
5656
"@radix-ui/react-checkbox":"1.1.4",
5757
"@radix-ui/react-collapsible":"1.1.2",
58-
"@radix-ui/react-dialog":"1.1.15",
58+
"@radix-ui/react-dialog":"1.1.4",
5959
"@radix-ui/react-dropdown-menu":"2.1.4",
6060
"@radix-ui/react-label":"2.1.0",
6161
"@radix-ui/react-popover":"1.1.5",
@@ -169,7 +169,7 @@
169169
"jest-websocket-mock":"2.5.0",
170170
"jest_workaround":"0.1.14",
171171
"knip":"5.64.1",
172-
"msw":"2.11.3",
172+
"msw":"2.4.8",
173173
"postcss":"8.5.1",
174174
"protobufjs":"7.4.0",
175175
"rollup-plugin-visualizer":"5.14.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp