@nkhang1902/strapi-plugin-export-import-clsx 1.3.0 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nkhang1902/strapi-plugin-export-import-clsx",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "A powerful Strapi plugin for exporting and importing data with Excel support and advanced filtering",
5
5
  "main": "./strapi-server.js",
6
6
  "scripts": {
@@ -318,6 +318,11 @@ module.exports = ({ strapi }) => ({
318
318
  continue;
319
319
  }
320
320
 
321
+ if (value === null || typeof value !== "object") {
322
+ result[key] = value;
323
+ continue;
324
+ }
325
+
321
326
  if (!Array.isArray(value) && typeof value === "object") {
322
327
  let temp = handleObject(key, value);
323
328
  if (temp !== undefined) {
@@ -338,8 +343,6 @@ module.exports = ({ strapi }) => ({
338
343
  }
339
344
  continue;
340
345
  }
341
-
342
- result[key] = value;
343
346
  }
344
347
  return result;
345
348
  } else {