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 3.1.3 to 3.1.4

4

acorn-to-esprima.js

@@ -174,2 +174,6 @@ var traverse = require("babel-core").traverse;

if (t.isTypeCastExpression(node)) {
return node.expression;
}
if (t.isFlow(node)) {

@@ -176,0 +180,0 @@ return this.remove();

2

package.json
{
"name": "babel-eslint",
"version": "3.1.3",
"version": "3.1.4",
"description": "",

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

@@ -127,2 +127,10 @@ /*eslint-env mocha*/

it("type cast expression", function () {
verifyAndAssertMessages(
"for (let a of (a: Array)) {}",
{},
[]
);
});
it("class usage", function () {

@@ -129,0 +137,0 @@ verifyAndAssertMessages(

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