@yuneta/gobj-js 7.28.0 → 7.29.0

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.
@@ -265,7 +265,7 @@ function Z() {
265
265
  return Q;
266
266
  }
267
267
  function ee(e) {
268
- Fl(e) && (e = JSON.stringify(e)), Xr(" ".repeat(Math.max(1, 2 * E)) + String(e));
268
+ Fl(e) && (e = JSON.stringify(e)), Xr(" ".repeat(Math.max(1, 4 * E)) + String(e));
269
269
  }
270
270
  var te = Object.freeze({
271
271
  TRACE_MACHINE: 65536,
@@ -3873,9 +3873,10 @@ function Cs(e, t = 0, n = !1) {
3873
3873
  }, i;
3874
3874
  }
3875
3875
  function Is(...e) {
3876
- let t = "", n = 0;
3877
- for (let r of e) null != r && "" !== r && (r = String(r), r = 0 === n ? r.replace(/\/+$/, "") : r.replace(/^\/+/, "").replace(/\/+$/, ""), "" !== r && (n > 0 && (t += "/"), t += r, n++));
3878
- return t;
3876
+ let t = null, n = [];
3877
+ for (let r of e) if (null != r && "" !== r) if (r = String(r), null !== t) for (let e of r.split("/")) "" !== e && "." !== e && (".." !== e ? n.push(e) : n.pop());
3878
+ else t = r.replace(/(.)\/+$/, "$1");
3879
+ return null === t ? "" : 0 === n.length ? t : t + (t.endsWith("/") ? "" : "/") + n.join("/");
3879
3880
  }
3880
3881
  var ks = 256, Ps = 1e5;
3881
3882
  function Ls(e) {