xshell 1.0.74 → 1.0.76
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 +5 -5
- package/server.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.76",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@babel/traverse": "^7.23.6",
|
|
59
59
|
"@koa/cors": "^5.0.0",
|
|
60
60
|
"@types/ws": "^8.5.10",
|
|
61
|
-
"ali-oss": "^6.
|
|
61
|
+
"ali-oss": "^6.19.0",
|
|
62
62
|
"archiver": "^6.0.1",
|
|
63
63
|
"byte-size": "^8.1.1",
|
|
64
64
|
"chalk": "^5.3.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"fetch-cookie": "^2.1.0",
|
|
72
72
|
"gulp-sort": "^2.0.0",
|
|
73
73
|
"hash-string": "^1.0.0",
|
|
74
|
-
"i18next": "^23.7.
|
|
74
|
+
"i18next": "^23.7.11",
|
|
75
75
|
"i18next-scanner": "^4.4.0",
|
|
76
76
|
"js-cookie": "^3.0.5",
|
|
77
77
|
"koa": "^2.14.2",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@types/koa-compress": "^4.0.6",
|
|
113
113
|
"@types/lodash": "^4.14.202",
|
|
114
114
|
"@types/mime-types": "^2.1.4",
|
|
115
|
-
"@types/node": "^20.10.
|
|
115
|
+
"@types/node": "^20.10.5",
|
|
116
116
|
"@types/react": "^18.2.45",
|
|
117
117
|
"@types/through2": "^2.0.41",
|
|
118
118
|
"@types/tough-cookie": "^4.0.5",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@types/vscode": "^1.85.0",
|
|
122
122
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
123
123
|
"@typescript-eslint/parser": "^6.14.0",
|
|
124
|
-
"eslint": "^8.
|
|
124
|
+
"eslint": "^8.56.0",
|
|
125
125
|
"eslint-plugin-react": "^7.33.2",
|
|
126
126
|
"eslint-plugin-xlint": "^1.0.11"
|
|
127
127
|
},
|
package/server.js
CHANGED
|
@@ -78,7 +78,6 @@ export class Server {
|
|
|
78
78
|
const { default: KoaCompress } = await import('koa-compress');
|
|
79
79
|
const { UAParser } = await import('ua-parser-js');
|
|
80
80
|
this.UAParser = UAParser;
|
|
81
|
-
const { WebSocketServer } = await import('ws');
|
|
82
81
|
// --- init koa app
|
|
83
82
|
let app = new Koa();
|
|
84
83
|
app.on('error', this.on_error.bind(this));
|
|
@@ -129,6 +128,7 @@ export class Server {
|
|
|
129
128
|
}
|
|
130
129
|
// websocket rpc
|
|
131
130
|
if (this.remote) {
|
|
131
|
+
const { WebSocketServer } = await import('ws');
|
|
132
132
|
this.websocket_server = new WebSocketServer({
|
|
133
133
|
noServer: true,
|
|
134
134
|
skipUTF8Validation: true,
|