exif-parser
Advanced tools
@@ -70,3 +70,3 @@ function BufferStream(buffer, offset, length, bigEndian) { | ||
| openWithOffset: function(offset) { | ||
| offset = (offset || 0) + this.offset; | ||
| offset = (offset || 0) + this.offset; | ||
| return new BufferStream(self.buffer, offset, self.endPosition - offset, self.bigEndian); | ||
@@ -89,2 +89,2 @@ }, | ||
| module.exports = BufferStream; | ||
| module.exports = BufferStream; |
@@ -77,3 +77,3 @@ /*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 */ | ||
| openWithOffset: function(offset) { | ||
| offset = (offset || 0) + this.offset; | ||
| offset = (offset || 0) + this.offset; | ||
| return new DOMBufferStream(self.arrayBuffer, offset, self.arrayBuffer.byteLength - offset, !self.littleEndian, self.global, self.parentOffset); | ||
@@ -99,2 +99,2 @@ }, | ||
| module.exports = DOMBufferStream; | ||
| module.exports = DOMBufferStream; |
+2
-2
@@ -65,3 +65,3 @@ var exif = require('./exif'); | ||
| values = values.map(function(value) { | ||
| if(format === 10 || format === 5) { | ||
| if(format === 10 || format === 5) { | ||
| return value[0] / value[1]; | ||
@@ -77,2 +77,2 @@ } | ||
| } | ||
| }; | ||
| }; |
+1
-1
| { | ||
| "name" : "exif-parser", | ||
| "version" : "0.1.6", | ||
| "version" : "0.1.7", | ||
| "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>", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1591
0.19%