Remove the fancy-log
dependency
This dependency hasn't been updated in two years and the only place that uses it is the `externaltest` target in the Gulpfile. We can simply replace `fancy-log` usage there with `console.log` like we do in all other places in the Gulpfile because we're not interested in the timestamps here. Gulp already prints timestamps and these tests finish within a second anyway. Note that it remains in `package-lock.json` because other Gulp-related packages have it as a dependency, but at least we're no longer depending on it directly anymore now.
This commit is contained in:
parent
910772cfcf
commit
e0c80a3556
@ -21,7 +21,6 @@
|
||||
var autoprefixer = require("autoprefixer");
|
||||
var calc = require("postcss-calc");
|
||||
var cssvariables = require("postcss-css-variables");
|
||||
var fancylog = require("fancy-log");
|
||||
var fs = require("fs");
|
||||
var gulp = require("gulp");
|
||||
var postcss = require("gulp-postcss");
|
||||
@ -1962,11 +1961,14 @@ gulp.task(
|
||||
);
|
||||
|
||||
gulp.task("externaltest", function (done) {
|
||||
fancylog("Running test-fixtures.js");
|
||||
console.log();
|
||||
console.log("### Running test-fixtures.js");
|
||||
safeSpawnSync("node", ["external/builder/test-fixtures.js"], {
|
||||
stdio: "inherit",
|
||||
});
|
||||
fancylog("Running test-fixtures_esprima.js");
|
||||
|
||||
console.log();
|
||||
console.log("### Running test-fixtures_esprima.js");
|
||||
safeSpawnSync("node", ["external/builder/test-fixtures_esprima.js"], {
|
||||
stdio: "inherit",
|
||||
});
|
||||
|
@ -26,7 +26,6 @@
|
||||
"eslint-plugin-no-unsanitized": "^3.1.4",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-unicorn": "^20.1.0",
|
||||
"fancy-log": "^1.3.3",
|
||||
"globals": "^11.12.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-postcss": "^8.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user