xshell 1.2.60 → 1.2.61

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/net.d.ts CHANGED
@@ -276,5 +276,5 @@ export declare class RemoteClient {
276
276
  [inspect.custom](): {
277
277
  remote: string;
278
278
  websocket: string;
279
- } & Omit<this, typeof import("util").inspect.custom | "call" | "websocket" | "remote" | "send">;
279
+ } & Omit<this, "call" | "remote" | "websocket" | typeof import("util").inspect.custom | "send">;
280
280
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.2.60",
3
+ "version": "1.2.61",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -53,19 +53,19 @@
53
53
  "@babel/parser": "^7.28.0",
54
54
  "@babel/traverse": "^7.28.0",
55
55
  "@koa/cors": "^5.0.0",
56
- "@stylistic/eslint-plugin": "^5.1.0",
56
+ "@stylistic/eslint-plugin": "^5.2.0",
57
57
  "@svgr/webpack": "^8.1.0",
58
58
  "@types/sass-loader": "^8.0.9",
59
59
  "@types/ws": "^8.18.1",
60
- "@typescript-eslint/eslint-plugin": "^8.36.0",
61
- "@typescript-eslint/parser": "^8.36.0",
62
- "@typescript-eslint/utils": "^8.36.0",
60
+ "@typescript-eslint/eslint-plugin": "^8.37.0",
61
+ "@typescript-eslint/parser": "^8.37.0",
62
+ "@typescript-eslint/utils": "^8.37.0",
63
63
  "archiver": "^7.0.1",
64
64
  "chalk": "^5.4.1",
65
65
  "commander": "^14.0.0",
66
66
  "css-loader": "^7.1.2",
67
67
  "emoji-regex": "^10.4.0",
68
- "eslint": "^9.30.1",
68
+ "eslint": "^9.31.0",
69
69
  "eslint-plugin-import": "^2.32.0",
70
70
  "eslint-plugin-react": "^7.37.5",
71
71
  "https-proxy-agent": "^7.0.6",
@@ -90,12 +90,12 @@
90
90
  "typescript": "^5.8.3",
91
91
  "ua-parser-js": "^2.0.4",
92
92
  "undici": "^7.11.0",
93
- "webpack": "^5.100.0",
93
+ "webpack": "^5.100.2",
94
94
  "webpack-bundle-analyzer": "^4.10.2",
95
95
  "ws": "^8.18.3"
96
96
  },
97
97
  "devDependencies": {
98
- "@babel/types": "^7.28.0",
98
+ "@babel/types": "^7.28.1",
99
99
  "@types/archiver": "^6.0.3",
100
100
  "@types/babel__traverse": "^7.20.7",
101
101
  "@types/eslint": "^9.6.1",
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;
package/prototype.js CHANGED
@@ -115,9 +115,14 @@ if (!globalThis.my_prototype_defined) {
115
115
  const style = color.endsWith('_') ? `${color.slice(0, -1)}Bright` : color;
116
116
  return [color, {
117
117
  configurable: true,
118
- get() {
119
- // @ts-ignore
120
- return util.styleText(style, this, { validateStream: false });
118
+ ...util.styleText ? {
119
+ get() {
120
+ return util.styleText(style, this, { validateStream: false });
121
+ }
122
+ } : {
123
+ get() {
124
+ return this;
125
+ }
121
126
  }
122
127
  }];
123
128
  }))