New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

visual-data

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

visual-data - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+14
-4
index.js

@@ -0,9 +1,19 @@

util = require("util");
visualData = require("./lib/index.js");
function done(result)
function me(result)
{
if (result.length > 0) console.log(result[0].exif.ExposureTime);
var i;
console.log("ME " + result.length);
for (i = 0; i < result.length; i++) {
console.log( result[i].file);
};
}
visualData("folder", done);
util.inspect(console.log(visualData ));
visualData("images1", me);

@@ -67,3 +67,2 @@ /*jslint vars: true, plusplus: true, devel: true, nomen: true, indent: 4, maxerr: 50 */ /*global define */

visualData(data, function done(data){
console.log("Anzahl der Images " + data.length);
sort_images(data);

@@ -86,3 +85,3 @@

user_callback = callback;
getImageData("folder").then(getFileInfo);
getImageData(path).then(getFileInfo);
}

@@ -89,0 +88,0 @@

{
"name": "visual-data",
"description": "reads images from a given folder (including subfolders) and return an object with timestamp and exif information",
"version": "0.0.2",
"version": "0.0.3",
"author": "Phalanstere",
"license": "MIT",
"bugs": {
"url": "https://github.com/Phalanstere/VisualTimebar/issues"
"url": "https://github.com/Phalanstere/VisualData/issues"
},

@@ -10,0 +10,0 @@ "keywords": [

Sorry, the diff of this file is too big to display