@twin.org/core 0.0.1-next.35 → 0.0.1-next.37
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/cjs/index.cjs +7 -0
- package/dist/esm/index.mjs +7 -0
- package/docs/changelog.md +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -2788,6 +2788,13 @@ class ObjectHelper {
|
|
|
2788
2788
|
}
|
|
2789
2789
|
return newObj;
|
|
2790
2790
|
}
|
|
2791
|
+
else if (Is.array(obj)) {
|
|
2792
|
+
const arr = [];
|
|
2793
|
+
for (const element of obj) {
|
|
2794
|
+
arr.push(ObjectHelper.removeEmptyProperties(element, options));
|
|
2795
|
+
}
|
|
2796
|
+
return arr;
|
|
2797
|
+
}
|
|
2791
2798
|
return obj;
|
|
2792
2799
|
}
|
|
2793
2800
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -2786,6 +2786,13 @@ class ObjectHelper {
|
|
|
2786
2786
|
}
|
|
2787
2787
|
return newObj;
|
|
2788
2788
|
}
|
|
2789
|
+
else if (Is.array(obj)) {
|
|
2790
|
+
const arr = [];
|
|
2791
|
+
for (const element of obj) {
|
|
2792
|
+
arr.push(ObjectHelper.removeEmptyProperties(element, options));
|
|
2793
|
+
}
|
|
2794
|
+
return arr;
|
|
2795
|
+
}
|
|
2789
2796
|
return obj;
|
|
2790
2797
|
}
|
|
2791
2798
|
}
|
package/docs/changelog.md
CHANGED