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.0.7 to 1.1.0

2

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

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

@@ -5,2 +5,3 @@ 'use strict';

const daff = require('daff');
const path = require('path');
const async = require("async");

@@ -358,4 +359,7 @@

function setMetaDataFile(file, metaData) {
const fileName = path.parse(metaData.fileName).base;
const resourcesByPathOld = _.keyBy(metaData.datapackage.old.resources, 'path');
file.old = resourcesByPathOld[metaData.fileName];
file.old = resourcesByPathOld[fileName];

@@ -365,3 +369,3 @@ // info is not available if file was removed

const resourcesByPathNew = _.keyBy(metaData.datapackage.new.resources, 'path');
file.new = resourcesByPathNew[metaData.fileName];
file.new = resourcesByPathNew[fileName];
}

@@ -368,0 +372,0 @@ }

@@ -23,3 +23,3 @@ 'use strict';

const metaData = {
fileName: "ddf--entities--region.csv",
fileName: "lang/nl-nl/ddf--entities--region.csv",
fileModifier: "M",

@@ -26,0 +26,0 @@ datapackage: {

Sorry, the diff of this file is not supported yet

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