| (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 @@ } |
+1
-3
| (function() { | ||
| var S, util, _; | ||
| var util, _; | ||
| _ = require('underscore'); | ||
| S = require('string'); | ||
| util = { | ||
@@ -9,0 +7,0 @@ hasType: function(object, type) { |
+2
-2
| { | ||
| "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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2
-33.33%28909
-0.31%10
11.11%19
-5%687
-0.29%- Removed
- Removed