mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.17.1.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import assignValue from './_assignValue.js';
|
||||
import castPath from './_castPath.js';
|
||||
import isIndex from './_isIndex.js';
|
||||
import isKey from './_isKey.js';
|
||||
import isObject from './isObject.js';
|
||||
import toKey from './_toKey.js';
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user