🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

exif-validation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exif-validation - npm Package Compare versions

Comparing version

to
1.0.3

8

index.js

@@ -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'),

2

package.json
{
"name": "exif-validation",
"version": "1.0.2",
"version": "1.0.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {