diff --git a/package.json b/package.json index 72cbb43..0e45576 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,10 @@ "webpack": "^1.12.2" }, "dependencies": { - "lodash": "^4.2.0" + "lodash.defaults": "^4.2.0", + "lodash.memoize": "^4.1.2", + "lodash.union": "^4.6.0", + "lodash.without": "^4.4.0" }, "peerDependencies": { "react-dnd": "^2.0.0" diff --git a/src/BrowserDetector.js b/src/BrowserDetector.js index 1a79098..3d9d78a 100644 --- a/src/BrowserDetector.js +++ b/src/BrowserDetector.js @@ -1,4 +1,4 @@ -import memoize from 'lodash/memoize'; +import memoize from 'lodash.memoize'; export const isFirefox = memoize(() => /firefox/i.test(navigator.userAgent) diff --git a/src/EnterLeaveCounter.js b/src/EnterLeaveCounter.js index c01d1c5..1df8ae0 100644 --- a/src/EnterLeaveCounter.js +++ b/src/EnterLeaveCounter.js @@ -1,5 +1,5 @@ -import union from 'lodash/union'; -import without from 'lodash/without'; +import union from 'lodash.union'; +import without from 'lodash.without'; export default class EnterLeaveCounter { constructor() { diff --git a/src/HTML5Backend.js b/src/HTML5Backend.js index 7206bfe..b9af212 100644 --- a/src/HTML5Backend.js +++ b/src/HTML5Backend.js @@ -1,4 +1,4 @@ -import defaults from 'lodash/defaults'; +import defaults from 'lodash.defaults'; import shallowEqual from './shallowEqual'; import EnterLeaveCounter from './EnterLeaveCounter'; import { isFirefox } from './BrowserDetector';