From 6bb8c6080114455ce4559170180a8bc0ed74d490 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 5 Mar 2016 01:26:41 +0000 Subject: [PATCH] Use find() from Lodash Fixes #73 --- package.json | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e2173e6..82765a2 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,6 @@ "components" ], "dependencies": { - "array-find": "^1.0.0" + "lodash": "^4.6.1" } } diff --git a/src/index.js b/src/index.js index c64c57b..0e49f55 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -import find from 'array-find'; +import find from 'lodash/find'; export default function({ types: t, template }) { function matchesPatterns(path, patterns) {