Skip to content

Commit 043d922

Browse files
committed
Refactor docs
1 parent 66e15b8 commit 043d922

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
@@ -47,7 +47,7 @@ To create trees, use [`unist-builder`][unist-builder].
4747
## Install
4848

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

5252
```sh
5353
npm install unist-util-map
@@ -154,10 +154,13 @@ It exports the additional type [`MapFunction`][api-mapfunction].
154154

155155
## Compatibility
156156

157-
Projects maintained by the unified collective are compatible with all maintained
157+
Projects maintained by the unified collective are compatible with maintained
158158
versions of Node.js.
159-
As of now, that is Node.js 14.14+ and 16.0+.
160-
Our projects sometimes work with older versions, but this is not guaranteed.
159+
160+
When we cut a new major release, we drop support for unmaintained versions of
161+
Node.
162+
This means we try to keep the current release line, `unist-util-map@^3`,
163+
compatible with Node.js 12.
161164

162165
## Related
163166

@@ -202,9 +205,9 @@ abide by its terms.
202205

203206
[downloads]: https://www.npmjs.com/package/unist-util-map
204207

205-
[size-badge]: https://img.shields.io/bundlephobia/minzip/unist-util-map.svg
208+
[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=unist-util-map
206209

207-
[size]: https://bundlephobia.com/result?p=unist-util-map
210+
[size]: https://bundlejs.com/?q=unist-util-map
208211

209212
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
210213

0 commit comments

Comments
 (0)