Skip to content

Commit ae8eff7

Browse files
committed
Change to require Node.js 16
1 parent 15b3e8e commit ae8eff7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,11 @@ versions of Node.js.
371371

372372
When we cut a new major release, we drop support for unmaintained versions of
373373
Node.
374-
This means we try to keep the current release line, `mdast-util-math@^2`,
375-
compatible with Node.js 12.
374+
This means we try to keep the current release line, `mdast-util-math@^3`,
375+
compatible with Node.js 16.
376376

377-
This plugin works with `mdast-util-from-markdown` version 1+ and
378-
`mdast-util-to-markdown` version 1+.
377+
This plugin works with `mdast-util-from-markdown` version 2+ and
378+
`mdast-util-to-markdown` version 2+.
379379

380380
## Related
381381

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"declaration": true,
66
"emitDeclarationOnly": true,
77
"exactOptionalPropertyTypes": true,
8-
"lib": ["es2020"],
8+
"lib": ["es2022"],
99
"module": "node16",
1010
// Needed for `katex` :'(
1111
"skipLibCheck": true,
1212
"strict": true,
13-
"target": "es2020"
13+
"target": "es2022"
1414
},
1515
"exclude": ["coverage/", "node_modules/"],
1616
"include": ["**/*.js", "index.d.ts"]

0 commit comments

Comments
 (0)