xshell 1.3.26 → 1.3.28

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/file.d.ts CHANGED
@@ -172,7 +172,7 @@ export interface FMoveOptions {
172
172
  overwrite?: boolean;
173
173
  print?: boolean;
174
174
  }
175
- /** 移动文件或文件夹
175
+ /** 移动文件或文件夹,返回 fp_dst
176
176
  相同分区 / 文件系统下使用 rename, 否则 fallback 到复制后删除源文件
177
177
  - src: 源 文件/文件夹 完整路径
178
178
  - dst: 目标 文件/文件夹 完整路径
package/file.js CHANGED
@@ -368,7 +368,7 @@ export async function fcopy(fp_src, fp_dst, { print = true, overwrite = true, fi
368
368
  }
369
369
  return fp_dst;
370
370
  }
371
- /** 移动文件或文件夹
371
+ /** 移动文件或文件夹,返回 fp_dst
372
372
  相同分区 / 文件系统下使用 rename, 否则 fallback 到复制后删除源文件
373
373
  - src: 源 文件/文件夹 完整路径
374
374
  - dst: 目标 文件/文件夹 完整路径
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.3.26",
3
+ "version": "1.3.28",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -56,9 +56,9 @@
56
56
  "@stylistic/eslint-plugin": "^5.6.1",
57
57
  "@svgr/webpack": "^8.1.0",
58
58
  "@types/sass-loader": "^8.0.10",
59
- "@typescript-eslint/eslint-plugin": "^8.50.1",
60
- "@typescript-eslint/parser": "^8.50.1",
61
- "@typescript-eslint/utils": "^8.50.1",
59
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
60
+ "@typescript-eslint/parser": "^8.52.0",
61
+ "@typescript-eslint/utils": "^8.52.0",
62
62
  "archiver": "^7.0.1",
63
63
  "chalk": "^5.6.2",
64
64
  "commander": "^14.0.2",
@@ -76,9 +76,9 @@
76
76
  "mime-types": "^3.0.2",
77
77
  "p-map": "^7.0.4",
78
78
  "react": "^19.2.3",
79
- "react-i18next": "^16.5.0",
79
+ "react-i18next": "^16.5.1",
80
80
  "resolve-path": "^1.4.0",
81
- "sass": "^1.97.1",
81
+ "sass": "^1.97.2",
82
82
  "sass-loader": "^16.0.6",
83
83
  "source-map-loader": "^5.0.0",
84
84
  "strip-ansi": "^7.1.2",
@@ -87,10 +87,10 @@
87
87
  "ts-loader": "^9.5.4",
88
88
  "tslib": "^2.8.1",
89
89
  "typescript": "^5.9.3",
90
- "undici": "^7.16.0",
90
+ "undici": "^7.18.0",
91
91
  "webpack": "^5.104.1",
92
92
  "webpack-bundle-analyzer": "^5.1.0",
93
- "ws": "^8.18.3"
93
+ "ws": "^8.19.0"
94
94
  },
95
95
  "devDependencies": {
96
96
  "@babel/types": "^7.28.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;