Skip to content

Commit ca99c66

Browse files
committed
Refactor docs
1 parent 2311ec3 commit ca99c66

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

readme.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This package is wrapped in [`remark-toc`][remark-toc] for ease of use with
4242
## Install
4343

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

4747
```sh
4848
npm install mdast-util-toc
@@ -191,10 +191,13 @@ It exports the types [`Options`][api-options] and [`Result`][api-result].
191191

192192
## Compatibility
193193

194-
Projects maintained by the unified collective are compatible with all maintained
194+
Projects maintained by the unified collective are compatible with maintained
195195
versions of Node.js.
196-
As of now, that is Node.js 14.14+ and 16.0+.
197-
Our projects sometimes work with older versions, but this is not guaranteed.
196+
197+
When we cut a new major release, we drop support for unmaintained versions of
198+
Node.
199+
This means we try to keep the current release line, `mdast-util-toc@^6`,
200+
compatible with Node.js 16.
198201

199202
## Security
200203

@@ -264,9 +267,9 @@ abide by its terms.
264267

265268
[downloads]: https://www.npmjs.com/package/mdast-util-toc
266269

267-
[size-badge]: https://img.shields.io/bundlephobia/minzip/mdast-util-toc.svg
270+
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=mdast-util-toc
268271

269-
[size]: https://bundlephobia.com/result?p=mdast-util-toc
272+
[size]: https://bundlejs.com/?q=mdast-util-toc
270273

271274
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
272275

0 commit comments

Comments
 (0)