xshell 1.2.58 → 1.2.60
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 +1 -1
- package/package.json +8 -8
- package/path.d.ts +2 -2
- package/server.js +1 -1
- package/utils.common.d.ts +1 -0
- package/utils.common.js +5 -0
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, "
|
|
279
|
+
} & Omit<this, typeof import("util").inspect.custom | "call" | "websocket" | "remote" | "send">;
|
|
280
280
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.60",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -57,9 +57,9 @@
|
|
|
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.
|
|
61
|
-
"@typescript-eslint/parser": "^8.
|
|
62
|
-
"@typescript-eslint/utils": "^8.
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^8.36.0",
|
|
61
|
+
"@typescript-eslint/parser": "^8.36.0",
|
|
62
|
+
"@typescript-eslint/utils": "^8.36.0",
|
|
63
63
|
"archiver": "^7.0.1",
|
|
64
64
|
"chalk": "^5.4.1",
|
|
65
65
|
"commander": "^14.0.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"eslint-plugin-import": "^2.32.0",
|
|
70
70
|
"eslint-plugin-react": "^7.37.5",
|
|
71
71
|
"https-proxy-agent": "^7.0.6",
|
|
72
|
-
"i18next": "^25.3.
|
|
72
|
+
"i18next": "^25.3.2",
|
|
73
73
|
"i18next-scanner": "^4.6.0",
|
|
74
74
|
"koa": "^3.0.0",
|
|
75
75
|
"koa-compress": "^5.1.1",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"typescript": "^5.8.3",
|
|
91
91
|
"ua-parser-js": "^2.0.4",
|
|
92
92
|
"undici": "^7.11.0",
|
|
93
|
-
"webpack": "^5.
|
|
93
|
+
"webpack": "^5.100.0",
|
|
94
94
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
95
95
|
"ws": "^8.18.3"
|
|
96
96
|
},
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
"@types/koa": "^2.15.0",
|
|
104
104
|
"@types/koa-compress": "^4.0.6",
|
|
105
105
|
"@types/mime-types": "^3.0.1",
|
|
106
|
-
"@types/node": "^24.0.
|
|
106
|
+
"@types/node": "^24.0.12",
|
|
107
107
|
"@types/react": "^19.1.8",
|
|
108
108
|
"@types/tough-cookie": "^4.0.5",
|
|
109
109
|
"@types/ua-parser-js": "^0.7.39",
|
|
110
|
-
"@types/vscode": "^1.
|
|
110
|
+
"@types/vscode": "^1.102.0",
|
|
111
111
|
"@types/webpack-bundle-analyzer": "^4.7.0"
|
|
112
112
|
}
|
|
113
113
|
}
|
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/server.js
CHANGED
package/utils.common.d.ts
CHANGED
|
@@ -139,3 +139,4 @@ export declare function ceil2(n: number): number;
|
|
|
139
139
|
export declare function throttle(duration: number, func: Function, delay_first?: boolean): (this: any, ...args: any[]) => void;
|
|
140
140
|
/** 防抖,间隔一段时间不再触发时调用 */
|
|
141
141
|
export declare function debounce(duration: number, func: Function): (this: any, ...args: any[]) => void;
|
|
142
|
+
export declare function tomorrow(date?: Date | string): Date;
|
package/utils.common.js
CHANGED
|
@@ -402,4 +402,9 @@ export function debounce(duration, func) {
|
|
|
402
402
|
}, duration);
|
|
403
403
|
};
|
|
404
404
|
}
|
|
405
|
+
export function tomorrow(date) {
|
|
406
|
+
date = typeof date === 'undefined' ? new Date() : new Date(date);
|
|
407
|
+
date.setDate(date.getDate() + 1);
|
|
408
|
+
return date;
|
|
409
|
+
}
|
|
405
410
|
//# sourceMappingURL=utils.common.js.map
|