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

lean-redux

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lean-redux - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

21

lib/lean.js

@@ -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": {

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