@das-fed/utils 7.0.7-hot.20 → 7.0.7-hot.22
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/api-services/index.js +832 -841
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +749 -726
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +656 -647
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +750 -731
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +7 -2
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +745 -726
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +7 -2
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +756 -765
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +731 -744
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +7 -2
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +636 -635
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +750 -727
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +7 -2
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +7 -2
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +652 -651
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +758 -735
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +627 -626
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +7 -2
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +7 -2
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +7 -2
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +749 -726
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +7 -2
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +731 -744
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +7 -2
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/getInfoFromUrl/index.js +36 -36
- package/common-info/getInfoFromUrl/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js +49 -44
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-tools/extract-file-name/index.js +7 -2
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/create-api-service/index.js +7 -2
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/authorizer.d.ts +1 -0
- package/create-api-service/sso/index.d.ts +2 -1
- package/create-api-service/sso/index.js +867 -795
- package/create-api-service/sso/index.js.gz +0 -0
- package/create-api-service/sso/utils.d.ts +2 -0
- package/curring-http/index.js +52 -47
- package/curring-http/index.js.gz +0 -0
- package/package.json +4 -4
- package/pinyin-first-character/index.js +1 -1
- package/pinyin-first-character/index.js.gz +0 -0
- package/webSocket-service/index.js +50 -40
- package/webSocket-service/index.js.gz +0 -0
|
Binary file
|
|
@@ -1375,11 +1375,16 @@ Ke.transitional = function(e, n, r) {
|
|
|
1375
1375
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
1376
1376
|
w.ERR_DEPRECATED
|
|
1377
1377
|
);
|
|
1378
|
-
return n && !cr[i] && (cr[i] = !0
|
|
1378
|
+
return n && !cr[i] && (cr[i] = !0, console.warn(
|
|
1379
|
+
o(
|
|
1380
|
+
i,
|
|
1381
|
+
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1382
|
+
)
|
|
1383
|
+
)), e ? e(a, i, s) : !0;
|
|
1379
1384
|
};
|
|
1380
1385
|
};
|
|
1381
1386
|
Ke.spelling = function(e) {
|
|
1382
|
-
return (n, r) => !0;
|
|
1387
|
+
return (n, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
|
|
1383
1388
|
};
|
|
1384
1389
|
function Ta(t, e, n) {
|
|
1385
1390
|
if (typeof t != "object")
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! js-cookie v3.0.5 | MIT */
|
|
2
|
-
function
|
|
3
|
-
for (var
|
|
4
|
-
var t = arguments[
|
|
5
|
-
for (var
|
|
6
|
-
e[
|
|
2
|
+
function p(e) {
|
|
3
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
4
|
+
var t = arguments[n];
|
|
5
|
+
for (var i in t)
|
|
6
|
+
e[i] = t[i];
|
|
7
7
|
}
|
|
8
8
|
return e;
|
|
9
9
|
}
|
|
@@ -18,67 +18,67 @@ var u = {
|
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
function g(e,
|
|
22
|
-
function t(
|
|
21
|
+
function g(e, n) {
|
|
22
|
+
function t(o, f, r) {
|
|
23
23
|
if (!(typeof document > "u")) {
|
|
24
|
-
r =
|
|
24
|
+
r = p({}, n, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
25
25
|
var c = "";
|
|
26
|
-
for (var
|
|
27
|
-
r[
|
|
28
|
-
return document.cookie =
|
|
26
|
+
for (var s in r)
|
|
27
|
+
r[s] && (c += "; " + s, r[s] !== !0 && (c += "=" + r[s].split(";")[0]));
|
|
28
|
+
return document.cookie = o + "=" + e.write(f, o) + c;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
if (!(typeof document > "u" || arguments.length && !
|
|
31
|
+
function i(o) {
|
|
32
|
+
if (!(typeof document > "u" || arguments.length && !o)) {
|
|
33
33
|
for (var f = document.cookie ? document.cookie.split("; ") : [], r = {}, c = 0; c < f.length; c++) {
|
|
34
|
-
var
|
|
34
|
+
var s = f[c].split("="), d = s.slice(1).join("=");
|
|
35
35
|
try {
|
|
36
|
-
var
|
|
37
|
-
if (r[
|
|
36
|
+
var a = decodeURIComponent(s[0]);
|
|
37
|
+
if (r[a] = e.read(d, a), o === a)
|
|
38
38
|
break;
|
|
39
39
|
} catch {
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
return
|
|
42
|
+
return o ? r[o] : r;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
return Object.create(
|
|
46
46
|
{
|
|
47
47
|
set: t,
|
|
48
|
-
get:
|
|
49
|
-
remove: function(
|
|
48
|
+
get: i,
|
|
49
|
+
remove: function(o, f) {
|
|
50
50
|
t(
|
|
51
|
-
|
|
51
|
+
o,
|
|
52
52
|
"",
|
|
53
|
-
|
|
53
|
+
p({}, f, {
|
|
54
54
|
expires: -1
|
|
55
55
|
})
|
|
56
56
|
);
|
|
57
57
|
},
|
|
58
|
-
withAttributes: function(
|
|
59
|
-
return g(this.converter,
|
|
58
|
+
withAttributes: function(o) {
|
|
59
|
+
return g(this.converter, p({}, this.attributes, o));
|
|
60
60
|
},
|
|
61
|
-
withConverter: function(
|
|
62
|
-
return g(
|
|
61
|
+
withConverter: function(o) {
|
|
62
|
+
return g(p({}, this.converter, o), this.attributes);
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
attributes: { value: Object.freeze(
|
|
66
|
+
attributes: { value: Object.freeze(n) },
|
|
67
67
|
converter: { value: Object.freeze(e) }
|
|
68
68
|
}
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
const
|
|
73
|
-
const e = new URL(location.href).searchParams,
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
const e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"),
|
|
71
|
+
var l = g(u, { path: "/" });
|
|
72
|
+
const m = () => {
|
|
73
|
+
const e = new URL(location.href).searchParams, n = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
|
|
74
|
+
n && (console.log("从url上取token:", n), JSON.stringify({ access_token: n }), l.set("accessToken", n));
|
|
75
|
+
}, v = () => {
|
|
76
|
+
const e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"), n = new URL(location.href).searchParams, t = n.get("project") || n.get("projectId") || "";
|
|
77
77
|
if (!t) return;
|
|
78
|
-
const
|
|
79
|
-
sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify({ ...e, id: t, name:
|
|
78
|
+
const i = n.get("projectParent") || n.get("projectParentId") || (e == null ? void 0 : e.parentId) || "", o = n.get("projectName") || (e == null ? void 0 : e.name) || "";
|
|
79
|
+
console.log("从url上取project:", t), sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify({ ...e, id: t, name: o, parentId: i }));
|
|
80
80
|
};
|
|
81
81
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
v as getProjectInfoFromQuery,
|
|
83
|
+
m as getTokenFromQuery
|
|
84
84
|
};
|
|
Binary file
|
|
@@ -75,11 +75,11 @@ function se() {
|
|
|
75
75
|
}
|
|
76
76
|
const wt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
77
77
|
n && A(s) ? e[o] = Ce(s, n) : e[o] = s;
|
|
78
|
-
}, { allOwnKeys: r }), e), Et = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
|
|
78
|
+
}, { allOwnKeys: r }), e), Et = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Rt = (e, t, n, r) => {
|
|
79
79
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
80
80
|
value: t.prototype
|
|
81
81
|
}), n && Object.assign(e.prototype, n);
|
|
82
|
-
},
|
|
82
|
+
}, gt = (e, t, n, r) => {
|
|
83
83
|
let s, o, i;
|
|
84
84
|
const c = {};
|
|
85
85
|
if (t = t || {}, e == null) return t;
|
|
@@ -210,8 +210,8 @@ const Dt = (e) => {
|
|
|
210
210
|
extend: wt,
|
|
211
211
|
trim: bt,
|
|
212
212
|
stripBOM: Et,
|
|
213
|
-
inherits:
|
|
214
|
-
toFlatObject:
|
|
213
|
+
inherits: Rt,
|
|
214
|
+
toFlatObject: gt,
|
|
215
215
|
kindOf: G,
|
|
216
216
|
kindOfTest: C,
|
|
217
217
|
endsWith: St,
|
|
@@ -351,24 +351,24 @@ function Z(e, t, n) {
|
|
|
351
351
|
convertValue: l,
|
|
352
352
|
isVisitable: oe
|
|
353
353
|
});
|
|
354
|
-
function
|
|
354
|
+
function R(p, y) {
|
|
355
355
|
if (!a.isUndefined(p)) {
|
|
356
356
|
if (d.indexOf(p) !== -1)
|
|
357
357
|
throw Error("Circular reference detected in " + y.join("."));
|
|
358
|
-
d.push(p), a.forEach(p, function(w,
|
|
358
|
+
d.push(p), a.forEach(p, function(w, g) {
|
|
359
359
|
(!(a.isUndefined(w) || w === null) && s.call(
|
|
360
360
|
t,
|
|
361
361
|
w,
|
|
362
|
-
a.isString(
|
|
362
|
+
a.isString(g) ? g.trim() : g,
|
|
363
363
|
y,
|
|
364
364
|
b
|
|
365
|
-
)) === !0 &&
|
|
365
|
+
)) === !0 && R(w, y ? y.concat(g) : [g]);
|
|
366
366
|
}), d.pop();
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
if (!a.isObject(e))
|
|
370
370
|
throw new TypeError("data must be an object");
|
|
371
|
-
return
|
|
371
|
+
return R(e), t;
|
|
372
372
|
}
|
|
373
373
|
function ye(e) {
|
|
374
374
|
const t = {
|
|
@@ -852,8 +852,8 @@ function un(e, t) {
|
|
|
852
852
|
b += n[d++], d = d % e;
|
|
853
853
|
if (s = (s + 1) % e, s === o && (o = (o + 1) % e), l - i < t)
|
|
854
854
|
return;
|
|
855
|
-
const
|
|
856
|
-
return
|
|
855
|
+
const R = u && l - u;
|
|
856
|
+
return R ? Math.round(b * 1e3 / R) : void 0;
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
function fn(e, t) {
|
|
@@ -894,7 +894,7 @@ const K = (e, t, n = 3) => {
|
|
|
894
894
|
total: e,
|
|
895
895
|
loaded: r
|
|
896
896
|
}), t[1]];
|
|
897
|
-
},
|
|
897
|
+
}, Re = (e) => (...t) => a.asap(() => e(...t)), dn = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
898
898
|
new URL(O.origin),
|
|
899
899
|
O.navigator && /(msie|trident)/i.test(O.navigator.userAgent)
|
|
900
900
|
) : () => !0, pn = O.hasStandardBrowserEnv ? (
|
|
@@ -934,7 +934,7 @@ function Je(e, t, n) {
|
|
|
934
934
|
let r = !hn(t);
|
|
935
935
|
return e && (r || n == !1) ? mn(e, t) : t;
|
|
936
936
|
}
|
|
937
|
-
const
|
|
937
|
+
const ge = (e) => e instanceof x ? { ...e } : e;
|
|
938
938
|
function B(e, t) {
|
|
939
939
|
t = t || {};
|
|
940
940
|
const n = {};
|
|
@@ -992,7 +992,7 @@ function B(e, t) {
|
|
|
992
992
|
socketPath: i,
|
|
993
993
|
responseEncoding: i,
|
|
994
994
|
validateStatus: c,
|
|
995
|
-
headers: (l, u, d) => s(
|
|
995
|
+
headers: (l, u, d) => s(ge(l), ge(u), d, !0)
|
|
996
996
|
};
|
|
997
997
|
return a.forEach(Object.keys({ ...e, ...t }), function(u) {
|
|
998
998
|
const d = f[u] || s, b = d(e[u], t[u], u);
|
|
@@ -1025,9 +1025,9 @@ const Ve = (e) => {
|
|
|
1025
1025
|
const s = Ve(e);
|
|
1026
1026
|
let o = s.data;
|
|
1027
1027
|
const i = x.from(s.headers).normalize();
|
|
1028
|
-
let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = s, u, d, b,
|
|
1028
|
+
let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = s, u, d, b, R, p;
|
|
1029
1029
|
function y() {
|
|
1030
|
-
|
|
1030
|
+
R && R(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
|
|
1031
1031
|
}
|
|
1032
1032
|
let h = new XMLHttpRequest();
|
|
1033
1033
|
h.open(s.method.toUpperCase(), s.url, !0), h.timeout = s.timeout;
|
|
@@ -1067,12 +1067,12 @@ const Ve = (e) => {
|
|
|
1067
1067
|
)), h = null;
|
|
1068
1068
|
}, o === void 0 && i.setContentType(null), "setRequestHeader" in h && a.forEach(i.toJSON(), function(P, T) {
|
|
1069
1069
|
h.setRequestHeader(T, P);
|
|
1070
|
-
}), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), l && ([b, p] = K(l, !0), h.addEventListener("progress", b)), f && h.upload && ([d,
|
|
1070
|
+
}), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), l && ([b, p] = K(l, !0), h.addEventListener("progress", b)), f && h.upload && ([d, R] = K(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (u = (S) => {
|
|
1071
1071
|
h && (r(!S || S.type ? new k(null, e, h) : S), h.abort(), h = null);
|
|
1072
1072
|
}, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
|
|
1073
|
-
const
|
|
1074
|
-
if (
|
|
1075
|
-
r(new m("Unsupported protocol " +
|
|
1073
|
+
const g = ln(s.url);
|
|
1074
|
+
if (g && O.protocols.indexOf(g) === -1) {
|
|
1075
|
+
r(new m("Unsupported protocol " + g + ":", m.ERR_BAD_REQUEST, e));
|
|
1076
1076
|
return;
|
|
1077
1077
|
}
|
|
1078
1078
|
h.send(o || null);
|
|
@@ -1109,10 +1109,10 @@ const Ve = (e) => {
|
|
|
1109
1109
|
let r = 0, s;
|
|
1110
1110
|
for (; r < n; )
|
|
1111
1111
|
s = r + t, yield e.slice(r, s), r = s;
|
|
1112
|
-
},
|
|
1113
|
-
for await (const n of
|
|
1112
|
+
}, Rn = async function* (e, t) {
|
|
1113
|
+
for await (const n of gn(e))
|
|
1114
1114
|
yield* En(n, t);
|
|
1115
|
-
},
|
|
1115
|
+
}, gn = async function* (e) {
|
|
1116
1116
|
if (e[Symbol.asyncIterator]) {
|
|
1117
1117
|
yield* e;
|
|
1118
1118
|
return;
|
|
@@ -1129,7 +1129,7 @@ const Ve = (e) => {
|
|
|
1129
1129
|
await t.cancel();
|
|
1130
1130
|
}
|
|
1131
1131
|
}, Se = (e, t, n, r) => {
|
|
1132
|
-
const s =
|
|
1132
|
+
const s = Rn(e, t);
|
|
1133
1133
|
let o = 0, i, c = (f) => {
|
|
1134
1134
|
i || (i = !0, r && r(f));
|
|
1135
1135
|
};
|
|
@@ -1216,9 +1216,9 @@ const Tn = async (e) => {
|
|
|
1216
1216
|
fetchOptions: b
|
|
1217
1217
|
} = Ve(e);
|
|
1218
1218
|
l = l ? (l + "").toLowerCase() : "text";
|
|
1219
|
-
let
|
|
1220
|
-
const y =
|
|
1221
|
-
|
|
1219
|
+
let R = wn([s, o && o.toAbortSignal()], i), p;
|
|
1220
|
+
const y = R && R.unsubscribe && (() => {
|
|
1221
|
+
R.unsubscribe();
|
|
1222
1222
|
});
|
|
1223
1223
|
let h;
|
|
1224
1224
|
try {
|
|
@@ -1231,7 +1231,7 @@ const Tn = async (e) => {
|
|
|
1231
1231
|
if (a.isFormData(r) && (F = T.headers.get("content-type")) && u.setContentType(F), T.body) {
|
|
1232
1232
|
const [_, $] = Ee(
|
|
1233
1233
|
h,
|
|
1234
|
-
K(
|
|
1234
|
+
K(Re(f))
|
|
1235
1235
|
);
|
|
1236
1236
|
r = Se(T.body, Oe, _, $);
|
|
1237
1237
|
}
|
|
@@ -1240,39 +1240,39 @@ const Tn = async (e) => {
|
|
|
1240
1240
|
const w = "credentials" in Request.prototype;
|
|
1241
1241
|
p = new Request(t, {
|
|
1242
1242
|
...b,
|
|
1243
|
-
signal:
|
|
1243
|
+
signal: R,
|
|
1244
1244
|
method: n.toUpperCase(),
|
|
1245
1245
|
headers: u.normalize().toJSON(),
|
|
1246
1246
|
body: r,
|
|
1247
1247
|
duplex: "half",
|
|
1248
1248
|
credentials: w ? d : void 0
|
|
1249
1249
|
});
|
|
1250
|
-
let
|
|
1250
|
+
let g = await fetch(p, b);
|
|
1251
1251
|
const S = ae && (l === "stream" || l === "response");
|
|
1252
1252
|
if (ae && (c || S && y)) {
|
|
1253
1253
|
const T = {};
|
|
1254
1254
|
["status", "statusText", "headers"].forEach((pe) => {
|
|
1255
|
-
T[pe] =
|
|
1255
|
+
T[pe] = g[pe];
|
|
1256
1256
|
});
|
|
1257
|
-
const F = a.toFiniteNumber(
|
|
1257
|
+
const F = a.toFiniteNumber(g.headers.get("content-length")), [_, $] = c && Ee(
|
|
1258
1258
|
F,
|
|
1259
|
-
K(
|
|
1259
|
+
K(Re(c), !0)
|
|
1260
1260
|
) || [];
|
|
1261
|
-
|
|
1262
|
-
Se(
|
|
1261
|
+
g = new Response(
|
|
1262
|
+
Se(g.body, Oe, _, () => {
|
|
1263
1263
|
$ && $(), y && y();
|
|
1264
1264
|
}),
|
|
1265
1265
|
T
|
|
1266
1266
|
);
|
|
1267
1267
|
}
|
|
1268
1268
|
l = l || "text";
|
|
1269
|
-
let P = await v[a.findKey(v, l) || "text"](
|
|
1269
|
+
let P = await v[a.findKey(v, l) || "text"](g, e);
|
|
1270
1270
|
return !S && y && y(), await new Promise((T, F) => {
|
|
1271
1271
|
$e(T, F, {
|
|
1272
1272
|
data: P,
|
|
1273
|
-
headers: x.from(
|
|
1274
|
-
status:
|
|
1275
|
-
statusText:
|
|
1273
|
+
headers: x.from(g.headers),
|
|
1274
|
+
status: g.status,
|
|
1275
|
+
statusText: g.statusText,
|
|
1276
1276
|
config: e,
|
|
1277
1277
|
request: p
|
|
1278
1278
|
});
|
|
@@ -1369,11 +1369,16 @@ ee.transitional = function(t, n, r) {
|
|
|
1369
1369
|
s(i, " has been removed" + (n ? " in " + n : "")),
|
|
1370
1370
|
m.ERR_DEPRECATED
|
|
1371
1371
|
);
|
|
1372
|
-
return n && !xe[i] && (xe[i] = !0
|
|
1372
|
+
return n && !xe[i] && (xe[i] = !0, console.warn(
|
|
1373
|
+
s(
|
|
1374
|
+
i,
|
|
1375
|
+
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1376
|
+
)
|
|
1377
|
+
)), t ? t(o, i, c) : !0;
|
|
1373
1378
|
};
|
|
1374
1379
|
};
|
|
1375
1380
|
ee.spelling = function(t) {
|
|
1376
|
-
return (n, r) => !0;
|
|
1381
|
+
return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
|
|
1377
1382
|
};
|
|
1378
1383
|
function Nn(e, t, n) {
|
|
1379
1384
|
if (typeof e != "object")
|
|
@@ -1471,18 +1476,18 @@ let L = class {
|
|
|
1471
1476
|
return u;
|
|
1472
1477
|
}
|
|
1473
1478
|
b = c.length;
|
|
1474
|
-
let
|
|
1479
|
+
let R = n;
|
|
1475
1480
|
for (d = 0; d < b; ) {
|
|
1476
1481
|
const p = c[d++], y = c[d++];
|
|
1477
1482
|
try {
|
|
1478
|
-
|
|
1483
|
+
R = p(R);
|
|
1479
1484
|
} catch (h) {
|
|
1480
1485
|
y.call(this, h);
|
|
1481
1486
|
break;
|
|
1482
1487
|
}
|
|
1483
1488
|
}
|
|
1484
1489
|
try {
|
|
1485
|
-
u = Ae.call(this,
|
|
1490
|
+
u = Ae.call(this, R);
|
|
1486
1491
|
} catch (p) {
|
|
1487
1492
|
return Promise.reject(p);
|
|
1488
1493
|
}
|
|
Binary file
|
|
@@ -1367,11 +1367,16 @@ ee.transitional = function(t, n, r) {
|
|
|
1367
1367
|
s(i, " has been removed" + (n ? " in " + n : "")),
|
|
1368
1368
|
m.ERR_DEPRECATED
|
|
1369
1369
|
);
|
|
1370
|
-
return n && !xe[i] && (xe[i] = !0
|
|
1370
|
+
return n && !xe[i] && (xe[i] = !0, console.warn(
|
|
1371
|
+
s(
|
|
1372
|
+
i,
|
|
1373
|
+
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1374
|
+
)
|
|
1375
|
+
)), t ? t(o, i, c) : !0;
|
|
1371
1376
|
};
|
|
1372
1377
|
};
|
|
1373
1378
|
ee.spelling = function(t) {
|
|
1374
|
-
return (n, r) => !0;
|
|
1379
|
+
return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
|
|
1375
1380
|
};
|
|
1376
1381
|
function xn(e, t, n) {
|
|
1377
1382
|
if (typeof e != "object")
|
|
Binary file
|
|
@@ -1375,11 +1375,16 @@ Ke.transitional = function(e, n, r) {
|
|
|
1375
1375
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
1376
1376
|
w.ERR_DEPRECATED
|
|
1377
1377
|
);
|
|
1378
|
-
return n && !ir[i] && (ir[i] = !0
|
|
1378
|
+
return n && !ir[i] && (ir[i] = !0, console.warn(
|
|
1379
|
+
o(
|
|
1380
|
+
i,
|
|
1381
|
+
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1382
|
+
)
|
|
1383
|
+
)), e ? e(a, i, s) : !0;
|
|
1379
1384
|
};
|
|
1380
1385
|
};
|
|
1381
1386
|
Ke.spelling = function(e) {
|
|
1382
|
-
return (n, r) => !0;
|
|
1387
|
+
return (n, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
|
|
1383
1388
|
};
|
|
1384
1389
|
function Ea(t, e, n) {
|
|
1385
1390
|
if (typeof t != "object")
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getTokenFromAuthorizer: () => Promise<string>;
|