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

prettydiff

Package Overview
Dependencies
Maintainers
1
Versions
515
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettydiff - npm Package Compare versions

Comparing version 0.0.46 to 0.0.47

9

lib/diffview.js

@@ -173,3 +173,2 @@ /***

bxj = [],
opcodes = [],
answer = [],

@@ -662,3 +661,9 @@ get_matching_blocks = function () {

for (o = j; o < zx; o += 1) {
if (ax[j - 1] === "<em>" + bx[o] && em.test(bx[j - 1]) && (j - 2 < 0 || ax[j - 2] !== bx[o + 1])) {
if (ax[o] === bx[o] && typeof ax[o] === "string") {
ax[o - 1] = ax[o - 1] + "</em>";
bx[o - 1] = bx[o - 1] + "</em>";
k = o;
n = false;
break;
} else if (ax[j - 1] === "<em>" + bx[o] && em.test(bx[j - 1]) && (j - 2 < 0 || ax[j - 2] !== bx[o + 1])) {
ax[j - 1] = ax[j - 1].replace(em, "");

@@ -665,0 +670,0 @@ ax.splice(j - 1, 0, "<em></em>");

{
"name": "prettydiff",
"author": "Austin Cheney <austin.cheney@us.army.mil> (http://prettydiff.com/)",
"version": "0.0.46",
"version": "0.0.47",
"description": "File comparison tool to accurately diff between file versions regardless of comments or minification to the whitespace. It can also beautify (pretty print) and minify HTML.",

@@ -6,0 +6,0 @@ "keywords": ["diff", "pretty diff", "pretty print", "pretty-print", "beautify", "minify", "xml", "html", "css", "javascript"],

Sorry, the diff of this file is not supported yet

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