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.10 to 1.1.11

2

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

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

@@ -389,2 +389,27 @@ 'use strict';

}
// check that there is no removed columns
if (fileDiffData.header.remove.length) {
if(isDataPointsFile && isTranslations) {
// removed
let dataRowRemoved = {};
// check that file with datapoints
diffResultColumns.forEach(function (columnValue, columnIndex) {
if (
fileDiffData.header.remove.indexOf(columnValue) == -1 &&
fileDiffData.header.create.indexOf(columnValue) == -1
) {
// ready columns
dataRowRemoved[columnValue] = value[columnIndex];
}
});
// fileDiffData.body.remove.push(dataRowRemoved);
modelDiff.metadata.action = 'remove';
modelDiff.object = dataRowRemoved;
writeToStream(baseStream, modelDiff);
}
}
}

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