update ansi_up

This commit is contained in:
Ruben Fiszel
2025-09-11 01:07:35 +00:00
parent 23079ecd9f
commit b73333425b
5 changed files with 2140 additions and 956 deletions
+2133 -949
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -100,7 +100,7 @@
"ag-charts-enterprise": "^9.0.1",
"ag-grid-community": "^31.3.4",
"ag-grid-enterprise": "^31.3.4",
"ansi_up": "^5.2.1",
"ansi_up": "^6.0.6",
"chart.js": "^4.4.6",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-zoom": "^2.0.0",
@@ -545,4 +545,4 @@
"@rollup/rollup-linux-x64-gnu": "^4.35.0",
"fsevents": "^2.3.3"
}
}
}
@@ -1,5 +1,5 @@
<script lang="ts">
import AnsiUp from 'ansi_up'
import { AnsiUp } from 'ansi_up/ansi_up'
export let content: string
export let highlighted: any[]
@@ -31,8 +31,8 @@
</script>
<button on:click class="font-light !m-0 !p-0">
<pre
class="bg-surface-secondary hover:bg-surface px-2 py-1 text-secondary text-xs w-[100%] whitespace-pre border min-w-full text-start" >
<pre
class="bg-surface-secondary hover:bg-surface px-2 py-1 text-secondary text-xs w-[100%] whitespace-pre border min-w-full text-start">
{@html html}
</pre>
</button>
+1 -1
View File
@@ -12,7 +12,7 @@
import { copyToClipboard } from '$lib/utils'
import { base } from '$lib/base'
import { workspaceStore } from '$lib/stores'
import AnsiUp from 'ansi_up'
import { AnsiUp } from 'ansi_up'
import NoWorkerWithTagWarning from './runs/NoWorkerWithTagWarning.svelte'
import { JobService } from '$lib/gen'
import Tooltip from './Tooltip.svelte'
@@ -15,7 +15,7 @@
import LogSnippetViewer from './LogSnippetViewer.svelte'
import { Button, Drawer, DrawerContent } from './common'
import ClipboardCopy from 'lucide-svelte/icons/clipboard-copy'
import AnsiUp from 'ansi_up'
import { AnsiUp } from 'ansi_up'
import SplitPanesOrColumnOnMobile from './splitPanes/SplitPanesOrColumnOnMobile.svelte'
import Select from './select/Select.svelte'
import { goto } from '$lib/navigation'