@f5-sales-demo/pi-tui 19.105.3 → 19.105.6
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@f5-sales-demo/pi-tui",
|
|
4
|
-
"version": "19.105.
|
|
4
|
+
"version": "19.105.6",
|
|
5
5
|
"description": "Terminal User Interface library with differential rendering for efficient text-based applications",
|
|
6
6
|
"homepage": "https://github.com/f5-sales-demo/xcsh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"fmt": "biome format --write ."
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@f5-sales-demo/pi-natives": "19.105.
|
|
41
|
-
"@f5-sales-demo/pi-utils": "19.105.
|
|
40
|
+
"@f5-sales-demo/pi-natives": "19.105.6",
|
|
41
|
+
"@f5-sales-demo/pi-utils": "19.105.6",
|
|
42
42
|
"marked": "^18.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -524,7 +524,7 @@ export class Markdown implements Component {
|
|
|
524
524
|
// If link text matches href, only show the link once
|
|
525
525
|
// Compare raw text (token.text) not styled text (linkText) since linkText has ANSI codes
|
|
526
526
|
// For mailto: links, strip the prefix before comparing (autolinked emails have
|
|
527
|
-
// text="
|
|
527
|
+
// text="dana@example.com" but href="mailto:dana@example.com")
|
|
528
528
|
const hrefForComparison = token.href.startsWith("mailto:") ? token.href.slice(7) : token.href;
|
|
529
529
|
if (token.text === token.href || token.text === hrefForComparison)
|
|
530
530
|
result += clickableLinkText + stylePrefix;
|