xshell 1.0.110 → 1.0.112

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/i18n/index.js CHANGED
@@ -6,7 +6,7 @@ export const LANGUAGES = ['zh', 'en', 'ja', 'ko'];
6
6
  @see https://github.com/ShenHongFei/xshell/tree/master/i18n
7
7
  */
8
8
  export class I18N {
9
- static LANGUAGE_REGEXP = /^(zh|en|ja|jp|ko)$/;
9
+ static LANGUAGE_REGEXP = /^(zh|en|ja|ko)$/;
10
10
  /** (ISO 639-1 标准语言代码) 可能取 zh, en, ja, ko */
11
11
  language;
12
12
  /** hostname shortcuts */
@@ -81,7 +81,7 @@ export class I18N {
81
81
  fallbackLng: {
82
82
  en: ['zh'],
83
83
  ja: ['en', 'zh'],
84
- ko: ['en', 'zh'],
84
+ ko: ['en', 'zh']
85
85
  },
86
86
  // 禁用 : 和 . 作为 seperator
87
87
  keySeparator: false,
package/net.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare const WebSocketClosed = 3;
20
20
  export declare enum MyProxy {
21
21
  socks5 = "http://localhost:10080",
22
22
  whistle = "http://localhost:8899",
23
- work = "http://localhost:10090"
23
+ work = "http://127.0.0.1:10090"
24
24
  }
25
25
  export declare const cookies: {
26
26
  store: MemoryCookieStore;
package/net.js CHANGED
@@ -11,7 +11,7 @@ export var MyProxy;
11
11
  (function (MyProxy) {
12
12
  MyProxy["socks5"] = "http://localhost:10080";
13
13
  MyProxy["whistle"] = "http://localhost:8899";
14
- MyProxy["work"] = "http://localhost:10090";
14
+ MyProxy["work"] = "http://127.0.0.1:10090";
15
15
  })(MyProxy || (MyProxy = {}));
16
16
  // ------------------------------------ fetch, request
17
17
  export const cookies = {
@@ -81,7 +81,7 @@ export async function request(url, options = {}) {
81
81
  let headers = {
82
82
  'accept-language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,ja-JP;q=0.6,ja;q=0.5',
83
83
  'accept-encoding': 'gzip, deflate, br',
84
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36',
84
+ 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36',
85
85
  'sec-ch-ua-platform': '"Windows"',
86
86
  'sec-ch-ua-platform-version': '"15.0.0"',
87
87
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.110",
3
+ "version": "1.0.112",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -77,7 +77,7 @@
77
77
  "emoji-regex": "^10.3.0",
78
78
  "eslint": "^9.3.0",
79
79
  "eslint-plugin-import": "^2.29.1",
80
- "eslint-plugin-react": "^7.34.1",
80
+ "eslint-plugin-react": "^7.34.2",
81
81
  "gulp-sort": "^2.0.0",
82
82
  "hash-string": "^1.0.0",
83
83
  "https-proxy-agent": "^7.0.4",