Skip to content

Commit bdee971

Browse files
committed
Change to require Node.js 16
1 parent 3fe14d6 commit bdee971

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,11 @@ versions of Node.js.
582582

583583
When we cut a new major release, we drop support for unmaintained versions of
584584
Node.
585-
This means we try to keep the current release line, `mdast-util-mdx-jsx@^2`,
586-
compatible with Node.js 12.
585+
This means we try to keep the current release line, `mdast-util-mdx-jsx@^3`,
586+
compatible with Node.js 16.
587587

588-
This utility works with `mdast-util-from-markdown` version 1+ and
589-
`mdast-util-to-markdown` version 1+.
588+
This utility works with `mdast-util-from-markdown` version 2+ and
589+
`mdast-util-to-markdown` version 2+.
590590

591591
## Related
592592

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)