inibase 1.5.1 → 1.5.2

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.
@@ -95,8 +95,7 @@ export const compare = (operator, originalValue, comparedValue, fieldType) => {
95
95
  // Special handling when the original value is an array.
96
96
  if (Array.isArray(originalValue) &&
97
97
  !Array.isArray(comparedValue) &&
98
- !["[]", "![]"].includes(operator) &&
99
- fieldType !== "array")
98
+ !["[]", "![]"].includes(operator))
100
99
  return originalValue.some((value) => compare(operator, value, comparedValue, fieldType));
101
100
  // Switch statement for different comparison operators.
102
101
  switch (operator) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inibase",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Karim Amahtil",