@bluelilo/search-utils
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -9,5 +9,5 @@ "use strict"; | ||
function filterStarRating(results, starRating) { | ||
if (!starRating) return results; | ||
return results.filter(result => result.starRating >= starRating); | ||
function filterStarRating(results, starRatings) { | ||
if (!starRatings) return results; | ||
return results.filter(result => starRatings.includes(result.starRating)); | ||
} | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "@bluelilo/search-utils", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
8389