Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 574f3af

Browse files
author
Je
committed
chore: remove ansi_up dep
1 parent e4affb2 commit 574f3af

File tree

6 files changed

+2
-943
lines changed

6 files changed

+2
-943
lines changed

deps.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ export * as ws from 'https://deno.land/[email protected]/ws/mod.ts'
1111
export { gzipDecode, gzipEncode } from 'https://deno.land/x/[email protected]/mod.ts'
1212
export { minify } from 'https://esm.sh/[[email protected],[email protected]]/terser'
1313
export { default as ts } from 'https://esm.sh/[[email protected],[email protected]]/typescript'
14-
export { default as AnsiUp } from './vendor/ansi-up/ansi-up.ts'
1514
export { default as less } from './vendor/less/less.js'
1615
import './vendor/clean-css-builds/v4.2.2.js'

project.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AnsiUp, colors, ensureDir, less, minify, path, Sha1, walk } from './deps.ts'
1+
import { colors, ensureDir, less, minify, path, Sha1, walk } from './deps.ts'
22
import { EventEmitter } from './events.ts'
33
import { createHtml } from './html.ts'
44
import log from './log.ts'
@@ -1059,7 +1059,7 @@ export default class Project {
10591059
} catch (err) {
10601060
ret.code = 500
10611061
ret.head = ['<title>500 Error - Aleph.js</title>']
1062-
ret.body = `<main><pre>${AnsiUp.ansi_to_html(err.stack)}</pre></main>`
1062+
ret.body = `<main><pre>${err.stack}</pre></main>`
10631063
log.error(err.stack)
10641064
}
10651065
return ret

vendor/ansi-up/LICENSE

Lines changed: 0 additions & 22 deletions
This file was deleted.

vendor/ansi-up/Readme.md

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)