@babel/parser
Advanced tools
Comparing version 7.22.16 to 7.23.0
{ | ||
"name": "@babel/parser", | ||
"version": "7.22.16", | ||
"version": "7.23.0", | ||
"description": "A JavaScript parser", | ||
@@ -39,5 +39,5 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"@babel/helper-check-duplicate-nodes": "^7.22.5", | ||
"@babel/helper-fixtures": "^7.22.13", | ||
"@babel/helper-fixtures": "^7.22.19", | ||
"@babel/helper-string-parser": "^7.22.5", | ||
"@babel/helper-validator-identifier": "^7.22.15", | ||
"@babel/helper-validator-identifier": "^7.22.20", | ||
"charcodes": "^0.2.0" | ||
@@ -44,0 +44,0 @@ }, |
@@ -15,2 +15,3 @@ // This file is auto-generated! Do not modify it directly. | ||
| "decorators-legacy" | ||
| "deferredImportEvaluation" | ||
| "decoratorAutoAccessors" | ||
@@ -44,2 +45,3 @@ | "destructuringPrivate" | ||
| "regexpUnicodeSets" // Enabled by default | ||
| "sourcePhaseImports" | ||
| "throwExpressions" | ||
@@ -56,2 +58,3 @@ | "topLevelAwait" | ||
| ["moduleAttributes", { version: "may-2020" }] | ||
| ["optionalChainingAssign", { version: "2023-07" }] | ||
| ["pipelineOperator", PipelineOperatorPluginOptions] | ||
@@ -225,2 +228,8 @@ | ["recordAndTuple", RecordAndTuplePluginOptions] | ||
createParenthesizedExpressions?: boolean; | ||
/** | ||
* By default, `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`. | ||
* Set this to true to parse it as an `ImportExpression` node. | ||
*/ | ||
createImportExpressions?: boolean; | ||
} | ||
@@ -227,0 +236,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1890329
14730