Skip to content

Commit 944a496

Browse files
authored
Merge pull request #38 from codeforjapan/dependabot/npm_and_yarn/ohash-2.0.10
chore(deps): bump ohash from 1.1.4 to 2.0.10
2 parents d9eb97e + e5e4c52 commit 944a496

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

app/feature/search/useForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { SubmissionResult } from "@conform-to/react";
22
import { useForm } from "@conform-to/react";
33
import { parseWithZod } from "@conform-to/zod";
4-
import { objectHash } from "ohash";
4+
import { hash } from "ohash";
55
import { useMemo } from "react";
66
import type { z } from "zod";
77

@@ -59,7 +59,7 @@ const useNoteSearchForm = ({
5959
...rest
6060
}: UseNoteSearchFormOptions): UseNoteSearchFormReturn => {
6161
const formIdHash = useMemo(
62-
() => objectHash({ formType, ...defaultValue }),
62+
() => hash({ formType, ...defaultValue }),
6363
[formType, defaultValue],
6464
);
6565

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@tailwindcss/vite": "4.0.9",
3333
"dayjs": "1.11.13",
3434
"isbot": "5.1.23",
35-
"ohash": "1.1.4",
35+
"ohash": "2.0.11",
3636
"react": "18.3.1",
3737
"react-dom": "18.3.1",
3838
"recharts": "2.15.1",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)