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.0.0-alpha2 to 4.0.0-alpha3

14

lib/index.js

@@ -30,7 +30,7 @@ 'use strict';

var incomingTransforms = config.transforms || [];
transforms = [].concat(_toConsumableArray(incomingTransforms), [_reduxPersistTransformImmutable2.default]);
var transforms = [].concat(_toConsumableArray(incomingTransforms), [_reduxPersistTransformImmutable2.default]);
return _extends({}, config, operators, { stateReconciler: _reconciler.stateReconciler, transforms: transforms });
};
var autoRehydrate = function autoRehydrate(config) {
var autoRehydrate = function autoRehydrate() {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {

@@ -40,6 +40,8 @@ args[_key - 1] = arguments[_key];

var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
return _reduxPersist.autoRehydrate.apply(undefined, [extendConfig(config)].concat(args));
};
var createPersistor = function createPersistor(store, config) {
var createPersistor = function createPersistor(store) {
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {

@@ -49,6 +51,8 @@ args[_key2 - 2] = arguments[_key2];

var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
return _reduxPersist.createPersistor.apply(undefined, [store, extendConfig(config)].concat(args));
};
var persistStore = function persistStore(store, config) {
var persistStore = function persistStore(store) {
for (var _len3 = arguments.length, args = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {

@@ -58,2 +62,4 @@ args[_key3 - 2] = arguments[_key3];

var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
return _reduxPersist.persistStore.apply(undefined, [store, extendConfig(config)].concat(args));

@@ -60,0 +66,0 @@ };

{
"name": "redux-persist-immutable",
"version": "4.0.0-alpha2",
"version": "4.0.0-alpha3",
"description": "top level immutablejs support for redux-persist",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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