Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

image-headers

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

image-headers - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

12

lib/image_headers.js

@@ -5,3 +5,3 @@ // Generated by CoffeeScript 1.4.0

MAX_SIZE = 10000000;
MAX_SIZE = 32768;

@@ -98,6 +98,8 @@ exif = require('exif');

}
local_this.exif_data = exif_data;
}
local_this.exif_data = exif_data;
return callback(err, local_this);
});
} else {
return callback(null, local_this);
}

@@ -227,3 +229,7 @@ } else {

ImageHeaders.prototype.check_tiff_state = function(b, i) {};
ImageHeaders.prototype.check_tiff_state = function(b, i) {
this.height = 0;
this.width = 0;
return this.finished = true;
};

@@ -230,0 +236,0 @@ ImageHeaders.prototype.identify_format = function(b) {

{
"name": "image-headers",
"version": "0.2.4",
"version": "0.2.5",
"description": "Parse image headers from a stream without loading the entire image.",

@@ -5,0 +5,0 @@ "keywords": ["exif", "jpeg", "jpg", "gif", "png", "streaming"],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc