redux-persist
Advanced tools
Comparing version 5.6.10 to 5.6.11
{ | ||
"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 @@ } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
374884
101