Skip to content

Commit b40f852

Browse files
committed
feat: upgrade to zustand v5
1 parent 731140f commit b40f852

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

packages/raga-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"usehooks-ts": "3.1.0",
4545
"wavesurfer.js": "^7.8.6",
4646
"web-audio-beat-detector": "^8.2.14",
47-
"zustand": "^4.5.5"
47+
"zustand": "^5.0.0-rc.2"
4848
},
4949
"devDependencies": {
5050
"@blueprintjs/node-build-scripts": "^9.2.2",

packages/raga-app/src/client/components/trackTable/trackTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import classNames from "classnames";
2626
import { unique } from "radash";
2727
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
2828
import { Roarr as log } from "roarr";
29-
import { useShallow } from "zustand/react/shallow";
29+
import { useShallow } from "zustand/shallow";
3030

3131
import { TRACK_TABLE_HEADER_HEIGHT, TRACK_TABLE_ROW_HEIGHT } from "../../../common/constants";
3232
import { ClientErrors } from "../../../common/errorMessages";

yarn.lock

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ __metadata:
6363
vite: "npm:^5.4.8"
6464
wavesurfer.js: "npm:^7.8.6"
6565
web-audio-beat-detector: "npm:^8.2.14"
66-
zustand: "npm:^4.5.5"
66+
zustand: "npm:^5.0.0-rc.2"
6767
languageName: unknown
6868
linkType: soft
6969

@@ -12857,7 +12857,7 @@ __metadata:
1285712857
languageName: node
1285812858
linkType: hard
1285912859

12860-
"use-sync-external-store@npm:1.2.2, use-sync-external-store@npm:^1.2.0":
12860+
"use-sync-external-store@npm:^1.2.0":
1286112861
version: 1.2.2
1286212862
resolution: "use-sync-external-store@npm:1.2.2"
1286312863
peerDependencies:
@@ -13541,22 +13541,23 @@ __metadata:
1354113541
languageName: node
1354213542
linkType: hard
1354313543

13544-
"zustand@npm:^4.5.5":
13545-
version: 4.5.5
13546-
resolution: "zustand@npm:4.5.5"
13547-
dependencies:
13548-
use-sync-external-store: "npm:1.2.2"
13544+
"zustand@npm:^5.0.0-rc.2":
13545+
version: 5.0.0-rc.2
13546+
resolution: "zustand@npm:5.0.0-rc.2"
1354913547
peerDependencies:
13550-
"@types/react": ">=16.8"
13548+
"@types/react": ">=18.0.0"
1355113549
immer: ">=9.0.6"
13552-
react: ">=16.8"
13550+
react: ">=18.0.0"
13551+
use-sync-external-store: ">=1.2.0"
1355313552
peerDependenciesMeta:
1355413553
"@types/react":
1355513554
optional: true
1355613555
immer:
1355713556
optional: true
1355813557
react:
1355913558
optional: true
13560-
checksum: 10/481b8210187b69678074a1ca51107654c2379688e90407bfcb7961e0803a259742bfd0d77171c3f07e290896ad55fe9659b3863f30d34cb2572650ead1249f25
13559+
use-sync-external-store:
13560+
optional: true
13561+
checksum: 10/40292b1ef1e4bb40eaa08d29f8b11ef0fda364790cb14556f6a69263bab7b4f627dcc7ce5ec035918f495a69bab499bad889061cd7a09762972eb543810f3343
1356113562
languageName: node
1356213563
linkType: hard

0 commit comments

Comments
 (0)