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

redux-persist

Package Overview
Dependencies
Maintainers
2
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-persist - npm Package Compare versions

Comparing version 5.7.1 to 5.7.2

5

dist/redux-persist.js

@@ -323,2 +323,5 @@ (function (global, factory) {

var _rehydrate = function _rehydrate(payload, err) {
// dev warning if we are already sealed
if ("development" !== 'production' && _sealed) console.error('redux-persist: rehydrate for "' + config.key + '" called after timeout.', payload, err);
// only rehydrate if we are not already sealed

@@ -329,4 +332,2 @@ if (!_sealed) {

}
if ("development" !== 'production' && _sealed) console.error('redux-persist: rehydrate for "' + config.key + '" called after timeout.', payload, err);
};

@@ -333,0 +334,0 @@ timeout && setTimeout(function () {

@@ -49,2 +49,5 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _rehydrate = function _rehydrate(payload, err) {
// dev warning if we are already sealed
if (process.env.NODE_ENV !== 'production' && _sealed) console.error('redux-persist: rehydrate for "' + config.key + '" called after timeout.', payload, err);
// only rehydrate if we are not already sealed

@@ -55,4 +58,2 @@ if (!_sealed) {

}
if (process.env.NODE_ENV !== 'production' && _sealed) console.error('redux-persist: rehydrate for "' + config.key + '" called after timeout.', payload, err);
};

@@ -59,0 +60,0 @@ timeout && setTimeout(function () {

@@ -68,2 +68,5 @@ 'use strict';

var _rehydrate = function _rehydrate(payload, err) {
// dev warning if we are already sealed
if (process.env.NODE_ENV !== 'production' && _sealed) console.error('redux-persist: rehydrate for "' + config.key + '" called after timeout.', payload, err);
// only rehydrate if we are not already sealed

@@ -74,4 +77,2 @@ if (!_sealed) {

}
if (process.env.NODE_ENV !== 'production' && _sealed) console.error('redux-persist: rehydrate for "' + config.key + '" called after timeout.', payload, err);
};

@@ -78,0 +79,0 @@ timeout && setTimeout(function () {

2

package.json
{
"name": "redux-persist",
"version": "5.7.1",
"version": "5.7.2",
"description": "persist and rehydrate redux stores",

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

@@ -72,8 +72,3 @@ // @flow

let _rehydrate = (payload, err) => {
// only rehydrate if we are not already sealed
if (!_sealed) {
action.rehydrate(config.key, payload, err)
_sealed = true
}
// dev warning if we are already sealed
if (process.env.NODE_ENV !== 'production' && _sealed)

@@ -87,2 +82,8 @@ console.error(

)
// only rehydrate if we are not already sealed
if (!_sealed) {
action.rehydrate(config.key, payload, err)
_sealed = true
}
}

@@ -89,0 +90,0 @@ timeout &&

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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