Skip to content

Commit 4dcbc35

Browse files
committed
Change to require Node.js 16
1 parent 899b69c commit 4dcbc35

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
@@ -32,7 +32,7 @@ looking for!
3232
## Install
3333

3434
This package is [ESM only][esm].
35-
In Node.js (version 14.14+ and 16.0+), install with [npm][]:
35+
In Node.js (version 16+), install with [npm][]:
3636

3737
```sh
3838
npm install hast-util-heading
@@ -107,8 +107,8 @@ versions of Node.js.
107107

108108
When we cut a new major release, we drop support for unmaintained versions of
109109
Node.
110-
This means we try to keep the current release line, `hast-util-heading@^2`,
111-
compatible with Node.js 12.
110+
This means we try to keep the current release line, `hast-util-heading@^3`,
111+
compatible with Node.js 16.
112112

113113
## Security
114114

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

0 commit comments

Comments
 (0)