@crystaldesign/diva-utils 26.3.0-beta.9 → 26.4.0-beta.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.
@@ -1580,7 +1580,7 @@ function parseFilterField(filter) {
1580
1580
  // - (?:[^']*'[^']*')* matches zero or more pairs of single-quoted sections (to ensure commas inside quotes are ignored).
1581
1581
  // - [^']*$ ensures that we are splitting only if the comma is outside any single-quoted sections (i.e., we are not inside quotes at the time of the split).
1582
1582
 
1583
- if (split.length >= 3 && split[1] == 'in') {
1583
+ if (split.length >= 3 && (split[1] === 'in' || split[1] === 'nin')) {
1584
1584
  return {
1585
1585
  field: split[0],
1586
1586
  operator: split[1],
@@ -1561,7 +1561,7 @@ function parseFilterField(filter) {
1561
1561
  // - (?:[^']*'[^']*')* matches zero or more pairs of single-quoted sections (to ensure commas inside quotes are ignored).
1562
1562
  // - [^']*$ ensures that we are splitting only if the comma is outside any single-quoted sections (i.e., we are not inside quotes at the time of the split).
1563
1563
 
1564
- if (split.length >= 3 && split[1] == 'in') {
1564
+ if (split.length >= 3 && (split[1] === 'in' || split[1] === 'nin')) {
1565
1565
  return {
1566
1566
  field: split[0],
1567
1567
  operator: split[1],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-utils",
3
- "version": "26.3.0-beta.9",
3
+ "version": "26.4.0-beta.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -24,5 +24,5 @@
24
24
  "module": "build/esm/index.js",
25
25
  "types": "./build/types/utils/src/index.d.ts",
26
26
  "main": "build/cjs/index.js",
27
- "gitHead": "1eccb60ce4623cfc87cc0ed6f927ea7c9eeeb1de"
27
+ "gitHead": "e6098489ab00d9c2757e6c09c96d5b55462dd0be"
28
28
  }