cleaner-node
Advanced tools
Comparing version 0.17.1 to 0.17.2
{ | ||
"name": "cleaner-node", | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ const objects = require('./objects'); | ||
(isCaseSensitive && x === key)))); | ||
const keyToUse = (keys.length === 0) ? keys[0] : key; | ||
const keyToUse = (keys.length === 1) ? keys[0] : key; | ||
return obj[keyToUse]; | ||
@@ -18,0 +18,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