mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
[api-minor] Update the minimum supported Node.js version to 20
This patch updates the minimum supported environments as follows: - Node.js 20, which was released on 2023-04-18 and has now entered the "Maintenance"-phase; see https://github.com/nodejs/release#release-schedule Furthermore, note also that Node.js 18 will fairly soon reach EOL.
This commit is contained in:
parent
35673d3e6e
commit
4f01cdef18
4 changed files with 5 additions and 5 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [18, lts/*, 22, 23]
|
||||
node-version: [20, 22, 23]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
|
@ -84,7 +84,7 @@ const ENV_TARGETS = [
|
|||
"Chrome >= 103",
|
||||
"Firefox ESR",
|
||||
"Safari >= 16.4",
|
||||
"Node >= 18",
|
||||
"Node >= 20",
|
||||
"> 1%",
|
||||
"not IE > 0",
|
||||
"not dead",
|
||||
|
@ -2271,7 +2271,7 @@ function packageJson() {
|
|||
url: `git+${DIST_GIT_URL}`,
|
||||
},
|
||||
engines: {
|
||||
node: ">=18",
|
||||
node: ">=20",
|
||||
},
|
||||
scripts: {},
|
||||
};
|
||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -64,7 +64,7 @@
|
|||
"yargs": "^17.7.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=20"
|
||||
}
|
||||
},
|
||||
"node_modules/@aashutoshrathi/word-wrap": {
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
"url": "git://github.com/mozilla/pdf.js.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=20"
|
||||
},
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue