New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-util

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-util - npm Package Compare versions

Comparing version 2.2.6 to 2.2.7

10

lib/noop.js

@@ -1,7 +0,7 @@

var es = require('event-stream');
var through = require('through');
module.exports = function(){
return es.map(function(data, cb){
cb(null, data);
module.exports = function () {
return through(function (data) {
this.queue(data);
});
};
};
{
"name": "gulp-util",
"description": "Utility functions for gulp plugins",
"version": "2.2.6",
"version": "2.2.7",
"homepage": "http://github.com/wearefractal/gulp-util",

@@ -15,3 +15,2 @@ "repository": "git://github.com/wearefractal/gulp-util.git",

"vinyl": "~0.2.1",
"event-stream": "~3.0.20",
"dateformat": "~1.0.7-1.2.3"

@@ -22,4 +21,5 @@ },

"should": "*",
"event-stream": "*",
"lodash.templatesettings": "~2.4.1"
"through": "*",
"lodash.templatesettings": "~2.4.1",
"event-stream": "*"
},

@@ -26,0 +26,0 @@ "scripts": {

@@ -78,3 +78,3 @@ ![status](https://secure.travis-ci.org/gulpjs/gulp-util.png?branch=master)

```javascript
var file = new gulp.File({
var file = new gutil.File({
base: join(__dirname, './fixtures/'),

@@ -147,3 +147,3 @@ cwd: __dirname,

var err = new util.PluginError({
var err = new gutil.PluginError({
plugin: 'test',

@@ -153,8 +153,8 @@ message: 'something broke'

var err = new util.PluginError('test', 'something broke');
var err = new gutil.PluginError('test', 'something broke');
var err = new util.PluginError('test', 'something broke', {showStack: true});
var err = new gutil.PluginError('test', 'something broke', {showStack: true});
var existingError = new Error('OMG');
var err = new util.PluginError('test', existingError, {showStack: true});
var err = new gutil.PluginError('test', existingError, {showStack: true});
```

@@ -161,0 +161,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
var through = require('through');
require('mocha');

@@ -13,5 +13,5 @@

it('should not work on a stream', function(done){
util.isBuffer(es.map(function(){})).should.equal(false);
util.isBuffer(through(function(){})).should.equal(false);
done();
});
});
var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
var through = require('through');
require('mocha');

@@ -13,3 +13,3 @@

it('should not work on a stream', function(done){
util.isNull(es.map(function(){})).should.equal(false);
util.isNull(through(function(){})).should.equal(false);
done();

@@ -16,0 +16,0 @@ });

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
var through = require('through');
require('mocha');

@@ -9,3 +9,3 @@

it('should work on a stream', function(done){
util.isStream(es.map(function(){})).should.equal(true);
util.isStream(through(function(){})).should.equal(true);
done();

@@ -12,0 +12,0 @@ });

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');
var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

var util = require('../');
var should = require('should');
var path = require('path');
var es = require('event-stream');
require('mocha');

@@ -6,0 +5,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc