xshell 1.0.44 → 1.0.45
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/net.d.ts +5 -0
- package/package.json +8 -8
package/net.d.ts
CHANGED
|
@@ -247,3 +247,8 @@ export declare class Remote {
|
|
|
247
247
|
作为 websocket 连接接收方,必传 websocket 参数 */
|
|
248
248
|
call<TReturn extends any[] = any[]>(func: string, args?: any[], websocket?: WebSocket): Promise<TReturn>;
|
|
249
249
|
}
|
|
250
|
+
/** 通常将连接到 server 的 client 抽象为下面的结构 */
|
|
251
|
+
export interface RemoteClient {
|
|
252
|
+
remote: Remote;
|
|
253
|
+
websocket: WebSocket;
|
|
254
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@babel/core": "^7.22.
|
|
49
|
-
"@babel/parser": "^7.22.
|
|
50
|
-
"@babel/traverse": "^7.22.
|
|
48
|
+
"@babel/core": "^7.22.10",
|
|
49
|
+
"@babel/parser": "^7.22.10",
|
|
50
|
+
"@babel/traverse": "^7.22.10",
|
|
51
51
|
"@koa/cors": "^4.0.0",
|
|
52
52
|
"@types/ws": "^8.5.5",
|
|
53
53
|
"byte-size": "^8.1.1",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"fs-extra": "^11.1.1",
|
|
63
63
|
"gulp-sort": "^2.0.0",
|
|
64
64
|
"hash-string": "^1.0.0",
|
|
65
|
-
"i18next": "^23.4.
|
|
65
|
+
"i18next": "^23.4.2",
|
|
66
66
|
"i18next-scanner": "^4.3.0",
|
|
67
67
|
"js-cookie": "^3.0.5",
|
|
68
68
|
"koa": "^2.14.2",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"ws": "^8.13.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@babel/types": "^7.22.
|
|
90
|
+
"@babel/types": "^7.22.10",
|
|
91
91
|
"@types/babel__traverse": "^7.20.1",
|
|
92
92
|
"@types/byte-size": "^8.1.0",
|
|
93
93
|
"@types/chardet": "^0.8.1",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"@types/tough-cookie": "^4.0.2",
|
|
106
106
|
"@types/vinyl-fs": "^3.0.2",
|
|
107
107
|
"@types/vscode": "^1.81.0",
|
|
108
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
109
|
-
"@typescript-eslint/parser": "^6.
|
|
108
|
+
"@typescript-eslint/eslint-plugin": "^6.3.0",
|
|
109
|
+
"@typescript-eslint/parser": "^6.3.0",
|
|
110
110
|
"eslint": "^8.46.0",
|
|
111
111
|
"eslint-plugin-react": "^7.33.1",
|
|
112
112
|
"eslint-plugin-xlint": "^1.0.6"
|