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

parse-diff

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-diff - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

__tests__/parse.spec.js

5

index.js

@@ -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,

17

package.json
{
"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

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