Skip to content

Commit 7d18b29

Browse files
committed
chore: require Node >=20.19, pin dev to Node 22
vitest 4 / vite 8 rely on require(esm), which is only default on Node 20.19+. Add an engines floor and an .nvmrc pinning the dev/CI runtime to Node 22 LTS so the test suite runs without experimental flags.
1 parent 98489fc commit 7d18b29

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
},
3131
"author": "Humanjava Enterprises Inc",
3232
"license": "MIT",
33+
"engines": {
34+
"node": ">=20.19"
35+
},
3336
"dependencies": {
3437
"@scure/bip39": "^2.0.1",
3538
"async-mutex": "^0.5.0",

0 commit comments

Comments
 (0)