Bump to v4.10.0.

This commit is contained in:
John-David Dalton
2016-04-10 22:55:59 -07:00
parent b7e3b3febd
commit f10bb8b80b
53 changed files with 162 additions and 158 deletions

View File

@@ -1,5 +1,5 @@
import baseCastFunction from './_baseCastFunction';
import baseUpdate from './_baseUpdate';
import castFunction from './_castFunction';
/**
* This method is like `_.set` except that accepts `updater` to produce the
@@ -29,7 +29,7 @@ import baseUpdate from './_baseUpdate';
* // => 0
*/
function update(object, path, updater) {
return object == null ? object : baseUpdate(object, path, baseCastFunction(updater));
return object == null ? object : baseUpdate(object, path, castFunction(updater));
}
export default update;