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

mjpeg-consumer

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjpeg-consumer - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

4

lib/mjpeg-consumer.js

@@ -46,3 +46,3 @@ var util = require('util');

if (this.hasContentLength && this.initialized && this.bytesWritten < this.totalBytes) {
remaining = this.totalBytes - this.bytesWritten
remaining = this.totalBytes - this.bytesWritten;
chunk.copy(this.buffer, this.bytesWritten, 0, remaining);

@@ -58,3 +58,3 @@ this.bytesWritten += remaining;

if (end !== -1) {
this.concatImageBytes(chunk.slice(0, end));
this.concatImageBytes(chunk.slice(0, end + eoi.length));
this.eoiFound = true;

@@ -61,0 +61,0 @@ }

{
"name": "mjpeg-consumer",
"version": "0.6.1",
"version": "0.6.2",
"description": "a stream implementation that consumes http mjpeg streams and emits jpegs as buffers",

@@ -5,0 +5,0 @@ "main": "index.js",

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