From bd65bb67e25a79b019d745b7262b2008ce2adb15 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 16 Nov 2016 01:59:39 +0100 Subject: incrementally verify denoms The denominations are not stored in a separate object store. --- node_modules/lodash/_baseSet.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'node_modules/lodash/_baseSet.js') diff --git a/node_modules/lodash/_baseSet.js b/node_modules/lodash/_baseSet.js index 2be04d5f2..612a24cc8 100644 --- a/node_modules/lodash/_baseSet.js +++ b/node_modules/lodash/_baseSet.js @@ -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, -- cgit v1.2.3