kintone-migrator 0.31.0 → 0.31.1

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.mjs CHANGED
@@ -671,7 +671,9 @@ function buildDiffResult(entries, warnings = []) {
671
671
  //#endregion
672
672
  //#region src/core/domain/services/formatValue.ts
673
673
  function formatValue(v) {
674
- return v === void 0 ? "(none)" : JSON.stringify(v);
674
+ if (v === void 0) return "(none)";
675
+ if (v === null || typeof v !== "object") return JSON.stringify(v);
676
+ return JSON.stringify(v, null, 2);
675
677
  }
676
678
  //#endregion
677
679
  //#region src/core/domain/services/recordDiffDetector.ts