Skip to content

Commit 99aed77

Browse files
committed
Change to require Node.js 16
1 parent 19c9689 commit 99aed77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ versions of Node.js.
574574
When we cut a new major release, we drop support for unmaintained versions of
575575
Node.
576576
This means we try to keep the current release line,
577-
`hast-util-to-jsx-runtime@^1`, compatible with Node.js 12.
577+
`hast-util-to-jsx-runtime@^2`, compatible with Node.js 16.
578578

579579
## Security
580580

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", "lib/components.d.ts"]

0 commit comments

Comments
 (0)