Skip to content

Commit 12f76f8

Browse files
committedAug 31, 2023
Change to require Node.js 16
1 parent 6855bcc commit 12f76f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ versions of Node.js.
148148

149149
When we cut a new major release, we drop support for unmaintained versions of
150150
Node.
151-
This means we try to keep the current release line, `rehype-slug@^5`,
152-
compatible with Node.js 12.
151+
This means we try to keep the current release line, `rehype-slug@^6`,
152+
compatible with Node.js 16.
153153

154154
This plugin works with `rehype-parse` version 1+, `rehype-stringify` version 1+,
155155
`rehype` version 1+, and `unified` version 4+.

‎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"]

0 commit comments

Comments
 (0)
Please sign in to comment.