diff --git a/client-src/default/overlay.js b/client-src/default/overlay.js index a1bb6cef2b..f7bdb9f752 100644 --- a/client-src/default/overlay.js +++ b/client-src/default/overlay.js @@ -3,7 +3,7 @@ // The error overlay is inspired (and mostly copied) from Create React App (https://github.com/facebookincubator/create-react-app) // They, in turn, got inspired by webpack-hot-middleware (https://github.com/glenjamin/webpack-hot-middleware). -const ansiHTML = require('ansi-html'); +const ansiHTML = require('ansi-html-community'); const { AllHtmlEntities } = require('html-entities'); const entities = new AllHtmlEntities(); diff --git a/package-lock.json b/package-lock.json index 475ad96ef5..0a5158962d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2148,10 +2148,10 @@ } } }, - "ansi-html": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", - "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=" + "ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==" }, "ansi-regex": { "version": "2.1.1", diff --git a/package.json b/package.json index ef337acd6d..7874d2f4db 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "release": "standard-version" }, "dependencies": { - "ansi-html": "0.0.7", + "ansi-html-community": "0.0.8", "bonjour": "^3.5.0", "chokidar": "^2.1.8", "compression": "^1.7.4",