summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/auto.js2
-rw-r--r--lib/autoInject.js2
-rw-r--r--lib/race.js4
-rw-r--r--lib/reflectAll.js2
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/auto.js b/lib/auto.js
index af78516..d200c3a 100644
--- a/lib/auto.js
+++ b/lib/auto.js
@@ -1,5 +1,5 @@
import arrayEach from 'lodash/_arrayEach';
-import forOwn from 'lodash/forOwn';
+import forOwn from 'lodash/_baseForOwn';
import indexOf from 'lodash/_baseIndexOf';
import isArray from 'lodash/isArray';
import okeys from 'lodash/keys';
diff --git a/lib/autoInject.js b/lib/autoInject.js
index 31bd622..1af1a32 100644
--- a/lib/autoInject.js
+++ b/lib/autoInject.js
@@ -1,5 +1,5 @@
import auto from './auto';
-import forOwn from 'lodash/forOwn';
+import forOwn from 'lodash/_baseForOwn';
import arrayMap from 'lodash/_arrayMap';
import clone from 'lodash/_copyArray';
import isArray from 'lodash/isArray';
diff --git a/lib/race.js b/lib/race.js
index 893e860..55d37ee 100644
--- a/lib/race.js
+++ b/lib/race.js
@@ -1,5 +1,5 @@
import isArray from 'lodash/isArray';
-import each from 'lodash/each';
+import arrayEach from 'lodash/_arrayEach';
import noop from 'lodash/noop';
import once from './internal/once';
@@ -44,7 +44,7 @@ export default function race(tasks, callback) {
callback = once(callback || noop);
if (!isArray(tasks)) return callback(new TypeError('First argument to race must be an array of functions'));
if (!tasks.length) return callback();
- each(tasks, function (task) {
+ arrayEach(tasks, function (task) {
task(callback);
});
}
diff --git a/lib/reflectAll.js b/lib/reflectAll.js
index edfed49..dbeba8d 100644
--- a/lib/reflectAll.js
+++ b/lib/reflectAll.js
@@ -1,7 +1,7 @@
import reflect from './reflect';
import isArray from 'lodash/isArray';
import _arrayMap from 'lodash/_arrayMap';
-import forOwn from 'lodash/forOwn';
+import forOwn from 'lodash/_baseForOwn';
/**
* A helper function that wraps an array or an object of functions with reflect.