Skip to content

Commit 45c3b6e

Browse files
authored
fix: replace ansi-html with ansi-html-community (#501)
1 parent b319964 commit 45c3b6e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

overlay/components/CompileErrorTrace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ansiHTML = require('ansi-html');
1+
const ansiHTML = require('ansi-html-community');
22
const entities = require('html-entities');
33
const theme = require('../theme.js');
44
const { formatFilename } = require('../utils.js');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"prepublishOnly": "run-s types:clean generate-types"
5656
},
5757
"dependencies": {
58-
"ansi-html": "^0.0.7",
58+
"ansi-html-community": "^0.0.8",
5959
"common-path-prefix": "^3.0.0",
6060
"core-js-pure": "^3.8.1",
6161
"error-stack-parser": "^2.0.6",

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,12 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.1:
11991199
dependencies:
12001200
type-fest "^0.21.3"
12011201

1202-
[email protected], ansi-html@^0.0.7:
1202+
ansi-html-community@^0.0.8:
1203+
version "0.0.8"
1204+
resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41"
1205+
integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==
1206+
1207+
12031208
version "0.0.7"
12041209
resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
12051210
integrity sha1-gTWEAhliqenm/QOflA0S9WynhZ4=

0 commit comments

Comments
 (0)