oneentry 1.0.86 → 1.0.87

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.
@@ -53,7 +53,7 @@ class SyncModules {
53
53
  if (Array.isArray(data)) {
54
54
  return data.map(item => this._clearArray(item));
55
55
  }
56
- else {
56
+ else if (typeof data === 'object' && data) {
57
57
  const normalizeData = {};
58
58
  for (let key in data) {
59
59
  if (Array.isArray(data[key])) {
@@ -77,6 +77,9 @@ class SyncModules {
77
77
  }
78
78
  return normalizeData;
79
79
  }
80
+ else {
81
+ return data;
82
+ }
80
83
  }
81
84
  _normalizeAttr(data) {
82
85
  if ('attributeValues' in data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneentry",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",