Skip to content

Commit 3d5018a

Browse files
author
Glen Mailer
authoredSep 13, 2021
Merge pull request #413 from nttibbetts/replace-ansi-html
2 parents f0ffa4c + 90551e5 commit 3d5018a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Configuration options can be passed to the client by adding querystring paramete
9191
* **quiet** - Set to `true` to disable all console logging.
9292
* **dynamicPublicPath** - Set to `true` to use webpack `publicPath` as prefix of `path`. (We can set `__webpack_public_path__` dynamically at runtime in the entry point, see note of [output.publicPath](https://webpack.js.org/configuration/output/#output-publicpath))
9393
* **autoConnect** - Set to `false` to use to prevent a connection being automatically opened from the client to the webpack back-end - ideal if you need to modify the options using the `setOptionsAndConnect` function
94-
* **ansiColors** - An object to customize the client overlay colors as mentioned in the [ansi-html](https://github.com/Tjatse/ansi-html/blob/99ec49e431c70af6275b3c4e00c7be34be51753c/README.md#set-colors) package.
94+
* **ansiColors** - An object to customize the client overlay colors as mentioned in the [ansi-html-community](https://github.com/mahdyar/ansi-html-community#set-colors) package.
9595
* **overlayStyles** - An object to let you override or add new inline styles to the client overlay div.
9696
* **overlayWarnings** - Set to `true` to enable client overlay on warnings in addition to errors.
9797

‎client-overlay.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var styles = {
2121
textAlign: 'left',
2222
};
2323

24-
var ansiHTML = require('ansi-html');
24+
var ansiHTML = require('ansi-html-community');
2525
var colors = {
2626
reset: ['transparent', 'transparent'],
2727
black: '181818',

‎package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"author": "Glen Mailer <glen@stainlessed.co.uk>",
2727
"license": "MIT",
2828
"dependencies": {
29-
"ansi-html": "0.0.7",
29+
"ansi-html-community": "0.0.8",
3030
"html-entities": "^2.1.0",
3131
"querystring": "^0.2.0",
3232
"strip-ansi": "^6.0.0"

0 commit comments

Comments
 (0)
Please sign in to comment.