Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-git

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-git - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

6

lib/removeRemote.js

@@ -13,4 +13,8 @@ 'use strict';

}
if (!remote || typeof remote !== 'string') {
var error = new Error('gulp-git: remote is required git.removeRemote("origin")');
if (!cb || typeof cb !== 'function') throw error;
return cb(error);
}
if (!cb || typeof cb !== 'function') cb = function () {};
if (!remote) cb(new Error('gulp-git: remote is required git.removeRemote("origin")'));
if (!opt) opt = {};

@@ -17,0 +21,0 @@ if (!opt.cwd) opt.cwd = process.cwd();

6

package.json
{
"name": "gulp-git",
"description": "Git plugin for gulp (gulpjs.com)",
"version": "2.3.1",
"version": "2.3.2",
"homepage": "http://github.com/stevelacy/gulp-git",

@@ -28,4 +28,4 @@ "repository": {

"docs": "rimraf docs/* && jsdoc ./index.js ./lib --recurse --destination ./docs",
"pretest": "rimraf test/repo test/tmp && eslint ./index.js ./examples/ ./lib/ ./test/",
"test": "mocha --reporter spec --timeout 6000 test/main.js"
"lint": "rimraf test/repo test/tmp && eslint ./index.js ./examples/ ./lib/ ./test/",
"test": "mocha --reporter spec --timeout 6000 test/main.js && npm run lint"
},

@@ -32,0 +32,0 @@ "engines": {

@@ -256,2 +256,9 @@ # gulp-git

// Show the formatted git diff
gulp.task('diff', function(){
gulp.src('./*')
.pipe(git.diff('master', {log: true}))
.pipe(gulp.dest('./diff.out'));
});
// Git rm a file or folder

@@ -258,0 +265,0 @@ gulp.task('rm', function(){

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