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 1.22.0 to 1.23.0

2

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

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

@@ -541,2 +541,13 @@ (function () {

/**
* Updates repository server info
*
* @param {Function} [then]
*/
Git.prototype.updateServerInfo = function (then) {
return this._run(["update-server-info"], function (err, data) {
then && then(err, !err && data);
});
};
/**
* Pushes the current committed changes to a remote, optionally specify the names of the remote and branch to use

@@ -543,0 +554,0 @@ * when pushing.

@@ -634,1 +634,19 @@

};
exports.updateServerInfo = {
setUp: function(done) {
Instance();
done();
},
'update server info': function (test) {
git.updateServerInfo(function (err, result) {
test.equals(null, err, 'not an error');
test.same(["update-server-info"], theCommandRun());
test.done();
});
closeWith('');
}
};
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