putil-merge
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -43,6 +43,2 @@ /* putil-merge | ||
if (options.descriptor && (descriptor.get || descriptor.set)) { | ||
if (descriptor.get) | ||
descriptor.get = descriptor.get.bind(target); | ||
if (descriptor.set) | ||
descriptor.set = descriptor.set.bind(target); | ||
Object.defineProperty(target, key, descriptor); | ||
@@ -84,4 +80,2 @@ continue; | ||
} | ||
if (typeof srcVal === 'function') | ||
srcVal = srcVal.bind(target); | ||
descriptor.value = srcVal; | ||
@@ -88,0 +82,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.4.1", | ||
"version": "3.4.2", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
9216
88