Tweak the Node.js version listed in "engines", to ensure that process.getBuiltinModule is available

This commit is contained in:
zhangningning 2025-04-24 15:04:15 +08:00
parent de2a44a558
commit 940b4657fc
3 changed files with 3 additions and 3 deletions

View File

@ -2315,7 +2315,7 @@ function packageJson() {
url: `git+${DIST_GIT_URL}`,
},
engines: {
node: ">=20.16.0",
node: ">=20.16.0 || >=22.3.0",
},
scripts: {},
};

2
package-lock.json generated
View File

@ -63,7 +63,7 @@
"yargs": "^17.7.2"
},
"engines": {
"node": ">=20.16.0"
"node": ">=20.16.0 || >=22.3.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@ -62,7 +62,7 @@
"url": "git://github.com/mozilla/pdf.js.git"
},
"engines": {
"node": ">=20.16.0"
"node": ">=20.16.0 || >=22.3.0"
},
"license": "Apache-2.0"
}