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.7.0 to 1.8.0

2

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

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

@@ -69,4 +69,2 @@ # Simple Git

`.revparse(command, handlerFn)` where the command should be an array of string options compatible with the [git rev-parse](http://git-scm.com/docs/git-rev-parse)
`.rm([fileA, ...], handlerFn)` removes any number of files from source control

@@ -80,3 +78,3 @@

`.revparse([options], handlerFn)` wraps git rev-parse. Primarily used to convert friendly commit references (ie branch names) to SHA1 hashes.
`.revparse([options], handlerFn)` wraps git rev-parse. Primarily used to convert friendly commit references (ie branch names) to SHA1 hashes. Options should be an array of string options compatible with the [git rev-parse](http://git-scm.com/docs/git-rev-parse)

@@ -83,0 +81,0 @@ `.status(handlerFn)` gets the status of the current repo

@@ -627,2 +627,3 @@ (function () {

break;
case "A":
case "AM":

@@ -629,0 +630,0 @@ created.push(line.join());

@@ -74,3 +74,3 @@

git.status(function (err, status) {
test.equals(2, status.created.length, 'No new files');
test.equals(3, status.created.length, 'No new files');
test.equals(0, status.deleted.length, 'No removed files');

@@ -86,2 +86,3 @@ test.equals(2, status.modified.length, 'No modified files');

AM src/index.js \n\
A src/newfile.js \n\
AM test.js\n\

@@ -88,0 +89,0 @@ ?? test/ \n\

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