lean-redux
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -111,8 +111,9 @@ "use strict"; | ||
function createCache() { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : plain, | ||
_ref$isEqual = _ref.isEqual, | ||
isEqual = _ref$isEqual === undefined ? _shallowEqual2.default : _ref$isEqual, | ||
_ref$initial = _ref.initial, | ||
initial = _ref$initial === undefined ? plain : _ref$initial; | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : plain; | ||
var _ref$isEqual = _ref.isEqual; | ||
var isEqual = _ref$isEqual === undefined ? _shallowEqual2.default : _ref$isEqual; | ||
var _ref$initial = _ref.initial; | ||
var initial = _ref$initial === undefined ? plain : _ref$initial; | ||
var cache = initial; | ||
@@ -177,3 +178,3 @@ | ||
if (!(0, _isEmpty2.default)(scope)) { | ||
scopedState = _extends({}, (0, _getOr2.default)(plain, disableLodashPath(scope), fullState), { scope: scope }); | ||
scopedState = _extends({}, (0, _getOr2.default)(plain, disableLodashPath(scope), fullState)); | ||
} | ||
@@ -269,6 +270,6 @@ | ||
} | ||
var scope = action.scope, | ||
initialState = action.initialState, | ||
update = action.update, | ||
props = action.props; | ||
var scope = action.scope; | ||
var initialState = action.initialState; | ||
var update = action.update; | ||
var props = action.props; | ||
@@ -275,0 +276,0 @@ |
{ | ||
"name": "lean-redux", | ||
"description": "Redux state like local component state", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"main": "lib/lean.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
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
16394