xshell 1.3.34 → 1.3.36

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.3.34",
3
+ "version": "1.3.36",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -49,9 +49,9 @@
49
49
  ]
50
50
  },
51
51
  "dependencies": {
52
- "@babel/core": "^7.28.6",
53
- "@babel/parser": "^7.28.6",
54
- "@babel/traverse": "^7.28.6",
52
+ "@babel/core": "^7.29.0",
53
+ "@babel/parser": "^7.29.0",
54
+ "@babel/traverse": "^7.29.0",
55
55
  "@koa/cors": "^5.0.0",
56
56
  "@stylistic/eslint-plugin": "^5.7.1",
57
57
  "@svgr/webpack": "^8.1.0",
@@ -61,14 +61,14 @@
61
61
  "@typescript-eslint/utils": "^8.54.0",
62
62
  "archiver": "^7.0.1",
63
63
  "chalk": "^5.6.2",
64
- "commander": "^14.0.2",
64
+ "commander": "^14.0.3",
65
65
  "css-loader": "^7.1.3",
66
66
  "emoji-regex": "^10.6.0",
67
67
  "eslint": "^9.39.2",
68
68
  "eslint-plugin-import": "^2.32.0",
69
69
  "eslint-plugin-react": "^7.37.5",
70
70
  "https-proxy-agent": "^7.0.6",
71
- "i18next": "^25.8.0",
71
+ "i18next": "^25.8.3",
72
72
  "i18next-scanner": "^4.6.0",
73
73
  "koa": "^3.1.1",
74
74
  "koa-compress": "^5.1.1",
@@ -87,13 +87,13 @@
87
87
  "ts-loader": "^9.5.4",
88
88
  "tslib": "^2.8.1",
89
89
  "typescript": "^5.9.3",
90
- "undici": "^7.19.2",
91
- "webpack": "^5.104.1",
90
+ "undici": "^7.20.0",
91
+ "webpack": "^5.105.0",
92
92
  "webpack-bundle-analyzer": "^5.2.0",
93
93
  "ws": "^8.19.0"
94
94
  },
95
95
  "devDependencies": {
96
- "@babel/types": "^7.28.6",
96
+ "@babel/types": "^7.29.0",
97
97
  "@types/archiver": "^7.0.0",
98
98
  "@types/babel__traverse": "^7.28.0",
99
99
  "@types/eslint": "^9.6.1",
@@ -101,10 +101,10 @@
101
101
  "@types/koa": "^3.0.1",
102
102
  "@types/koa-compress": "^4.0.7",
103
103
  "@types/mime-types": "^3.0.1",
104
- "@types/node": "^25.0.10",
105
- "@types/react": "^19.2.10",
104
+ "@types/node": "^25.2.0",
105
+ "@types/react": "^19.2.11",
106
106
  "@types/tough-cookie": "^4.0.5",
107
- "@types/vscode": "^1.108.1",
107
+ "@types/vscode": "^1.109.0",
108
108
  "@types/webpack-bundle-analyzer": "^4.7.0",
109
109
  "@types/ws": "^8.18.1"
110
110
  }
@@ -524,7 +524,7 @@ if (!globalThis.my_prototype_defined) {
524
524
  },
525
525
  sum(zero, mapper) {
526
526
  if (!this.length)
527
- return undefined;
527
+ return zero;
528
528
  // 快捷路径
529
529
  const first = this[0];
530
530
  if ((typeof first === 'number' || typeof first === 'bigint') && !mapper)