@babel/parser
Advanced tools
+7
-7
| { | ||
| "name": "@babel/parser", | ||
| "version": "8.0.0-beta.3", | ||
| "version": "8.0.0-beta.4", | ||
| "description": "A JavaScript parser", | ||
@@ -37,10 +37,10 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
| "dependencies": { | ||
| "@babel/types": "^8.0.0-beta.3" | ||
| "@babel/types": "^8.0.0-beta.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/code-frame": "^8.0.0-beta.3", | ||
| "@babel/helper-check-duplicate-nodes": "^8.0.0-beta.3", | ||
| "@babel/helper-fixtures": "^8.0.0-beta.3", | ||
| "@babel/helper-string-parser": "^8.0.0-beta.3", | ||
| "@babel/helper-validator-identifier": "^8.0.0-beta.3", | ||
| "@babel/code-frame": "^8.0.0-beta.4", | ||
| "@babel/helper-check-duplicate-nodes": "^8.0.0-beta.4", | ||
| "@babel/helper-fixtures": "^8.0.0-beta.4", | ||
| "@babel/helper-string-parser": "^8.0.0-beta.4", | ||
| "@babel/helper-validator-identifier": "^8.0.0-beta.4", | ||
| "charcodes": "^0.2.0" | ||
@@ -47,0 +47,0 @@ }, |
@@ -38,7 +38,8 @@ // This file is auto-generated! Do not modify it directly. | ||
| | IF_BABEL_7<"decimal"> | ||
| | "decorators" | ||
| | "decorators-legacy" | ||
| | "decoratorAutoAccessors" | ||
| | "deferredImportEvaluation" | ||
| | "decoratorAutoAccessors" | ||
| | "destructuringPrivate" | ||
| | "deprecatedImportAssert" | ||
| | IF_BABEL_7<"deprecatedImportAssert"> | ||
| | "doExpressions" | ||
@@ -77,3 +78,2 @@ | IF_BABEL_7<"dynamicImport"> | ||
| type ParserPluginWithOptions = | ||
| | ["decorators", DecoratorsPluginOptions] | ||
| | ["discardBinding", { syntaxType: "void" }] | ||
@@ -85,3 +85,2 @@ | ["estree", { classFeatures?: boolean }] | ||
| | ["pipelineOperator", PipelineOperatorPluginOptions] | ||
| | ["recordAndTuple", RecordAndTuplePluginOptions] | ||
| | ["flow", FlowPluginOptions] | ||
@@ -92,7 +91,2 @@ | ["typescript", TypeScriptPluginOptions]; | ||
| interface DecoratorsPluginOptions { | ||
| decoratorsBeforeExport?: boolean; | ||
| allowCallParenthesized?: boolean; | ||
| } | ||
| interface PipelineOperatorPluginOptions { | ||
@@ -105,6 +99,2 @@ proposal: BABEL_8_BREAKING extends false | ||
| interface RecordAndTuplePluginOptions { | ||
| syntaxType: "bar" | "hash"; | ||
| } | ||
| type FlowPluginOptions = BABEL_8_BREAKING extends true | ||
@@ -242,5 +232,4 @@ ? { | ||
| /** | ||
| * The default is false in Babel 7 and true in Babel 8 | ||
| * Set this to true to parse it as an `ImportExpression` node. | ||
| * Otherwise `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`. | ||
| * By default, the parser parses import expressions as an `ImportExpression` node. | ||
| * Set this to false to parse it as `CallExpression(Import, [Identifier(foo)])`. | ||
| */ | ||
@@ -268,2 +257,2 @@ createImportExpressions?: boolean; | ||
| export { type DecoratorsPluginOptions, type FlowPluginOptions, type ParseError, type ParseResult, type ParserOptions, type PluginConfig as ParserPlugin, type ParserPluginWithOptions, type PipelineOperatorPluginOptions, type RecordAndTuplePluginOptions, type TypeScriptPluginOptions, parse, parseExpression, tokTypes }; | ||
| export { type FlowPluginOptions, type ParseError, type ParseResult, type ParserOptions, type PluginConfig as ParserPlugin, type PipelineOperatorPluginOptions, type TypeScriptPluginOptions, parse, parseExpression, tokTypes }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
14
-6.67%1943989
-4.19%15859
-4.09%Updated