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.3 to 0.1.4

5

index.js

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

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

@@ -33,9 +32,9 @@ let min_allowed_parameters = 2;

buffer = image(body).size(size).encode(output_format,{quality:quality});
callback(null,buffer);
arguments[arguments.length-1](null,buffer);
});
}
catch(e){
callback(e.message,null);
arguments[arguments.length-1](e.message,null);
}
}
}

2

package.json
{
"name": "image-convert",
"version": "0.1.3",
"version": "0.1.4",
"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