xshell 1.0.37 → 1.0.38
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/package.json +6 -6
- package/utils.browser.d.ts +1 -1
- package/utils.browser.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"fs-extra": "^11.1.1",
|
|
63
63
|
"gulp-sort": "^2.0.0",
|
|
64
64
|
"hash-string": "^1.0.0",
|
|
65
|
-
"i18next": "^23.2.
|
|
66
|
-
"i18next-scanner": "^4.
|
|
65
|
+
"i18next": "^23.2.10",
|
|
66
|
+
"i18next-scanner": "^4.3.0",
|
|
67
67
|
"js-cookie": "^3.0.5",
|
|
68
68
|
"koa": "^2.14.2",
|
|
69
69
|
"koa-compress": "^5.1.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"ora": "^6.3.1",
|
|
74
74
|
"qs": "^6.11.2",
|
|
75
75
|
"react": "^18.2.0",
|
|
76
|
-
"react-i18next": "^13.0.
|
|
76
|
+
"react-i18next": "^13.0.2",
|
|
77
77
|
"resolve-path": "^1.4.0",
|
|
78
78
|
"strip-ansi": "^7.1.0",
|
|
79
79
|
"through2": "^4.0.2",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"@types/tough-cookie": "^4.0.2",
|
|
105
105
|
"@types/vinyl-fs": "^3.0.2",
|
|
106
106
|
"@types/vscode": "^1.80.0",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
108
|
-
"@typescript-eslint/parser": "^
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
108
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
109
109
|
"eslint": "^8.44.0",
|
|
110
110
|
"eslint-plugin-react": "^7.32.2",
|
|
111
111
|
"eslint-plugin-xlint": "^1.0.6",
|
package/utils.browser.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class Lock<TResource = void> {
|
|
|
45
45
|
在 signal aborted 时抛出错误结束等待,且由内部实现自动释放资源 */
|
|
46
46
|
request<TResult>(action: LockedAction<TResource, TResult>, signal?: AbortSignal): Promise<TResult>;
|
|
47
47
|
}
|
|
48
|
-
export declare function
|
|
48
|
+
export declare function pause(milliseconds?: number): Promise<void>;
|
|
49
49
|
/** 字符串字典序比较 */
|
|
50
50
|
export declare function strcmp(l: string, r: string): 0 | 1 | -1;
|
|
51
51
|
/** 拼接 TypedArrays 生成一个完整的 Uint8Array */
|
package/utils.browser.js
CHANGED
|
@@ -105,11 +105,11 @@ export class Lock {
|
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
export async function
|
|
108
|
+
export async function pause(milliseconds = 3000) {
|
|
109
109
|
await delay(milliseconds);
|
|
110
110
|
debugger;
|
|
111
111
|
}
|
|
112
|
-
globalThis.
|
|
112
|
+
globalThis.pause = pause;
|
|
113
113
|
/** 字符串字典序比较 */
|
|
114
114
|
export function strcmp(l, r) {
|
|
115
115
|
if (l === r)
|