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

exif-parser

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exif-parser - npm Package Compare versions

Comparing version
0.1.5
to
0.1.6
+0
-3
lib/parser.js

@@ -185,5 +185,2 @@ /*jslint browser: true, devel: true, bitwise: false, debug: true, eqeq: false, es5: true, evil: false, forin: false, newcap: false, nomen: true, plusplus: true, regexp: false, unparam: false, sloppy: true, stupid: false, sub: false, todo: true, vars: true, white: true */

app1Offset = sectionOffset;
console.log('setting app1Offset to ', app1Offset);
} else {
console.log('not setting them');
}

@@ -190,0 +187,0 @@ }

+1
-1
{
"name" : "exif-parser",
"version" : "0.1.5",
"version" : "0.1.6",
"description" : "A javascript library to extract Exif metadata from images, in node and in the browser.",

@@ -5,0 +5,0 @@ "author" : "Bruno Windels <bruno.windels@gmail.com>",

@@ -23,21 +23,24 @@ exif-parser

Add fields in the binary format to result. Since these fields are mostly used for internal fields like Padding, you generally are not interested in these. If enabled, values for these fields will be a Buffer object in node or an ArrayBuffer in DOM environments (browsers).
parser.enableBinaryFields([boolean]), default false;
Needs to be documented.
EXIF tags are organized into different sections, and to tell you the offset to other sections, EXIF uses certain tags. These tags don't tell you anything about the image, but are more for parsers to find out about all tags. Hence, these "pointer" fields are not included in the result tags field by default. Change this flag to include them nonetheless.
parser.enablePointers([boolean]), default false;
Needs to be documented.
Resolve tags to their textual name, making result.tags a dictonary object instead of an array with the tag objects with no textual tag name.
parser.enableTagNames([boolean]), default true;
Needs to be documented.
Read the image size while parsing.
parser.enableImageSize([boolean]), default true;
Needs to be documented.
Read the EXIF tags. Could be useful to disable if you only want to read the image size.
parser.enableReturnTags([boolean]), default true;
Needs to be documented.
EXIF values can be represented in a number of formats (fractions, degrees, arrays, ...) with different precision.
Enabling this tries to cast values as much as possible to the appropriate javascript types like number, Date.

@@ -44,0 +47,0 @@ parser.enableSimpleValues([boolean]), default true;