Socket
Socket
Sign inDemoInstall

simple-git

Package Overview
Dependencies
Maintainers
1
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-git - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

2

package.json
{
"name": "simple-git",
"description": "Simple GIT interface for node.js",
"version": "0.7.0",
"version": "0.8.0",
"author": "Steve King <steve@mydev.co>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -44,2 +44,4 @@ # Simple Git

`.checkoutLocalBranch(branchName, handlerFn)` checks out a new local branch
`.checkoutLatestTag(handlerFn)` convenience method to pull then checkout the latest tag

@@ -46,0 +48,0 @@

@@ -168,2 +168,14 @@ (function() {

/**
* Check out a local branch
*
* @param {String} name of branch
* @param {Function} [then]
*/
Git.prototype.checkoutLocalBranch = function(branchName, then) {
return this._run('git checkout -b "' + branchName + '"', function(err, data) {
then && then(err, !err && this._parseCheckout(data));
});
};
/**

@@ -170,0 +182,0 @@ * Add a submodule

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