Skip to content

Commit a98fd61

Browse files
committed
Change to require Node.js 16
1 parent 1b57e3d commit a98fd61

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: readme.md

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

389389
When we cut a new major release, we drop support for unmaintained versions of
390390
Node.
391-
This means we try to keep the current release line, `mdast-util-mdx@^2`,
392-
compatible with Node.js 12.
391+
This means we try to keep the current release line, `mdast-util-mdx@^3`,
392+
compatible with Node.js 16.
393393

394-
This utility works with `mdast-util-from-markdown` version 1+ and
395-
`mdast-util-to-markdown` version 1+.
394+
This utility works with `mdast-util-from-markdown` version 2+ and
395+
`mdast-util-to-markdown` version 2+.
396396

397397
## Related
398398

Diff for: 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)