New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ggit

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ggit - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

6

package.json
{
"name": "ggit",
"description": "Local git command wrappers",
"version": "0.3.1",
"version": "0.3.2",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -25,3 +25,5 @@ "bin": {

"optimist": "0.6.1",
"q": "2.0.2"
"q": "2.0.2",
"quote": "0.2.2",
"ramda": "0.8.0"
},

@@ -28,0 +30,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

# ggit v0.3.1
# ggit v0.3.2

@@ -3,0 +3,0 @@ > Local git command wrappers

@@ -7,3 +7,9 @@ require('lazy-ass');

var quote = require('quote');
var R = require('ramda');
function isFileNameLine(line) {
return /^filename/.test(line);
}
var findFilenameLine = R.find(isFileNameLine);
function linesToBlameInfo(lines) {

@@ -21,5 +27,5 @@ la(check.array(lines), 'expected lines', lines);

var filename = lines[lines.length - 2];
var filename = findFilenameLine(lines);
la(/^filename/.test(filename), 'could not find filename line from', quote(filename),
'from', lines.length, 'lines\n---\n' + lines.join('\n'), '---');
'from', lines.length, 'lines\n---\n' + lines.join('\n') + '\n---');
info.filename = filename.replace('filename ', ''); // wrt repo root

@@ -26,0 +32,0 @@

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