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

diff2html

Package Overview
Dependencies
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff2html - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "diff2html",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "http://rtfpessoa.github.io/diff2html/",

@@ -5,0 +5,0 @@ "description": "Fast Diff to colorized HTML",

@@ -35,2 +35,7 @@ /*

/* Diff Header */
var oldFileNameHeader = '--- ';
var newFileNameHeader = '+++ ';
var hunkHeaderPrefix = '@@';
/* Add previous block(if exists) before start a new file */

@@ -95,3 +100,6 @@ var saveBlock = function() {

} else {
console.error('Failed to parse lines, starting in 0!');
if (utils.startsWith(line, hunkHeaderPrefix)) {
console.error('Failed to parse lines, starting in 0!');
}
oldLine = 0;

@@ -149,7 +157,2 @@ newLine = 0;

/* Diff Header */
var oldFileNameHeader = '--- ';
var newFileNameHeader = '+++ ';
var hunkHeaderPrefix = '@@';
/* Diff */

@@ -156,0 +159,0 @@ var oldMode = /^old mode (\d{6})/;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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