Skip to content

Commit 48e956f

Browse files
zbennett10scniro
authored andcommittedDec 28, 2017
removed deprecated gulp-util (#50)
1 parent 9f5c4ab commit 48e956f

File tree

4 files changed

+1574
-703
lines changed

4 files changed

+1574
-703
lines changed
 

‎gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var gulp = require('gulp');
22
var mocha = require('gulp-mocha');
3-
var gutil = require('gulp-util');
3+
var log = require('fancy-log');
44
var istanbul = require('gulp-istanbul');
55

66
gulp.task('pre-test', function () {
@@ -16,5 +16,5 @@ gulp.task('test', ['pre-test'], function () {
1616
includeUntested: true,
1717
reporters: ['lcov']
1818
}))
19-
.on('error', gutil.log);
19+
.on('error', log);
2020
});

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const applySourceMap = require('vinyl-sourcemaps-apply');
44
const CleanCSS = require('clean-css');
55
const path = require('path');
6-
const PluginError = require('gulp-util').PluginError;
6+
const PluginError = require('plugin-error');
77
const through = require('through2');
88

99
module.exports = function gulpCleanCSS(options, callback) {

‎package-lock.json

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

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
],
3131
"dependencies": {
3232
"clean-css": "4.1.9",
33-
"gulp-util": "3.0.8",
33+
"fancy-log": "^1.3.2",
34+
"plugin-error": "^0.1.2",
3435
"through2": "2.0.3",
3536
"vinyl-sourcemaps-apply": "0.2.1"
3637
},

0 commit comments

Comments
 (0)
Please sign in to comment.