@featurevisor/site 1.7.1 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/site",
3
- "version": "1.7.1",
3
+ "version": "1.18.1",
4
4
  "description": "Static site for Featurevisor",
5
5
  "main": "dist",
6
6
  "scripts": {
@@ -65,5 +65,5 @@
65
65
  "dependencies": {
66
66
  "@featurevisor/types": "^1.3.0"
67
67
  },
68
- "gitHead": "331b2cb8a034eb27a7d395d0b6d14eb5ae8ebadf"
68
+ "gitHead": "5a1572d908a0aa9fcdcb5fe208cee8c0f17f7b4f"
69
69
  }
@@ -129,7 +129,10 @@ export function getFeaturesByQuery(query: Query, data: SearchIndex) {
129
129
  .filter((feature) => {
130
130
  let matched = true;
131
131
 
132
- if (query.keyword.length > 0 && feature.key.indexOf(query.keyword.toLowerCase()) === -1) {
132
+ if (
133
+ query.keyword.length > 0 &&
134
+ feature.key.toLowerCase().indexOf(query.keyword.toLowerCase()) === -1
135
+ ) {
133
136
  matched = false;
134
137
  }
135
138