Upgrade redux-persist

Summary:
Last one blocking Greenkeeper.

Only change affecting us appears to be where to import from.

Reviewed By: jknoxville

Differential Revision: D17932089

fbshipit-source-id: b913defdabd99721886557d7c92afb8181ca1803
This commit is contained in:
Pascal Hartig
2019-10-16 02:31:11 -07:00
committed by Facebook Github Bot
parent 498fa2dc85
commit aa1f03a643
3 changed files with 9 additions and 3 deletions

View File

@@ -150,7 +150,7 @@
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.3.1",
"redux": "^4.0.0",
"redux-persist": "^5.10.0",
"redux-persist": "^6.0.0",
"remote-redux-devtools": "^0.5.16",
"rsocket-core": "0.0.10",
"rsocket-tcp-server": "0.0.10",

View File

@@ -37,7 +37,8 @@ import JsonFileStorage from '../utils/jsonFileReduxPersistStorage';
import os from 'os';
import {resolve} from 'path';
import xdg from 'xdg-basedir';
import {persistReducer, PersistPartial} from 'redux-persist';
import {persistReducer} from 'redux-persist';
import {PersistPartial} from 'redux-persist/es/persistReducer';
import {Store as ReduxStore, MiddlewareAPI as ReduxMiddlewareAPI} from 'redux';
// @ts-ignore: explicitly need to import index.js, otherwise index.native.js is imported, because redux-persist assumes we are react-native, because we are using metro-bundler

View File

@@ -7745,11 +7745,16 @@ redux-mock-store@^1.5.3:
dependencies:
lodash.isplainobject "^4.0.6"
redux-persist@*, redux-persist@^5.10.0:
redux-persist@*:
version "5.10.0"
resolved "https://registry.yarnpkg.com/redux-persist/-/redux-persist-5.10.0.tgz#5d8d802c5571e55924efc1c3a9b23575283be62b"
integrity sha512-sSJAzNq7zka3qVHKce1hbvqf0Vf5DuTVm7dr4GtsqQVOexnrvbV47RWFiPxQ8fscnyiuWyD2O92DOxPl0tGCRg==
redux-persist@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/redux-persist/-/redux-persist-6.0.0.tgz#b4d2972f9859597c130d40d4b146fecdab51b3a8"
integrity sha512-71LLMbUq2r02ng2We9S215LtPu3fY0KgaGE0k8WRgl6RkqxtGfl7HUozz1Dftwsb0D/5mZ8dwAaPbtnzfvbEwQ==
redux@^4.0.0:
version "4.0.4"
resolved "https://registry.yarnpkg.com/redux/-/redux-4.0.4.tgz#4ee1aeb164b63d6a1bcc57ae4aa0b6e6fa7a3796"