xshell 1.2.24 → 1.2.26
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/node-sea.polyfill.d.ts +5 -0
- package/node-sea.polyfill.js +4 -0
- package/package.json +1 -1
- package/prototype.js +13 -4
package/node-sea.polyfill.d.ts
CHANGED
package/node-sea.polyfill.js
CHANGED
package/package.json
CHANGED
package/prototype.js
CHANGED
|
@@ -379,10 +379,19 @@ if (!globalThis.my_prototype_defined) {
|
|
|
379
379
|
const style = color.endsWith('_') ? `${color.slice(0, -1)}Bright` : color;
|
|
380
380
|
return [color, {
|
|
381
381
|
configurable: true,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
382
|
+
...util.styleText ?
|
|
383
|
+
{
|
|
384
|
+
get() {
|
|
385
|
+
// @ts-ignore
|
|
386
|
+
return util.styleText(style, this, { validateStream: false });
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
:
|
|
390
|
+
{
|
|
391
|
+
get() {
|
|
392
|
+
return this;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
386
395
|
}];
|
|
387
396
|
})),
|
|
388
397
|
// ------------ 文件路径操作
|