xshell 1.2.60 → 1.2.62

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.2.60",
3
+ "version": "1.2.62",
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",
@@ -89,13 +89,13 @@
89
89
  "tslib": "^2.8.1",
90
90
  "typescript": "^5.8.3",
91
91
  "ua-parser-js": "^2.0.4",
92
- "undici": "^7.11.0",
93
- "webpack": "^5.100.0",
92
+ "undici": "^7.12.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/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
  }))
@@ -27617,7 +27617,7 @@ if (false) // removed by dead control flow
27617
27617
  /******/ __webpack_require__.r(ns);
27618
27618
  /******/ var def = {};
27619
27619
  /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
27620
- /******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
27620
+ /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
27621
27621
  /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
27622
27622
  /******/ }
27623
27623
  /******/ def['default'] = () => (value);