mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
Tweak the Node.js version listed in "engines", to ensure that process.getBuiltinModule
is available
In order to use the PDF.js library in Node.js environments the `process.getBuiltinModule` functionality must be available, which was released in [version `20.16.0`](https://nodejs.org/en/blog/release/v20.16.0), however we've seen repeated issues filed by users on older `20.x` versions.
This commit is contained in:
parent
6cc37c8415
commit
18617eb792
3 changed files with 3 additions and 3 deletions
|
@ -2333,7 +2333,7 @@ function packageJson() {
|
|||
url: `git+${DIST_GIT_URL}`,
|
||||
},
|
||||
engines: {
|
||||
node: ">=20",
|
||||
node: ">=20.16.0",
|
||||
},
|
||||
scripts: {},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue