@cloudbase/oauth 2.5.49-beta.1 → 2.5.49-beta.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/cjs/oauth2client/oauth2client.js +2 -2
- package/dist/cjs/utils/encryptlong/index.js +4 -3
- package/dist/esm/oauth2client/oauth2client.js +2 -2
- package/dist/esm/utils/encryptlong/index.js +4 -3
- package/package.json +1 -1
- package/src/oauth2client/oauth2client.ts +1 -1
- package/src/utils/encryptlong/index.js +3 -2
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
/* tslint:disable */
|
|
3
|
+
const navigator = typeof globalThis !== 'undefined' ? globalThis.navigator : window.globalThis;
|
|
3
4
|
var BI_RM = "0123456789abcdefghijklmnopqrstuvwxyz";
|
|
4
5
|
function int2char(n) {
|
|
5
6
|
return BI_RM.charAt(n);
|
|
@@ -2606,7 +2607,7 @@ function am3(i, x, w, j, c, n) {
|
|
|
2606
2607
|
}
|
|
2607
2608
|
return c;
|
|
2608
2609
|
}
|
|
2609
|
-
if (j_lm && (navigator?.appName == "Microsoft Internet Explorer")) {
|
|
2610
|
+
if (j_lm && (typeof navigator !== 'undefined' && navigator?.appName == "Microsoft Internet Explorer")) {
|
|
2610
2611
|
BigInteger.prototype.am = am2;
|
|
2611
2612
|
dbits = 30;
|
|
2612
2613
|
}
|
|
@@ -3296,7 +3297,7 @@ YAHOO.lang = {
|
|
|
3296
3297
|
var _IEEnumFix = function () { },
|
|
3297
3298
|
ADD = ["toString", "valueOf"];
|
|
3298
3299
|
try {
|
|
3299
|
-
if (/MSIE/.test(navigator.userAgent)) {
|
|
3300
|
+
if (typeof navigator !== 'undefined' && /MSIE/.test(navigator.userAgent)) {
|
|
3300
3301
|
_IEEnumFix = function (r, s) {
|
|
3301
3302
|
for (i = 0; i < ADD.length; i = i + 1) {
|
|
3302
3303
|
var fname = ADD[i], f = s[fname];
|