@@ -43,7 +43,7 @@ does the same but for [remark][].
43
43
## Install
44
44
45
45
This package is [ ESM only] [ esm ] .
46
- In Node.js (version 14.14+ and 16.0 +), install with [ npm] [ ] :
46
+ In Node.js (version 16 +), install with [ npm] [ ] :
47
47
48
48
``` sh
49
49
npm install mdast-squeeze-paragraphs
@@ -66,8 +66,8 @@ In browsers with [`esm.sh`][esmsh]:
66
66
## Use
67
67
68
68
``` js
69
- import {u } from ' unist-builder'
70
69
import {squeezeParagraphs } from ' mdast-squeeze-paragraphs'
70
+ import {u } from ' unist-builder'
71
71
72
72
const tree = u (' root' , [
73
73
u (' paragraph' , []),
@@ -115,10 +115,13 @@ It exports no additional types..
115
115
116
116
## Compatibility
117
117
118
- Projects maintained by the unified collective are compatible with all maintained
118
+ Projects maintained by the unified collective are compatible with maintained
119
119
versions of Node.js.
120
- As of now, that is Node.js 14.14+ and 16.0+.
121
- Our projects sometimes work with older versions, but this is not guaranteed.
120
+
121
+ When we cut a new major release, we drop support for unmaintained versions of
122
+ Node.
123
+ This means we try to keep the current release line,
124
+ ` mdast-squeeze-paragraphs@^5 ` , compatible with Node.js 12.
122
125
123
126
## Security
124
127
@@ -160,9 +163,9 @@ abide by its terms.
160
163
161
164
[ downloads ] : https://www.npmjs.com/package/mdast-squeeze-paragraphs
162
165
163
- [ size-badge ] : https://img.shields.io/bundlephobia/minzip/ mdast-squeeze-paragraphs.svg
166
+ [ size-badge ] : https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q= mdast-squeeze-paragraphs
164
167
165
- [ size ] : https://bundlephobia .com/result?p =mdast-squeeze-paragraphs
168
+ [ size ] : https://bundlejs .com/?q =mdast-squeeze-paragraphs
166
169
167
170
[ sponsors-badge ] : https://opencollective.com/unified/sponsors/badge.svg
168
171
0 commit comments