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

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 3.2.2 to 3.2.3

9

History.md

@@ -0,1 +1,10 @@

3.2.3 / 2015-08-16
==================
* update dependencies
* fix object rest/spread handling ([#187][] @xjamundx, [#189][] @Morantron)
[#187]: https://github.com/yannickcr/eslint-plugin-react/pull/187
[#189]: https://github.com/yannickcr/eslint-plugin-react/pull/189
3.2.2 / 2015-08-11

@@ -2,0 +11,0 @@ ==================

4

lib/rules/display-name.js

@@ -161,2 +161,6 @@ /**

node.properties.forEach(function(property) {
if (!property.key) {
return;
}
if (!isDisplayNameDeclaration(property.key)) {

@@ -163,0 +167,0 @@ return;

@@ -84,2 +84,6 @@ /**

node.properties.forEach(function(property) {
if (!property.key) {
return;
}
if (!isPropTypesDeclaration(property.key)) {

@@ -86,0 +90,0 @@ return;

2

lib/rules/prop-types.js

@@ -49,3 +49,3 @@ /**

// (babel-eslint does not expose property name so we have to rely on tokens)
if (node.type === 'ClassProperty') {
if (node && node.type === 'ClassProperty') {
var tokens = context.getFirstTokens(node, 2);

@@ -52,0 +52,0 @@ if (

{
"name": "eslint-plugin-react",
"version": "3.2.2",
"version": "3.2.3",
"author": "Yannick Croissant <yannick.croissant+npm@gmail.com>",

@@ -27,4 +27,4 @@ "description": "React specific linting rules for ESLint",

"babel-eslint": "4.0.5",
"coveralls": "2.11.3",
"eslint": "1.0.0",
"coveralls": "2.11.4",
"eslint": "1.1.0",
"istanbul": "0.3.17",

@@ -31,0 +31,0 @@ "mocha": "2.2.5"

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