@bgd-labs/toolbox 0.0.34 → 0.0.35

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/node.js CHANGED
@@ -33520,7 +33520,7 @@ async function formatBeforeAndAfter(change, formatInput) {
33520
33520
  change.after = await formatInput(change.after);
33521
33521
  }
33522
33522
  function primitiveReplacer(data, key) {
33523
- if (typeof data === "object") {
33523
+ if (data && typeof data === "object") {
33524
33524
  return Object.keys(data).reduce((acc, k) => {
33525
33525
  acc[k] = primitiveReplacer(acc[k], k);
33526
33526
  return acc;