Skip to content

Commit a347d71

Browse files
committed
Require Node.js 20
1 parent 13d88ec commit a347d71

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13+
- 24
14+
- 22
1315
- 20
14-
- 18
1516
steps:
1617
- uses: actions/checkout@v4
1718
- uses: actions/setup-node@v4

index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import htmlTags from './html-tags.json' with {type: 'json'};
2-
import voidHtmlTags from './html-tags-void.json' with {type: 'json'};
31

4-
export default htmlTags;
5-
export {voidHtmlTags};
2+
export {default} from './html-tags.json' with {type: 'json'};
3+
export {default as voidHtmlTags} from './html-tags-void.json' with {type: 'json'};

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
},
1818
"sideEffects": false,
1919
"engines": {
20-
"node": ">=18.20"
20+
"node": ">=20.10"
2121
},
2222
"scripts": {
23-
"//test": "xo && ava",
24-
"test": "ava",
23+
"test": "xo && ava",
2524
"build": "node scripts/build.js"
2625
},
2726
"files": [
@@ -44,8 +43,8 @@
4443
"self-closing"
4544
],
4645
"devDependencies": {
47-
"ava": "^6.1.2",
46+
"ava": "^6.3.0",
4847
"cheerio": "^1.0.0",
49-
"xo": "^0.60.0"
48+
"xo": "^0.61.0-2"
5049
}
5150
}

0 commit comments

Comments
 (0)