New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.6 to 0.2.7

6

lib/image_headers.js

@@ -158,2 +158,8 @@ // Generated by CoffeeScript 1.4.0

if (position === 2) {
if (!(this.buffer.length > this.jpeg.marker_offset + 2)) {
this.finished = true;
this.clear_jpeg_marker();
console.log("Aborting parse at " + this.jpeg.marker_offset + " " + this.jpeg.marker + " " + this.buffer.length);
return;
}
length = this.buffer.readUInt16BE(this.jpeg.marker_offset + 1);

@@ -160,0 +166,0 @@ this.jpeg.marker_size = length;

2

package.json
{
"name": "image-headers",
"version": "0.2.6",
"version": "0.2.7",
"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