Skip to content

Commit 234405b

Browse files
committed
Change to require Node.js 16
1 parent 88de797 commit 234405b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ versions of Node.js.
313313
314314
When we cut a new major release, we drop support for unmaintained versions of
315315
Node.
316-
This means we try to keep the current release line, `hastscript@^7`,
317-
compatible with Node.js 12.
316+
This means we try to keep the current release line, `hastscript@^8`,
317+
compatible with Node.js 16.
318318
319319
## Security
320320

Diff for: tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"emitDeclarationOnly": true,
77
"exactOptionalPropertyTypes": true,
88
"jsx": "preserve",
9-
"lib": ["es2020"],
9+
"lib": ["es2022"],
1010
"module": "node16",
1111
"strict": true,
12-
"target": "es2020"
12+
"target": "es2022"
1313
},
1414
"exclude": ["coverage/", "node_modules/"],
1515
"include": [

0 commit comments

Comments
 (0)