dist/index.cjs.js
function setDeepValue(target, path, value) {
    var keys = getKeysFromPath(path);
    var lastKey = keys.pop();
    var deepRef = getDeepRef(target, keys.join('.'));
    if (deepRef && deepRef.hasOwnProperty(lastKey)) {
        deepRef[lastKey] = value;
    }
    return target;
}
function setDeepValue(target, path, value) {
    var keys = getKeysFromPath(path);
    var lastKey = keys.pop();
    var deepRef = getDeepRef(target, keys.join('.'));
    if (deepRef && deepRef.hasOwnProperty(lastKey)) {
        deepRef[lastKey] = value;
    }
    return target;
}
function setDeepValue ( target , path , value ) { var keys = getKeysFromPath ( path ) ; var lastKey = keys . pop ( ) ; var deepRef = getDeepRef ( target , keys . join ( '.' ) ) ; if ( deepRef && deepRef . hasOwnProperty ( lastKey ) ) { deepRef [ lastKey ] = value ; } return target ; }
Sets a value to a deep property in an object, based on a path to that property

@param   {object} target   the Object to set the value on
@param   {string} path     'path/to/prop.subprop'
@param   {*}      value    the value to set
@returns {AnyObject} the original target object
Sets a value to a deep property in an object based on a path to that property