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.14 to 1.1.15

2

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

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

@@ -63,2 +63,6 @@ 'use strict';

if(!isValidFilePath(metaData.fileName)) {
return;
}
setMetaDataType(modelDiff.metadata);

@@ -441,7 +445,16 @@ setMetaDataLanguage(modelDiff.metadata, metaData.fileName);

function isDatapointFile(filename) {
return filename.indexOf("--datapoints--") != -1 ? true : false;
return filename.indexOf("--datapoints--") !== -1 ? true : false;
}
function isLanguageFile(filename) {
return filename.indexOf("lang/") != -1 ? true : false;
return filename.indexOf("lang/") !== -1 ? true : false;
}
function isValidFilePath(filename) {
if(
filename.indexOf("/") !== -1 &&
!isLanguageFile(filename)
) {
return false;
}
return true;
}

@@ -448,0 +461,0 @@ function setMetaDataLanguage(metaData, fileName) {

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