Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace the deprecated gulp-util #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down