parse-diff
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -0,1 +1,2 @@ | ||
// Generated by CoffeeScript 2.4.1 | ||
// parses unified diff | ||
@@ -69,5 +70,5 @@ // http://www.gnu.org/software/diffutils/manual/diffutils.html#Unified-Format | ||
ln_del = oldStart = +match[1]; | ||
oldLines = +(match[2] || 0); | ||
oldLines = +(match[2] || 1); | ||
ln_add = newStart = +match[3]; | ||
newLines = +(match[4] || 0); | ||
newLines = +(match[4] || 1); | ||
current = { | ||
@@ -74,0 +75,0 @@ content: line, |
{ | ||
"name": "parse-diff", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "Unified diff parser", | ||
@@ -20,15 +20,10 @@ "author": "Sergey Todyshev <stodyshev@gmail.com>", | ||
"coffeelint": "^2.1.0", | ||
"coffeescript": "^2.3.2", | ||
"expect.js": "^0.3.1", | ||
"grunt": "^1.0.3", | ||
"grunt-cli": "^1.3.1", | ||
"grunt-coffeelint": "^0.0.16", | ||
"grunt-contrib-coffee": "^2.0.0", | ||
"grunt-contrib-jshint": "^2.0.0", | ||
"grunt-simple-mocha": "^0.4.1" | ||
"coffeescript": "^2.4.1", | ||
"jest": "^24.9.0" | ||
}, | ||
"scripts": { | ||
"lint": "grunt lint", | ||
"test": "grunt test" | ||
"lint": "coffeelint *.coffee", | ||
"build": "coffee -b -o index.js parse.coffee", | ||
"test": "jest" | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) | ||
[![Build Status](https://travis-ci.org/sergeyt/parse-diff.svg?branch=master)](https://travis-ci.org/sergeyt/parse-diff) | ||
@@ -3,0 +2,0 @@ [![DevDeps Status](https://david-dm.org/sergeyt/parse-diff/dev-status.png)](https://david-dm.org/sergeyt/parse-diff#info=devDependencies) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
581
22761
10
26