Skip to content

Commit abad8c8

Browse files
committed
chore: update ohash to v2
1 parent 8cb0284 commit abad8c8

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"defu": "^6.1.4",
4747
"mlly": "^1.7.4",
48-
"ohash": "^1.1.4",
48+
"ohash": "^2.0.2",
4949
"pathe": "^2.0.3",
5050
"ufo": "^1.5.4"
5151
},

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.

src/runtime/node/assert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import type nodeAssert from "node:assert";
2626

27-
import { isEqual as _ohashIsEqual } from "ohash";
27+
import { isEqual as _ohashIsEqual } from "ohash/utils";
2828
import { notImplemented, notImplementedClass } from "../_internal/utils.ts";
2929

3030
// TODO: Implement Error classes

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
"compilerOptions": {
33
"target": "ESNext",
44
"module": "ESNext",
5-
"moduleResolution": "Node",
5+
"moduleResolution": "bundler",
66
"esModuleInterop": true,
77
"strict": true,
88
"declaration": true,
99
"resolveJsonModule": true,
1010
"allowImportingTsExtensions": true,
11+
"noEmit": true,
1112
"isolatedDeclarations": false,
1213
"types": [
1314
"node"

0 commit comments

Comments
 (0)