@fileverse-dev/formulajs 4.4.45 → 4.4.46
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/lib/browser/formula.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @fileverse-dev/formulajs v4.4.
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.46 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -16532,7 +16532,11 @@ function _typeof(o) {
|
|
|
16532
16532
|
var flat = {};
|
|
16533
16533
|
Object.entries(item).forEach(function(_ref29) {
|
|
16534
16534
|
var _ref30 = _slicedToArray(_ref29, 2), k = _ref30[0], v = _ref30[1];
|
|
16535
|
-
if (columnName
|
|
16535
|
+
if (columnName) {
|
|
16536
|
+
if (filterColumnName.includes(k) && (v === null || _typeof(v) !== "object")) flat[k] = v;
|
|
16537
|
+
} else {
|
|
16538
|
+
if (v === null || _typeof(v) !== "object") flat[k] = v;
|
|
16539
|
+
}
|
|
16536
16540
|
});
|
|
16537
16541
|
return flat;
|
|
16538
16542
|
}));
|