babylon
Advanced tools
Comparing version 7.0.0-beta.31 to 7.0.0-beta.32
{ | ||
"name": "babylon", | ||
"version": "7.0.0-beta.31", | ||
"version": "7.0.0-beta.32", | ||
"description": "A JavaScript parser", | ||
@@ -26,3 +26,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"devDependencies": { | ||
"@babel/helper-fixtures": "7.0.0-beta.31", | ||
"@babel/helper-fixtures": "7.0.0-beta.32", | ||
"babel-plugin-transform-for-of-as-array": "1.0.4", | ||
@@ -29,0 +29,0 @@ "rollup": "^0.50.0", |
@@ -42,3 +42,3 @@ <p align="center"> | ||
- **sourceType**: Indicate the mode the code should be parsed in. Can be | ||
either `"script"` or `"module"`. | ||
one of `"script"`, `"module"`, or `"unambiguous"`. Defaults to `"script"`. `"unambiguous"` will make Babylon attempt to _guess_, based on the presence of ES6 `import` or `export` statements. Files with ES6 `import`s and `export`s are considered `"module"` and are otherwise `"script"`. | ||
@@ -45,0 +45,0 @@ - **sourceFilename**: Correlate output AST nodes with their source filename. Useful when generating code and source maps from the ASTs of multiple input files. |
Sorry, the diff of this file is too big to display
405171
8516