@tidyjs/tidy 2.5.0 → 2.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.
package/dist/umd/tidy.js CHANGED
@@ -268,7 +268,7 @@
268
268
  function assignGroupKeys(d, keys) {
269
269
  if (d == null || typeof d !== "object" || Array.isArray(d))
270
270
  return d;
271
- const keysObj = Object.fromEntries(keys.filter((key) => typeof key[0] !== "function"));
271
+ const keysObj = Object.fromEntries(keys.filter((key) => typeof key[0] !== "function" && key[0] != null));
272
272
  return Object.assign(keysObj, d);
273
273
  }
274
274