algoliasearch-helper
Advanced tools
Comparing version 2.6.8 to 2.6.9
{ | ||
"name": "algoliasearch-helper", | ||
"version": "2.6.8", | ||
"version": "2.6.9", | ||
"homepage": "https://github.com/algolia/algoliasearch-helper-js", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "algoliasearch-helper", | ||
"version": "2.6.8", | ||
"version": "2.6.9", | ||
"description": "Helper for implementing advanced search features with algolia", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -93,3 +93,4 @@ 'use strict'; | ||
// we want the facetValue is a child of hierarchicalRootPath | ||
if (hierarchicalRootPath && facetValue.indexOf(hierarchicalRootPath) !== 0) { | ||
if (hierarchicalRootPath && | ||
(facetValue.indexOf(hierarchicalRootPath) !== 0 || hierarchicalRootPath === facetValue)) { | ||
return false; | ||
@@ -96,0 +97,0 @@ } |
'use strict'; | ||
module.exports = '2.6.8'; | ||
module.exports = '2.6.9'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
234099
3442
0