24
24
* [ Types] ( #types )
25
25
* [ Compatibility] ( #compatibility )
26
26
* [ Related] ( #related )
27
+ * [ Security] ( #security )
27
28
* [ Contribute] ( #contribute )
28
29
* [ License] ( #license )
29
30
@@ -41,7 +42,7 @@ If you have code, using something like [SWC][] or [esbuild][] instead.
41
42
## Install
42
43
43
44
This package is [ ESM only] [ esm ] .
44
- In Node.js (version 12.20+, 14.14+, or 16.0+), install with [ npm] [ ] :
45
+ In Node.js (version 14.14+, 16.0+), install with [ npm] [ ] :
45
46
46
47
``` sh
47
48
npm install estree-util-build-jsx
@@ -224,22 +225,22 @@ they work on slightly different syntax trees.
224
225
225
226
Some differences:
226
227
227
- * No pure annotations things
228
+ * no pure annotations things
228
229
* ` this ` is not a component: ` < this > ` -> ` h (' this' )` , not ` h (this )`
229
- * Namespaces are supported: ` < a: b c: d> ` -> ` h (' a:b' , {' c:d' : true })` ,
230
+ * namespaces are supported: ` < a: b c: d> ` -> ` h (' a:b' , {' c:d' : true })` ,
230
231
which throws by default in Babel or can be turned on with ` throwIfNamespace`
231
- * No ` useSpread` , ` useBuiltIns` , or ` filter` options
232
+ * no ` useSpread` , ` useBuiltIns` , or ` filter` options
232
233
233
234
## Types
234
235
235
236
This package is fully typed with [TypeScript][].
236
- It exports the types ` Options ` and ` Node ` .
237
+ It exports the additional type ` Options ` .
237
238
238
239
## Compatibility
239
240
240
241
Projects maintained by the unified collective are compatible with all maintained
241
242
versions of Node.js.
242
- As of now, that is Node.js 12.20+, 14.14+, and 16.0+.
243
+ As of now, that is Node.js 14.14+ and 16.0+.
243
244
Our projects sometimes work with older versions, but this is not guaranteed.
244
245
245
246
## Related
@@ -250,6 +251,10 @@ Our projects sometimes work with older versions, but this is not guaranteed.
250
251
* [` coderaiser/ estree- to- babel` ](https://github.com/coderaiser/estree-to-babel)
251
252
— turn [estree][] to Babel trees
252
253
254
+ ## Security
255
+
256
+ This package is safe.
257
+
253
258
## Contribute
254
259
255
260
See [` contributing .md ` in ` syntax- tree/ .github ` ][contributing] for ways to get
0 commit comments