element-assits 0.0.95 → 0.0.96
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/index.js +1 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1639,9 +1639,8 @@ const fe = (r = 16) => {
|
|
|
1639
1639
|
return i;
|
|
1640
1640
|
}, yt = (r, t, i = "children", a = []) => {
|
|
1641
1641
|
for (let o = 0; o < r.length; o++)
|
|
1642
|
-
if (t && t(r[o], a) === !1 || r[o][i] && r[o][i].length &&
|
|
1642
|
+
if (t && t(r[o], a) === !1 || r[o][i] && r[o][i].length && yt(r[o][i], t, i, [...a, r[o]]) === !1)
|
|
1643
1643
|
return !1;
|
|
1644
|
-
a.pop();
|
|
1645
1644
|
}, Px = (r, t, i = "children") => {
|
|
1646
1645
|
const a = [{ [i]: r, __root: !0 }];
|
|
1647
1646
|
return yt(a, (o, d) => {
|