Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/parser

Package Overview
Dependencies
Maintainers
5
Versions
211
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 7.5.5 to 7.6.0

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc