From 528e134995d0c8d0be022d8b48f7243b1d9c02a2 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 31 Dec 2016 13:35:01 -0600 Subject: [PATCH] Bump to v4.17.4. --- README.md | 4 ++-- _customOmitClone.js | 4 ++-- lodash.default.js | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4f5bc8d81..0487f1ad0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash-es v4.17.3 +# lodash-es v4.17.4 The [Lodash](https://lodash.com/) library exported as [ES](http://www.ecma-international.org/ecma-262/6.0/) modules. @@ -7,4 +7,4 @@ Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): $ lodash modularize exports=es -o ./ ``` -See the [package source](https://github.com/lodash/lodash/tree/4.17.3-es) for more details. +See the [package source](https://github.com/lodash/lodash/tree/4.17.4-es) for more details. diff --git a/_customOmitClone.js b/_customOmitClone.js index 40b5856cc..00ca4412d 100644 --- a/_customOmitClone.js +++ b/_customOmitClone.js @@ -9,8 +9,8 @@ import isPlainObject from './isPlainObject.js'; * @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; } export default customOmitClone; diff --git a/lodash.default.js b/lodash.default.js index e33e8d162..e920da753 100644 --- a/lodash.default.js +++ b/lodash.default.js @@ -45,7 +45,7 @@ import toInteger from './toInteger.js'; import lodash from './wrapperLodash.js'; /** Used as the semantic version number. */ -var VERSION = '4.17.3'; +var VERSION = '4.17.4'; /** Used to compose bitmasks for function metadata. */ var WRAP_BIND_KEY_FLAG = 2; diff --git a/package.json b/package.json index a4459d54a..c49ea57f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lodash-es", - "version": "4.17.3", + "version": "4.17.4", "description": "Lodash exported as ES modules.", "keywords": "es6, modules, stdlib, util", "homepage": "https://lodash.com/custom-builds",