Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-rev-sync

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-rev-sync - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

8

index.js

@@ -19,3 +19,3 @@ 'use strict';

if (result.status !== 0) {
throw new Error('[git-rev-sync] failed to execute command: ' + result.error.code);
throw new Error('[git-rev-sync] failed to execute command: ' + result.stderr);
}

@@ -29,6 +29,6 @@

if (result.code !== 0) {
throw new Error('[git-rev-sync] failed to execute command: ' + result.output);
throw new Error('[git-rev-sync] failed to execute command: ' + result.stdout);
}
return result.output.toString('utf8').replace(/^\s+|\s+$/g, '');
return result.stdout.toString('utf8').replace(/^\s+|\s+$/g, '');
}

@@ -94,3 +94,3 @@

// looking up the hash here.
var refToFind = path.join('refs', 'heads', b);
var refToFind = ['refs', 'heads', b].join('/');
var packfileContents = fs.readFileSync(path.resolve(gitDir, 'packed-refs'), 'utf8');

@@ -97,0 +97,0 @@ var packfileRegex = new RegExp('(.*) ' + refToFind);

{
"name": "git-rev-sync",
"version": "1.6.0",
"version": "1.7.0",
"author": "kurttheviking",

@@ -52,6 +52,6 @@ "bugs": {

"dependencies": {
"graceful-fs": "4.1.3",
"shelljs": "0.6.0"
"graceful-fs": "4.1.6",
"shelljs": "0.7.4"
},
"devDependencies": {}
}
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