redux-rungen
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -17,3 +17,3 @@ 'use strict'; | ||
obj: function obj(value) { | ||
return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object'; | ||
return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && !!value; | ||
}, | ||
@@ -20,0 +20,0 @@ func: function func(value) { |
{ | ||
"name": "redux-rungen", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Write your redux action creators as generators", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
"peerDependencies": { | ||
"rungen": "^0.3.0" | ||
"rungen": "^0.3.2" | ||
}, | ||
@@ -25,0 +25,0 @@ "scripts": { |
import keys from './keys' | ||
const is = { | ||
obj : value => typeof value === 'object', | ||
obj : value => typeof value === 'object' && !! value, | ||
func : value => typeof value === 'function', | ||
@@ -6,0 +6,0 @@ select : value => is.obj(value) && value.type === keys.select, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10877