@vtj/utils 0.15.0 → 0.15.2

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.mjs CHANGED
@@ -16,10 +16,10 @@ import { ref as ge } from "vue";
16
16
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
17
17
  * @name @vtj/utils
18
18
  * @author CHC chenhuachun1549@dingtalk.com
19
- * @version 0.15.0
19
+ * @version 0.15.2
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const Kr = "0.15.0";
22
+ const Kr = "0.15.2";
23
23
  function st(t, e) {
24
24
  return function() {
25
25
  return t.apply(e, arguments);
@@ -1438,7 +1438,7 @@ function Ye(t) {
1438
1438
  ), r.response.headers = x.from(r.response.headers))), Promise.reject(r);
1439
1439
  });
1440
1440
  }
1441
- const Tt = "1.13.3", de = {};
1441
+ const Tt = "1.13.4", de = {};
1442
1442
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1443
1443
  de[t] = function(r) {
1444
1444
  return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
@@ -1557,12 +1557,8 @@ let v = class {
1557
1557
  let l, p = 0, y;
1558
1558
  if (!f) {
1559
1559
  const d = [Ye.bind(this), void 0];
1560
- d.unshift(...a), d.push(...u), y = d.length, l = Promise.resolve(n);
1561
- let m = n;
1562
- for (; p < y; )
1563
- l = l.then(d[p++]).then((h) => {
1564
- m = h !== void 0 ? h : m;
1565
- }).catch(d[p++]).then(() => m);
1560
+ for (d.unshift(...a), d.push(...u), y = d.length, l = Promise.resolve(n); p < y; )
1561
+ l = l.then(d[p++], d[p++]);
1566
1562
  return l;
1567
1563
  }
1568
1564
  y = a.length;
@@ -1582,7 +1578,7 @@ let v = class {
1582
1578
  return Promise.reject(d);
1583
1579
  }
1584
1580
  for (p = 0, y = u.length; p < y; )
1585
- l = l.then(u[p++]).catch(u[p++]);
1581
+ l = l.then(u[p++], u[p++]);
1586
1582
  return l;
1587
1583
  }
1588
1584
  getUri(e) {