Bump to v4.17.1.

This commit is contained in:
John-David Dalton
2016-11-14 20:56:46 -08:00
parent b1ff59b3ea
commit 95f47b6d19
18 changed files with 48 additions and 44 deletions

View File

@@ -1,5 +1,4 @@
import castPath from './_castPath.js';
import isKey from './_isKey.js';
import toKey from './_toKey.js';
/**
@@ -11,7 +10,7 @@ import toKey from './_toKey.js';
* @returns {*} Returns the resolved value.
*/
function baseGet(object, path) {
path = isKey(path, object) ? [path] : castPath(path);
path = castPath(path, object);
var index = 0,
length = path.length;