tods-competition-factory 1.9.4 → 1.9.5

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.
@@ -1210,6 +1210,7 @@ const extractAttributes = (accessor) => (element) => !accessor || typeof element
1210
1210
  })) || typeof accessor === "object" && Object.keys(accessor).map((key) => ({
1211
1211
  [key]: getAccessorValue({ element, accessor: key })?.value
1212
1212
  })) || (typeof accessor === "string" && getAccessorValue({ element, accessor }))?.value;
1213
+
1213
1214
  function getDefinedKeys(obj, ignoreValues, ignoreEmptyArrays) {
1214
1215
  return Object.keys(obj).filter(
1215
1216
  (key) => !ignoreValues.includes(obj[key]) && (!ignoreEmptyArrays || (Array.isArray(obj[key]) ? obj[key].length : true))