xshell 1.2.44 → 1.2.45

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.44",
3
+ "version": "1.2.45",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -49,17 +49,17 @@
49
49
  ]
50
50
  },
51
51
  "dependencies": {
52
- "@babel/core": "^7.27.1",
53
- "@babel/parser": "^7.27.2",
54
- "@babel/traverse": "^7.27.1",
52
+ "@babel/core": "^7.27.3",
53
+ "@babel/parser": "^7.27.3",
54
+ "@babel/traverse": "^7.27.3",
55
55
  "@koa/cors": "^5.0.0",
56
- "@stylistic/eslint-plugin": "^4.2.0",
56
+ "@stylistic/eslint-plugin": "^4.4.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.32.1",
61
- "@typescript-eslint/parser": "^8.32.1",
62
- "@typescript-eslint/utils": "^8.32.1",
60
+ "@typescript-eslint/eslint-plugin": "^8.33.0",
61
+ "@typescript-eslint/parser": "^8.33.0",
62
+ "@typescript-eslint/utils": "^8.33.0",
63
63
  "archiver": "^7.0.1",
64
64
  "chalk": "^5.4.1",
65
65
  "cli-table3": "^0.6.5",
@@ -72,7 +72,7 @@
72
72
  "eslint-plugin-react": "^7.37.5",
73
73
  "gulp-sort": "^2.0.0",
74
74
  "https-proxy-agent": "^7.0.6",
75
- "i18next": "^25.2.0",
75
+ "i18next": "^25.2.1",
76
76
  "i18next-scanner": "^4.6.0",
77
77
  "koa": "^3.0.0",
78
78
  "koa-compress": "^5.1.1",
@@ -81,7 +81,7 @@
81
81
  "mime-types": "^3.0.1",
82
82
  "ora": "^8.2.0",
83
83
  "react": "^19.1.0",
84
- "react-i18next": "^15.5.1",
84
+ "react-i18next": "^15.5.2",
85
85
  "react-object-model": "^1.2.24",
86
86
  "resolve-path": "^1.4.0",
87
87
  "sass": "^1.89.0",
@@ -95,15 +95,15 @@
95
95
  "tslib": "^2.8.1",
96
96
  "typescript": "^5.8.3",
97
97
  "ua-parser-js": "^2.0.3",
98
- "undici": "^7.9.0",
98
+ "undici": "^7.10.0",
99
99
  "vinyl": "^3.0.0",
100
100
  "vinyl-fs": "^4.0.0",
101
- "webpack": "^5.99.8",
101
+ "webpack": "^5.99.9",
102
102
  "webpack-bundle-analyzer": "^4.10.2",
103
103
  "ws": "^8.18.2"
104
104
  },
105
105
  "devDependencies": {
106
- "@babel/types": "^7.27.1",
106
+ "@babel/types": "^7.27.3",
107
107
  "@types/archiver": "^6.0.3",
108
108
  "@types/babel__traverse": "^7.20.7",
109
109
  "@types/eslint": "^9.6.1",
@@ -112,8 +112,8 @@
112
112
  "@types/koa": "^2.15.0",
113
113
  "@types/koa-compress": "^4.0.6",
114
114
  "@types/mime-types": "^2.1.4",
115
- "@types/node": "^22.15.19",
116
- "@types/react": "^19.1.4",
115
+ "@types/node": "^22.15.26",
116
+ "@types/react": "^19.1.6",
117
117
  "@types/through2": "^2.0.41",
118
118
  "@types/tough-cookie": "^4.0.5",
119
119
  "@types/ua-parser-js": "^0.7.39",
@@ -216,7 +216,7 @@ interface SliceOptions {
216
216
  export declare const emoji_regex: RegExp;
217
217
  export declare const noop: () => void;
218
218
  export declare const ident: <T>(x: T) => T;
219
- export declare const build_mapper: <TObj, TKey extends keyof TObj>(key: TKey) => (obj: TObj) => TObj[TKey];
219
+ export declare const build_mapper: <TObj = any, TKey extends keyof TObj = keyof TObj>(key: TKey) => (obj: TObj) => TObj[TKey];
220
220
  export type Mapper<TObj = any, TKey extends keyof TObj = keyof TObj> = (obj: TObj) => TObj[TKey];
221
221
  /** value 不为 null 或 undefined */
222
222
  export declare const not_empty: (value: any) => boolean;
package/prototype.d.ts CHANGED
@@ -246,7 +246,7 @@ interface SliceOptions {
246
246
  export declare const emoji_regex: RegExp;
247
247
  export declare const noop: () => void;
248
248
  export declare const ident: <T>(x: T) => T;
249
- export declare const build_mapper: <TObj, TKey extends keyof TObj>(key: TKey) => (obj: TObj) => TObj[TKey];
249
+ export declare const build_mapper: <TObj = any, TKey extends keyof TObj = keyof TObj>(key: TKey) => (obj: TObj) => TObj[TKey];
250
250
  export type Mapper<TObj = any, TKey extends keyof TObj = keyof TObj> = (obj: TObj) => TObj[TKey];
251
251
  /** value 不为 null 或 undefined */
252
252
  export declare const not_empty: (value: any) => boolean;