xshell 1.3.73 → 1.3.75
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/builder.d.ts +1 -1
- package/builder.js +0 -8
- package/package.json +3 -3
- package/prototype.common.d.ts +3 -3
- package/utils.d.ts +4 -6
package/builder.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ export declare class Bundler {
|
|
|
166
166
|
- plugins?: 可选传入的额外的 webpack 插件
|
|
167
167
|
- license?: 使用 license-webpack-plugin 构建 ThirdPartyNotice.txt
|
|
168
168
|
- polyfill_node_sea?: 避免依赖 node:sea 模块以兼容旧版本 node.js */
|
|
169
|
-
constructor(name: string, target: 'web' | 'nodejs', fpd_root: string, fpd_out: string, fpdt_cache: string, entry: Record<string, string>, options?: BundlerOptions);
|
|
169
|
+
constructor(name: string, target: 'web' | 'nodejs', fpd_root: string, fpd_out: string, fpdt_cache: string | undefined, entry: Record<string, string>, options?: BundlerOptions);
|
|
170
170
|
build(print?: boolean): Promise<void>;
|
|
171
171
|
close(): Promise<void>;
|
|
172
172
|
build_all(print?: boolean): Promise<void>;
|
package/builder.js
CHANGED
|
@@ -445,14 +445,6 @@ export class Bundler {
|
|
|
445
445
|
optimization: {
|
|
446
446
|
minimize: false
|
|
447
447
|
},
|
|
448
|
-
cache: {
|
|
449
|
-
type: 'filesystem',
|
|
450
|
-
compression: false,
|
|
451
|
-
cacheDirectory: this.fpdt_cache,
|
|
452
|
-
...this.cache_version ? {
|
|
453
|
-
version: this.cache_version
|
|
454
|
-
} : {}
|
|
455
|
-
},
|
|
456
448
|
ignoreWarnings: [
|
|
457
449
|
...this.source_map ? [/Failed to parse source map/] : [],
|
|
458
450
|
...this.license ? [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xshell",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.75",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"react": "^19.2.7",
|
|
77
77
|
"react-i18next": "^17.0.8",
|
|
78
78
|
"resolve-path": "^1.4.0",
|
|
79
|
-
"sass": "^1.
|
|
79
|
+
"sass": "^1.101.0",
|
|
80
80
|
"sass-loader": "^17.0.0",
|
|
81
81
|
"source-map-loader": "^5.0.0",
|
|
82
82
|
"strip-ansi": "^7.2.0",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"tslib": "^2.8.1",
|
|
87
87
|
"typescript": "^6.0.3",
|
|
88
88
|
"undici": "^8.4.1",
|
|
89
|
-
"webpack": "5.
|
|
89
|
+
"webpack": "^5.107.2",
|
|
90
90
|
"webpack-bundle-analyzer": "^5.3.0",
|
|
91
91
|
"ws": "^8.21.0"
|
|
92
92
|
},
|
package/prototype.common.d.ts
CHANGED
|
@@ -266,9 +266,9 @@ export declare const brackets: {
|
|
|
266
266
|
readonly square: readonly ['[', ']'];
|
|
267
267
|
readonly curly: readonly ['{', '}'];
|
|
268
268
|
readonly pointy: readonly ['<', '>'];
|
|
269
|
-
readonly corner: readonly ['
|
|
270
|
-
readonly fat: readonly ['
|
|
271
|
-
readonly tortoise_shell: readonly ['
|
|
269
|
+
readonly corner: readonly ['「', '」'];
|
|
270
|
+
readonly fat: readonly ['【', '】'];
|
|
271
|
+
readonly tortoise_shell: readonly ['〔', '〕'];
|
|
272
272
|
};
|
|
273
273
|
export declare function to_json(obj: any, replacer?: any): string;
|
|
274
274
|
export declare function to_json_safely(obj: any, replacer?: any): string;
|
package/utils.d.ts
CHANGED
|
@@ -22,16 +22,14 @@ export declare function inspect(obj: any, options?: util.InspectOptions & {
|
|
|
22
22
|
limit?: number;
|
|
23
23
|
omit?: string[];
|
|
24
24
|
}): string;
|
|
25
|
-
export interface inspect {
|
|
26
|
-
custom: typeof util.inspect.custom;
|
|
27
|
-
defaultOptions: typeof util.inspect.defaultOptions;
|
|
28
|
-
}
|
|
29
25
|
export declare namespace inspect {
|
|
30
26
|
var custom: symbol;
|
|
31
|
-
}
|
|
32
|
-
export declare namespace inspect {
|
|
33
27
|
var defaultOptions: util.InspectOptions;
|
|
34
28
|
}
|
|
29
|
+
export interface inspect {
|
|
30
|
+
custom: typeof util.inspect.custom;
|
|
31
|
+
defaultOptions: typeof util.inspect.defaultOptions;
|
|
32
|
+
}
|
|
35
33
|
/** 根据 enabled 选项返回有 / 无颜色的字符串 (str) */
|
|
36
34
|
export declare function colored(str: string, color: string, enabled?: boolean): any;
|
|
37
35
|
/** 消费一个可读流 */
|