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 5.0.0-beta5 to 5.0.0-beta6

4

package.json
{
"name": "babel-eslint",
"version": "5.0.0-beta5",
"version": "5.0.0-beta6",
"description": "",

@@ -11,3 +11,3 @@ "main": "index.js",

"dependencies": {
"acorn-to-esprima": "^2.0.3",
"acorn-to-esprima": "^2.0.4",
"babel-traverse": "^6.0.20",

@@ -14,0 +14,0 @@ "babel-types": "^6.0.19",

@@ -435,4 +435,14 @@ var assert = require("assert");

].join("\n"));
parseAndAssertSame([
"var B = {",
"get x () {",
"return this.ecks;",
"},",
"set x (ecks) {",
"this.ecks = ecks;",
"}",
"};"
].join("\n"));
});
});
});

@@ -1307,2 +1307,29 @@ /*eslint-env mocha*/

});
it("getter/setter #218", function () {
verifyAndAssertMessages([
"class Person {",
"set a (v) { }",
"}"
].join("\n"),
{ "space-before-function-paren": 1, "space-before-keywords": 1, "indent": 1 },
[]
)
});
it("getter/setter #220", function () {
verifyAndAssertMessages([
"var B = {",
"get x () {",
"return this.ecks;",
"},",
"set x (ecks) {",
"this.ecks = ecks;",
"}",
"};"
].join("\n"),
{ "no-dupe-keys": 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