diff --git a/index.js b/index.js index 6302648..aa69086 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ 'use strict'; var through2 = require('through2'); -var PluginError = require('gulp-util').PluginError; +var PluginError = require('plugin-error'); var bufferMode = require('./lib/buffer'); var streamMode = require('./lib/stream'); var defaults = require('defaults'); diff --git a/package.json b/package.json index 59670cd..89931e9 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,9 @@ "dependencies": { "bytes": "^2.1.0", "defaults": "^1.0.2", - "gulp-util": "^3.0.4", + "fancy-log": "^1.3.2", "node-zopfli": "^1.2.1", + "plugin-error": "^1.0.1", "stream-to-array": "^2.0.2", "through2": "^2.0.0" }, diff --git a/test/test.js b/test/test.js index ff7bd23..5b730cb 100644 --- a/test/test.js +++ b/test/test.js @@ -1,6 +1,6 @@ var fs = require('fs'); var gulp = require('gulp'); -var log = require('gulp-util').log; +var log = require('fancy-log'); var zopfli = require('../'); var nid = require('nid'); var rename = require('gulp-rename');