@@ -38,7 +38,7 @@ But this helps when integrating with the rest of unified and unist.
38
38
## Install
39
39
40
40
This package is [ ESM only] [ esm ] .
41
- In Node.js (version 14.14+ and 16.0 +), install with [ npm] [ ] :
41
+ In Node.js (version 16 +), install with [ npm] [ ] :
42
42
43
43
``` sh
44
44
npm install unist-util-find-all-before
@@ -90,7 +90,7 @@ Yields:
90
90
91
91
## API
92
92
93
- This package exports the identifier [ ` findAllBefore ` ] [ api-findallbefore ] .
93
+ This package exports the identifier [ ` findAllBefore ` ] [ api-find-all-before ] .
94
94
There is no default export.
95
95
96
96
### ` findAllBefore(parent, child|index[, test]) `
@@ -120,10 +120,13 @@ It exports no additional types (types for the test are in `unist-util-is`).
120
120
121
121
## Compatibility
122
122
123
- Projects maintained by the unified collective are compatible with all maintained
123
+ Projects maintained by the unified collective are compatible with maintained
124
124
versions of Node.js.
125
- As of now, that is Node.js 14.14+ and 16.0+.
126
- Our projects sometimes work with older versions, but this is not guaranteed.
125
+
126
+ When we cut a new major release, we drop support for unmaintained versions of
127
+ Node.
128
+ This means we try to keep the current release line,
129
+ ` unist-util-find-all-before@^4 ` , compatible with Node.js 12.
127
130
128
131
## Related
129
132
@@ -178,9 +181,9 @@ abide by its terms.
178
181
179
182
[ downloads ] : https://www.npmjs.com/package/unist-util-find-all-before
180
183
181
- [ size-badge ] : https://img.shields.io/bundlephobia/minzip/ unist-util-find-all-before.svg
184
+ [ size-badge ] : https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q= unist-util-find-all-before
182
185
183
- [ size ] : https://bundlephobia .com/result?p =unist-util-find-all-before
186
+ [ size ] : https://bundlejs .com/?q =unist-util-find-all-before
184
187
185
188
[ sponsors-badge ] : https://opencollective.com/unified/sponsors/badge.svg
186
189
@@ -218,4 +221,4 @@ abide by its terms.
218
221
219
222
[ test ] : https://github.com/syntax-tree/unist-util-is#test
220
223
221
- [ api-findallbefore ] : #findallbeforeparent-childindex-test
224
+ [ api-find-all-before ] : #findallbeforeparent-childindex-test
0 commit comments