Socket
Socket
Sign inDemoInstall

gulp-bump

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.8 to 0.1.9

15

index.js

@@ -33,8 +33,6 @@ var gutil = require('gulp-util');

if (file.isNull()) {
this.push(file);
return cb();
return cb(null, file);
}
if (file.isStream()) {
this.emit('error', new gutil.PluginError('gulp-bump', 'Streaming not supported'));
return cb();
return cb(new gutil.PluginError('gulp-bump', 'Streaming not supported'));
}

@@ -45,4 +43,3 @@

} catch (e) {
this.emit('error', new gutil.PluginError('gulp-bump', 'Problem parsing JSON file ' + file.path));
return cb();
return cb(new gutil.PluginError('gulp-bump', 'Problem parsing JSON file ' + file.path));
}

@@ -63,4 +60,3 @@

else {
this.emit('error', new gutil.PluginError('gulp-bump', 'Detected invalid semver ' + key + ' in file ' + file.path));
return cb();
return cb(new gutil.PluginError('gulp-bump', 'Detected invalid semver ' + key + ' in file ' + file.path));
}

@@ -71,5 +67,4 @@

gutil.log('Bumped ' + gutil.colors.magenta(key) + ' to: ' + gutil.colors.cyan(json[key]));
this.push(file);
return cb();
cb(null, file);
});
};
{
"name": "gulp-bump",
"description": "Bump npm versions with Gulp (gulpjs.com)",
"version": "0.1.8",
"version": "0.1.9",
"homepage": "http://github.com/stevelacy/gulp-bump",

@@ -12,3 +12,3 @@ "repository": "git://github.com/stevelacy/gulp-bump.git",

"semver": "^2.2.1",
"through2": "^0.4.1"
"through2": "^0.5.1"
},

@@ -15,0 +15,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc