Socket
Socket
Sign inDemoInstall

prettydiff

Package Overview
Dependencies
0
Maintainers
1
Versions
515
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.30 to 0.0.31

19

lib/csvmin.js

@@ -29,3 +29,2 @@ /*global charDecoder*/

/*

@@ -43,11 +42,5 @@ This code merely returns code transformed by csvbeauty back into its

(function () {
var a = 0,
b = source.length,
c = [],
d = "",
e = 0,
f = [],
multiline = function (x) {
var multiline = function (x) {
var w = [],
y,
y = 0,
z = x.length - 2;

@@ -62,3 +55,9 @@ if (x.length === 2) {

},
a = 0,
c = [],
d = "",
e = 0,
f = [],
g = source.replace(/\n\n\{\-\}\n\n/g, "{-}").replace(/\n{2,}/g, multiline).split("\n"),
b = g.length,
err = "",

@@ -68,3 +67,3 @@ error = "Error: Unterminated String begging at character number ";

c = [];
if (g[a].indexOf("\"") !== -1) {
if (typeof g[a] === "string" && g[a].indexOf("\"") !== -1) {
f = g[a].split("");

@@ -71,0 +70,0 @@ e = f.length;

{
"name": "prettydiff",
"author": "Austin Cheney <austin.cheney@us.army.mil> (http://prettydiff.com/)",
"version": "0.0.30",
"version": "0.0.31",
"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 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc