Skip to content

Commit d2c865c

Browse files
committed
Minimal supported version Node.js 20 LTS
1 parent 2627313 commit d2c865c

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, windows-latest, macos-latest]
17-
node-version: [18.x, 20.x, 22.x, 24.x]
17+
node-version: [20.x, 22.x, 24.x]
1818

1919
steps:
2020
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- Minimal supported version Node.js 20 LTS
56
- Added `wordBreak` property for `text` node, supported values: `'normal'` (default), `'break-all'`
67
- Used fetch API for downloading fonts and images
78
- Update Roboto font (version 3.014)

babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@babel/preset-env",
55
{
66
"targets": {
7-
"node": "18.12"
7+
"node": "20.9"
88
},
99
"loose": true
1010
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"webpack-cli": "^6.0.1"
4848
},
4949
"engines": {
50-
"node": ">=18"
50+
"node": ">=20"
5151
},
5252
"scripts": {
5353
"test": "run-s build mocha lint",

0 commit comments

Comments
 (0)