Skip to content

Commit 1b5bb85

Browse files
update
1 parent c9101b7 commit 1b5bb85

File tree

6 files changed

+32
-18
lines changed

6 files changed

+32
-18
lines changed

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"highlight.js": "^11.11.0",
5757
"lowlight": "^3.3.0",
5858
"fast-diff": "^1.3.0",
59-
"reactivity-store": "^0.3.12",
59+
"reactivity-store": "^0.4.0",
6060
"string-width": "^7.0.0",
6161
"use-sync-external-store": "^1.6.0"
6262
},

packages/cli/src/components/tools.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import { createStore, markRaw, ref } from "reactivity-store";
1+
import { createStore, markRaw, ref, configureEnv } from "reactivity-store";
22
import stringWidth from "string-width";
33

44
import type { DiffModeEnum, DiffViewProps } from "./DiffView";
55
import type { DiffLine } from "@git-diff-view/core";
66
import type { DOMElement } from "ink";
77
import type { Ref, UseSelectorWithStore } from "reactivity-store";
88

9+
configureEnv({ allowNonBrowserUpdates: true });
10+
911
export const createDiffConfigStore = <T = any>(
1012
props: DiffViewProps<T> & { isMounted: boolean },
1113
diffFileId: string

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"fast-diff": "^1.3.0",
7373
"highlight.js": "^11.11.0",
7474
"lowlight": "^3.3.0",
75-
"reactivity-store": "^0.3.12",
75+
"reactivity-store": "^0.4.0",
7676
"use-sync-external-store": "^1.6.0"
7777
},
7878
"devDependencies": {

packages/solid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"highlight.js": "^11.11.0",
4747
"lowlight": "^3.3.0",
4848
"fast-diff": "^1.3.0",
49-
"reactivity-store": "^0.3.12"
49+
"reactivity-store": "^0.4.0"
5050
},
5151
"devDependencies": {
5252
"solid-js": "^1.9.0",

pnpm-lock.yaml

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/react-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"overlayscrollbars": "^2.12.0",
2626
"react": "^19.2.0",
2727
"react-dom": "^19.2.0",
28-
"reactivity-store": "^0.3.12"
28+
"reactivity-store": "^0.4.0"
2929
},
3030
"devDependencies": {
3131
"@my-react/react-refresh": "^0.3.22",

0 commit comments

Comments
 (0)