Commit f84bd35b authored by WhiteSource Renovate's avatar WhiteSource Renovate 💬 Committed by David Sveningsson

fix(deps): update dependency chalk to v3

parent 414dc10e
Pipeline #97708721 passed with stages
in 9 minutes and 9 seconds
......@@ -11,13 +11,13 @@ module.exports = function generateValidationResultsProcessor(log, validateMap) {
};
function $process() {
const oldEnabled = chalk.enabled;
chalk.enabled = false;
const oldLevel = chalk.level;
chalk.level = 0;
validateMap.forEach(validation => {
htmlvalidate = new HtmlValidate(validation.config);
validation.report = htmlvalidate.validateString(validation.markup);
validation.codeframe = codeframe(validation.report.results);
});
chalk.enabled = oldEnabled;
chalk.level = oldLevel;
}
};
This diff is collapsed.
......@@ -126,7 +126,7 @@
"acorn-walk": "^7.0.0",
"ajv": "^6.10.0",
"better-ajv-errors": "^0.6.2",
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"deepmerge": "^4.0.0",
"eslint": "^6.0.0",
"espree": "^6.0.0",
......
import { codeFrameColumns } from "@babel/code-frame";
import chalk from "chalk";
import chalk = require("chalk");
import path from "path";
import { FormatterModule } from ".";
import { Message, Result } from "../reporter";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment