Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@babel/parser

Package Overview
Dependencies
Maintainers
4
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/parser - npm Package Compare versions

Comparing version
8.0.0-beta.3
to
8.0.0-beta.4
+7
-7
package.json
{
"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