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

git-csv-diff

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-csv-diff - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

2

package.json
{
"name": "git-csv-diff",
"author": "Valor-Software",
"version": "1.1.7",
"version": "1.1.8",
"license": "GPL-3.0",

@@ -6,0 +6,0 @@ "description": "Library generate difference between csv-files based on Git commit hash",

@@ -223,4 +223,3 @@ 'use strict';

// cell modified
if (modificationSeparatorPosition != -1) {
if (modificationSeparatorPosition !== -1) {
let readyValueCell = valueCell.substring(modificationSeparatorPosition + 2);

@@ -236,7 +235,3 @@ let readyValueCellOrigin = valueCell.substring(0, modificationSeparatorPosition);

// collect all changes for translations anyway
dataRowLang[columnKey] = valueCell;
if (isDataPointsFile) {
dataRow[columnKey] = valueCell;
if (fileDiffData.header.create.indexOf(columnKey) == -1) {

@@ -246,4 +241,6 @@ dataRowOrigin[columnKey] = valueCell;

}
// check that it's not new column
else if (fileDiffData.header.create.indexOf(columnKey) != -1) {
// check if not removed column
if (fileDiffData.header.remove.indexOf(columnKey) === -1) {
// collect all changes for translations anyway
dataRowLang[columnKey] = valueCell;
dataRow[columnKey] = valueCell;

@@ -321,3 +318,5 @@ }

// new values for added columns
dataRow[columnKey] = valueCell;
if (fileDiffData.header.remove.indexOf(columnKey) === -1) {
dataRow[columnKey] = valueCell;
}
}

@@ -363,3 +362,6 @@ });

dataRow[columnKey] = valueCell;
if (fileDiffData.header.remove.indexOf(columnKey) === -1) {
dataRow[columnKey] = valueCell;
}
if (isDataPointsFile) {

@@ -370,3 +372,5 @@ dataRowOrigin[columnKeyOld] = valueCell;

// new column
dataRow[columnKey] = valueCell;
if (fileDiffData.header.remove.indexOf(columnKey) === -1) {
dataRow[columnKey] = valueCell;
}
}

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