redux-storage
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -9,2 +9,4 @@ 'use strict'; | ||
var _immutable = require('immutable'); | ||
var _constants = require('./constants'); | ||
@@ -16,2 +18,5 @@ | ||
} | ||
if ((0, _lodash.isFunction)(newState.mergeDeep)) { | ||
return (0, _immutable.fromJS)(oldState).mergeDeep(newState); | ||
} | ||
return (0, _lodash.merge)({}, oldState, newState); | ||
@@ -18,0 +23,0 @@ } |
{ | ||
"name": "redux-storage", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Persistence layer for redux with flexible backends", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
"test": "make test", | ||
"prepublish": "make build lint" | ||
"prepublish": "make ci build" | ||
}, | ||
@@ -11,0 +11,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
19687
16
246