schummar-table 0.40.4 → 0.40.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.
package/dist/index.js CHANGED
@@ -2540,10 +2540,11 @@ import { useMemo as useMemo8 } from "react";
2540
2540
 
2541
2541
  // src/exporters/serializer.ts
2542
2542
  function defaultSerializer(x) {
2543
+ var _a;
2543
2544
  if (x instanceof Date || typeof x === "number" || typeof x === "string") {
2544
2545
  return x;
2545
2546
  }
2546
- return JSON.stringify(x);
2547
+ return (_a = JSON.stringify(x)) != null ? _a : "";
2547
2548
  }
2548
2549
 
2549
2550
  // src/internalState/calcProps.ts