[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:
Jonas Jenwald
2024-11-03 16:13:55 +01:00
parent 35673d3e6e
commit 4f01cdef18
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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: {},
};
+1 -1
View File
@@ -64,7 +64,7 @@
"yargs": "^17.7.2"
},
"engines": {
"node": ">=18"
"node": ">=20"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
+1 -1
View File
@@ -63,7 +63,7 @@
"url": "git://github.com/mozilla/pdf.js.git"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"license": "Apache-2.0"
}