exif-validation
Advanced tools
Comparing version
@@ -15,2 +15,6 @@ const _ = require('lodash') | ||
if (_.isObject(data.Make)) { | ||
return false | ||
} | ||
if (_.result(exif, 'Make') === '--') { | ||
@@ -21,3 +25,2 @@ log(exif) | ||
if (_.result(exif, 'Make') === 'google') { | ||
@@ -71,3 +74,6 @@ if (!_.includes(_.lowerCase(_.result(exif, 'Model')), 'pixel')) { | ||
if (_.includes(_.lowerCase(_.result(exif, 'Make')), 'nikon')) return false | ||
if (_.includes(_.lowerCase(_.result(exif, 'Make')), 'fb camera')) return false | ||
if (_.includes(_.lowerCase(_.result(exif, 'Model')), 'CandyCamera')) return false | ||
if ([ 'fujifilm', 'canon', | ||
@@ -74,0 +80,0 @@ _.lowerCase('EASTMAN KODAK COMPANY'), |
{ | ||
"name": "exif-validation", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
5111
4.33%88
6.02%