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

babel-eslint

Package Overview
Dependencies
Maintainers
2
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-eslint - npm Package Compare versions

Comparing version 6.0.5 to 6.1.0

3

index.js

@@ -368,2 +368,3 @@ var babylonToEspree = require("./babylon-to-espree");

eslintOptions.sourceType = options.sourceType = options.sourceType || "module";
eslintOptions.allowImportExportEverywhere = options.allowImportExportEverywhere = options.allowImportExportEverywhere || false;
if (options.sourceType === "module") {

@@ -389,3 +390,3 @@ eslintOptions.globalReturn = false;

strictMode: true,
allowImportExportEverywhere: false, // consistent with espree
allowImportExportEverywhere: options.allowImportExportEverywhere, // consistent with espree
allowReturnOutsideFunction: true,

@@ -392,0 +393,0 @@ allowSuperOutsideMethod: true,

{
"name": "babel-eslint",
"version": "6.0.5",
"version": "6.1.0",
"description": "Custom parser for ESLint",

@@ -5,0 +5,0 @@ "main": "index.js",

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