Comparing version 1.3.1 to 1.3.2
@@ -33,3 +33,5 @@ "use strict"; | ||
for (var key in obj) { | ||
result[key] = map(obj[key], fn, opts, key); | ||
if (obj.hasOwnProperty(key)) { | ||
result[key] = map(obj[key], fn, opts, key); | ||
} | ||
} | ||
@@ -36,0 +38,0 @@ return result; |
{ | ||
"name": "deep-map", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Transforms nested values of complex objects", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13290
81
0