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.cjs CHANGED
@@ -3432,10 +3432,11 @@ var import_react24 = require("react");
3432
3432
 
3433
3433
  // src/exporters/serializer.ts
3434
3434
  function defaultSerializer(x) {
3435
+ var _a;
3435
3436
  if (x instanceof Date || typeof x === "number" || typeof x === "string") {
3436
3437
  return x;
3437
3438
  }
3438
- return JSON.stringify(x);
3439
+ return (_a = JSON.stringify(x)) != null ? _a : "";
3439
3440
  }
3440
3441
 
3441
3442
  // src/internalState/calcProps.ts