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

redux-persist-immutable

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-persist-immutable - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0

2

lib/index.js

@@ -32,3 +32,3 @@ 'use strict';

var transforms = [].concat(_toConsumableArray(incomingTransforms), [(0, _reduxPersistTransformImmutable2.default)({ records: records })]);
return _extends({}, config, operators, { stateReconciler: _reconciler.stateReconciler, transforms: transforms });
return _extends({ stateReconciler: _reconciler.stateReconciler }, config, operators, { transforms: transforms });
};

@@ -35,0 +35,0 @@

@@ -11,3 +11,3 @@ 'use strict';

function stateReconciler(state, inboundState, reducedState, logger) {
var newState = reducedState ? reducedState : new _immutable.Map();
var newState = reducedState ? reducedState : (0, _immutable.Map)();

@@ -32,3 +32,3 @@ Object.keys(inboundState).forEach(function (key) {

if (logger) console.log('redux-persist/autoRehydrate: key `%s`, rehydrated to ', key, newState[key]);
if (logger) console.log('redux-persist/autoRehydrate: key `%s`, rehydrated to ', key, newState.get(key));
});

@@ -35,0 +35,0 @@

{
"name": "redux-persist-immutable",
"version": "4.2.0",
"version": "4.3.0",
"description": "top level immutablejs support for redux-persist",

@@ -34,2 +34,3 @@ "main": "lib/index.js",

"babel-preset-es2015": "^6.9.0",
"immutable": "^3.8.1",
"redux": "^3.5.2",

@@ -36,0 +37,0 @@ "rimraf": "^2.5.2"

@@ -7,5 +7,5 @@ # Redux Persist Immutable

```js
import { persistStore } from 'redux-persist-immutable'
import { persistStore, autoRehydrate } from 'redux-persist-immutable'
persistStore(state)
persistStore(store)
```

@@ -12,0 +12,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