Skip to content

Commit d762107

Browse files
committed
Refactor docs
1 parent 9e165c3 commit d762107

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

readme.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For example, when throwing errors or warning messages about something.
3939
## Install
4040

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

4444
```sh
4545
npm install unist-util-stringify-position
@@ -112,10 +112,13 @@ It exports no additional types.
112112

113113
## Compatibility
114114

115-
Projects maintained by the unified collective are compatible with all maintained
115+
Projects maintained by the unified collective are compatible with maintained
116116
versions of Node.js.
117-
As of now, that is Node.js 14.14+ and 16.0+.
118-
Our projects sometimes work with older versions, but this is not guaranteed.
117+
118+
When we cut a new major release, we drop support for unmaintained versions of
119+
Node.
120+
This means we try to keep the current release line,
121+
`unist-util-stringify-position@^3`, compatible with Node.js 12.
119122

120123
## Security
121124

@@ -160,9 +163,9 @@ abide by its terms.
160163

161164
[downloads]: https://www.npmjs.com/package/unist-util-stringify-position
162165

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

165-
[size]: https://bundlephobia.com/result?p=unist-util-stringify-position
168+
[size]: https://bundlejs.com/?q=unist-util-stringify-position
166169

167170
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
168171

@@ -186,11 +189,11 @@ abide by its terms.
186189

187190
[typescript]: https://www.typescriptlang.org
188191

189-
[contributing]: https://github.com/syntax-tree/.github/blob/HEAD/contributing.md
192+
[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md
190193

191-
[support]: https://github.com/syntax-tree/.github/blob/HEAD/support.md
194+
[support]: https://github.com/syntax-tree/.github/blob/main/support.md
192195

193-
[coc]: https://github.com/syntax-tree/.github/blob/HEAD/code-of-conduct.md
196+
[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md
194197

195198
[unist]: https://github.com/syntax-tree/unist
196199

0 commit comments

Comments
 (0)