Socket
Socket
Sign inDemoInstall

redux-persist

Package Overview
Dependencies
1
Maintainers
2
Versions
186
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.6.10 to 5.6.11

2

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

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

@@ -17,7 +17,7 @@

declare module "redux-persist/lib/storage" {
export * from "redux-persist/es/storage";
export { default } from "redux-persist/es/storage";
}
declare module "redux-persist/lib/storage/session" {
export * from "redux-persist/es/storage/session";
export { default } from "redux-persist/es/storage/session";
}

@@ -69,2 +69,28 @@

declare module "redux-persist/integration/react" {
import { ReactNode, PureComponent } from "react";
import { Persistor, WebStorage } from "redux-persist";
/**
* Properties of @see PersistGate
*/
export interface PersistGateProps {
persistor: Persistor;
onBeforeLift?: Function;
children?: ReactNode;
loading?: ReactNode;
}
/**
* State of @see PersistGate
*/
export interface PersistorGateState { bootstrapped: boolean; }
/**
* Entry point of your react application to allow it persist a given store @see Persistor and its configuration.
* @see Persistor
* @see PersistGateProps
* @see PersistGateState
*/
export class PersistGate extends React.PureComponent<PersistGateProps, PersistorGateState> { }
}
declare module "redux-persist/es/constants" {

@@ -349,28 +375,2 @@ /* constants */

declare module "redux-persist/es/integration/react" {
import { ReactNode, PureComponent } from "react";
import { Persistor, WebStorage } from "redux-persist";
/**
* Properties of @see PersistGate
*/
export interface PersistGateProps {
persistor: Persistor;
onBeforeLift?: Function;
children?: ReactNode;
loading?: ReactNode;
}
/**
* State of @see PersistGate
*/
export interface PersistorGateState { bootstrapped: boolean; }
/**
* Entry point of your react application to allow it persist a given store @see Persistor and its configuration.
* @see Persistor
* @see PersistGateProps
* @see PersistGateState
*/
export class PersistGate extends React.PureComponent<PersistGateProps, PersistorGateState> { }
}
declare module "redux-persist/es/integration/getStoredStateMigrateV4" {

@@ -406,3 +406,3 @@ import { PersistConfig, Transform } from "redux-persist";

import { WebStorage } from "redux-persist";
export let storage: WebStorage;
let storage: WebStorage;
export default storage;

@@ -409,0 +409,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc