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.0.0 to 1.1.0

2

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

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

@@ -5,7 +5,6 @@ (function () {

var Buffer = require('buffer').Buffer;
var warn = function (message) {
if (!/prod/.test(process.env.NODE_ENV)) {
console.warn(message);
}
};
var log = 'info warn error'.split(' ').reduce(function (log, level) {
log[level] = /prod/.test(process.env.NODE_ENV) ? function () {} : console[level].bind(console);
return log;
}, {});

@@ -266,3 +265,3 @@ /**

if (typeof args === 'string') {
warn('Git#listRemote: args should be supplied as an array of individual arguments');
log.warn('Git#listRemote: args should be supplied as an array of individual arguments');
}

@@ -419,3 +418,3 @@

else if (typeof args[0] === "string" || typeof args[1] === "string") {
warn("Git#log: supplying to or from as strings is now deprecated, switch to an options configuration object");
log.warn("Git#log: supplying to or from as strings is now deprecated, switch to an options configuration object");
opt = {

@@ -630,3 +629,3 @@ from: args[0],

console.error(stdErr);
log.error(stdErr);
this._runCache = [];

@@ -633,0 +632,0 @@ then.call(this, stdErr, null);

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