You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-react-redux

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-react-redux - npm Package Compare versions

Comparing version

to
3.3.2

.github/workflows/release.yml

2

lib/utils.js

@@ -19,3 +19,3 @@ 'use strict';

const arg = body[i].argument;
if (arg.type === 'ArrowFunctionExpression' || arg.type === 'FunctionExpression') {
if (arg && (arg.type === 'ArrowFunctionExpression' || arg.type === 'FunctionExpression')) {
return getReturnNode(arg);

@@ -22,0 +22,0 @@ }

{
"name": "eslint-plugin-react-redux",
"version": "3.3.1",
"version": "3.3.2",
"description": "Enforcing best practices for react-redux",

@@ -42,3 +42,3 @@ "keywords": [

"mocha": "^4.0.1",
"semantic-release": "^12.4.1"
"semantic-release": "^17.2.3"
},

@@ -45,0 +45,0 @@ "peerDependencies": {

@@ -9,2 +9,5 @@ module.exports = [

`,
`const mapStateToProps = () => {
return;
};`,
];