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

babel-eslint

Package Overview
Dependencies
Maintainers
1
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 1.0.12 to 1.0.13

test/.eslintrc

16

acorn-to-esprima.js

@@ -32,3 +32,3 @@ var tokTypes = require("babel").acorn.tokTypes;

node.kind = "init";
node.computed = false;
node.computed = true;
node.key = node.value = node.argument;

@@ -49,2 +49,6 @@ delete node.argument;

if (t.isAwaitExpression(node)) {
node.type = "YieldExpression";
}
// classes

@@ -94,4 +98,14 @@

node.type = "FunctionExpression";
if (node.body.type !== "BlockStatement") {
node.body = t.inherits(t.blockStatement([
node.body
]), node);
}
}
if (t.isFunction(node) && node.async) {
node.generator = true;
node.async - false;
}
}
};

2

package.json
{
"name": "babel-eslint",
"version": "1.0.12",
"version": "1.0.13",
"description": "",

@@ -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