putil-merge
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -19,3 +19,2 @@ /* putil-merge | ||
* @param {boolean} [options.descriptor] | ||
* @param {boolean} [options.functions] | ||
* @param {Function} [options.filter] | ||
@@ -42,5 +41,2 @@ * @param {Function|Boolean} [options.arrayMerge] | ||
if (typeof descriptor.value === 'function' && !options.functions) | ||
continue; | ||
if (options.descriptor && (descriptor.get || descriptor.set)) { | ||
@@ -47,0 +43,0 @@ Object.defineProperty(target, key, descriptor); |
{ | ||
"name": "putil-merge", | ||
"description": "Lightweight solution for merging multiple objects into one. Also it supports deep merge and deep clone", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -32,3 +32,2 @@ # putil-merge | ||
- `descriptor:boolean`(optional): If true, copies property descriptors. **Default:** `false` | ||
- `functions:boolean`(optional): If true, copies function values, else functions will be ignored. **Default:** `false` | ||
- `filter:function` (optional): A callback function to test if source property will be merged to target. | ||
@@ -119,3 +118,2 @@ - `arrayMerge:boolean|function` (optional): If true, it combines array values. It this is a function, result of call will be assigned to target. | ||
- `descriptor:boolean`(optional): If true, copies property descriptors. **Default:** `false` | ||
- `functions:boolean`(optional): If true, copies function values, else functions will be ignored. **Default:** `false` | ||
- `filter:function` (optional): A callback function to test if source property will be merged to target. | ||
@@ -122,0 +120,0 @@ - `arrayMerge:boolean|function` (optional): If true, it combines array values. It this is a function, result of call will be assigned to target. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9122
86
138