New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

image-convert

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-convert - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

5

index.js

@@ -10,2 +10,3 @@ // Copyright 2016 Arshpreet Wadehra

let quality = 100,output_format="jpg",size=undefined;
let callback = arguments[arguments.length-1];
let max_allowed_parameters = 5;

@@ -15,4 +16,4 @@ let min_allowed_parameters = 2;

arguments[arguments.length-1](new Error("Parameters Mismatch"),null);
else if(typeof quality[0] == "function")
arguments[arguments.length-1](new Error("Parameters Mismatch"),null);
else if(typeof arguments[0] == "function")
arguments[arguments.length-1](new Error("URL REQUIRED"),null);
let img = arguments[0];

@@ -19,0 +20,0 @@ if(typeof quality[1] != "function")

2

package.json
{
"name": "image-convert",
"version": "0.1.2",
"version": "0.1.3",
"description": "convert image and return static jpg and can resize from URL",

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