redux-dryer
Advanced tools
Comparing version 0.1.9 to 0.2.0
@@ -30,3 +30,3 @@ 'use strict'; | ||
var action = arguments[1]; | ||
return (0, _includes2.default)(actionsTypes, action.type) ? (0, _merge2.default)(state, | ||
return (0, _includes2.default)(actionsTypes, action.type) ? (0, _merge2.default)({}, state, | ||
// if the payload is a function we'll inject state into it | ||
@@ -33,0 +33,0 @@ typeof action.payload === 'function' ? action.payload(state) : action.payload) : state; |
{ | ||
"name": "redux-dryer", | ||
"version": "0.1.9", | ||
"version": "0.2.0", | ||
"description": "Redux utilities to keep your reducers small and DRY", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
89577