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.9.0 to 2.10.0

lib/showBranch.js

1

index.js

@@ -26,2 +26,3 @@ 'use strict';

* @property {function} rm {@link module:gulp-git/lib/rm}
* @property {function} showBranch {@link module:gulp-git/lib/showBranch}
* @property {function} stash {@link module:gulp-git/lib/stash}

@@ -28,0 +29,0 @@ * @property {function} status {@link module:gulp-git/lib/status}

@@ -15,3 +15,5 @@ 'use strict';

// https://git-scm.com/docs/git-diff#_raw_output_format
/* eslint-disable */
var RE_DIFF_RESULT = /\:(\w+)\s+(\w+)\s+(\w+)(?:\.{3})?\s+(\w+)(?:\.{3})?\s+(\w+)(\u0000|\t|\s+)(.+?)(?:\6|\n)(?:([^:]+?)\6)?/g;
/* eslint-enable */

@@ -18,0 +20,0 @@ function getReaslt(data) {

8

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

@@ -23,7 +23,7 @@ "repository": {

"devDependencies": {
"eslint": "^3.17.0",
"mocha": "^3.2.0",
"eslint": "^6.7.2",
"mocha": "^6.2.2",
"mock-require": "^2.0.2",
"rimraf": "^2.6.1",
"should": "^11.2.0"
"should": "^13.2.3"
},

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

@@ -542,2 +542,17 @@ # gulp-git

### git.showBranch(opt, cb)
`git show-branch <opt>`
Show branches and their commits
`opt`: Object (optional) `{args: 'options'}`
`cb`: function, passed err if any
```js
git.showBranch({'args': '--list -a'}, function (err) {
//if (err) ...
});
```
### git.checkout(branch, opt, cb)

@@ -544,0 +559,0 @@ `git checkout <new branch name>`

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