Compare commits

..

1 Commits

Author SHA1 Message Date
John-David Dalton
955537d67f Bump to v4.17.4. 2016-12-31 13:33:15 -06:00
4 changed files with 8 additions and 8 deletions

View File

@@ -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. 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.

View File

@@ -12,8 +12,8 @@ define(['./isPlainObject'], function(isPlainObject) {
* @param {string} key The key of the property to inspect. * @param {string} key The key of the property to inspect.
* @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
*/ */
function customOmitClone(value, key) { function customOmitClone(value) {
return (key !== undefined && isPlainObject(value)) ? undefined : value; return isPlainObject(value) ? undefined : value;
} }
return customOmitClone; return customOmitClone;

View File

@@ -13,7 +13,7 @@
var undefined; var undefined;
/** Used as the semantic version number. */ /** 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. */ /** Used as the size to enable large array optimizations. */
var LARGE_ARRAY_SIZE = 200; var LARGE_ARRAY_SIZE = 200;
@@ -5633,8 +5633,8 @@
* @param {string} key The key of the property to inspect. * @param {string} key The key of the property to inspect.
* @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
*/ */
function customOmitClone(value, key) { function customOmitClone(value) {
return (key !== undefined && isPlainObject(value)) ? undefined : value; return isPlainObject(value) ? undefined : value;
} }
/** /**

View File

@@ -1,6 +1,6 @@
{ {
"name": "lodash-amd", "name": "lodash-amd",
"version": "4.17.3", "version": "4.17.4",
"description": "Lodash exported as AMD modules.", "description": "Lodash exported as AMD modules.",
"keywords": "amd, modules, stdlib, util", "keywords": "amd, modules, stdlib, util",
"homepage": "https://lodash.com/custom-builds", "homepage": "https://lodash.com/custom-builds",