@rkmodules/rules 0.0.129 → 0.0.130

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.esm.js CHANGED
@@ -2457,6 +2457,7 @@ var explodeObject = {
2457
2457
  },
2458
2458
  params: {
2459
2459
  split: { type: "boolean", default: false, label: "split groups" },
2460
+ removeEmpty: { type: "boolean", default: false, label: "remove empty" },
2460
2461
  },
2461
2462
  outputs: {
2462
2463
  // values: "any",
@@ -2473,6 +2474,8 @@ var explodeObject = {
2473
2474
  branch.forEach(function (obj, index) {
2474
2475
  if (!obj)
2475
2476
  return;
2477
+ if (obj === null && params.removeEmpty)
2478
+ ;
2476
2479
  var props = obj || {};
2477
2480
  Object.entries(props).forEach(function (_a) {
2478
2481
  var _b = __read(_a, 2), key = _b[0], value = _b[1];