mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Compare commits
1 Commits
4.17.3-amd
...
4.17.4-amd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
955537d67f |
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
6
main.js
6
main.js
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user