badmfck-api-server 3.9.88 → 3.9.89
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.
@@ -188,8 +188,10 @@ class Validator {
|
|
188
188
|
if (!structureOptions.values.includes(object[i])) {
|
189
189
|
let caseValue = null;
|
190
190
|
for (let i of structureOptions.values) {
|
191
|
-
|
192
|
-
|
191
|
+
if (i === null || i === undefined)
|
192
|
+
continue;
|
193
|
+
const v = (i + "").toLowerCase().trim();
|
194
|
+
if (v === (object[i] + "").toLowerCase().trim()) {
|
193
195
|
caseValue = object[i];
|
194
196
|
break;
|
195
197
|
}
|