diff --git a/README.md b/README.md index 71e6efee7..578db672a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash-amd v4.17.3 +# lodash-amd v4.17.4 The [Lodash](https://lodash.com/) library exported as [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) modules. @@ -27,4 +27,4 @@ require({ }); ``` -See the [package source](https://github.com/lodash/lodash/tree/4.17.3-amd) for more details. +See the [package source](https://github.com/lodash/lodash/tree/4.17.4-amd) for more details. diff --git a/_customOmitClone.js b/_customOmitClone.js index aaddde388..2b896084e 100644 --- a/_customOmitClone.js +++ b/_customOmitClone.js @@ -12,8 +12,8 @@ define(['./isPlainObject'], function(isPlainObject) { * @param {string} key The key of the property to inspect. * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. */ - function customOmitClone(value, key) { - return (key !== undefined && isPlainObject(value)) ? undefined : value; + function customOmitClone(value) { + return isPlainObject(value) ? undefined : value; } return customOmitClone; diff --git a/main.js b/main.js index 65e543c34..09fd7b3a9 100644 --- a/main.js +++ b/main.js @@ -13,7 +13,7 @@ var undefined; /** Used as the semantic version number. */ - var VERSION = '4.17.3'; + var VERSION = '4.17.4'; /** Used as the size to enable large array optimizations. */ var LARGE_ARRAY_SIZE = 200; @@ -5633,8 +5633,8 @@ * @param {string} key The key of the property to inspect. * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. */ - function customOmitClone(value, key) { - return (key !== undefined && isPlainObject(value)) ? undefined : value; + function customOmitClone(value) { + return isPlainObject(value) ? undefined : value; } /** diff --git a/package.json b/package.json index 501d7dde5..61837db6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lodash-amd", - "version": "4.17.3", + "version": "4.17.4", "description": "Lodash exported as AMD modules.", "keywords": "amd, modules, stdlib, util", "homepage": "https://lodash.com/custom-builds",