@orderingstack/front-hooks 5.0.3 → 5.0.4

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.es.js CHANGED
@@ -1115,10 +1115,14 @@ function Mc(e, r = !1, t = void 0, n = 60) {
1115
1115
  return ie(s, [a, e]), a;
1116
1116
  }
1117
1117
  function jn(e, r) {
1118
- e && (e.__ || (e.__ = {}), e.__.isHiddenByEnableKey = !Fc(e, r), e.items && e.items.length > 0 && e.items.forEach((t) => jn(t, r)));
1118
+ if (e && (e.__ || (e.__ = {}), e.__.isHiddenByEnableKey = !Fc(e, r), e.items && e.items.length > 0))
1119
+ for (const t of e.items)
1120
+ jn(t, r);
1119
1121
  }
1120
1122
  function Bc(e, r) {
1121
- e && e.forEach((t) => jn(t, r));
1123
+ if (e)
1124
+ for (const t of e)
1125
+ jn(t, r);
1122
1126
  }
1123
1127
  function Gv({
1124
1128
  originalMenu: e,