New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redux-storage

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-storage - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

8

lib/decorators/filter.js

@@ -7,8 +7,4 @@ 'use strict';

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
exports['default'] = function (engine) {

@@ -43,3 +39,3 @@ var whitelist = arguments.length <= 1 || arguments[1] === undefined ? [] : arguments[1];

// Support immutable structures
if (_lodash2['default'].isFunction(value.has) && _lodash2['default'].isFunction(value.get)) {
if ((0, _lodash.isFunction)(value.has) && (0, _lodash.isFunction)(value.get)) {
if (!value.has(keyPart)) {

@@ -59,3 +55,3 @@ // No value stored - continue whiteliste.forEach!

_lodash2['default'].set(saveState, key, value);
(0, _lodash.set)(saveState, key, value);
});

@@ -62,0 +58,0 @@

@@ -7,8 +7,4 @@ 'use strict';

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
var _constants = require('./constants');

@@ -18,3 +14,3 @@

return function (state, action) {
return reducer(action.type === _constants.LOAD ? _lodash2['default'].merge(state, action.payload) : state, action);
return reducer(action.type === _constants.LOAD ? (0, _lodash.merge)(state, action.payload) : state, action);
};

@@ -21,0 +17,0 @@ };

{
"name": "redux-storage",
"version": "1.1.2",
"version": "1.1.3",
"description": "Persistence layer for redux with flexible backends",

@@ -32,10 +32,10 @@ "main": "lib/index.js",

"devDependencies": {
"lodash": "3.10.x",
"babel": "^5.8.20",
"babel-core": "^5.8.20",
"babel-eslint": "^4.0.5",
"babel": "^5.8.21",
"babel-core": "^5.8.22",
"babel-eslint": "^4.0.10",
"chai": "^3.2.0",
"chai-as-promised": "^5.1.0",
"eslint": "^1.0.0",
"eslint": "^1.1.0",
"eslint-config-airbnb": "0.0.7",
"eslint-plugin-react": "^3.2.3",
"mocha": "^2.2.5",

@@ -45,2 +45,4 @@ "sinon": "^1.15.4"

"dependencies": {
"lodash": "3.10.x",
"immutable": "^3.7.4",
"redux-actions": "0.7.x"

@@ -47,0 +49,0 @@ },

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