xshell 1.2.69 → 1.2.71

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.2.69",
3
+ "version": "1.2.71",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -88,9 +88,9 @@
88
88
  "tough-cookie": "^5.1.2",
89
89
  "ts-loader": "^9.5.2",
90
90
  "tslib": "^2.8.1",
91
- "typescript": "^5.8.3",
91
+ "typescript": "^5.9.2",
92
92
  "ua-parser-js": "^2.0.4",
93
- "undici": "^7.12.0",
93
+ "undici": "^7.13.0",
94
94
  "webpack": "^5.101.0",
95
95
  "webpack-bundle-analyzer": "^4.10.2",
96
96
  "ws": "^8.18.3"
@@ -98,7 +98,7 @@
98
98
  "devDependencies": {
99
99
  "@babel/types": "^7.28.2",
100
100
  "@types/archiver": "^6.0.3",
101
- "@types/babel__traverse": "^7.20.7",
101
+ "@types/babel__traverse": "^7.28.0",
102
102
  "@types/eslint": "^9.6.1",
103
103
  "@types/estree": "^1.0.8",
104
104
  "@types/koa": "^3.0.0",
@@ -13,7 +13,7 @@ export declare function delay(milliseconds: number, { signal }?: {
13
13
  export declare function timeout<TReturn>(milliseconds: number, action: Promise<TReturn> | (() => Promise<TReturn>), on_timeout?: () => void | Promise<void>, print?: boolean): Promise<TReturn>;
14
14
  export declare function pause(milliseconds?: number): Promise<void>;
15
15
  /** 将字符串简单的编码为 utf-8 的 buffer (Uint8Array)。高频使用或者在流式处理时,考虑使用 TextEncoder 的 encodeInto 方法 */
16
- export declare function encode(str: string): Uint8Array<ArrayBufferLike>;
16
+ export declare function encode(str: string): Uint8Array<ArrayBuffer>;
17
17
  /** 拼接 TypedArrays 生成一个完整的 Uint8Array */
18
18
  export declare function concat(arrays: ArrayBufferView[]): Uint8Array<ArrayBuffer>;
19
19
  /** 轮询尝试 action 共 times 次,每次间隔 duration