diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2016-04-11 11:32:13 -0700 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-04-14 12:22:16 -0400 |
commit | 40e79b1305fb7b0f27278475c8d9ca60d1d5e9b4 (patch) | |
tree | ab47dc63a075962f1a9763bb94a485f9cb3563e7 /deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js | |
parent | a432935211210bf1c92d057c455a5dd6aa5517ab (diff) | |
download | android-node-v8-40e79b1305fb7b0f27278475c8d9ca60d1d5e9b4.tar.gz android-node-v8-40e79b1305fb7b0f27278475c8d9ca60d1d5e9b4.tar.bz2 android-node-v8-40e79b1305fb7b0f27278475c8d9ca60d1d5e9b4.zip |
deps: upgrade npm to 3.8.6
PR-URL: https://github.com/nodejs/node/pull/6153
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js')
-rw-r--r-- | deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js b/deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js index 4260d6390e..dd96de49f1 100644 --- a/deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js +++ b/deps/npm/node_modules/lodash._baseuniq/node_modules/lodash._setcache/index.js @@ -1,5 +1,5 @@ /** - * lodash 4.1.0 (Custom Build) <https://lodash.com/> + * lodash 4.1.1 (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="npm" -o ./` * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> @@ -415,7 +415,7 @@ function assocSet(array, key, value) { * @returns {*} Returns the function if it's native, else `undefined`. */ function getNative(object, key) { - var value = object == null ? undefined : object[key]; + var value = object[key]; return isNative(value) ? value : undefined; } @@ -484,8 +484,8 @@ function eq(value, other) { */ function isFunction(value) { // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 8 which returns 'object' for typed array constructors, and - // PhantomJS 1.9 which returns 'function' for `NodeList` instances. + // in Safari 8 which returns 'object' for typed array and weak map constructors, + // and PhantomJS 1.9 which returns 'function' for `NodeList` instances. var tag = isObject(value) ? objectToString.call(value) : ''; return tag == funcTag || tag == genTag; } |