Skip to content

Commit e0976d9

Browse files
committed
Change to require Node.js 16
1 parent bda0adb commit e0976d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ versions of Node.js.
231231

232232
When we cut a new major release, we drop support for unmaintained versions of
233233
Node.
234-
This means we try to keep the current release line, `xast-util-to-xml@^3`,
235-
compatible with Node.js 12.
234+
This means we try to keep the current release line, `xast-util-to-xml@^4`,
235+
compatible with Node.js 16.
236236

237237
## Security
238238

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"declaration": true,
66
"emitDeclarationOnly": true,
77
"exactOptionalPropertyTypes": true,
8-
"lib": ["es2020"],
8+
"lib": ["es2022"],
99
"module": "node16",
1010
"strict": true,
11-
"target": "es2020"
11+
"target": "es2022"
1212
},
1313
"exclude": ["coverage/", "node_modules/"],
1414
"include": ["**/*.js", "index.d.ts"]

0 commit comments

Comments
 (0)