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.25 to 3.1.26

4

index.js

@@ -366,4 +366,2 @@ var acornToEsprima = require("./acorn-to-esprima");

exports.attachComments = function (ast, comments, tokens) {
estraverse.attachComments(ast, comments, tokens);
if (comments.length) {

@@ -460,3 +458,3 @@ var firstComment = comments[0];

ast.comments = comments;
exports.attachComments(ast, comments, tokens);
exports.attachComments(ast, comments, ast.tokens);

@@ -463,0 +461,0 @@ // transform esprima and acorn divergent nodes

{
"name": "babel-eslint",
"version": "3.1.25",
"version": "3.1.26",
"description": "",

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

@@ -1221,2 +1221,11 @@ /*eslint-env mocha*/

});
it("ternary and parens #149", function () {
verifyAndAssertMessages([
"true ? (true) : false;"
].join("\n"),
{ "space-infix-ops": 1 },
[]
);
});
});
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