xshell 1.3.28 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.3.28",
3
+ "version": "1.3.29",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -87,7 +87,7 @@
87
87
  "ts-loader": "^9.5.4",
88
88
  "tslib": "^2.8.1",
89
89
  "typescript": "^5.9.3",
90
- "undici": "^7.18.0",
90
+ "undici": "^7.18.2",
91
91
  "webpack": "^5.104.1",
92
92
  "webpack-bundle-analyzer": "^5.1.0",
93
93
  "ws": "^8.19.0"
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;