Skip to content

Commit 010803f

Browse files
committed
Require Node >=22 for ESM-only dependency support
mime, @huggingface/transformers, and chokidar are ESM-only packages. Node 22+ supports require(esm) which allows CJS projects to load them.
1 parent 5501f58 commit 010803f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"author": "prih <prihmail@gmail.com>",
3838
"license": "ISC",
3939
"engines": {
40-
"node": ">=20"
40+
"node": ">=22"
4141
},
4242
"files": [
4343
"dist/",

0 commit comments

Comments
 (0)