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

eslint-plugin-react

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

7

CHANGELOG.md

@@ -6,2 +6,9 @@ # Change Log

## [5.1.1] - 2016-05-10
### Fixed
* Fix `require-render-return` crash ([#589][])
[5.1.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v5.1.0...v5.1.1
[#589]: https://github.com/yannickcr/eslint-plugin-react/issues/589
## [5.1.0] - 2016-05-10

@@ -8,0 +15,0 @@ ### Added

5

lib/rules/require-render-return.js

@@ -52,5 +52,6 @@ /**

return tokens[1] && tokens[1].type === 'Identifier' ? tokens[1].value : tokens[0].value;
} else if (['MethodDefinition', 'Property'].indexOf(node.type) !== -1) {
return node.key.name;
}
return node.key.name;
return '';
}

@@ -57,0 +58,0 @@

2

package.json
{
"name": "eslint-plugin-react",
"version": "5.1.0",
"version": "5.1.1",
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",

@@ -5,0 +5,0 @@ "description": "React specific linting rules for ESLint",

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