Merge pull request #19858 from luckymore/master

Tweak the Node.js version listed in "engines", to ensure that process.getBuiltinModule is available
This commit is contained in:
Tim van der Meij 2025-04-26 11:45:27 +02:00 committed by GitHub
commit 6891602e7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"
}