Bump to v4.13.0.

This commit is contained in:
John-David Dalton
2016-05-21 01:14:43 -07:00
parent dbe6a9008c
commit 0cf3476f14
108 changed files with 1169 additions and 896 deletions

View File

@@ -2,12 +2,12 @@
* The base implementation of `_.hasIn` without support for deep paths.
*
* @private
* @param {Object} object The object to query.
* @param {Object} [object] The object to query.
* @param {Array|string} key The key to check.
* @returns {boolean} Returns `true` if `key` exists, else `false`.
*/
function baseHasIn(object, key) {
return key in Object(object);
return object != null && key in Object(object);
}
module.exports = baseHasIn;