@cripty2001/utils 0.0.116 → 0.0.117

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.
@@ -9,6 +9,8 @@ class Searcher {
9
9
  this.data = data;
10
10
  }
11
11
  search(query) {
12
+ if (query === "")
13
+ return this.data;
12
14
  return this.data.filter(item => item.queries.some(q => q.includes(query.toLowerCase())));
13
15
  }
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {