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

jpeg-js

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jpeg-js - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

3

lib/decoder.js

@@ -319,3 +319,3 @@ /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /

marker = (data[offset] << 8) | data[offset + 1];
if (marker <= 0xFF00) {
if (marker < 0xFF00) {
throw "marker was not found";

@@ -602,2 +602,3 @@ }

switch(fileMarker) {
case 0xFF00: break;
case 0xFFE0: // APP0 (Application Specific)

@@ -604,0 +605,0 @@ case 0xFFE1: // APP1

{
"name": "jpeg-js",
"version": "0.0.2",
"version": "0.0.3",
"description": "A pure javascript JPEG encoder and decoder",

@@ -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