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-beta3 to 2.0.0-beta4

2

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

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

@@ -252,7 +252,7 @@ /*

filename = values[1];
var prefix = prefixes.find(function(prefix) {
return filename.startsWith(prefix);
var matchingPrefixes = prefixes.filter(function(p) {
return filename.indexOf(p) === 0;
});
if (prefix) filename = filename.slice(prefix.length); // remove prefix if exists
if (matchingPrefixes[0]) filename = filename.slice(matchingPrefixes[0].length); // remove prefix if exists
}

@@ -259,0 +259,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