diff --git a/package.json b/package.json index a4de0153..b2b54014 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "react": "^0.14.0" }, "dependencies": { - "lodash": "^3.10.1", + "lodash": "^4.2.0", "react-redux": "^4.0.0", "redux": "^3.0.0" } diff --git a/src/instrument.js b/src/instrument.js index e8c47f0f..2d7cce6d 100644 --- a/src/instrument.js +++ b/src/instrument.js @@ -1,4 +1,4 @@ -import difference from 'lodash/array/difference'; +import {difference} from 'lodash/array'; export const ActionTypes = { PERFORM_ACTION: 'PERFORM_ACTION', diff --git a/src/persistState.js b/src/persistState.js index f651c0e3..95a5b397 100644 --- a/src/persistState.js +++ b/src/persistState.js @@ -1,5 +1,5 @@ -import mapValues from 'lodash/object/mapValues'; -import identity from 'lodash/utility/identity'; +import {mapValues} from 'lodash/object'; +import {identity} from 'lodash/utility'; export default function persistState(sessionId, deserializeState = identity, deserializeAction = identity) { if (!sessionId) {