kintone-migrator 0.21.2 → 0.21.3
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 +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9340,7 +9340,8 @@ function normalizeValue(value) {
|
|
|
9340
9340
|
if (typeof first === "object" && first !== null && "code" in first && Object.keys(first).length === 1) return value;
|
|
9341
9341
|
return value.filter(isRecord$1).map((row) => {
|
|
9342
9342
|
const normalized = {};
|
|
9343
|
-
for (const [k, v] of Object.entries(row)) normalized[k] = v
|
|
9343
|
+
for (const [k, v] of Object.entries(row)) if (Array.isArray(v)) normalized[k] = v.map(String);
|
|
9344
|
+
else normalized[k] = v === null || v === void 0 ? "" : String(v);
|
|
9344
9345
|
return normalized;
|
|
9345
9346
|
});
|
|
9346
9347
|
}
|