New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

git-cli

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-cli - npm Package Compare versions

Comparing version
0.10.0
to
0.11.0
+2
-4
lib/repository.js
(function() {
var CliCommand, Repository, S, errors, execute, fs, gitUtil, path, util, _;
var CliCommand, Repository, errors, execute, fs, gitUtil, path, util, _;
fs = require('fs-extra');
S = require('string');
_ = require('underscore');

@@ -29,3 +27,3 @@

this.path = path;
if (!S(this.path).endsWith('.git')) {
if (!this.path.endsWith('.git')) {
throw new errors.BadRepositoryError(BAD_PATH_MSG);

@@ -32,0 +30,0 @@ }

(function() {
var S, util, _;
var util, _;
_ = require('underscore');
S = require('string');
util = {

@@ -9,0 +7,0 @@ hasType: function(object, type) {

{
"name": "git-cli",
"version": "0.10.0",
"version": "0.11.0",
"description": "Simple CLI like git interface for NodeJS",

@@ -27,2 +27,3 @@ "main": "lib/git-cli.js",

"grunt": "^0.4.4",
"grunt-cli": "^1.3.1",
"grunt-contrib-coffee": "^0.10.1",

@@ -36,3 +37,2 @@ "grunt-contrib-watch": "^0.6.1",

"dependencies": {
"string": "^1.8.1",
"underscore": "^1.6.0",

@@ -39,0 +39,0 @@ "fs-extra": "^0.9.1"

Sorry, the diff of this file is not supported yet