aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babylon/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babylon/README.md')
-rw-r--r--node_modules/babylon/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/babylon/README.md b/node_modules/babylon/README.md
index cbe528885..ad2a8fd87 100644
--- a/node_modules/babylon/README.md
+++ b/node_modules/babylon/README.md
@@ -61,6 +61,8 @@ mind. When in doubt, use `.parse()`.
Babylon generates AST according to [Babel AST format][].
It is based on [ESTree spec][] with the following deviations:
+> There is now an `estree` plugin which reverts these deviations
+
- [Literal][] token is replaced with [StringLiteral][], [NumericLiteral][], [BooleanLiteral][], [NullLiteral][], [RegExpLiteral][]
- [Property][] token is replaced with [ObjectProperty][] and [ObjectMethod][]
- [MethodDefinition][] is replaced with [ClassMethod][]
@@ -117,6 +119,7 @@ require("babylon").parse("code", {
### Plugins
+ - `estree`
- `jsx`
- `flow`
- `doExpressions`
@@ -128,3 +131,4 @@ require("babylon").parse("code", {
- `functionBind`
- `functionSent`
- `dynamicImport`
+ - `templateInvalidEscapes`