xshell 1.0.117 → 1.0.118

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.0.117",
3
+ "version": "1.0.118",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -53,9 +53,9 @@
53
53
  ]
54
54
  },
55
55
  "dependencies": {
56
- "@babel/core": "^7.24.6",
57
- "@babel/parser": "^7.24.6",
58
- "@babel/traverse": "^7.24.6",
56
+ "@babel/core": "^7.24.7",
57
+ "@babel/parser": "^7.24.7",
58
+ "@babel/traverse": "^7.24.7",
59
59
  "@koa/cors": "^5.0.0",
60
60
  "@types/ws": "^8.5.10",
61
61
  "@typescript-eslint/eslint-plugin": "^7.12.0",
@@ -91,7 +91,7 @@
91
91
  "ora": "^8.0.1",
92
92
  "react": "^18.3.1",
93
93
  "react-i18next": "^14.1.2",
94
- "react-object-model": "^1.2.5",
94
+ "react-object-model": "^1.2.6",
95
95
  "resolve-path": "^1.4.0",
96
96
  "strip-ansi": "^7.1.0",
97
97
  "through2": "^4.0.2",
@@ -105,7 +105,7 @@
105
105
  "ws": "^8.17.0"
106
106
  },
107
107
  "devDependencies": {
108
- "@babel/types": "^7.24.6",
108
+ "@babel/types": "^7.24.7",
109
109
  "@types/ali-oss": "^6.16.11",
110
110
  "@types/archiver": "^6.0.2",
111
111
  "@types/babel__traverse": "^7.20.6",
@@ -118,7 +118,7 @@
118
118
  "@types/koa-compress": "^4.0.6",
119
119
  "@types/lodash": "^4.17.4",
120
120
  "@types/mime-types": "^2.1.4",
121
- "@types/node": "^20.14.1",
121
+ "@types/node": "^20.14.2",
122
122
  "@types/react": "^18.3.3",
123
123
  "@types/through2": "^2.0.41",
124
124
  "@types/tough-cookie": "^4.0.5",
package/path.d.ts CHANGED
@@ -54,7 +54,7 @@ export declare function extname(path: string): string;
54
54
  /** `/` */
55
55
  export declare const sep = "/";
56
56
  /** The platform-specific file delimiter. ';' or ':'. */
57
- export declare const delimiter: ";" | ":";
57
+ export declare const delimiter: ":" | ";";
58
58
  /** Returns an object from a path string - the opposite of format().
59
59
  @param path path to evaluate.
60
60
  @throws {TypeError} if `path` is not a string. */
@@ -81,7 +81,7 @@ export declare let path: {
81
81
  basename: typeof basename;
82
82
  extname: typeof extname;
83
83
  sep: string;
84
- delimiter: ";" | ":";
84
+ delimiter: ":" | ";";
85
85
  parse: typeof parse;
86
86
  format: typeof format;
87
87
  toNamespacedPath: typeof toNamespacedPath;
@@ -65,7 +65,7 @@ export declare function encode(str: string): Uint8Array;
65
65
  在流式处理 (buffer 可能不完整) 时,应使用独立的 TextDecoder 实例调用 decode(buffer, { stream: true }) */
66
66
  export declare function decode(buffer: Uint8Array): string;
67
67
  /** 字符串字典序比较 */
68
- export declare function strcmp(l: string, r: string): 1 | 0 | -1;
68
+ export declare function strcmp(l: string, r: string): 0 | 1 | -1;
69
69
  /** 比较 1.10.02 这种版本号 */
70
70
  export declare function vercmp(l: string, r: string): number;
71
71
  export declare function get<TReturn = any>(obj: any, keypath: string): TReturn;
package/utils.d.ts CHANGED
@@ -41,7 +41,7 @@ export declare function filter_values<TObj extends Record<string, any>>(obj: TOb
41
41
  /** 忽略对象中的 keys, 返回新对象 */
42
42
  export declare function omit<TObj>(obj: TObj, omit_keys: string[]): TObj;
43
43
  /** 字符串字典序比较 */
44
- export declare function strcmp(l: string, r: string): 1 | 0 | -1;
44
+ export declare function strcmp(l: string, r: string): 0 | 1 | -1;
45
45
  /** 比较 1.10.02 这种版本号 */
46
46
  export declare function vercmp(l: string, r: string): number;
47
47
  export declare function get<TReturn = any>(obj: any, keypath: string): TReturn;