Skip to content

Commit 7be7634

Browse files
refactor!: remove ohash v1 and compatibility hash implementation (#3205)
1 parent f9aa89f commit 7be7634

File tree

5 files changed

+1
-256
lines changed

5 files changed

+1
-256
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
148148
"firebase-functions": "^4.9.0",
149149
"get-port-please": "^3.1.2",
150150
"miniflare": "^3.20250224.0",
151-
"ohash-v1": "npm:ohash@^1.1.6",
152151
"prettier": "^3.5.3",
153152
"typescript": "^5.8.2",
154153
"unbuild": "^3.5.0",

pnpm-lock.yaml

-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/internal/cache.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import type {
1919
import { parseURL } from "ufo";
2020
import { useNitroApp } from "./app";
2121
import { useStorage } from "./storage";
22-
import { hash } from "./hash";
22+
import { hash } from "ohash";
2323
import type { TransactionOptions } from "unstorage";
2424

2525
function defaultCacheOptions() {

src/runtime/internal/hash.ts

-218
This file was deleted.

test/unit/hash.test.ts

-28
This file was deleted.

0 commit comments

Comments
 (0)