xshell 1.3.27 → 1.3.29

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/builder.d.ts CHANGED
@@ -25,7 +25,7 @@ export interface Dependency {
25
25
  devs?: (string | AssetOption)[];
26
26
  };
27
27
  }
28
- type DependencyId = 'react' | 'lodash' | 'jquery' | 'xterm' | 'swiper' | 'dayjs' | 'antd' | 'antd-icons' | 'vscode-oniguruma' | 'antd-plots' | 'gridstack' | 'quill' | 'monaco' | 'echarts';
28
+ type DependencyId = 'react' | 'lodash' | 'jquery' | 'xterm' | 'swiper' | 'dayjs' | 'antd' | 'antd-icons' | 'vscode-oniguruma' | 'antd-plots' | 'gridstack' | 'quill' | 'monaco' | 'echarts' | 'plotly';
29
29
  export interface HtmlOptions {
30
30
  title: string;
31
31
  /** `index.js` 也可以设置 entries 中的其他项, 应填写相对于 fpd_out 的路径 */
package/builder.js CHANGED
@@ -97,6 +97,9 @@ const dependencies = {
97
97
  maps: {
98
98
  devs: ['echarts/dist/echarts.js.map']
99
99
  }
100
+ },
101
+ plotly: {
102
+ productions: ['plotly.js-dist-min/plotly.min.js']
100
103
  }
101
104
  };
102
105
  function get_asset_out(asset) {
@@ -274,6 +277,7 @@ export class Bundler {
274
277
  '@ant-design/icons': 'icons',
275
278
  '@ant-design/plots': 'Plots',
276
279
  echarts: 'echarts',
280
+ 'plotly.js-dist-min': 'Plotly',
277
281
  ...this.externals
278
282
  }),
279
283
  resolve: {
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.27",
3
+ "version": "1.3.29",
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.51.0",
60
- "@typescript-eslint/parser": "^8.51.0",
61
- "@typescript-eslint/utils": "^8.51.0",
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.2",
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",