gh-as-db 1.1.0 → 1.1.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.
@@ -139,6 +139,9 @@ export class Collection {
139
139
  case "lte":
140
140
  return val <= filter.value;
141
141
  case "contains":
142
+ if (Array.isArray(val)) {
143
+ return val.includes(filter.value);
144
+ }
142
145
  return (typeof val === "string" && val.includes(filter.value));
143
146
  case "in":
144
147
  return Array.isArray(filter.value) && filter.value.includes(val);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-as-db",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Use a private GitHub repository as a database for your application.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",