xshell 1.2.64 → 1.2.66
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 +1 -1
- package/package.json +6 -6
- package/prototype.common.d.ts +2 -0
- package/prototype.common.js +3 -0
- package/react.production.js +1323 -1323
- package/react.production.js.map +1 -1
package/net.d.ts
CHANGED
|
@@ -278,5 +278,5 @@ export declare class RemoteClient {
|
|
|
278
278
|
[inspect.custom](): {
|
|
279
279
|
remote: string;
|
|
280
280
|
websocket: string;
|
|
281
|
-
} & Omit<this,
|
|
281
|
+
} & Omit<this, typeof import("util").inspect.custom | "call" | "websocket" | "remote" | "send">;
|
|
282
282
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.66",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -65,19 +65,19 @@
|
|
|
65
65
|
"commander": "^14.0.0",
|
|
66
66
|
"css-loader": "^7.1.2",
|
|
67
67
|
"emoji-regex": "^10.4.0",
|
|
68
|
-
"eslint": "^9.
|
|
68
|
+
"eslint": "^9.32.0",
|
|
69
69
|
"eslint-plugin-import": "^2.32.0",
|
|
70
70
|
"eslint-plugin-react": "^7.37.5",
|
|
71
71
|
"https-proxy-agent": "^7.0.6",
|
|
72
72
|
"i18next": "^25.3.2",
|
|
73
73
|
"i18next-scanner": "^4.6.0",
|
|
74
|
-
"koa": "^3.0.
|
|
74
|
+
"koa": "^3.0.1",
|
|
75
75
|
"koa-compress": "^5.1.1",
|
|
76
76
|
"license-webpack-plugin": "^4.0.2",
|
|
77
77
|
"map-stream": "^0.0.7",
|
|
78
78
|
"mime-types": "^3.0.1",
|
|
79
79
|
"p-map": "^7.0.3",
|
|
80
|
-
"react": "^19.1.
|
|
80
|
+
"react": "^19.1.1",
|
|
81
81
|
"react-i18next": "^15.6.1",
|
|
82
82
|
"resolve-path": "^1.4.0",
|
|
83
83
|
"sass": "^1.89.2",
|
|
@@ -91,12 +91,12 @@
|
|
|
91
91
|
"typescript": "^5.8.3",
|
|
92
92
|
"ua-parser-js": "^2.0.4",
|
|
93
93
|
"undici": "^7.12.0",
|
|
94
|
-
"webpack": "^5.
|
|
94
|
+
"webpack": "^5.101.0",
|
|
95
95
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
96
96
|
"ws": "^8.18.3"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@babel/types": "^7.28.
|
|
99
|
+
"@babel/types": "^7.28.2",
|
|
100
100
|
"@types/archiver": "^6.0.3",
|
|
101
101
|
"@types/babel__traverse": "^7.20.7",
|
|
102
102
|
"@types/eslint": "^9.6.1",
|
package/prototype.common.d.ts
CHANGED
|
@@ -180,6 +180,8 @@ declare global {
|
|
|
180
180
|
/** 去除重复元素(可按 mapper 选择或计算某个值来去重),重复值保留最后出现的那个
|
|
181
181
|
- mapper?: 可以是 key (string, number, symbol) 或 (obj: any) => any */
|
|
182
182
|
unique(this: T[], mapper?: keyof T | Mapper<T>): T[];
|
|
183
|
+
/** map 并 select 对象中的某个属性,返回属性数组 */
|
|
184
|
+
select<TKey extends keyof T = keyof T>(this: T[], key: TKey): T[TKey][];
|
|
183
185
|
/**
|
|
184
186
|
- trim_line?: `true`
|
|
185
187
|
- rm_empty_lines?: `true`
|
package/prototype.common.js
CHANGED