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.28.0 to 1.28.1

2

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

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

@@ -738,3 +738,3 @@ (function () {

var splitter = opt.splitter || ';';
var command = ["log", "--pretty=format:'%H %ai %s%d %aN %ae'".replace(/\s+/g, splitter)];
var command = ["log", "--pretty=format:%H %ai %s%d %aN %ae".replace(/\s+/g, splitter)];

@@ -741,0 +741,0 @@

var FS = require('fs');
var simpleGit = require('./src/index');
var simpleGit = require('./');
console.log(typeof simpleGit);
var bareDir = 'test.git';
var git = simpleGit(bareDir);
var git = simpleGit();
FS.mkdirSync(bareDir);
git.init(true, function(err) {
console.log("init bare done");
git.log(function(err, log) {
console.log(log);
});

@@ -326,2 +326,3 @@

test.equals(null, err, 'not an error');
test.same(["log", "--pretty=format:%H::%ai::%s%d::%aN::%ae"], theCommandRun());
test.same('ca931e641eb2929cf86093893e9a467e90bf4c9b', result.latest.hash, 'knows which is latest');

@@ -344,3 +345,3 @@ test.same(4, result.total, 'picked out all items');

test.equals(null, err, 'not an error');
test.same(["log", "--pretty=format:'%H;%ai;%s%d;%aN;%ae'", "from...to"], theCommandRun());
test.same(["log", "--pretty=format:%H;%ai;%s%d;%aN;%ae", "from...to"], theCommandRun());
test.done();

@@ -360,3 +361,3 @@ });

test.equals(null, err, 'not an error');
test.same(["log", "--pretty=format:'%H;%ai;%s%d;%aN;%ae'", "--some=thing"], theCommandRun());
test.same(["log", "--pretty=format:%H;%ai;%s%d;%aN;%ae", "--some=thing"], theCommandRun());
test.done();

@@ -376,3 +377,3 @@ });

test.equals(null, err, 'not an error');
test.same(["log", "--pretty=format:'%H;%ai;%s%d;%aN;%ae'", "--max-count=5"], theCommandRun());
test.same(["log", "--pretty=format:%H;%ai;%s%d;%aN;%ae", "--max-count=5"], theCommandRun());
test.done();

@@ -392,3 +393,3 @@ });

test.equals(null, err, 'not an error');
test.same(["log", "--pretty=format:'%H;%ai;%s%d;%aN;%ae'", "--max-count=5"], theCommandRun());
test.same(["log", "--pretty=format:%H;%ai;%s%d;%aN;%ae", "--max-count=5"], theCommandRun());
test.done();

@@ -395,0 +396,0 @@ });

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