Skip to content

Commit 980a26c

Browse files
committed
Refactor docs
1 parent 5351684 commit 980a26c

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
@@ -48,7 +48,7 @@ to display positional info to users.
4848
## Install
4949

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

5353
```sh
5454
npm install unist-util-position
@@ -141,10 +141,13 @@ It exports no additional types.
141141

142142
## Compatibility
143143

144-
Projects maintained by the unified collective are compatible with all maintained
144+
Projects maintained by the unified collective are compatible with maintained
145145
versions of Node.js.
146-
As of now, that is Node.js 14.14+ and 16.0+.
147-
Our projects sometimes work with older versions, but this is not guaranteed.
146+
147+
When we cut a new major release, we drop support for unmaintained versions of
148+
Node.
149+
This means we try to keep the current release line, `unist-util-position@^4`,
150+
compatible with Node.js 12.
148151

149152
## Related
150153

@@ -187,9 +190,9 @@ abide by its terms.
187190

188191
[downloads]: https://www.npmjs.com/package/unist-util-position
189192

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

192-
[size]: https://bundlephobia.com/result?p=unist-util-position
195+
[size]: https://bundlejs.com/?q=unist-util-position
193196

194197
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
195198

0 commit comments

Comments
 (0)