Skip to content

Commit 7923fcc

Browse files
committed
Change to require Node.js 16
1 parent 2a37eae commit 7923fcc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,10 @@ versions of Node.js.
297297
When we cut a new major release, we drop support for unmaintained versions of
298298
Node.
299299
This means we try to keep the current release line,
300-
`mdast-util-frontmatter@^1`, compatible with Node.js 12.
300+
`mdast-util-frontmatter@^2`, compatible with Node.js 16.
301301

302-
This utility works with `mdast-util-from-markdown` version 1+ and
303-
`mdast-util-to-markdown` version 1+.
302+
This utility works with `mdast-util-from-markdown` version 2+ and
303+
`mdast-util-to-markdown` version 2+.
304304

305305
## Related
306306

tsconfig.json

Lines changed: 2 additions & 2 deletions
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", "test-types.d.ts"]

0 commit comments

Comments
 (0)