From 9304328db27d64242ad1c49b9e0f95905852444c Mon Sep 17 00:00:00 2001 From: haad Date: Tue, 20 Dec 2016 17:16:19 +0100 Subject: [PATCH] fix(package): add missing lodash.uniqby dependency. --- package.json | 3 ++- src/index.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c5eb3ee..806e1ec 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "pre-commit": "^1.2.2" }, "dependencies": { + "lodash.uniqby": "^4.7.0", "multiaddr": "^2.0.3", "peer-id": "^0.8.1" }, @@ -55,4 +56,4 @@ "greenkeeperio-bot ", "npmcdn-to-unpkg-bot " ] -} \ No newline at end of file +} diff --git a/src/index.js b/src/index.js index e735f93..2363155 100644 --- a/src/index.js +++ b/src/index.js @@ -2,7 +2,7 @@ const Id = require('peer-id') const multiaddr = require('multiaddr') -const uniqBy = require('lodash').uniqBy +const uniqBy = require('lodash.uniqby') exports = module.exports = PeerInfo