[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
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18, lts/*, 22, 23]
|
node-version: [20, 22, 23]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
@ -84,7 +84,7 @@ const ENV_TARGETS = [
|
|||||||
"Chrome >= 103",
|
"Chrome >= 103",
|
||||||
"Firefox ESR",
|
"Firefox ESR",
|
||||||
"Safari >= 16.4",
|
"Safari >= 16.4",
|
||||||
"Node >= 18",
|
"Node >= 20",
|
||||||
"> 1%",
|
"> 1%",
|
||||||
"not IE > 0",
|
"not IE > 0",
|
||||||
"not dead",
|
"not dead",
|
||||||
@ -2271,7 +2271,7 @@ function packageJson() {
|
|||||||
url: `git+${DIST_GIT_URL}`,
|
url: `git+${DIST_GIT_URL}`,
|
||||||
},
|
},
|
||||||
engines: {
|
engines: {
|
||||||
node: ">=18",
|
node: ">=20",
|
||||||
},
|
},
|
||||||
scripts: {},
|
scripts: {},
|
||||||
};
|
};
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -64,7 +64,7 @@
|
|||||||
"yargs": "^17.7.2"
|
"yargs": "^17.7.2"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
"url": "git://github.com/mozilla/pdf.js.git"
|
"url": "git://github.com/mozilla/pdf.js.git"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=20"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user