Bump to v4.17.1.

This commit is contained in:
John-David Dalton
2016-11-14 21:01:42 -08:00
parent 9849321273
commit 5585b3ae22
21 changed files with 172 additions and 168 deletions

View File

@@ -1,7 +1,6 @@
var assignValue = require('./_assignValue'),
castPath = require('./_castPath'),
isIndex = require('./_isIndex'),
isKey = require('./_isKey'),
isObject = require('./isObject'),
toKey = require('./_toKey');
@@ -19,7 +18,7 @@ function baseSet(object, path, value, customizer) {
if (!isObject(object)) {
return object;
}
path = isKey(path, object) ? [path] : castPath(path);
path = castPath(path, object);
var index = -1,
length = path.length,