Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "devalue", | ||
"description": "Gets the job done when JSON.stringify can't", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"repository": "Rich-Harris/devalue", | ||
@@ -6,0 +6,0 @@ "sideEffects": false, |
@@ -34,4 +34,6 @@ import { | ||
const custom = []; | ||
for (const key in reducers) { | ||
custom.push({ key, fn: reducers[key] }); | ||
if (reducers) { | ||
for (const key of Object.getOwnPropertyNames(reducers)) { | ||
custom.push({ key, fn: reducers[key] }); | ||
} | ||
} | ||
@@ -38,0 +40,0 @@ |
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
31833
851