@babel/parser
Advanced tools
Comparing version 7.5.5 to 7.6.0
{ | ||
"name": "@babel/parser", | ||
"version": "7.5.5", | ||
"version": "7.6.0", | ||
"description": "A JavaScript parser", | ||
@@ -32,3 +32,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"@babel/code-frame": "^7.5.5", | ||
"@babel/helper-fixtures": "^7.5.5", | ||
"@babel/helper-fixtures": "^7.6.0", | ||
"charcodes": "^0.2.0", | ||
@@ -40,3 +40,3 @@ "unicode-12.0.0": "^0.7.9" | ||
}, | ||
"gitHead": "0407f034f09381b95e9cabefbf6b176c76485a43" | ||
"gitHead": "cbd5a26e57758e3f748174ff84aa570e8780e85d" | ||
} |
@@ -40,2 +40,8 @@ // Type definitions for @babel/parser | ||
/** | ||
* By default, exported identifiers must refer to a declared variable. | ||
* Set this to true to allow export statements to reference undeclared variables. | ||
*/ | ||
allowUndeclaredExports?: boolean; | ||
/** | ||
* Indicate the mode the code should be parsed in. | ||
@@ -93,28 +99,32 @@ * Can be one of "script", "module", or "unambiguous". Defaults to "script". | ||
export type ParserPlugin = | ||
'estree' | | ||
'jsx' | | ||
'flow' | | ||
'flowComments' | | ||
'typescript' | | ||
'doExpressions' | | ||
'objectRestSpread' | | ||
'asyncGenerators' | | ||
'bigInt' | | ||
'classPrivateMethods' | | ||
'classPrivateProperties' | | ||
'classProperties' | | ||
'decorators' | | ||
'decorators-legacy' | | ||
'classProperties' | | ||
'classPrivateProperties' | | ||
'classPrivateMethods' | | ||
'doExpressions' | | ||
'dynamicImport' | | ||
'estree' | | ||
'exportDefaultFrom' | | ||
'exportNamespaceFrom' | | ||
'asyncGenerators' | | ||
'flow' | | ||
'flowComments' | | ||
'functionBind' | | ||
'functionSent' | | ||
'dynamicImport' | | ||
'importMeta' | | ||
'jsx' | | ||
'logicalAssignment' | | ||
'nullishCoalescingOperator' | | ||
'numericSeparator' | | ||
'objectRestSpread' | | ||
'optionalCatchBinding' | | ||
'optionalChaining' | | ||
'importMeta' | | ||
'bigInt' | | ||
'optionalCatchBinding' | | ||
'partialApplication' | | ||
'pipelineOperator' | | ||
'placeholders' | | ||
'throwExpressions' | | ||
'pipelineOperator' | | ||
'nullishCoalescingOperator' | | ||
'typescript' | | ||
'v8intrinsic' | | ||
ParserPluginWithOptions; | ||
@@ -121,0 +131,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
384395
9471