@unizhen/ui 0.1.77 → 0.1.79

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.
Files changed (2) hide show
  1. package/lib/ui.js +6 -5
  2. package/package.json +1 -1
package/lib/ui.js CHANGED
@@ -2415,8 +2415,8 @@ var yd = 500, bd = 300, xd = [], Sd = /* @__PURE__ */ new WeakMap(), Cd = /* @__
2415
2415
  let t = String(e || "");
2416
2416
  if (!t) return "";
2417
2417
  try {
2418
- let e = typeof location > "u" ? void 0 : location.href, n = new URL(t, e);
2419
- return `${n.origin}${n.pathname}`;
2418
+ let e = typeof location > "u" ? void 0 : location.href;
2419
+ return new URL(t, e).pathname;
2420
2420
  } catch {
2421
2421
  return t.split(/[?#]/, 1)[0];
2422
2422
  }
@@ -2480,13 +2480,14 @@ var yd = 500, bd = 300, xd = [], Sd = /* @__PURE__ */ new WeakMap(), Cd = /* @__
2480
2480
  if (!jd) {
2481
2481
  jd = !0;
2482
2482
  try {
2483
- Hd(e, Ld({
2483
+ let a = Rd(i);
2484
+ a && a.indexOf("ResizeObserver loop") === -1 && Hd(e, Ld({
2484
2485
  type: n,
2485
2486
  time: Date.now(),
2486
2487
  url: zd(r) || zd(location.href),
2487
2488
  browser: Pd(),
2488
2489
  platform: Nd(),
2489
- message: Rd(i),
2490
+ message: `[${n}] [${window.document.title}] [${a}]`,
2490
2491
  info: t ? t() : ""
2491
2492
  }));
2492
2493
  } catch {} finally {
@@ -8793,7 +8794,7 @@ function Lg(e, t, n) {
8793
8794
  }
8794
8795
  //#endregion
8795
8796
  //#region package.json
8796
- var Rg = "0.1.77", zg;
8797
+ var Rg = "0.1.79", zg;
8797
8798
  async function Bg() {
8798
8799
  let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
8799
8800
  method: "HEAD",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },