@hapi/hoek
Advanced tools
Comparing version 8.3.0 to 8.3.1
@@ -195,3 +195,3 @@ 'use strict'; | ||
if (set.size) { | ||
return !!options.part; | ||
return options.part ? set.size < targets.length : false; | ||
} | ||
@@ -258,3 +258,8 @@ | ||
let any = false; | ||
for (const match of map.values()) { | ||
if (match.hits) { | ||
any = true; | ||
} | ||
if (match.hits === match.allowed) { | ||
@@ -277,3 +282,3 @@ continue; | ||
return true; | ||
return !!any; | ||
}; | ||
@@ -280,0 +285,0 @@ |
{ | ||
"name": "@hapi/hoek", | ||
"description": "General purpose node utilities", | ||
"version": "8.3.0", | ||
"version": "8.3.1", | ||
"repository": "git://github.com/hapijs/hoek", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
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
49655
1414